BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.485953 -3.712875)', '2026-07-09 08:18:09', 0, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.485993 -3.712833)', '2026-07-09 08:18:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485953 -3.712875)'), GeomFromEWKT('SRID=4674;POINT (-38.485993 -3.712833)'))) / (select extract(epoch from '2026-07-09 08:18:19'::timestamp) - extract(epoch from '2026-07-09 08:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485953 -3.712875)'), GeomFromEWKT('SRID=4674;POINT (-38.485993 -3.712833)'))) / (select extract(epoch from '2026-07-09 08:18:19'::timestamp) - extract(epoch from '2026-07-09 08:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.48611 -3.712798)', '2026-07-09 08:18:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485993 -3.712833)'), GeomFromEWKT('SRID=4674;POINT (-38.48611 -3.712798)'))) / (select extract(epoch from '2026-07-09 08:18:28'::timestamp) - extract(epoch from '2026-07-09 08:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485993 -3.712833)'), GeomFromEWKT('SRID=4674;POINT (-38.48611 -3.712798)'))) / (select extract(epoch from '2026-07-09 08:18:28'::timestamp) - extract(epoch from '2026-07-09 08:18: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'), 47392, 'SRID=4674;POINT (-38.486285 -3.712709)', '2026-07-09 08:18:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48611 -3.712798)'), GeomFromEWKT('SRID=4674;POINT (-38.486285 -3.712709)'))) / (select extract(epoch from '2026-07-09 08:18:39'::timestamp) - extract(epoch from '2026-07-09 08:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48611 -3.712798)'), GeomFromEWKT('SRID=4674;POINT (-38.486285 -3.712709)'))) / (select extract(epoch from '2026-07-09 08:18:39'::timestamp) - extract(epoch from '2026-07-09 08:18: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'), 47392, 'SRID=4674;POINT (-38.486372 -3.712647)', '2026-07-09 08:18:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486285 -3.712709)'), GeomFromEWKT('SRID=4674;POINT (-38.486372 -3.712647)'))) / (select extract(epoch from '2026-07-09 08:18:48'::timestamp) - extract(epoch from '2026-07-09 08:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486285 -3.712709)'), GeomFromEWKT('SRID=4674;POINT (-38.486372 -3.712647)'))) / (select extract(epoch from '2026-07-09 08:18:48'::timestamp) - extract(epoch from '2026-07-09 08:18: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'), 47392, 'SRID=4674;POINT (-38.486429 -3.71257)', '2026-07-09 08:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486372 -3.712647)'), GeomFromEWKT('SRID=4674;POINT (-38.486429 -3.71257)'))) / (select extract(epoch from '2026-07-09 08:18:57'::timestamp) - extract(epoch from '2026-07-09 08:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486372 -3.712647)'), GeomFromEWKT('SRID=4674;POINT (-38.486429 -3.71257)'))) / (select extract(epoch from '2026-07-09 08:18:57'::timestamp) - extract(epoch from '2026-07-09 08:18:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486467 -3.71251)', '2026-07-09 08:19:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486429 -3.71257)'), GeomFromEWKT('SRID=4674;POINT (-38.486467 -3.71251)'))) / (select extract(epoch from '2026-07-09 08:19:07'::timestamp) - extract(epoch from '2026-07-09 08:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486429 -3.71257)'), GeomFromEWKT('SRID=4674;POINT (-38.486467 -3.71251)'))) / (select extract(epoch from '2026-07-09 08:19:07'::timestamp) - extract(epoch from '2026-07-09 08:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486489 -3.712409)', '2026-07-09 08:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486467 -3.71251)'), GeomFromEWKT('SRID=4674;POINT (-38.486489 -3.712409)'))) / (select extract(epoch from '2026-07-09 08:19:21'::timestamp) - extract(epoch from '2026-07-09 08:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486467 -3.71251)'), GeomFromEWKT('SRID=4674;POINT (-38.486489 -3.712409)'))) / (select extract(epoch from '2026-07-09 08:19:21'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.48651 -3.7123)', '2026-07-09 08:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486489 -3.712409)'), GeomFromEWKT('SRID=4674;POINT (-38.48651 -3.7123)'))) / (select extract(epoch from '2026-07-09 08:19:36'::timestamp) - extract(epoch from '2026-07-09 08:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486489 -3.712409)'), GeomFromEWKT('SRID=4674;POINT (-38.48651 -3.7123)'))) / (select extract(epoch from '2026-07-09 08:19:36'::timestamp) - extract(epoch from '2026-07-09 08:19: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'), 47392, 'SRID=4674;POINT (-38.486525 -3.712242)', '2026-07-09 08:19:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48651 -3.7123)'), GeomFromEWKT('SRID=4674;POINT (-38.486525 -3.712242)'))) / (select extract(epoch from '2026-07-09 08:19:50'::timestamp) - extract(epoch from '2026-07-09 08:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48651 -3.7123)'), GeomFromEWKT('SRID=4674;POINT (-38.486525 -3.712242)'))) / (select extract(epoch from '2026-07-09 08:19:50'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.486557 -3.712179)', '2026-07-09 08:20:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486525 -3.712242)'), GeomFromEWKT('SRID=4674;POINT (-38.486557 -3.712179)'))) / (select extract(epoch from '2026-07-09 08:20:04'::timestamp) - extract(epoch from '2026-07-09 08:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486525 -3.712242)'), GeomFromEWKT('SRID=4674;POINT (-38.486557 -3.712179)'))) / (select extract(epoch from '2026-07-09 08:20:04'::timestamp) - extract(epoch from '2026-07-09 08:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486589 -3.712107)', '2026-07-09 08:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486557 -3.712179)'), GeomFromEWKT('SRID=4674;POINT (-38.486589 -3.712107)'))) / (select extract(epoch from '2026-07-09 08:20:19'::timestamp) - extract(epoch from '2026-07-09 08:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486557 -3.712179)'), GeomFromEWKT('SRID=4674;POINT (-38.486589 -3.712107)'))) / (select extract(epoch from '2026-07-09 08:20:19'::timestamp) - extract(epoch from '2026-07-09 08:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486615 -3.712032)', '2026-07-09 08:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486589 -3.712107)'), GeomFromEWKT('SRID=4674;POINT (-38.486615 -3.712032)'))) / (select extract(epoch from '2026-07-09 08:20:32'::timestamp) - extract(epoch from '2026-07-09 08:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486589 -3.712107)'), GeomFromEWKT('SRID=4674;POINT (-38.486615 -3.712032)'))) / (select extract(epoch from '2026-07-09 08:20:32'::timestamp) - extract(epoch from '2026-07-09 08:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486642 -3.71195)', '2026-07-09 08:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486615 -3.712032)'), GeomFromEWKT('SRID=4674;POINT (-38.486642 -3.71195)'))) / (select extract(epoch from '2026-07-09 08:20:46'::timestamp) - extract(epoch from '2026-07-09 08:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486615 -3.712032)'), GeomFromEWKT('SRID=4674;POINT (-38.486642 -3.71195)'))) / (select extract(epoch from '2026-07-09 08:20:46'::timestamp) - extract(epoch from '2026-07-09 08:20: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'), 47392, 'SRID=4674;POINT (-38.486661 -3.711863)', '2026-07-09 08:21:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486642 -3.71195)'), GeomFromEWKT('SRID=4674;POINT (-38.486661 -3.711863)'))) / (select extract(epoch from '2026-07-09 08:21:01'::timestamp) - extract(epoch from '2026-07-09 08:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486642 -3.71195)'), GeomFromEWKT('SRID=4674;POINT (-38.486661 -3.711863)'))) / (select extract(epoch from '2026-07-09 08:21:01'::timestamp) - extract(epoch from '2026-07-09 08:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486685 -3.71177)', '2026-07-09 08:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486661 -3.711863)'), GeomFromEWKT('SRID=4674;POINT (-38.486685 -3.71177)'))) / (select extract(epoch from '2026-07-09 08:21:18'::timestamp) - extract(epoch from '2026-07-09 08:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486661 -3.711863)'), GeomFromEWKT('SRID=4674;POINT (-38.486685 -3.71177)'))) / (select extract(epoch from '2026-07-09 08:21:18'::timestamp) - extract(epoch from '2026-07-09 08:21: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'), 47392, 'SRID=4674;POINT (-38.486688 -3.71172)', '2026-07-09 08:21:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486685 -3.71177)'), GeomFromEWKT('SRID=4674;POINT (-38.486688 -3.71172)'))) / (select extract(epoch from '2026-07-09 08:21:29'::timestamp) - extract(epoch from '2026-07-09 08:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486685 -3.71177)'), GeomFromEWKT('SRID=4674;POINT (-38.486688 -3.71172)'))) / (select extract(epoch from '2026-07-09 08:21:29'::timestamp) - extract(epoch from '2026-07-09 08:21: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'), 47392, 'SRID=4674;POINT (-38.486711 -3.711626)', '2026-07-09 08:21:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486688 -3.71172)'), GeomFromEWKT('SRID=4674;POINT (-38.486711 -3.711626)'))) / (select extract(epoch from '2026-07-09 08:21:58'::timestamp) - extract(epoch from '2026-07-09 08:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486688 -3.71172)'), GeomFromEWKT('SRID=4674;POINT (-38.486711 -3.711626)'))) / (select extract(epoch from '2026-07-09 08:21:58'::timestamp) - extract(epoch from '2026-07-09 08:21: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'), 47392, 'SRID=4674;POINT (-38.486753 -3.711532)', '2026-07-09 08:22:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486711 -3.711626)'), GeomFromEWKT('SRID=4674;POINT (-38.486753 -3.711532)'))) / (select extract(epoch from '2026-07-09 08:22:16'::timestamp) - extract(epoch from '2026-07-09 08:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486711 -3.711626)'), GeomFromEWKT('SRID=4674;POINT (-38.486753 -3.711532)'))) / (select extract(epoch from '2026-07-09 08:22:16'::timestamp) - extract(epoch from '2026-07-09 08:21: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'), 47392, 'SRID=4674;POINT (-38.486764 -3.711473)', '2026-07-09 08:22:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486753 -3.711532)'), GeomFromEWKT('SRID=4674;POINT (-38.486764 -3.711473)'))) / (select extract(epoch from '2026-07-09 08:22:31'::timestamp) - extract(epoch from '2026-07-09 08:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486753 -3.711532)'), GeomFromEWKT('SRID=4674;POINT (-38.486764 -3.711473)'))) / (select extract(epoch from '2026-07-09 08:22:31'::timestamp) - extract(epoch from '2026-07-09 08:22: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'), 47392, 'SRID=4674;POINT (-38.48678 -3.711423)', '2026-07-09 08:22:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486764 -3.711473)'), GeomFromEWKT('SRID=4674;POINT (-38.48678 -3.711423)'))) / (select extract(epoch from '2026-07-09 08:22:45'::timestamp) - extract(epoch from '2026-07-09 08:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486764 -3.711473)'), GeomFromEWKT('SRID=4674;POINT (-38.48678 -3.711423)'))) / (select extract(epoch from '2026-07-09 08:22:45'::timestamp) - extract(epoch from '2026-07-09 08:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.48681 -3.711336)', '2026-07-09 08:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48678 -3.711423)'), GeomFromEWKT('SRID=4674;POINT (-38.48681 -3.711336)'))) / (select extract(epoch from '2026-07-09 08:23:07'::timestamp) - extract(epoch from '2026-07-09 08:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48678 -3.711423)'), GeomFromEWKT('SRID=4674;POINT (-38.48681 -3.711336)'))) / (select extract(epoch from '2026-07-09 08:23:07'::timestamp) - extract(epoch from '2026-07-09 08:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486882 -3.711206)', '2026-07-09 08:23:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48681 -3.711336)'), GeomFromEWKT('SRID=4674;POINT (-38.486882 -3.711206)'))) / (select extract(epoch from '2026-07-09 08:23:35'::timestamp) - extract(epoch from '2026-07-09 08:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48681 -3.711336)'), GeomFromEWKT('SRID=4674;POINT (-38.486882 -3.711206)'))) / (select extract(epoch from '2026-07-09 08:23:35'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.486906 -3.71114)', '2026-07-09 08:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486882 -3.711206)'), GeomFromEWKT('SRID=4674;POINT (-38.486906 -3.71114)'))) / (select extract(epoch from '2026-07-09 08:23:48'::timestamp) - extract(epoch from '2026-07-09 08:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486882 -3.711206)'), GeomFromEWKT('SRID=4674;POINT (-38.486906 -3.71114)'))) / (select extract(epoch from '2026-07-09 08:23:48'::timestamp) - extract(epoch from '2026-07-09 08:23: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'), 47392, 'SRID=4674;POINT (-38.486939 -3.711062)', '2026-07-09 08:24:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486906 -3.71114)'), GeomFromEWKT('SRID=4674;POINT (-38.486939 -3.711062)'))) / (select extract(epoch from '2026-07-09 08:24:04'::timestamp) - extract(epoch from '2026-07-09 08:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486906 -3.71114)'), GeomFromEWKT('SRID=4674;POINT (-38.486939 -3.711062)'))) / (select extract(epoch from '2026-07-09 08:24:04'::timestamp) - extract(epoch from '2026-07-09 08:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486965 -3.711008)', '2026-07-09 08:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486939 -3.711062)'), GeomFromEWKT('SRID=4674;POINT (-38.486965 -3.711008)'))) / (select extract(epoch from '2026-07-09 08:24:17'::timestamp) - extract(epoch from '2026-07-09 08:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486939 -3.711062)'), GeomFromEWKT('SRID=4674;POINT (-38.486965 -3.711008)'))) / (select extract(epoch from '2026-07-09 08:24:17'::timestamp) - extract(epoch from '2026-07-09 08:24: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'), 47392, 'SRID=4674;POINT (-38.486984 -3.710912)', '2026-07-09 08:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486965 -3.711008)'), GeomFromEWKT('SRID=4674;POINT (-38.486984 -3.710912)'))) / (select extract(epoch from '2026-07-09 08:24:33'::timestamp) - extract(epoch from '2026-07-09 08:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486965 -3.711008)'), GeomFromEWKT('SRID=4674;POINT (-38.486984 -3.710912)'))) / (select extract(epoch from '2026-07-09 08:24:33'::timestamp) - extract(epoch from '2026-07-09 08:24: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'), 47392, 'SRID=4674;POINT (-38.486954 -3.710832)', '2026-07-09 08:24:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486984 -3.710912)'), GeomFromEWKT('SRID=4674;POINT (-38.486954 -3.710832)'))) / (select extract(epoch from '2026-07-09 08:24:44'::timestamp) - extract(epoch from '2026-07-09 08:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486984 -3.710912)'), GeomFromEWKT('SRID=4674;POINT (-38.486954 -3.710832)'))) / (select extract(epoch from '2026-07-09 08:24:44'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.486928 -3.710768)', '2026-07-09 08:24:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486954 -3.710832)'), GeomFromEWKT('SRID=4674;POINT (-38.486928 -3.710768)'))) / (select extract(epoch from '2026-07-09 08:24:53'::timestamp) - extract(epoch from '2026-07-09 08:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486954 -3.710832)'), GeomFromEWKT('SRID=4674;POINT (-38.486928 -3.710768)'))) / (select extract(epoch from '2026-07-09 08:24:53'::timestamp) - extract(epoch from '2026-07-09 08:24: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'), 47392, 'SRID=4674;POINT (-38.48691 -3.71067)', '2026-07-09 08:25:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486928 -3.710768)'), GeomFromEWKT('SRID=4674;POINT (-38.48691 -3.71067)'))) / (select extract(epoch from '2026-07-09 08:25:09'::timestamp) - extract(epoch from '2026-07-09 08:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486928 -3.710768)'), GeomFromEWKT('SRID=4674;POINT (-38.48691 -3.71067)'))) / (select extract(epoch from '2026-07-09 08:25:09'::timestamp) - extract(epoch from '2026-07-09 08:24: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'), 47392, 'SRID=4674;POINT (-38.48688 -3.710535)', '2026-07-09 08:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48691 -3.71067)'), GeomFromEWKT('SRID=4674;POINT (-38.48688 -3.710535)'))) / (select extract(epoch from '2026-07-09 08:25:23'::timestamp) - extract(epoch from '2026-07-09 08:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48691 -3.71067)'), GeomFromEWKT('SRID=4674;POINT (-38.48688 -3.710535)'))) / (select extract(epoch from '2026-07-09 08:25:23'::timestamp) - extract(epoch from '2026-07-09 08:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486816 -3.710389)', '2026-07-09 08:25:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48688 -3.710535)'), GeomFromEWKT('SRID=4674;POINT (-38.486816 -3.710389)'))) / (select extract(epoch from '2026-07-09 08:25:34'::timestamp) - extract(epoch from '2026-07-09 08:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48688 -3.710535)'), GeomFromEWKT('SRID=4674;POINT (-38.486816 -3.710389)'))) / (select extract(epoch from '2026-07-09 08:25:34'::timestamp) - extract(epoch from '2026-07-09 08:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486757 -3.710264)', '2026-07-09 08:25:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486816 -3.710389)'), GeomFromEWKT('SRID=4674;POINT (-38.486757 -3.710264)'))) / (select extract(epoch from '2026-07-09 08:25:42'::timestamp) - extract(epoch from '2026-07-09 08:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486816 -3.710389)'), GeomFromEWKT('SRID=4674;POINT (-38.486757 -3.710264)'))) / (select extract(epoch from '2026-07-09 08:25:42'::timestamp) - extract(epoch from '2026-07-09 08:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486675 -3.710125)', '2026-07-09 08:25:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486757 -3.710264)'), GeomFromEWKT('SRID=4674;POINT (-38.486675 -3.710125)'))) / (select extract(epoch from '2026-07-09 08:25:52'::timestamp) - extract(epoch from '2026-07-09 08:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486757 -3.710264)'), GeomFromEWKT('SRID=4674;POINT (-38.486675 -3.710125)'))) / (select extract(epoch from '2026-07-09 08:25:52'::timestamp) - extract(epoch from '2026-07-09 08:25: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'), 47392, 'SRID=4674;POINT (-38.486607 -3.70999)', '2026-07-09 08:26:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486675 -3.710125)'), GeomFromEWKT('SRID=4674;POINT (-38.486607 -3.70999)'))) / (select extract(epoch from '2026-07-09 08:26:03'::timestamp) - extract(epoch from '2026-07-09 08:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486675 -3.710125)'), GeomFromEWKT('SRID=4674;POINT (-38.486607 -3.70999)'))) / (select extract(epoch from '2026-07-09 08:26:03'::timestamp) - extract(epoch from '2026-07-09 08:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486571 -3.709878)', '2026-07-09 08:26:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486607 -3.70999)'), GeomFromEWKT('SRID=4674;POINT (-38.486571 -3.709878)'))) / (select extract(epoch from '2026-07-09 08:26:12'::timestamp) - extract(epoch from '2026-07-09 08:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486607 -3.70999)'), GeomFromEWKT('SRID=4674;POINT (-38.486571 -3.709878)'))) / (select extract(epoch from '2026-07-09 08:26:12'::timestamp) - extract(epoch from '2026-07-09 08:26: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'), 47392, 'SRID=4674;POINT (-38.486521 -3.709768)', '2026-07-09 08:26:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486571 -3.709878)'), GeomFromEWKT('SRID=4674;POINT (-38.486521 -3.709768)'))) / (select extract(epoch from '2026-07-09 08:26:21'::timestamp) - extract(epoch from '2026-07-09 08:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486571 -3.709878)'), GeomFromEWKT('SRID=4674;POINT (-38.486521 -3.709768)'))) / (select extract(epoch from '2026-07-09 08:26:21'::timestamp) - extract(epoch from '2026-07-09 08:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486471 -3.709704)', '2026-07-09 08:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486521 -3.709768)'), GeomFromEWKT('SRID=4674;POINT (-38.486471 -3.709704)'))) / (select extract(epoch from '2026-07-09 08:26:30'::timestamp) - extract(epoch from '2026-07-09 08:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486521 -3.709768)'), GeomFromEWKT('SRID=4674;POINT (-38.486471 -3.709704)'))) / (select extract(epoch from '2026-07-09 08:26:30'::timestamp) - extract(epoch from '2026-07-09 08:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486431 -3.709646)', '2026-07-09 08:26:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486471 -3.709704)'), GeomFromEWKT('SRID=4674;POINT (-38.486431 -3.709646)'))) / (select extract(epoch from '2026-07-09 08:26:41'::timestamp) - extract(epoch from '2026-07-09 08:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486471 -3.709704)'), GeomFromEWKT('SRID=4674;POINT (-38.486431 -3.709646)'))) / (select extract(epoch from '2026-07-09 08:26:41'::timestamp) - extract(epoch from '2026-07-09 08:26: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'), 47392, 'SRID=4674;POINT (-38.486386 -3.709523)', '2026-07-09 08:26:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486431 -3.709646)'), GeomFromEWKT('SRID=4674;POINT (-38.486386 -3.709523)'))) / (select extract(epoch from '2026-07-09 08:26:59'::timestamp) - extract(epoch from '2026-07-09 08:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486431 -3.709646)'), GeomFromEWKT('SRID=4674;POINT (-38.486386 -3.709523)'))) / (select extract(epoch from '2026-07-09 08:26:59'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.486326 -3.709447)', '2026-07-09 08:27:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486386 -3.709523)'), GeomFromEWKT('SRID=4674;POINT (-38.486326 -3.709447)'))) / (select extract(epoch from '2026-07-09 08:27:10'::timestamp) - extract(epoch from '2026-07-09 08:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486386 -3.709523)'), GeomFromEWKT('SRID=4674;POINT (-38.486326 -3.709447)'))) / (select extract(epoch from '2026-07-09 08:27:10'::timestamp) - extract(epoch from '2026-07-09 08:26: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'), 47392, 'SRID=4674;POINT (-38.486281 -3.709383)', '2026-07-09 08:27:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486326 -3.709447)'), GeomFromEWKT('SRID=4674;POINT (-38.486281 -3.709383)'))) / (select extract(epoch from '2026-07-09 08:27:20'::timestamp) - extract(epoch from '2026-07-09 08:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486326 -3.709447)'), GeomFromEWKT('SRID=4674;POINT (-38.486281 -3.709383)'))) / (select extract(epoch from '2026-07-09 08:27:20'::timestamp) - extract(epoch from '2026-07-09 08:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.486196 -3.709292)', '2026-07-09 08:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486281 -3.709383)'), GeomFromEWKT('SRID=4674;POINT (-38.486196 -3.709292)'))) / (select extract(epoch from '2026-07-09 08:27:34'::timestamp) - extract(epoch from '2026-07-09 08:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486281 -3.709383)'), GeomFromEWKT('SRID=4674;POINT (-38.486196 -3.709292)'))) / (select extract(epoch from '2026-07-09 08:27:34'::timestamp) - extract(epoch from '2026-07-09 08:27: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'), 47392, 'SRID=4674;POINT (-38.486118 -3.709203)', '2026-07-09 08:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486196 -3.709292)'), GeomFromEWKT('SRID=4674;POINT (-38.486118 -3.709203)'))) / (select extract(epoch from '2026-07-09 08:27:44'::timestamp) - extract(epoch from '2026-07-09 08:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486196 -3.709292)'), GeomFromEWKT('SRID=4674;POINT (-38.486118 -3.709203)'))) / (select extract(epoch from '2026-07-09 08:27:44'::timestamp) - extract(epoch from '2026-07-09 08:27: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'), 47392, 'SRID=4674;POINT (-38.486027 -3.709091)', '2026-07-09 08:27:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486118 -3.709203)'), GeomFromEWKT('SRID=4674;POINT (-38.486027 -3.709091)'))) / (select extract(epoch from '2026-07-09 08:27:54'::timestamp) - extract(epoch from '2026-07-09 08:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486118 -3.709203)'), GeomFromEWKT('SRID=4674;POINT (-38.486027 -3.709091)'))) / (select extract(epoch from '2026-07-09 08:27:54'::timestamp) - extract(epoch from '2026-07-09 08:27: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'), 47392, 'SRID=4674;POINT (-38.485946 -3.708993)', '2026-07-09 08:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486027 -3.709091)'), GeomFromEWKT('SRID=4674;POINT (-38.485946 -3.708993)'))) / (select extract(epoch from '2026-07-09 08:28:03'::timestamp) - extract(epoch from '2026-07-09 08:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486027 -3.709091)'), GeomFromEWKT('SRID=4674;POINT (-38.485946 -3.708993)'))) / (select extract(epoch from '2026-07-09 08:28:03'::timestamp) - extract(epoch from '2026-07-09 08:27: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'), 47392, 'SRID=4674;POINT (-38.485872 -3.708917)', '2026-07-09 08:28:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485946 -3.708993)'), GeomFromEWKT('SRID=4674;POINT (-38.485872 -3.708917)'))) / (select extract(epoch from '2026-07-09 08:28:11'::timestamp) - extract(epoch from '2026-07-09 08:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485946 -3.708993)'), GeomFromEWKT('SRID=4674;POINT (-38.485872 -3.708917)'))) / (select extract(epoch from '2026-07-09 08:28:11'::timestamp) - extract(epoch from '2026-07-09 08:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.485751 -3.708791)', '2026-07-09 08:28:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485872 -3.708917)'), GeomFromEWKT('SRID=4674;POINT (-38.485751 -3.708791)'))) / (select extract(epoch from '2026-07-09 08:28:22'::timestamp) - extract(epoch from '2026-07-09 08:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485872 -3.708917)'), GeomFromEWKT('SRID=4674;POINT (-38.485751 -3.708791)'))) / (select extract(epoch from '2026-07-09 08:28:22'::timestamp) - extract(epoch from '2026-07-09 08:28: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'), 47392, 'SRID=4674;POINT (-38.485674 -3.708665)', '2026-07-09 08:28:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485751 -3.708791)'), GeomFromEWKT('SRID=4674;POINT (-38.485674 -3.708665)'))) / (select extract(epoch from '2026-07-09 08:28:30'::timestamp) - extract(epoch from '2026-07-09 08:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485751 -3.708791)'), GeomFromEWKT('SRID=4674;POINT (-38.485674 -3.708665)'))) / (select extract(epoch from '2026-07-09 08:28:30'::timestamp) - extract(epoch from '2026-07-09 08:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.485627 -3.708518)', '2026-07-09 08:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485674 -3.708665)'), GeomFromEWKT('SRID=4674;POINT (-38.485627 -3.708518)'))) / (select extract(epoch from '2026-07-09 08:28:39'::timestamp) - extract(epoch from '2026-07-09 08:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485674 -3.708665)'), GeomFromEWKT('SRID=4674;POINT (-38.485627 -3.708518)'))) / (select extract(epoch from '2026-07-09 08:28:39'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.485575 -3.708308)', '2026-07-09 08:28:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485627 -3.708518)'), GeomFromEWKT('SRID=4674;POINT (-38.485575 -3.708308)'))) / (select extract(epoch from '2026-07-09 08:28:51'::timestamp) - extract(epoch from '2026-07-09 08:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485627 -3.708518)'), GeomFromEWKT('SRID=4674;POINT (-38.485575 -3.708308)'))) / (select extract(epoch from '2026-07-09 08:28:51'::timestamp) - extract(epoch from '2026-07-09 08:28: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'), 47392, 'SRID=4674;POINT (-38.485516 -3.708117)', '2026-07-09 08:29:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485575 -3.708308)'), GeomFromEWKT('SRID=4674;POINT (-38.485516 -3.708117)'))) / (select extract(epoch from '2026-07-09 08:29:00'::timestamp) - extract(epoch from '2026-07-09 08:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485575 -3.708308)'), GeomFromEWKT('SRID=4674;POINT (-38.485516 -3.708117)'))) / (select extract(epoch from '2026-07-09 08:29:00'::timestamp) - extract(epoch from '2026-07-09 08:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.485441 -3.70794)', '2026-07-09 08:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485516 -3.708117)'), GeomFromEWKT('SRID=4674;POINT (-38.485441 -3.70794)'))) / (select extract(epoch from '2026-07-09 08:29:10'::timestamp) - extract(epoch from '2026-07-09 08:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485516 -3.708117)'), GeomFromEWKT('SRID=4674;POINT (-38.485441 -3.70794)'))) / (select extract(epoch from '2026-07-09 08:29:10'::timestamp) - extract(epoch from '2026-07-09 08:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.485359 -3.70774)', '2026-07-09 08:29:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485441 -3.70794)'), GeomFromEWKT('SRID=4674;POINT (-38.485359 -3.70774)'))) / (select extract(epoch from '2026-07-09 08:29:20'::timestamp) - extract(epoch from '2026-07-09 08:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485441 -3.70794)'), GeomFromEWKT('SRID=4674;POINT (-38.485359 -3.70774)'))) / (select extract(epoch from '2026-07-09 08:29:20'::timestamp) - extract(epoch from '2026-07-09 08:29: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'), 47392, 'SRID=4674;POINT (-38.485242 -3.707477)', '2026-07-09 08:29:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485359 -3.70774)'), GeomFromEWKT('SRID=4674;POINT (-38.485242 -3.707477)'))) / (select extract(epoch from '2026-07-09 08:29:32'::timestamp) - extract(epoch from '2026-07-09 08:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485359 -3.70774)'), GeomFromEWKT('SRID=4674;POINT (-38.485242 -3.707477)'))) / (select extract(epoch from '2026-07-09 08:29:32'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.48518 -3.707279)', '2026-07-09 08:29:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485242 -3.707477)'), GeomFromEWKT('SRID=4674;POINT (-38.48518 -3.707279)'))) / (select extract(epoch from '2026-07-09 08:29:41'::timestamp) - extract(epoch from '2026-07-09 08:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485242 -3.707477)'), GeomFromEWKT('SRID=4674;POINT (-38.48518 -3.707279)'))) / (select extract(epoch from '2026-07-09 08:29:41'::timestamp) - extract(epoch from '2026-07-09 08:29: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'), 47392, 'SRID=4674;POINT (-38.485092 -3.707074)', '2026-07-09 08:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48518 -3.707279)'), GeomFromEWKT('SRID=4674;POINT (-38.485092 -3.707074)'))) / (select extract(epoch from '2026-07-09 08:29:51'::timestamp) - extract(epoch from '2026-07-09 08:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48518 -3.707279)'), GeomFromEWKT('SRID=4674;POINT (-38.485092 -3.707074)'))) / (select extract(epoch from '2026-07-09 08:29:51'::timestamp) - extract(epoch from '2026-07-09 08:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.484989 -3.70689)', '2026-07-09 08:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485092 -3.707074)'), GeomFromEWKT('SRID=4674;POINT (-38.484989 -3.70689)'))) / (select extract(epoch from '2026-07-09 08:30:02'::timestamp) - extract(epoch from '2026-07-09 08:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485092 -3.707074)'), GeomFromEWKT('SRID=4674;POINT (-38.484989 -3.70689)'))) / (select extract(epoch from '2026-07-09 08:30:02'::timestamp) - extract(epoch from '2026-07-09 08:29: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'), 47392, 'SRID=4674;POINT (-38.484928 -3.706704)', '2026-07-09 08:30:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484989 -3.70689)'), GeomFromEWKT('SRID=4674;POINT (-38.484928 -3.706704)'))) / (select extract(epoch from '2026-07-09 08:30:11'::timestamp) - extract(epoch from '2026-07-09 08:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484989 -3.70689)'), GeomFromEWKT('SRID=4674;POINT (-38.484928 -3.706704)'))) / (select extract(epoch from '2026-07-09 08:30:11'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.484846 -3.706493)', '2026-07-09 08:30:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484928 -3.706704)'), GeomFromEWKT('SRID=4674;POINT (-38.484846 -3.706493)'))) / (select extract(epoch from '2026-07-09 08:30:20'::timestamp) - extract(epoch from '2026-07-09 08:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484928 -3.706704)'), GeomFromEWKT('SRID=4674;POINT (-38.484846 -3.706493)'))) / (select extract(epoch from '2026-07-09 08:30:20'::timestamp) - extract(epoch from '2026-07-09 08:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.484775 -3.706284)', '2026-07-09 08:30:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484846 -3.706493)'), GeomFromEWKT('SRID=4674;POINT (-38.484775 -3.706284)'))) / (select extract(epoch from '2026-07-09 08:30:29'::timestamp) - extract(epoch from '2026-07-09 08:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484846 -3.706493)'), GeomFromEWKT('SRID=4674;POINT (-38.484775 -3.706284)'))) / (select extract(epoch from '2026-07-09 08:30:29'::timestamp) - extract(epoch from '2026-07-09 08:30: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'), 47392, 'SRID=4674;POINT (-38.484721 -3.70606)', '2026-07-09 08:30:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484775 -3.706284)'), GeomFromEWKT('SRID=4674;POINT (-38.484721 -3.70606)'))) / (select extract(epoch from '2026-07-09 08:30:38'::timestamp) - extract(epoch from '2026-07-09 08:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484775 -3.706284)'), GeomFromEWKT('SRID=4674;POINT (-38.484721 -3.70606)'))) / (select extract(epoch from '2026-07-09 08:30:38'::timestamp) - extract(epoch from '2026-07-09 08:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.484662 -3.705853)', '2026-07-09 08:30:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484721 -3.70606)'), GeomFromEWKT('SRID=4674;POINT (-38.484662 -3.705853)'))) / (select extract(epoch from '2026-07-09 08:30:46'::timestamp) - extract(epoch from '2026-07-09 08:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484721 -3.70606)'), GeomFromEWKT('SRID=4674;POINT (-38.484662 -3.705853)'))) / (select extract(epoch from '2026-07-09 08:30:46'::timestamp) - extract(epoch from '2026-07-09 08:30: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'), 47392, 'SRID=4674;POINT (-38.484611 -3.705625)', '2026-07-09 08:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484662 -3.705853)'), GeomFromEWKT('SRID=4674;POINT (-38.484611 -3.705625)'))) / (select extract(epoch from '2026-07-09 08:30:55'::timestamp) - extract(epoch from '2026-07-09 08:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484662 -3.705853)'), GeomFromEWKT('SRID=4674;POINT (-38.484611 -3.705625)'))) / (select extract(epoch from '2026-07-09 08:30:55'::timestamp) - extract(epoch from '2026-07-09 08:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.48458 -3.705385)', '2026-07-09 08:31:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484611 -3.705625)'), GeomFromEWKT('SRID=4674;POINT (-38.48458 -3.705385)'))) / (select extract(epoch from '2026-07-09 08:31:04'::timestamp) - extract(epoch from '2026-07-09 08:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484611 -3.705625)'), GeomFromEWKT('SRID=4674;POINT (-38.48458 -3.705385)'))) / (select extract(epoch from '2026-07-09 08:31:04'::timestamp) - extract(epoch from '2026-07-09 08:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.484545 -3.705173)', '2026-07-09 08:31:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48458 -3.705385)'), GeomFromEWKT('SRID=4674;POINT (-38.484545 -3.705173)'))) / (select extract(epoch from '2026-07-09 08:31:12'::timestamp) - extract(epoch from '2026-07-09 08:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48458 -3.705385)'), GeomFromEWKT('SRID=4674;POINT (-38.484545 -3.705173)'))) / (select extract(epoch from '2026-07-09 08:31:12'::timestamp) - extract(epoch from '2026-07-09 08:31: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'), 47392, 'SRID=4674;POINT (-38.484493 -3.70497)', '2026-07-09 08:31:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484545 -3.705173)'), GeomFromEWKT('SRID=4674;POINT (-38.484493 -3.70497)'))) / (select extract(epoch from '2026-07-09 08:31:20'::timestamp) - extract(epoch from '2026-07-09 08:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484545 -3.705173)'), GeomFromEWKT('SRID=4674;POINT (-38.484493 -3.70497)'))) / (select extract(epoch from '2026-07-09 08:31:20'::timestamp) - extract(epoch from '2026-07-09 08:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.484415 -3.70478)', '2026-07-09 08:31:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484493 -3.70497)'), GeomFromEWKT('SRID=4674;POINT (-38.484415 -3.70478)'))) / (select extract(epoch from '2026-07-09 08:31:28'::timestamp) - extract(epoch from '2026-07-09 08:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484493 -3.70497)'), GeomFromEWKT('SRID=4674;POINT (-38.484415 -3.70478)'))) / (select extract(epoch from '2026-07-09 08:31:28'::timestamp) - extract(epoch from '2026-07-09 08:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.484338 -3.704534)', '2026-07-09 08:31:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484415 -3.70478)'), GeomFromEWKT('SRID=4674;POINT (-38.484338 -3.704534)'))) / (select extract(epoch from '2026-07-09 08:31:38'::timestamp) - extract(epoch from '2026-07-09 08:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484415 -3.70478)'), GeomFromEWKT('SRID=4674;POINT (-38.484338 -3.704534)'))) / (select extract(epoch from '2026-07-09 08:31:38'::timestamp) - extract(epoch from '2026-07-09 08:31: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'), 47392, 'SRID=4674;POINT (-38.484244 -3.704251)', '2026-07-09 08:31:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484338 -3.704534)'), GeomFromEWKT('SRID=4674;POINT (-38.484244 -3.704251)'))) / (select extract(epoch from '2026-07-09 08:31:50'::timestamp) - extract(epoch from '2026-07-09 08:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484338 -3.704534)'), GeomFromEWKT('SRID=4674;POINT (-38.484244 -3.704251)'))) / (select extract(epoch from '2026-07-09 08:31:50'::timestamp) - extract(epoch from '2026-07-09 08:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.484169 -3.70402)', '2026-07-09 08:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484244 -3.704251)'), GeomFromEWKT('SRID=4674;POINT (-38.484169 -3.70402)'))) / (select extract(epoch from '2026-07-09 08:31:59'::timestamp) - extract(epoch from '2026-07-09 08:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484244 -3.704251)'), GeomFromEWKT('SRID=4674;POINT (-38.484169 -3.70402)'))) / (select extract(epoch from '2026-07-09 08:31:59'::timestamp) - extract(epoch from '2026-07-09 08:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.48408 -3.703761)', '2026-07-09 08:32:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484169 -3.70402)'), GeomFromEWKT('SRID=4674;POINT (-38.48408 -3.703761)'))) / (select extract(epoch from '2026-07-09 08:32:09'::timestamp) - extract(epoch from '2026-07-09 08:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484169 -3.70402)'), GeomFromEWKT('SRID=4674;POINT (-38.48408 -3.703761)'))) / (select extract(epoch from '2026-07-09 08:32:09'::timestamp) - extract(epoch from '2026-07-09 08:31: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'), 47392, 'SRID=4674;POINT (-38.484024 -3.703559)', '2026-07-09 08:32:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48408 -3.703761)'), GeomFromEWKT('SRID=4674;POINT (-38.484024 -3.703559)'))) / (select extract(epoch from '2026-07-09 08:32:17'::timestamp) - extract(epoch from '2026-07-09 08:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48408 -3.703761)'), GeomFromEWKT('SRID=4674;POINT (-38.484024 -3.703559)'))) / (select extract(epoch from '2026-07-09 08:32:17'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.483989 -3.703347)', '2026-07-09 08:32:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484024 -3.703559)'), GeomFromEWKT('SRID=4674;POINT (-38.483989 -3.703347)'))) / (select extract(epoch from '2026-07-09 08:32:25'::timestamp) - extract(epoch from '2026-07-09 08:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484024 -3.703559)'), GeomFromEWKT('SRID=4674;POINT (-38.483989 -3.703347)'))) / (select extract(epoch from '2026-07-09 08:32:25'::timestamp) - extract(epoch from '2026-07-09 08:32: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'), 47392, 'SRID=4674;POINT (-38.48396 -3.703135)', '2026-07-09 08:32:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483989 -3.703347)'), GeomFromEWKT('SRID=4674;POINT (-38.48396 -3.703135)'))) / (select extract(epoch from '2026-07-09 08:32:33'::timestamp) - extract(epoch from '2026-07-09 08:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483989 -3.703347)'), GeomFromEWKT('SRID=4674;POINT (-38.48396 -3.703135)'))) / (select extract(epoch from '2026-07-09 08:32:33'::timestamp) - extract(epoch from '2026-07-09 08:32: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'), 47392, 'SRID=4674;POINT (-38.483926 -3.702922)', '2026-07-09 08:32:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48396 -3.703135)'), GeomFromEWKT('SRID=4674;POINT (-38.483926 -3.702922)'))) / (select extract(epoch from '2026-07-09 08:32:41'::timestamp) - extract(epoch from '2026-07-09 08:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48396 -3.703135)'), GeomFromEWKT('SRID=4674;POINT (-38.483926 -3.702922)'))) / (select extract(epoch from '2026-07-09 08:32:41'::timestamp) - extract(epoch from '2026-07-09 08:32: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'), 47392, 'SRID=4674;POINT (-38.483881 -3.702638)', '2026-07-09 08:32:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483926 -3.702922)'), GeomFromEWKT('SRID=4674;POINT (-38.483881 -3.702638)'))) / (select extract(epoch from '2026-07-09 08:32:51'::timestamp) - extract(epoch from '2026-07-09 08:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483926 -3.702922)'), GeomFromEWKT('SRID=4674;POINT (-38.483881 -3.702638)'))) / (select extract(epoch from '2026-07-09 08:32:51'::timestamp) - extract(epoch from '2026-07-09 08:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.483856 -3.702397)', '2026-07-09 08:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483881 -3.702638)'), GeomFromEWKT('SRID=4674;POINT (-38.483856 -3.702397)'))) / (select extract(epoch from '2026-07-09 08:33:00'::timestamp) - extract(epoch from '2026-07-09 08:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483881 -3.702638)'), GeomFromEWKT('SRID=4674;POINT (-38.483856 -3.702397)'))) / (select extract(epoch from '2026-07-09 08:33:00'::timestamp) - extract(epoch from '2026-07-09 08:32: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'), 47392, 'SRID=4674;POINT (-38.483802 -3.702196)', '2026-07-09 08:33:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483856 -3.702397)'), GeomFromEWKT('SRID=4674;POINT (-38.483802 -3.702196)'))) / (select extract(epoch from '2026-07-09 08:33:08'::timestamp) - extract(epoch from '2026-07-09 08:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483856 -3.702397)'), GeomFromEWKT('SRID=4674;POINT (-38.483802 -3.702196)'))) / (select extract(epoch from '2026-07-09 08:33:08'::timestamp) - extract(epoch from '2026-07-09 08:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.483748 -3.701945)', '2026-07-09 08:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483802 -3.702196)'), GeomFromEWKT('SRID=4674;POINT (-38.483748 -3.701945)'))) / (select extract(epoch from '2026-07-09 08:33:17'::timestamp) - extract(epoch from '2026-07-09 08:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483802 -3.702196)'), GeomFromEWKT('SRID=4674;POINT (-38.483748 -3.701945)'))) / (select extract(epoch from '2026-07-09 08:33:17'::timestamp) - extract(epoch from '2026-07-09 08:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.483689 -3.70174)', '2026-07-09 08:33:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483748 -3.701945)'), GeomFromEWKT('SRID=4674;POINT (-38.483689 -3.70174)'))) / (select extract(epoch from '2026-07-09 08:33:25'::timestamp) - extract(epoch from '2026-07-09 08:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483748 -3.701945)'), GeomFromEWKT('SRID=4674;POINT (-38.483689 -3.70174)'))) / (select extract(epoch from '2026-07-09 08:33:25'::timestamp) - extract(epoch from '2026-07-09 08:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.483668 -3.701497)', '2026-07-09 08:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483689 -3.70174)'), GeomFromEWKT('SRID=4674;POINT (-38.483668 -3.701497)'))) / (select extract(epoch from '2026-07-09 08:33:34'::timestamp) - extract(epoch from '2026-07-09 08:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483689 -3.70174)'), GeomFromEWKT('SRID=4674;POINT (-38.483668 -3.701497)'))) / (select extract(epoch from '2026-07-09 08:33:34'::timestamp) - extract(epoch from '2026-07-09 08:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.48363 -3.701214)', '2026-07-09 08:33:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483668 -3.701497)'), GeomFromEWKT('SRID=4674;POINT (-38.48363 -3.701214)'))) / (select extract(epoch from '2026-07-09 08:33:45'::timestamp) - extract(epoch from '2026-07-09 08:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483668 -3.701497)'), GeomFromEWKT('SRID=4674;POINT (-38.48363 -3.701214)'))) / (select extract(epoch from '2026-07-09 08:33:45'::timestamp) - extract(epoch from '2026-07-09 08:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.483587 -3.700988)', '2026-07-09 08:33:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48363 -3.701214)'), GeomFromEWKT('SRID=4674;POINT (-38.483587 -3.700988)'))) / (select extract(epoch from '2026-07-09 08:33:55'::timestamp) - extract(epoch from '2026-07-09 08:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48363 -3.701214)'), GeomFromEWKT('SRID=4674;POINT (-38.483587 -3.700988)'))) / (select extract(epoch from '2026-07-09 08:33:55'::timestamp) - extract(epoch from '2026-07-09 08:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.483544 -3.700767)', '2026-07-09 08:34:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483587 -3.700988)'), GeomFromEWKT('SRID=4674;POINT (-38.483544 -3.700767)'))) / (select extract(epoch from '2026-07-09 08:34:05'::timestamp) - extract(epoch from '2026-07-09 08:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483587 -3.700988)'), GeomFromEWKT('SRID=4674;POINT (-38.483544 -3.700767)'))) / (select extract(epoch from '2026-07-09 08:34:05'::timestamp) - extract(epoch from '2026-07-09 08:33: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'), 47392, 'SRID=4674;POINT (-38.483512 -3.700595)', '2026-07-09 08:34:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483544 -3.700767)'), GeomFromEWKT('SRID=4674;POINT (-38.483512 -3.700595)'))) / (select extract(epoch from '2026-07-09 08:34:13'::timestamp) - extract(epoch from '2026-07-09 08:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483544 -3.700767)'), GeomFromEWKT('SRID=4674;POINT (-38.483512 -3.700595)'))) / (select extract(epoch from '2026-07-09 08:34:13'::timestamp) - extract(epoch from '2026-07-09 08:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.483479 -3.700445)', '2026-07-09 08:34:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483512 -3.700595)'), GeomFromEWKT('SRID=4674;POINT (-38.483479 -3.700445)'))) / (select extract(epoch from '2026-07-09 08:34:20'::timestamp) - extract(epoch from '2026-07-09 08:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483512 -3.700595)'), GeomFromEWKT('SRID=4674;POINT (-38.483479 -3.700445)'))) / (select extract(epoch from '2026-07-09 08:34:20'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.48341 -3.700251)', '2026-07-09 08:34:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483479 -3.700445)'), GeomFromEWKT('SRID=4674;POINT (-38.48341 -3.700251)'))) / (select extract(epoch from '2026-07-09 08:34:29'::timestamp) - extract(epoch from '2026-07-09 08:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483479 -3.700445)'), GeomFromEWKT('SRID=4674;POINT (-38.48341 -3.700251)'))) / (select extract(epoch from '2026-07-09 08:34:29'::timestamp) - extract(epoch from '2026-07-09 08:34:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.483335 -3.70006)', '2026-07-09 08:34:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48341 -3.700251)'), GeomFromEWKT('SRID=4674;POINT (-38.483335 -3.70006)'))) / (select extract(epoch from '2026-07-09 08:34:38'::timestamp) - extract(epoch from '2026-07-09 08:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48341 -3.700251)'), GeomFromEWKT('SRID=4674;POINT (-38.483335 -3.70006)'))) / (select extract(epoch from '2026-07-09 08:34:38'::timestamp) - extract(epoch from '2026-07-09 08:34: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'), 47392, 'SRID=4674;POINT (-38.48327 -3.699853)', '2026-07-09 08:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483335 -3.70006)'), GeomFromEWKT('SRID=4674;POINT (-38.48327 -3.699853)'))) / (select extract(epoch from '2026-07-09 08:34:47'::timestamp) - extract(epoch from '2026-07-09 08:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483335 -3.70006)'), GeomFromEWKT('SRID=4674;POINT (-38.48327 -3.699853)'))) / (select extract(epoch from '2026-07-09 08:34:47'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.483216 -3.699676)', '2026-07-09 08:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48327 -3.699853)'), GeomFromEWKT('SRID=4674;POINT (-38.483216 -3.699676)'))) / (select extract(epoch from '2026-07-09 08:34:55'::timestamp) - extract(epoch from '2026-07-09 08:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48327 -3.699853)'), GeomFromEWKT('SRID=4674;POINT (-38.483216 -3.699676)'))) / (select extract(epoch from '2026-07-09 08:34:55'::timestamp) - extract(epoch from '2026-07-09 08:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.483149 -3.699471)', '2026-07-09 08:35:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483216 -3.699676)'), GeomFromEWKT('SRID=4674;POINT (-38.483149 -3.699471)'))) / (select extract(epoch from '2026-07-09 08:35:04'::timestamp) - extract(epoch from '2026-07-09 08:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483216 -3.699676)'), GeomFromEWKT('SRID=4674;POINT (-38.483149 -3.699471)'))) / (select extract(epoch from '2026-07-09 08:35:04'::timestamp) - extract(epoch from '2026-07-09 08:34: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'), 47392, 'SRID=4674;POINT (-38.483073 -3.699244)', '2026-07-09 08:35:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483149 -3.699471)'), GeomFromEWKT('SRID=4674;POINT (-38.483073 -3.699244)'))) / (select extract(epoch from '2026-07-09 08:35:14'::timestamp) - extract(epoch from '2026-07-09 08:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483149 -3.699471)'), GeomFromEWKT('SRID=4674;POINT (-38.483073 -3.699244)'))) / (select extract(epoch from '2026-07-09 08:35:14'::timestamp) - extract(epoch from '2026-07-09 08:35: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'), 47392, 'SRID=4674;POINT (-38.483004 -3.699066)', '2026-07-09 08:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483073 -3.699244)'), GeomFromEWKT('SRID=4674;POINT (-38.483004 -3.699066)'))) / (select extract(epoch from '2026-07-09 08:35:22'::timestamp) - extract(epoch from '2026-07-09 08:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483073 -3.699244)'), GeomFromEWKT('SRID=4674;POINT (-38.483004 -3.699066)'))) / (select extract(epoch from '2026-07-09 08:35:22'::timestamp) - extract(epoch from '2026-07-09 08:35: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'), 47392, 'SRID=4674;POINT (-38.482928 -3.698855)', '2026-07-09 08:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483004 -3.699066)'), GeomFromEWKT('SRID=4674;POINT (-38.482928 -3.698855)'))) / (select extract(epoch from '2026-07-09 08:35:32'::timestamp) - extract(epoch from '2026-07-09 08:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483004 -3.699066)'), GeomFromEWKT('SRID=4674;POINT (-38.482928 -3.698855)'))) / (select extract(epoch from '2026-07-09 08:35:32'::timestamp) - extract(epoch from '2026-07-09 08:35: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'), 47392, 'SRID=4674;POINT (-38.482887 -3.698703)', '2026-07-09 08:35:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482928 -3.698855)'), GeomFromEWKT('SRID=4674;POINT (-38.482887 -3.698703)'))) / (select extract(epoch from '2026-07-09 08:35:40'::timestamp) - extract(epoch from '2026-07-09 08:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482928 -3.698855)'), GeomFromEWKT('SRID=4674;POINT (-38.482887 -3.698703)'))) / (select extract(epoch from '2026-07-09 08:35:40'::timestamp) - extract(epoch from '2026-07-09 08:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.482886 -3.698612)', '2026-07-09 08:35:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482887 -3.698703)'), GeomFromEWKT('SRID=4674;POINT (-38.482886 -3.698612)'))) / (select extract(epoch from '2026-07-09 08:35:46'::timestamp) - extract(epoch from '2026-07-09 08:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482887 -3.698703)'), GeomFromEWKT('SRID=4674;POINT (-38.482886 -3.698612)'))) / (select extract(epoch from '2026-07-09 08:35:46'::timestamp) - extract(epoch from '2026-07-09 08:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.48291 -3.698496)', '2026-07-09 08:35:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482886 -3.698612)'), GeomFromEWKT('SRID=4674;POINT (-38.48291 -3.698496)'))) / (select extract(epoch from '2026-07-09 08:35:53'::timestamp) - extract(epoch from '2026-07-09 08:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482886 -3.698612)'), GeomFromEWKT('SRID=4674;POINT (-38.48291 -3.698496)'))) / (select extract(epoch from '2026-07-09 08:35:53'::timestamp) - extract(epoch from '2026-07-09 08:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.482921 -3.698354)', '2026-07-09 08:36:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48291 -3.698496)'), GeomFromEWKT('SRID=4674;POINT (-38.482921 -3.698354)'))) / (select extract(epoch from '2026-07-09 08:36:01'::timestamp) - extract(epoch from '2026-07-09 08:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48291 -3.698496)'), GeomFromEWKT('SRID=4674;POINT (-38.482921 -3.698354)'))) / (select extract(epoch from '2026-07-09 08:36:01'::timestamp) - extract(epoch from '2026-07-09 08:35:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.482887 -3.69826)', '2026-07-09 08:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482921 -3.698354)'), GeomFromEWKT('SRID=4674;POINT (-38.482887 -3.69826)'))) / (select extract(epoch from '2026-07-09 08:36:11'::timestamp) - extract(epoch from '2026-07-09 08:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482921 -3.698354)'), GeomFromEWKT('SRID=4674;POINT (-38.482887 -3.69826)'))) / (select extract(epoch from '2026-07-09 08:36:11'::timestamp) - extract(epoch from '2026-07-09 08:36: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'), 47392, 'SRID=4674;POINT (-38.482866 -3.698224)', '2026-07-09 08:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482887 -3.69826)'), GeomFromEWKT('SRID=4674;POINT (-38.482866 -3.698224)'))) / (select extract(epoch from '2026-07-09 08:36:18'::timestamp) - extract(epoch from '2026-07-09 08:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482887 -3.69826)'), GeomFromEWKT('SRID=4674;POINT (-38.482866 -3.698224)'))) / (select extract(epoch from '2026-07-09 08:36:18'::timestamp) - extract(epoch from '2026-07-09 08:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.482845 -3.698167)', '2026-07-09 08:36:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482866 -3.698224)'), GeomFromEWKT('SRID=4674;POINT (-38.482845 -3.698167)'))) / (select extract(epoch from '2026-07-09 08:36:29'::timestamp) - extract(epoch from '2026-07-09 08:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482866 -3.698224)'), GeomFromEWKT('SRID=4674;POINT (-38.482845 -3.698167)'))) / (select extract(epoch from '2026-07-09 08:36:29'::timestamp) - extract(epoch from '2026-07-09 08:36: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'), 47392, 'SRID=4674;POINT (-38.482835 -3.698113)', '2026-07-09 08:36:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482845 -3.698167)'), GeomFromEWKT('SRID=4674;POINT (-38.482835 -3.698113)'))) / (select extract(epoch from '2026-07-09 08:36:38'::timestamp) - extract(epoch from '2026-07-09 08:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482845 -3.698167)'), GeomFromEWKT('SRID=4674;POINT (-38.482835 -3.698113)'))) / (select extract(epoch from '2026-07-09 08:36:38'::timestamp) - extract(epoch from '2026-07-09 08:36: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'), 47392, 'SRID=4674;POINT (-38.482806 -3.698024)', '2026-07-09 08:36:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482835 -3.698113)'), GeomFromEWKT('SRID=4674;POINT (-38.482806 -3.698024)'))) / (select extract(epoch from '2026-07-09 08:36:49'::timestamp) - extract(epoch from '2026-07-09 08:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482835 -3.698113)'), GeomFromEWKT('SRID=4674;POINT (-38.482806 -3.698024)'))) / (select extract(epoch from '2026-07-09 08:36:49'::timestamp) - extract(epoch from '2026-07-09 08:36: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'), 47392, 'SRID=4674;POINT (-38.482759 -3.697908)', '2026-07-09 08:37:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482806 -3.698024)'), GeomFromEWKT('SRID=4674;POINT (-38.482759 -3.697908)'))) / (select extract(epoch from '2026-07-09 08:37:00'::timestamp) - extract(epoch from '2026-07-09 08:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482806 -3.698024)'), GeomFromEWKT('SRID=4674;POINT (-38.482759 -3.697908)'))) / (select extract(epoch from '2026-07-09 08:37:00'::timestamp) - extract(epoch from '2026-07-09 08:36: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'), 47392, 'SRID=4674;POINT (-38.482733 -3.697858)', '2026-07-09 08:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482759 -3.697908)'), GeomFromEWKT('SRID=4674;POINT (-38.482733 -3.697858)'))) / (select extract(epoch from '2026-07-09 08:37:05'::timestamp) - extract(epoch from '2026-07-09 08:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482759 -3.697908)'), GeomFromEWKT('SRID=4674;POINT (-38.482733 -3.697858)'))) / (select extract(epoch from '2026-07-09 08:37:05'::timestamp) - extract(epoch from '2026-07-09 08:37: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'), 47392, 'SRID=4674;POINT (-38.48273 -3.697848)', '2026-07-09 08:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482733 -3.697858)'), GeomFromEWKT('SRID=4674;POINT (-38.48273 -3.697848)'))) / (select extract(epoch from '2026-07-09 08:37:06'::timestamp) - extract(epoch from '2026-07-09 08:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482733 -3.697858)'), GeomFromEWKT('SRID=4674;POINT (-38.48273 -3.697848)'))) / (select extract(epoch from '2026-07-09 08:37:06'::timestamp) - extract(epoch from '2026-07-09 08:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.482696 -3.697776)', '2026-07-09 08:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48273 -3.697848)'), GeomFromEWKT('SRID=4674;POINT (-38.482696 -3.697776)'))) / (select extract(epoch from '2026-07-09 08:37:13'::timestamp) - extract(epoch from '2026-07-09 08:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48273 -3.697848)'), GeomFromEWKT('SRID=4674;POINT (-38.482696 -3.697776)'))) / (select extract(epoch from '2026-07-09 08:37:13'::timestamp) - extract(epoch from '2026-07-09 08:37: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'), 47392, 'SRID=4674;POINT (-38.482658 -3.697717)', '2026-07-09 08:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482696 -3.697776)'), GeomFromEWKT('SRID=4674;POINT (-38.482658 -3.697717)'))) / (select extract(epoch from '2026-07-09 08:37:20'::timestamp) - extract(epoch from '2026-07-09 08:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482696 -3.697776)'), GeomFromEWKT('SRID=4674;POINT (-38.482658 -3.697717)'))) / (select extract(epoch from '2026-07-09 08:37:20'::timestamp) - extract(epoch from '2026-07-09 08:37: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'), 47392, 'SRID=4674;POINT (-38.482627 -3.697643)', '2026-07-09 08:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482658 -3.697717)'), GeomFromEWKT('SRID=4674;POINT (-38.482627 -3.697643)'))) / (select extract(epoch from '2026-07-09 08:37:26'::timestamp) - extract(epoch from '2026-07-09 08:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482658 -3.697717)'), GeomFromEWKT('SRID=4674;POINT (-38.482627 -3.697643)'))) / (select extract(epoch from '2026-07-09 08:37:26'::timestamp) - extract(epoch from '2026-07-09 08:37: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'), 47392, 'SRID=4674;POINT (-38.482603 -3.697559)', '2026-07-09 08:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482627 -3.697643)'), GeomFromEWKT('SRID=4674;POINT (-38.482603 -3.697559)'))) / (select extract(epoch from '2026-07-09 08:37:32'::timestamp) - extract(epoch from '2026-07-09 08:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482627 -3.697643)'), GeomFromEWKT('SRID=4674;POINT (-38.482603 -3.697559)'))) / (select extract(epoch from '2026-07-09 08:37:32'::timestamp) - extract(epoch from '2026-07-09 08:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.482556 -3.697454)', '2026-07-09 08:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482603 -3.697559)'), GeomFromEWKT('SRID=4674;POINT (-38.482556 -3.697454)'))) / (select extract(epoch from '2026-07-09 08:37:39'::timestamp) - extract(epoch from '2026-07-09 08:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482603 -3.697559)'), GeomFromEWKT('SRID=4674;POINT (-38.482556 -3.697454)'))) / (select extract(epoch from '2026-07-09 08:37:39'::timestamp) - extract(epoch from '2026-07-09 08:37: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'), 47392, 'SRID=4674;POINT (-38.482497 -3.697317)', '2026-07-09 08:37:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482556 -3.697454)'), GeomFromEWKT('SRID=4674;POINT (-38.482497 -3.697317)'))) / (select extract(epoch from '2026-07-09 08:37:47'::timestamp) - extract(epoch from '2026-07-09 08:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482556 -3.697454)'), GeomFromEWKT('SRID=4674;POINT (-38.482497 -3.697317)'))) / (select extract(epoch from '2026-07-09 08:37:47'::timestamp) - extract(epoch from '2026-07-09 08:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.482438 -3.697214)', '2026-07-09 08:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482497 -3.697317)'), GeomFromEWKT('SRID=4674;POINT (-38.482438 -3.697214)'))) / (select extract(epoch from '2026-07-09 08:37:53'::timestamp) - extract(epoch from '2026-07-09 08:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482497 -3.697317)'), GeomFromEWKT('SRID=4674;POINT (-38.482438 -3.697214)'))) / (select extract(epoch from '2026-07-09 08:37:53'::timestamp) - extract(epoch from '2026-07-09 08:37: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'), 47392, 'SRID=4674;POINT (-38.482363 -3.697101)', '2026-07-09 08:38:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482438 -3.697214)'), GeomFromEWKT('SRID=4674;POINT (-38.482363 -3.697101)'))) / (select extract(epoch from '2026-07-09 08:38:00'::timestamp) - extract(epoch from '2026-07-09 08:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482438 -3.697214)'), GeomFromEWKT('SRID=4674;POINT (-38.482363 -3.697101)'))) / (select extract(epoch from '2026-07-09 08:38:00'::timestamp) - extract(epoch from '2026-07-09 08:37: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'), 47392, 'SRID=4674;POINT (-38.482287 -3.696969)', '2026-07-09 08:38:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482363 -3.697101)'), GeomFromEWKT('SRID=4674;POINT (-38.482287 -3.696969)'))) / (select extract(epoch from '2026-07-09 08:38:07'::timestamp) - extract(epoch from '2026-07-09 08:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482363 -3.697101)'), GeomFromEWKT('SRID=4674;POINT (-38.482287 -3.696969)'))) / (select extract(epoch from '2026-07-09 08:38:07'::timestamp) - extract(epoch from '2026-07-09 08:38: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'), 47392, 'SRID=4674;POINT (-38.482211 -3.696822)', '2026-07-09 08:38:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482287 -3.696969)'), GeomFromEWKT('SRID=4674;POINT (-38.482211 -3.696822)'))) / (select extract(epoch from '2026-07-09 08:38:15'::timestamp) - extract(epoch from '2026-07-09 08:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482287 -3.696969)'), GeomFromEWKT('SRID=4674;POINT (-38.482211 -3.696822)'))) / (select extract(epoch from '2026-07-09 08:38:15'::timestamp) - extract(epoch from '2026-07-09 08:38: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'), 47392, 'SRID=4674;POINT (-38.482148 -3.696709)', '2026-07-09 08:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482211 -3.696822)'), GeomFromEWKT('SRID=4674;POINT (-38.482148 -3.696709)'))) / (select extract(epoch from '2026-07-09 08:38:22'::timestamp) - extract(epoch from '2026-07-09 08:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482211 -3.696822)'), GeomFromEWKT('SRID=4674;POINT (-38.482148 -3.696709)'))) / (select extract(epoch from '2026-07-09 08:38:22'::timestamp) - extract(epoch from '2026-07-09 08:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.482087 -3.696607)', '2026-07-09 08:38:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482148 -3.696709)'), GeomFromEWKT('SRID=4674;POINT (-38.482087 -3.696607)'))) / (select extract(epoch from '2026-07-09 08:38:28'::timestamp) - extract(epoch from '2026-07-09 08:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482148 -3.696709)'), GeomFromEWKT('SRID=4674;POINT (-38.482087 -3.696607)'))) / (select extract(epoch from '2026-07-09 08:38:28'::timestamp) - extract(epoch from '2026-07-09 08:38: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'), 47392, 'SRID=4674;POINT (-38.482011 -3.696479)', '2026-07-09 08:38:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482087 -3.696607)'), GeomFromEWKT('SRID=4674;POINT (-38.482011 -3.696479)'))) / (select extract(epoch from '2026-07-09 08:38:35'::timestamp) - extract(epoch from '2026-07-09 08:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482087 -3.696607)'), GeomFromEWKT('SRID=4674;POINT (-38.482011 -3.696479)'))) / (select extract(epoch from '2026-07-09 08:38:35'::timestamp) - extract(epoch from '2026-07-09 08:38: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'), 47392, 'SRID=4674;POINT (-38.481936 -3.696305)', '2026-07-09 08:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482011 -3.696479)'), GeomFromEWKT('SRID=4674;POINT (-38.481936 -3.696305)'))) / (select extract(epoch from '2026-07-09 08:38:44'::timestamp) - extract(epoch from '2026-07-09 08:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482011 -3.696479)'), GeomFromEWKT('SRID=4674;POINT (-38.481936 -3.696305)'))) / (select extract(epoch from '2026-07-09 08:38:44'::timestamp) - extract(epoch from '2026-07-09 08:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.48188 -3.696198)', '2026-07-09 08:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481936 -3.696305)'), GeomFromEWKT('SRID=4674;POINT (-38.48188 -3.696198)'))) / (select extract(epoch from '2026-07-09 08:38:50'::timestamp) - extract(epoch from '2026-07-09 08:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481936 -3.696305)'), GeomFromEWKT('SRID=4674;POINT (-38.48188 -3.696198)'))) / (select extract(epoch from '2026-07-09 08:38:50'::timestamp) - extract(epoch from '2026-07-09 08:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.481818 -3.696087)', '2026-07-09 08:38:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48188 -3.696198)'), GeomFromEWKT('SRID=4674;POINT (-38.481818 -3.696087)'))) / (select extract(epoch from '2026-07-09 08:38:56'::timestamp) - extract(epoch from '2026-07-09 08:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48188 -3.696198)'), GeomFromEWKT('SRID=4674;POINT (-38.481818 -3.696087)'))) / (select extract(epoch from '2026-07-09 08:38:56'::timestamp) - extract(epoch from '2026-07-09 08:38: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'), 47392, 'SRID=4674;POINT (-38.481755 -3.695963)', '2026-07-09 08:39:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481818 -3.696087)'), GeomFromEWKT('SRID=4674;POINT (-38.481755 -3.695963)'))) / (select extract(epoch from '2026-07-09 08:39:03'::timestamp) - extract(epoch from '2026-07-09 08:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481818 -3.696087)'), GeomFromEWKT('SRID=4674;POINT (-38.481755 -3.695963)'))) / (select extract(epoch from '2026-07-09 08:39:03'::timestamp) - extract(epoch from '2026-07-09 08:38: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'), 47392, 'SRID=4674;POINT (-38.481687 -3.695819)', '2026-07-09 08:39:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481755 -3.695963)'), GeomFromEWKT('SRID=4674;POINT (-38.481687 -3.695819)'))) / (select extract(epoch from '2026-07-09 08:39:11'::timestamp) - extract(epoch from '2026-07-09 08:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481755 -3.695963)'), GeomFromEWKT('SRID=4674;POINT (-38.481687 -3.695819)'))) / (select extract(epoch from '2026-07-09 08:39:11'::timestamp) - extract(epoch from '2026-07-09 08:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.481631 -3.695699)', '2026-07-09 08:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481687 -3.695819)'), GeomFromEWKT('SRID=4674;POINT (-38.481631 -3.695699)'))) / (select extract(epoch from '2026-07-09 08:39:18'::timestamp) - extract(epoch from '2026-07-09 08:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481687 -3.695819)'), GeomFromEWKT('SRID=4674;POINT (-38.481631 -3.695699)'))) / (select extract(epoch from '2026-07-09 08:39:18'::timestamp) - extract(epoch from '2026-07-09 08:39: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'), 47392, 'SRID=4674;POINT (-38.481579 -3.69557)', '2026-07-09 08:39:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481631 -3.695699)'), GeomFromEWKT('SRID=4674;POINT (-38.481579 -3.69557)'))) / (select extract(epoch from '2026-07-09 08:39:25'::timestamp) - extract(epoch from '2026-07-09 08:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481631 -3.695699)'), GeomFromEWKT('SRID=4674;POINT (-38.481579 -3.69557)'))) / (select extract(epoch from '2026-07-09 08:39:25'::timestamp) - extract(epoch from '2026-07-09 08:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.481486 -3.695406)', '2026-07-09 08:39:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481579 -3.69557)'), GeomFromEWKT('SRID=4674;POINT (-38.481486 -3.695406)'))) / (select extract(epoch from '2026-07-09 08:39:34'::timestamp) - extract(epoch from '2026-07-09 08:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481579 -3.69557)'), GeomFromEWKT('SRID=4674;POINT (-38.481486 -3.695406)'))) / (select extract(epoch from '2026-07-09 08:39:34'::timestamp) - extract(epoch from '2026-07-09 08:39: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'), 47392, 'SRID=4674;POINT (-38.481408 -3.695264)', '2026-07-09 08:39:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481486 -3.695406)'), GeomFromEWKT('SRID=4674;POINT (-38.481408 -3.695264)'))) / (select extract(epoch from '2026-07-09 08:39:42'::timestamp) - extract(epoch from '2026-07-09 08:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481486 -3.695406)'), GeomFromEWKT('SRID=4674;POINT (-38.481408 -3.695264)'))) / (select extract(epoch from '2026-07-09 08:39:42'::timestamp) - extract(epoch from '2026-07-09 08:39: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'), 47392, 'SRID=4674;POINT (-38.48134 -3.695128)', '2026-07-09 08:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481408 -3.695264)'), GeomFromEWKT('SRID=4674;POINT (-38.48134 -3.695128)'))) / (select extract(epoch from '2026-07-09 08:39:50'::timestamp) - extract(epoch from '2026-07-09 08:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481408 -3.695264)'), GeomFromEWKT('SRID=4674;POINT (-38.48134 -3.695128)'))) / (select extract(epoch from '2026-07-09 08:39:50'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.481263 -3.694979)', '2026-07-09 08:39:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48134 -3.695128)'), GeomFromEWKT('SRID=4674;POINT (-38.481263 -3.694979)'))) / (select extract(epoch from '2026-07-09 08:39:58'::timestamp) - extract(epoch from '2026-07-09 08:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48134 -3.695128)'), GeomFromEWKT('SRID=4674;POINT (-38.481263 -3.694979)'))) / (select extract(epoch from '2026-07-09 08:39:58'::timestamp) - extract(epoch from '2026-07-09 08:39: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'), 47392, 'SRID=4674;POINT (-38.481187 -3.694814)', '2026-07-09 08:40:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481263 -3.694979)'), GeomFromEWKT('SRID=4674;POINT (-38.481187 -3.694814)'))) / (select extract(epoch from '2026-07-09 08:40:06'::timestamp) - extract(epoch from '2026-07-09 08:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481263 -3.694979)'), GeomFromEWKT('SRID=4674;POINT (-38.481187 -3.694814)'))) / (select extract(epoch from '2026-07-09 08:40:06'::timestamp) - extract(epoch from '2026-07-09 08:39: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'), 47392, 'SRID=4674;POINT (-38.481128 -3.694686)', '2026-07-09 08:40:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481187 -3.694814)'), GeomFromEWKT('SRID=4674;POINT (-38.481128 -3.694686)'))) / (select extract(epoch from '2026-07-09 08:40:13'::timestamp) - extract(epoch from '2026-07-09 08:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481187 -3.694814)'), GeomFromEWKT('SRID=4674;POINT (-38.481128 -3.694686)'))) / (select extract(epoch from '2026-07-09 08:40:13'::timestamp) - extract(epoch from '2026-07-09 08:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.481077 -3.694554)', '2026-07-09 08:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481128 -3.694686)'), GeomFromEWKT('SRID=4674;POINT (-38.481077 -3.694554)'))) / (select extract(epoch from '2026-07-09 08:40:20'::timestamp) - extract(epoch from '2026-07-09 08:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481128 -3.694686)'), GeomFromEWKT('SRID=4674;POINT (-38.481077 -3.694554)'))) / (select extract(epoch from '2026-07-09 08:40:20'::timestamp) - extract(epoch from '2026-07-09 08:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.481019 -3.694407)', '2026-07-09 08:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481077 -3.694554)'), GeomFromEWKT('SRID=4674;POINT (-38.481019 -3.694407)'))) / (select extract(epoch from '2026-07-09 08:40:27'::timestamp) - extract(epoch from '2026-07-09 08:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481077 -3.694554)'), GeomFromEWKT('SRID=4674;POINT (-38.481019 -3.694407)'))) / (select extract(epoch from '2026-07-09 08:40:27'::timestamp) - extract(epoch from '2026-07-09 08:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.480964 -3.694285)', '2026-07-09 08:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481019 -3.694407)'), GeomFromEWKT('SRID=4674;POINT (-38.480964 -3.694285)'))) / (select extract(epoch from '2026-07-09 08:40:33'::timestamp) - extract(epoch from '2026-07-09 08:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481019 -3.694407)'), GeomFromEWKT('SRID=4674;POINT (-38.480964 -3.694285)'))) / (select extract(epoch from '2026-07-09 08:40:33'::timestamp) - extract(epoch from '2026-07-09 08:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.480896 -3.694139)', '2026-07-09 08:40:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480964 -3.694285)'), GeomFromEWKT('SRID=4674;POINT (-38.480896 -3.694139)'))) / (select extract(epoch from '2026-07-09 08:40:41'::timestamp) - extract(epoch from '2026-07-09 08:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480964 -3.694285)'), GeomFromEWKT('SRID=4674;POINT (-38.480896 -3.694139)'))) / (select extract(epoch from '2026-07-09 08:40:41'::timestamp) - extract(epoch from '2026-07-09 08:40: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'), 47392, 'SRID=4674;POINT (-38.480865 -3.694031)', '2026-07-09 08:40:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480896 -3.694139)'), GeomFromEWKT('SRID=4674;POINT (-38.480865 -3.694031)'))) / (select extract(epoch from '2026-07-09 08:40:47'::timestamp) - extract(epoch from '2026-07-09 08:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480896 -3.694139)'), GeomFromEWKT('SRID=4674;POINT (-38.480865 -3.694031)'))) / (select extract(epoch from '2026-07-09 08:40:47'::timestamp) - extract(epoch from '2026-07-09 08:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.480815 -3.693864)', '2026-07-09 08:40:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480865 -3.694031)'), GeomFromEWKT('SRID=4674;POINT (-38.480815 -3.693864)'))) / (select extract(epoch from '2026-07-09 08:40:55'::timestamp) - extract(epoch from '2026-07-09 08:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480865 -3.694031)'), GeomFromEWKT('SRID=4674;POINT (-38.480815 -3.693864)'))) / (select extract(epoch from '2026-07-09 08:40:55'::timestamp) - extract(epoch from '2026-07-09 08:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.48074 -3.693689)', '2026-07-09 08:41:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480815 -3.693864)'), GeomFromEWKT('SRID=4674;POINT (-38.48074 -3.693689)'))) / (select extract(epoch from '2026-07-09 08:41:04'::timestamp) - extract(epoch from '2026-07-09 08:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480815 -3.693864)'), GeomFromEWKT('SRID=4674;POINT (-38.48074 -3.693689)'))) / (select extract(epoch from '2026-07-09 08:41:04'::timestamp) - extract(epoch from '2026-07-09 08:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.480662 -3.693531)', '2026-07-09 08:41:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48074 -3.693689)'), GeomFromEWKT('SRID=4674;POINT (-38.480662 -3.693531)'))) / (select extract(epoch from '2026-07-09 08:41:13'::timestamp) - extract(epoch from '2026-07-09 08:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48074 -3.693689)'), GeomFromEWKT('SRID=4674;POINT (-38.480662 -3.693531)'))) / (select extract(epoch from '2026-07-09 08:41:13'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.480601 -3.693384)', '2026-07-09 08:41:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480662 -3.693531)'), GeomFromEWKT('SRID=4674;POINT (-38.480601 -3.693384)'))) / (select extract(epoch from '2026-07-09 08:41:21'::timestamp) - extract(epoch from '2026-07-09 08:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480662 -3.693531)'), GeomFromEWKT('SRID=4674;POINT (-38.480601 -3.693384)'))) / (select extract(epoch from '2026-07-09 08:41:21'::timestamp) - extract(epoch from '2026-07-09 08:41: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'), 47392, 'SRID=4674;POINT (-38.480571 -3.693258)', '2026-07-09 08:41:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480601 -3.693384)'), GeomFromEWKT('SRID=4674;POINT (-38.480571 -3.693258)'))) / (select extract(epoch from '2026-07-09 08:41:28'::timestamp) - extract(epoch from '2026-07-09 08:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480601 -3.693384)'), GeomFromEWKT('SRID=4674;POINT (-38.480571 -3.693258)'))) / (select extract(epoch from '2026-07-09 08:41:28'::timestamp) - extract(epoch from '2026-07-09 08:41: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'), 47392, 'SRID=4674;POINT (-38.480536 -3.693117)', '2026-07-09 08:41:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480571 -3.693258)'), GeomFromEWKT('SRID=4674;POINT (-38.480536 -3.693117)'))) / (select extract(epoch from '2026-07-09 08:41:35'::timestamp) - extract(epoch from '2026-07-09 08:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480571 -3.693258)'), GeomFromEWKT('SRID=4674;POINT (-38.480536 -3.693117)'))) / (select extract(epoch from '2026-07-09 08:41:35'::timestamp) - extract(epoch from '2026-07-09 08:41: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'), 47392, 'SRID=4674;POINT (-38.480484 -3.692959)', '2026-07-09 08:41:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480536 -3.693117)'), GeomFromEWKT('SRID=4674;POINT (-38.480484 -3.692959)'))) / (select extract(epoch from '2026-07-09 08:41:43'::timestamp) - extract(epoch from '2026-07-09 08:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480536 -3.693117)'), GeomFromEWKT('SRID=4674;POINT (-38.480484 -3.692959)'))) / (select extract(epoch from '2026-07-09 08:41:43'::timestamp) - extract(epoch from '2026-07-09 08:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.480445 -3.692847)', '2026-07-09 08:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480484 -3.692959)'), GeomFromEWKT('SRID=4674;POINT (-38.480445 -3.692847)'))) / (select extract(epoch from '2026-07-09 08:41:49'::timestamp) - extract(epoch from '2026-07-09 08:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480484 -3.692959)'), GeomFromEWKT('SRID=4674;POINT (-38.480445 -3.692847)'))) / (select extract(epoch from '2026-07-09 08:41:49'::timestamp) - extract(epoch from '2026-07-09 08:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.480411 -3.692757)', '2026-07-09 08:41:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480445 -3.692847)'), GeomFromEWKT('SRID=4674;POINT (-38.480411 -3.692757)'))) / (select extract(epoch from '2026-07-09 08:41:54'::timestamp) - extract(epoch from '2026-07-09 08:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480445 -3.692847)'), GeomFromEWKT('SRID=4674;POINT (-38.480411 -3.692757)'))) / (select extract(epoch from '2026-07-09 08:41:54'::timestamp) - extract(epoch from '2026-07-09 08:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.480383 -3.692673)', '2026-07-09 08:41:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480411 -3.692757)'), GeomFromEWKT('SRID=4674;POINT (-38.480383 -3.692673)'))) / (select extract(epoch from '2026-07-09 08:41:59'::timestamp) - extract(epoch from '2026-07-09 08:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480411 -3.692757)'), GeomFromEWKT('SRID=4674;POINT (-38.480383 -3.692673)'))) / (select extract(epoch from '2026-07-09 08:41:59'::timestamp) - extract(epoch from '2026-07-09 08:41: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'), 47392, 'SRID=4674;POINT (-38.480314 -3.692493)', '2026-07-09 08:42:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480383 -3.692673)'), GeomFromEWKT('SRID=4674;POINT (-38.480314 -3.692493)'))) / (select extract(epoch from '2026-07-09 08:42:09'::timestamp) - extract(epoch from '2026-07-09 08:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480383 -3.692673)'), GeomFromEWKT('SRID=4674;POINT (-38.480314 -3.692493)'))) / (select extract(epoch from '2026-07-09 08:42:09'::timestamp) - extract(epoch from '2026-07-09 08:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.480263 -3.692391)', '2026-07-09 08:42:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480314 -3.692493)'), GeomFromEWKT('SRID=4674;POINT (-38.480263 -3.692391)'))) / (select extract(epoch from '2026-07-09 08:42:16'::timestamp) - extract(epoch from '2026-07-09 08:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480314 -3.692493)'), GeomFromEWKT('SRID=4674;POINT (-38.480263 -3.692391)'))) / (select extract(epoch from '2026-07-09 08:42:16'::timestamp) - extract(epoch from '2026-07-09 08:42: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'), 47392, 'SRID=4674;POINT (-38.480209 -3.692262)', '2026-07-09 08:42:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480263 -3.692391)'), GeomFromEWKT('SRID=4674;POINT (-38.480209 -3.692262)'))) / (select extract(epoch from '2026-07-09 08:42:24'::timestamp) - extract(epoch from '2026-07-09 08:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480263 -3.692391)'), GeomFromEWKT('SRID=4674;POINT (-38.480209 -3.692262)'))) / (select extract(epoch from '2026-07-09 08:42:24'::timestamp) - extract(epoch from '2026-07-09 08:42: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'), 47392, 'SRID=4674;POINT (-38.480173 -3.692179)', '2026-07-09 08:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480209 -3.692262)'), GeomFromEWKT('SRID=4674;POINT (-38.480173 -3.692179)'))) / (select extract(epoch from '2026-07-09 08:42:29'::timestamp) - extract(epoch from '2026-07-09 08:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480209 -3.692262)'), GeomFromEWKT('SRID=4674;POINT (-38.480173 -3.692179)'))) / (select extract(epoch from '2026-07-09 08:42:29'::timestamp) - extract(epoch from '2026-07-09 08:42: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'), 47392, 'SRID=4674;POINT (-38.480143 -3.692092)', '2026-07-09 08:42:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480173 -3.692179)'), GeomFromEWKT('SRID=4674;POINT (-38.480143 -3.692092)'))) / (select extract(epoch from '2026-07-09 08:42:34'::timestamp) - extract(epoch from '2026-07-09 08:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480173 -3.692179)'), GeomFromEWKT('SRID=4674;POINT (-38.480143 -3.692092)'))) / (select extract(epoch from '2026-07-09 08:42:34'::timestamp) - extract(epoch from '2026-07-09 08:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.480082 -3.691976)', '2026-07-09 08:42:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480143 -3.692092)'), GeomFromEWKT('SRID=4674;POINT (-38.480082 -3.691976)'))) / (select extract(epoch from '2026-07-09 08:42:41'::timestamp) - extract(epoch from '2026-07-09 08:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480143 -3.692092)'), GeomFromEWKT('SRID=4674;POINT (-38.480082 -3.691976)'))) / (select extract(epoch from '2026-07-09 08:42:41'::timestamp) - extract(epoch from '2026-07-09 08:42:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.480035 -3.691857)', '2026-07-09 08:42:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480082 -3.691976)'), GeomFromEWKT('SRID=4674;POINT (-38.480035 -3.691857)'))) / (select extract(epoch from '2026-07-09 08:42:48'::timestamp) - extract(epoch from '2026-07-09 08:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480082 -3.691976)'), GeomFromEWKT('SRID=4674;POINT (-38.480035 -3.691857)'))) / (select extract(epoch from '2026-07-09 08:42:48'::timestamp) - extract(epoch from '2026-07-09 08:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.479999 -3.691738)', '2026-07-09 08:42:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480035 -3.691857)'), GeomFromEWKT('SRID=4674;POINT (-38.479999 -3.691738)'))) / (select extract(epoch from '2026-07-09 08:42:55'::timestamp) - extract(epoch from '2026-07-09 08:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480035 -3.691857)'), GeomFromEWKT('SRID=4674;POINT (-38.479999 -3.691738)'))) / (select extract(epoch from '2026-07-09 08:42:55'::timestamp) - extract(epoch from '2026-07-09 08:42: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'), 47392, 'SRID=4674;POINT (-38.479951 -3.6916)', '2026-07-09 08:43:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479999 -3.691738)'), GeomFromEWKT('SRID=4674;POINT (-38.479951 -3.6916)'))) / (select extract(epoch from '2026-07-09 08:43:03'::timestamp) - extract(epoch from '2026-07-09 08:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479999 -3.691738)'), GeomFromEWKT('SRID=4674;POINT (-38.479951 -3.6916)'))) / (select extract(epoch from '2026-07-09 08:43:03'::timestamp) - extract(epoch from '2026-07-09 08:42: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'), 47392, 'SRID=4674;POINT (-38.479909 -3.691495)', '2026-07-09 08:43:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479951 -3.6916)'), GeomFromEWKT('SRID=4674;POINT (-38.479909 -3.691495)'))) / (select extract(epoch from '2026-07-09 08:43:09'::timestamp) - extract(epoch from '2026-07-09 08:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479951 -3.6916)'), GeomFromEWKT('SRID=4674;POINT (-38.479909 -3.691495)'))) / (select extract(epoch from '2026-07-09 08:43:09'::timestamp) - extract(epoch from '2026-07-09 08:43: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'), 47392, 'SRID=4674;POINT (-38.479856 -3.691355)', '2026-07-09 08:43:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479909 -3.691495)'), GeomFromEWKT('SRID=4674;POINT (-38.479856 -3.691355)'))) / (select extract(epoch from '2026-07-09 08:43:17'::timestamp) - extract(epoch from '2026-07-09 08:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479909 -3.691495)'), GeomFromEWKT('SRID=4674;POINT (-38.479856 -3.691355)'))) / (select extract(epoch from '2026-07-09 08:43:17'::timestamp) - extract(epoch from '2026-07-09 08:43: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'), 47392, 'SRID=4674;POINT (-38.479795 -3.691246)', '2026-07-09 08:43:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479856 -3.691355)'), GeomFromEWKT('SRID=4674;POINT (-38.479795 -3.691246)'))) / (select extract(epoch from '2026-07-09 08:43:24'::timestamp) - extract(epoch from '2026-07-09 08:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479856 -3.691355)'), GeomFromEWKT('SRID=4674;POINT (-38.479795 -3.691246)'))) / (select extract(epoch from '2026-07-09 08:43:24'::timestamp) - extract(epoch from '2026-07-09 08:43:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.479757 -3.691178)', '2026-07-09 08:43:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479795 -3.691246)'), GeomFromEWKT('SRID=4674;POINT (-38.479757 -3.691178)'))) / (select extract(epoch from '2026-07-09 08:43:29'::timestamp) - extract(epoch from '2026-07-09 08:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479795 -3.691246)'), GeomFromEWKT('SRID=4674;POINT (-38.479757 -3.691178)'))) / (select extract(epoch from '2026-07-09 08:43:29'::timestamp) - extract(epoch from '2026-07-09 08:43: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'), 47392, 'SRID=4674;POINT (-38.479692 -3.691072)', '2026-07-09 08:43:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479757 -3.691178)'), GeomFromEWKT('SRID=4674;POINT (-38.479692 -3.691072)'))) / (select extract(epoch from '2026-07-09 08:43:36'::timestamp) - extract(epoch from '2026-07-09 08:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479757 -3.691178)'), GeomFromEWKT('SRID=4674;POINT (-38.479692 -3.691072)'))) / (select extract(epoch from '2026-07-09 08:43:36'::timestamp) - extract(epoch from '2026-07-09 08:43: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'), 47392, 'SRID=4674;POINT (-38.47969 -3.691058)', '2026-07-09 08:43:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479692 -3.691072)'), GeomFromEWKT('SRID=4674;POINT (-38.47969 -3.691058)'))) / (select extract(epoch from '2026-07-09 08:43:37'::timestamp) - extract(epoch from '2026-07-09 08:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479692 -3.691072)'), GeomFromEWKT('SRID=4674;POINT (-38.47969 -3.691058)'))) / (select extract(epoch from '2026-07-09 08:43:37'::timestamp) - extract(epoch from '2026-07-09 08:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.479655 -3.690997)', '2026-07-09 08:43:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47969 -3.691058)'), GeomFromEWKT('SRID=4674;POINT (-38.479655 -3.690997)'))) / (select extract(epoch from '2026-07-09 08:43:41'::timestamp) - extract(epoch from '2026-07-09 08:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47969 -3.691058)'), GeomFromEWKT('SRID=4674;POINT (-38.479655 -3.690997)'))) / (select extract(epoch from '2026-07-09 08:43:41'::timestamp) - extract(epoch from '2026-07-09 08:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.479592 -3.690886)', '2026-07-09 08:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479655 -3.690997)'), GeomFromEWKT('SRID=4674;POINT (-38.479592 -3.690886)'))) / (select extract(epoch from '2026-07-09 08:43:48'::timestamp) - extract(epoch from '2026-07-09 08:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479655 -3.690997)'), GeomFromEWKT('SRID=4674;POINT (-38.479592 -3.690886)'))) / (select extract(epoch from '2026-07-09 08:43:48'::timestamp) - extract(epoch from '2026-07-09 08:43: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'), 47392, 'SRID=4674;POINT (-38.479555 -3.690795)', '2026-07-09 08:43:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479592 -3.690886)'), GeomFromEWKT('SRID=4674;POINT (-38.479555 -3.690795)'))) / (select extract(epoch from '2026-07-09 08:43:53'::timestamp) - extract(epoch from '2026-07-09 08:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479592 -3.690886)'), GeomFromEWKT('SRID=4674;POINT (-38.479555 -3.690795)'))) / (select extract(epoch from '2026-07-09 08:43:53'::timestamp) - extract(epoch from '2026-07-09 08:43: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'), 47392, 'SRID=4674;POINT (-38.479538 -3.690701)', '2026-07-09 08:43:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479555 -3.690795)'), GeomFromEWKT('SRID=4674;POINT (-38.479538 -3.690701)'))) / (select extract(epoch from '2026-07-09 08:43:58'::timestamp) - extract(epoch from '2026-07-09 08:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479555 -3.690795)'), GeomFromEWKT('SRID=4674;POINT (-38.479538 -3.690701)'))) / (select extract(epoch from '2026-07-09 08:43:58'::timestamp) - extract(epoch from '2026-07-09 08:43: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'), 47392, 'SRID=4674;POINT (-38.479499 -3.690575)', '2026-07-09 08:44:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479538 -3.690701)'), GeomFromEWKT('SRID=4674;POINT (-38.479499 -3.690575)'))) / (select extract(epoch from '2026-07-09 08:44:04'::timestamp) - extract(epoch from '2026-07-09 08:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479538 -3.690701)'), GeomFromEWKT('SRID=4674;POINT (-38.479499 -3.690575)'))) / (select extract(epoch from '2026-07-09 08:44:04'::timestamp) - extract(epoch from '2026-07-09 08:43: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'), 47392, 'SRID=4674;POINT (-38.479448 -3.690442)', '2026-07-09 08:44:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479499 -3.690575)'), GeomFromEWKT('SRID=4674;POINT (-38.479448 -3.690442)'))) / (select extract(epoch from '2026-07-09 08:44:11'::timestamp) - extract(epoch from '2026-07-09 08:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479499 -3.690575)'), GeomFromEWKT('SRID=4674;POINT (-38.479448 -3.690442)'))) / (select extract(epoch from '2026-07-09 08:44:11'::timestamp) - extract(epoch from '2026-07-09 08:44: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'), 47392, 'SRID=4674;POINT (-38.479418 -3.690322)', '2026-07-09 08:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479448 -3.690442)'), GeomFromEWKT('SRID=4674;POINT (-38.479418 -3.690322)'))) / (select extract(epoch from '2026-07-09 08:44:17'::timestamp) - extract(epoch from '2026-07-09 08:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479448 -3.690442)'), GeomFromEWKT('SRID=4674;POINT (-38.479418 -3.690322)'))) / (select extract(epoch from '2026-07-09 08:44:17'::timestamp) - extract(epoch from '2026-07-09 08:44: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'), 47392, 'SRID=4674;POINT (-38.479388 -3.690149)', '2026-07-09 08:44:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479418 -3.690322)'), GeomFromEWKT('SRID=4674;POINT (-38.479388 -3.690149)'))) / (select extract(epoch from '2026-07-09 08:44:26'::timestamp) - extract(epoch from '2026-07-09 08:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479418 -3.690322)'), GeomFromEWKT('SRID=4674;POINT (-38.479388 -3.690149)'))) / (select extract(epoch from '2026-07-09 08:44:26'::timestamp) - extract(epoch from '2026-07-09 08:44: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'), 47392, 'SRID=4674;POINT (-38.479359 -3.690046)', '2026-07-09 08:44:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479388 -3.690149)'), GeomFromEWKT('SRID=4674;POINT (-38.479359 -3.690046)'))) / (select extract(epoch from '2026-07-09 08:44:31'::timestamp) - extract(epoch from '2026-07-09 08:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479388 -3.690149)'), GeomFromEWKT('SRID=4674;POINT (-38.479359 -3.690046)'))) / (select extract(epoch from '2026-07-09 08:44:31'::timestamp) - extract(epoch from '2026-07-09 08:44: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'), 47392, 'SRID=4674;POINT (-38.479338 -3.689945)', '2026-07-09 08:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479359 -3.690046)'), GeomFromEWKT('SRID=4674;POINT (-38.479338 -3.689945)'))) / (select extract(epoch from '2026-07-09 08:44:36'::timestamp) - extract(epoch from '2026-07-09 08:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479359 -3.690046)'), GeomFromEWKT('SRID=4674;POINT (-38.479338 -3.689945)'))) / (select extract(epoch from '2026-07-09 08:44:36'::timestamp) - extract(epoch from '2026-07-09 08:44: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'), 47392, 'SRID=4674;POINT (-38.479292 -3.689793)', '2026-07-09 08:44:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479338 -3.689945)'), GeomFromEWKT('SRID=4674;POINT (-38.479292 -3.689793)'))) / (select extract(epoch from '2026-07-09 08:44:43'::timestamp) - extract(epoch from '2026-07-09 08:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479338 -3.689945)'), GeomFromEWKT('SRID=4674;POINT (-38.479292 -3.689793)'))) / (select extract(epoch from '2026-07-09 08:44:43'::timestamp) - extract(epoch from '2026-07-09 08:44: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'), 47392, 'SRID=4674;POINT (-38.479228 -3.689618)', '2026-07-09 08:44:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479292 -3.689793)'), GeomFromEWKT('SRID=4674;POINT (-38.479228 -3.689618)'))) / (select extract(epoch from '2026-07-09 08:44:51'::timestamp) - extract(epoch from '2026-07-09 08:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479292 -3.689793)'), GeomFromEWKT('SRID=4674;POINT (-38.479228 -3.689618)'))) / (select extract(epoch from '2026-07-09 08:44:51'::timestamp) - extract(epoch from '2026-07-09 08:44: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'), 47392, 'SRID=4674;POINT (-38.479171 -3.689475)', '2026-07-09 08:44:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479228 -3.689618)'), GeomFromEWKT('SRID=4674;POINT (-38.479171 -3.689475)'))) / (select extract(epoch from '2026-07-09 08:44:58'::timestamp) - extract(epoch from '2026-07-09 08:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479228 -3.689618)'), GeomFromEWKT('SRID=4674;POINT (-38.479171 -3.689475)'))) / (select extract(epoch from '2026-07-09 08:44:58'::timestamp) - extract(epoch from '2026-07-09 08:44: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'), 47392, 'SRID=4674;POINT (-38.479131 -3.689365)', '2026-07-09 08:45:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479171 -3.689475)'), GeomFromEWKT('SRID=4674;POINT (-38.479131 -3.689365)'))) / (select extract(epoch from '2026-07-09 08:45:03'::timestamp) - extract(epoch from '2026-07-09 08:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479171 -3.689475)'), GeomFromEWKT('SRID=4674;POINT (-38.479131 -3.689365)'))) / (select extract(epoch from '2026-07-09 08:45:03'::timestamp) - extract(epoch from '2026-07-09 08:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.479131 -3.689344)', '2026-07-09 08:45:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479131 -3.689365)'), GeomFromEWKT('SRID=4674;POINT (-38.479131 -3.689344)'))) / (select extract(epoch from '2026-07-09 08:45:04'::timestamp) - extract(epoch from '2026-07-09 08:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479131 -3.689365)'), GeomFromEWKT('SRID=4674;POINT (-38.479131 -3.689344)'))) / (select extract(epoch from '2026-07-09 08:45:04'::timestamp) - extract(epoch from '2026-07-09 08:45: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'), 47392, 'SRID=4674;POINT (-38.47912 -3.68922)', '2026-07-09 08:45:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479131 -3.689344)'), GeomFromEWKT('SRID=4674;POINT (-38.47912 -3.68922)'))) / (select extract(epoch from '2026-07-09 08:45:09'::timestamp) - extract(epoch from '2026-07-09 08:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479131 -3.689344)'), GeomFromEWKT('SRID=4674;POINT (-38.47912 -3.68922)'))) / (select extract(epoch from '2026-07-09 08:45:09'::timestamp) - extract(epoch from '2026-07-09 08:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.479089 -3.689101)', '2026-07-09 08:45:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47912 -3.68922)'), GeomFromEWKT('SRID=4674;POINT (-38.479089 -3.689101)'))) / (select extract(epoch from '2026-07-09 08:45:14'::timestamp) - extract(epoch from '2026-07-09 08:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47912 -3.68922)'), GeomFromEWKT('SRID=4674;POINT (-38.479089 -3.689101)'))) / (select extract(epoch from '2026-07-09 08:45:14'::timestamp) - extract(epoch from '2026-07-09 08:45: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'), 47392, 'SRID=4674;POINT (-38.479057 -3.688944)', '2026-07-09 08:45:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479089 -3.689101)'), GeomFromEWKT('SRID=4674;POINT (-38.479057 -3.688944)'))) / (select extract(epoch from '2026-07-09 08:45:21'::timestamp) - extract(epoch from '2026-07-09 08:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479089 -3.689101)'), GeomFromEWKT('SRID=4674;POINT (-38.479057 -3.688944)'))) / (select extract(epoch from '2026-07-09 08:45:21'::timestamp) - extract(epoch from '2026-07-09 08:45: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'), 47392, 'SRID=4674;POINT (-38.479006 -3.688806)', '2026-07-09 08:45:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479057 -3.688944)'), GeomFromEWKT('SRID=4674;POINT (-38.479006 -3.688806)'))) / (select extract(epoch from '2026-07-09 08:45:28'::timestamp) - extract(epoch from '2026-07-09 08:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479057 -3.688944)'), GeomFromEWKT('SRID=4674;POINT (-38.479006 -3.688806)'))) / (select extract(epoch from '2026-07-09 08:45:28'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.47896 -3.688673)', '2026-07-09 08:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479006 -3.688806)'), GeomFromEWKT('SRID=4674;POINT (-38.47896 -3.688673)'))) / (select extract(epoch from '2026-07-09 08:45:35'::timestamp) - extract(epoch from '2026-07-09 08:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479006 -3.688806)'), GeomFromEWKT('SRID=4674;POINT (-38.47896 -3.688673)'))) / (select extract(epoch from '2026-07-09 08:45:35'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.478912 -3.688535)', '2026-07-09 08:45:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47896 -3.688673)'), GeomFromEWKT('SRID=4674;POINT (-38.478912 -3.688535)'))) / (select extract(epoch from '2026-07-09 08:45:42'::timestamp) - extract(epoch from '2026-07-09 08:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47896 -3.688673)'), GeomFromEWKT('SRID=4674;POINT (-38.478912 -3.688535)'))) / (select extract(epoch from '2026-07-09 08:45:42'::timestamp) - extract(epoch from '2026-07-09 08:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.478854 -3.688376)', '2026-07-09 08:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478912 -3.688535)'), GeomFromEWKT('SRID=4674;POINT (-38.478854 -3.688376)'))) / (select extract(epoch from '2026-07-09 08:45:50'::timestamp) - extract(epoch from '2026-07-09 08:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478912 -3.688535)'), GeomFromEWKT('SRID=4674;POINT (-38.478854 -3.688376)'))) / (select extract(epoch from '2026-07-09 08:45:50'::timestamp) - extract(epoch from '2026-07-09 08:45:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.478813 -3.688229)', '2026-07-09 08:45:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478854 -3.688376)'), GeomFromEWKT('SRID=4674;POINT (-38.478813 -3.688229)'))) / (select extract(epoch from '2026-07-09 08:45:57'::timestamp) - extract(epoch from '2026-07-09 08:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478854 -3.688376)'), GeomFromEWKT('SRID=4674;POINT (-38.478813 -3.688229)'))) / (select extract(epoch from '2026-07-09 08:45:57'::timestamp) - extract(epoch from '2026-07-09 08:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.478769 -3.688114)', '2026-07-09 08:46:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478813 -3.688229)'), GeomFromEWKT('SRID=4674;POINT (-38.478769 -3.688114)'))) / (select extract(epoch from '2026-07-09 08:46:03'::timestamp) - extract(epoch from '2026-07-09 08:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478813 -3.688229)'), GeomFromEWKT('SRID=4674;POINT (-38.478769 -3.688114)'))) / (select extract(epoch from '2026-07-09 08:46:03'::timestamp) - extract(epoch from '2026-07-09 08:45: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'), 47392, 'SRID=4674;POINT (-38.478731 -3.687974)', '2026-07-09 08:46:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478769 -3.688114)'), GeomFromEWKT('SRID=4674;POINT (-38.478731 -3.687974)'))) / (select extract(epoch from '2026-07-09 08:46:10'::timestamp) - extract(epoch from '2026-07-09 08:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478769 -3.688114)'), GeomFromEWKT('SRID=4674;POINT (-38.478731 -3.687974)'))) / (select extract(epoch from '2026-07-09 08:46:10'::timestamp) - extract(epoch from '2026-07-09 08:46: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'), 47392, 'SRID=4674;POINT (-38.478694 -3.687872)', '2026-07-09 08:46:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478731 -3.687974)'), GeomFromEWKT('SRID=4674;POINT (-38.478694 -3.687872)'))) / (select extract(epoch from '2026-07-09 08:46:15'::timestamp) - extract(epoch from '2026-07-09 08:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478731 -3.687974)'), GeomFromEWKT('SRID=4674;POINT (-38.478694 -3.687872)'))) / (select extract(epoch from '2026-07-09 08:46:15'::timestamp) - extract(epoch from '2026-07-09 08:46: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'), 47392, 'SRID=4674;POINT (-38.478656 -3.687765)', '2026-07-09 08:46:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478694 -3.687872)'), GeomFromEWKT('SRID=4674;POINT (-38.478656 -3.687765)'))) / (select extract(epoch from '2026-07-09 08:46:20'::timestamp) - extract(epoch from '2026-07-09 08:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478694 -3.687872)'), GeomFromEWKT('SRID=4674;POINT (-38.478656 -3.687765)'))) / (select extract(epoch from '2026-07-09 08:46:20'::timestamp) - extract(epoch from '2026-07-09 08:46: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'), 47392, 'SRID=4674;POINT (-38.478607 -3.687606)', '2026-07-09 08:46:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478656 -3.687765)'), GeomFromEWKT('SRID=4674;POINT (-38.478607 -3.687606)'))) / (select extract(epoch from '2026-07-09 08:46:27'::timestamp) - extract(epoch from '2026-07-09 08:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478656 -3.687765)'), GeomFromEWKT('SRID=4674;POINT (-38.478607 -3.687606)'))) / (select extract(epoch from '2026-07-09 08:46:27'::timestamp) - extract(epoch from '2026-07-09 08:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.47856 -3.687489)', '2026-07-09 08:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478607 -3.687606)'), GeomFromEWKT('SRID=4674;POINT (-38.47856 -3.687489)'))) / (select extract(epoch from '2026-07-09 08:46:32'::timestamp) - extract(epoch from '2026-07-09 08:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478607 -3.687606)'), GeomFromEWKT('SRID=4674;POINT (-38.47856 -3.687489)'))) / (select extract(epoch from '2026-07-09 08:46:32'::timestamp) - extract(epoch from '2026-07-09 08:46: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'), 47392, 'SRID=4674;POINT (-38.478527 -3.687358)', '2026-07-09 08:46:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47856 -3.687489)'), GeomFromEWKT('SRID=4674;POINT (-38.478527 -3.687358)'))) / (select extract(epoch from '2026-07-09 08:46:38'::timestamp) - extract(epoch from '2026-07-09 08:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47856 -3.687489)'), GeomFromEWKT('SRID=4674;POINT (-38.478527 -3.687358)'))) / (select extract(epoch from '2026-07-09 08:46:38'::timestamp) - extract(epoch from '2026-07-09 08:46: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'), 47392, 'SRID=4674;POINT (-38.478459 -3.687213)', '2026-07-09 08:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478527 -3.687358)'), GeomFromEWKT('SRID=4674;POINT (-38.478459 -3.687213)'))) / (select extract(epoch from '2026-07-09 08:46:45'::timestamp) - extract(epoch from '2026-07-09 08:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478527 -3.687358)'), GeomFromEWKT('SRID=4674;POINT (-38.478459 -3.687213)'))) / (select extract(epoch from '2026-07-09 08:46:45'::timestamp) - extract(epoch from '2026-07-09 08:46: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'), 47392, 'SRID=4674;POINT (-38.478406 -3.687066)', '2026-07-09 08:46:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478459 -3.687213)'), GeomFromEWKT('SRID=4674;POINT (-38.478406 -3.687066)'))) / (select extract(epoch from '2026-07-09 08:46:52'::timestamp) - extract(epoch from '2026-07-09 08:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478459 -3.687213)'), GeomFromEWKT('SRID=4674;POINT (-38.478406 -3.687066)'))) / (select extract(epoch from '2026-07-09 08:46:52'::timestamp) - extract(epoch from '2026-07-09 08:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.47837 -3.686943)', '2026-07-09 08:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478406 -3.687066)'), GeomFromEWKT('SRID=4674;POINT (-38.47837 -3.686943)'))) / (select extract(epoch from '2026-07-09 08:46:58'::timestamp) - extract(epoch from '2026-07-09 08:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478406 -3.687066)'), GeomFromEWKT('SRID=4674;POINT (-38.47837 -3.686943)'))) / (select extract(epoch from '2026-07-09 08:46:58'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.478344 -3.686845)', '2026-07-09 08:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47837 -3.686943)'), GeomFromEWKT('SRID=4674;POINT (-38.478344 -3.686845)'))) / (select extract(epoch from '2026-07-09 08:47:03'::timestamp) - extract(epoch from '2026-07-09 08:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47837 -3.686943)'), GeomFromEWKT('SRID=4674;POINT (-38.478344 -3.686845)'))) / (select extract(epoch from '2026-07-09 08:47:03'::timestamp) - extract(epoch from '2026-07-09 08:46: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'), 47392, 'SRID=4674;POINT (-38.4783 -3.686731)', '2026-07-09 08:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478344 -3.686845)'), GeomFromEWKT('SRID=4674;POINT (-38.4783 -3.686731)'))) / (select extract(epoch from '2026-07-09 08:47:09'::timestamp) - extract(epoch from '2026-07-09 08:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478344 -3.686845)'), GeomFromEWKT('SRID=4674;POINT (-38.4783 -3.686731)'))) / (select extract(epoch from '2026-07-09 08:47:09'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.478251 -3.686638)', '2026-07-09 08:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4783 -3.686731)'), GeomFromEWKT('SRID=4674;POINT (-38.478251 -3.686638)'))) / (select extract(epoch from '2026-07-09 08:47:14'::timestamp) - extract(epoch from '2026-07-09 08:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4783 -3.686731)'), GeomFromEWKT('SRID=4674;POINT (-38.478251 -3.686638)'))) / (select extract(epoch from '2026-07-09 08:47:14'::timestamp) - extract(epoch from '2026-07-09 08:47: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'), 47392, 'SRID=4674;POINT (-38.478185 -3.68649)', '2026-07-09 08:47:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478251 -3.686638)'), GeomFromEWKT('SRID=4674;POINT (-38.478185 -3.68649)'))) / (select extract(epoch from '2026-07-09 08:47:22'::timestamp) - extract(epoch from '2026-07-09 08:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478251 -3.686638)'), GeomFromEWKT('SRID=4674;POINT (-38.478185 -3.68649)'))) / (select extract(epoch from '2026-07-09 08:47:22'::timestamp) - extract(epoch from '2026-07-09 08:47:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.478154 -3.68635)', '2026-07-09 08:47:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478185 -3.68649)'), GeomFromEWKT('SRID=4674;POINT (-38.478154 -3.68635)'))) / (select extract(epoch from '2026-07-09 08:47:28'::timestamp) - extract(epoch from '2026-07-09 08:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478185 -3.68649)'), GeomFromEWKT('SRID=4674;POINT (-38.478154 -3.68635)'))) / (select extract(epoch from '2026-07-09 08:47:28'::timestamp) - extract(epoch from '2026-07-09 08:47: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'), 47392, 'SRID=4674;POINT (-38.478082 -3.686188)', '2026-07-09 08:47:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478154 -3.68635)'), GeomFromEWKT('SRID=4674;POINT (-38.478082 -3.686188)'))) / (select extract(epoch from '2026-07-09 08:47:36'::timestamp) - extract(epoch from '2026-07-09 08:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478154 -3.68635)'), GeomFromEWKT('SRID=4674;POINT (-38.478082 -3.686188)'))) / (select extract(epoch from '2026-07-09 08:47:36'::timestamp) - extract(epoch from '2026-07-09 08:47: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'), 47392, 'SRID=4674;POINT (-38.478011 -3.686054)', '2026-07-09 08:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478082 -3.686188)'), GeomFromEWKT('SRID=4674;POINT (-38.478011 -3.686054)'))) / (select extract(epoch from '2026-07-09 08:47:43'::timestamp) - extract(epoch from '2026-07-09 08:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478082 -3.686188)'), GeomFromEWKT('SRID=4674;POINT (-38.478011 -3.686054)'))) / (select extract(epoch from '2026-07-09 08:47:43'::timestamp) - extract(epoch from '2026-07-09 08:47:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.477974 -3.68598)', '2026-07-09 08:47:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478011 -3.686054)'), GeomFromEWKT('SRID=4674;POINT (-38.477974 -3.68598)'))) / (select extract(epoch from '2026-07-09 08:47:47'::timestamp) - extract(epoch from '2026-07-09 08:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478011 -3.686054)'), GeomFromEWKT('SRID=4674;POINT (-38.477974 -3.68598)'))) / (select extract(epoch from '2026-07-09 08:47:47'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.477961 -3.685942)', '2026-07-09 08:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477974 -3.68598)'), GeomFromEWKT('SRID=4674;POINT (-38.477961 -3.685942)'))) / (select extract(epoch from '2026-07-09 08:47:49'::timestamp) - extract(epoch from '2026-07-09 08:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477974 -3.68598)'), GeomFromEWKT('SRID=4674;POINT (-38.477961 -3.685942)'))) / (select extract(epoch from '2026-07-09 08:47:49'::timestamp) - extract(epoch from '2026-07-09 08:47: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'), 47392, 'SRID=4674;POINT (-38.477913 -3.685851)', '2026-07-09 08:47:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477961 -3.685942)'), GeomFromEWKT('SRID=4674;POINT (-38.477913 -3.685851)'))) / (select extract(epoch from '2026-07-09 08:47:54'::timestamp) - extract(epoch from '2026-07-09 08:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477961 -3.685942)'), GeomFromEWKT('SRID=4674;POINT (-38.477913 -3.685851)'))) / (select extract(epoch from '2026-07-09 08:47:54'::timestamp) - extract(epoch from '2026-07-09 08:47: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'), 47392, 'SRID=4674;POINT (-38.47787 -3.68572)', '2026-07-09 08:48:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477913 -3.685851)'), GeomFromEWKT('SRID=4674;POINT (-38.47787 -3.68572)'))) / (select extract(epoch from '2026-07-09 08:48:01'::timestamp) - extract(epoch from '2026-07-09 08:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477913 -3.685851)'), GeomFromEWKT('SRID=4674;POINT (-38.47787 -3.68572)'))) / (select extract(epoch from '2026-07-09 08:48:01'::timestamp) - extract(epoch from '2026-07-09 08:47: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'), 47392, 'SRID=4674;POINT (-38.477819 -3.685577)', '2026-07-09 08:48:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47787 -3.68572)'), GeomFromEWKT('SRID=4674;POINT (-38.477819 -3.685577)'))) / (select extract(epoch from '2026-07-09 08:48:09'::timestamp) - extract(epoch from '2026-07-09 08:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47787 -3.68572)'), GeomFromEWKT('SRID=4674;POINT (-38.477819 -3.685577)'))) / (select extract(epoch from '2026-07-09 08:48:09'::timestamp) - extract(epoch from '2026-07-09 08:48: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'), 47392, 'SRID=4674;POINT (-38.477793 -3.685476)', '2026-07-09 08:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477819 -3.685577)'), GeomFromEWKT('SRID=4674;POINT (-38.477793 -3.685476)'))) / (select extract(epoch from '2026-07-09 08:48:14'::timestamp) - extract(epoch from '2026-07-09 08:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477819 -3.685577)'), GeomFromEWKT('SRID=4674;POINT (-38.477793 -3.685476)'))) / (select extract(epoch from '2026-07-09 08:48:14'::timestamp) - extract(epoch from '2026-07-09 08:48: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'), 47392, 'SRID=4674;POINT (-38.477764 -3.685359)', '2026-07-09 08:48:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477793 -3.685476)'), GeomFromEWKT('SRID=4674;POINT (-38.477764 -3.685359)'))) / (select extract(epoch from '2026-07-09 08:48:20'::timestamp) - extract(epoch from '2026-07-09 08:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477793 -3.685476)'), GeomFromEWKT('SRID=4674;POINT (-38.477764 -3.685359)'))) / (select extract(epoch from '2026-07-09 08:48:20'::timestamp) - extract(epoch from '2026-07-09 08:48: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'), 47392, 'SRID=4674;POINT (-38.477727 -3.685234)', '2026-07-09 08:48:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477764 -3.685359)'), GeomFromEWKT('SRID=4674;POINT (-38.477727 -3.685234)'))) / (select extract(epoch from '2026-07-09 08:48:26'::timestamp) - extract(epoch from '2026-07-09 08:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477764 -3.685359)'), GeomFromEWKT('SRID=4674;POINT (-38.477727 -3.685234)'))) / (select extract(epoch from '2026-07-09 08:48:26'::timestamp) - extract(epoch from '2026-07-09 08:48: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'), 47392, 'SRID=4674;POINT (-38.477697 -3.685133)', '2026-07-09 08:48:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477727 -3.685234)'), GeomFromEWKT('SRID=4674;POINT (-38.477697 -3.685133)'))) / (select extract(epoch from '2026-07-09 08:48:31'::timestamp) - extract(epoch from '2026-07-09 08:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477727 -3.685234)'), GeomFromEWKT('SRID=4674;POINT (-38.477697 -3.685133)'))) / (select extract(epoch from '2026-07-09 08:48:31'::timestamp) - extract(epoch from '2026-07-09 08:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.477647 -3.685013)', '2026-07-09 08:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477697 -3.685133)'), GeomFromEWKT('SRID=4674;POINT (-38.477647 -3.685013)'))) / (select extract(epoch from '2026-07-09 08:48:37'::timestamp) - extract(epoch from '2026-07-09 08:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477697 -3.685133)'), GeomFromEWKT('SRID=4674;POINT (-38.477647 -3.685013)'))) / (select extract(epoch from '2026-07-09 08:48:37'::timestamp) - extract(epoch from '2026-07-09 08:48: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'), 47392, 'SRID=4674;POINT (-38.477599 -3.684922)', '2026-07-09 08:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477647 -3.685013)'), GeomFromEWKT('SRID=4674;POINT (-38.477599 -3.684922)'))) / (select extract(epoch from '2026-07-09 08:48:42'::timestamp) - extract(epoch from '2026-07-09 08:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477647 -3.685013)'), GeomFromEWKT('SRID=4674;POINT (-38.477599 -3.684922)'))) / (select extract(epoch from '2026-07-09 08:48:42'::timestamp) - extract(epoch from '2026-07-09 08:48:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.477561 -3.684822)', '2026-07-09 08:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477599 -3.684922)'), GeomFromEWKT('SRID=4674;POINT (-38.477561 -3.684822)'))) / (select extract(epoch from '2026-07-09 08:48:47'::timestamp) - extract(epoch from '2026-07-09 08:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477599 -3.684922)'), GeomFromEWKT('SRID=4674;POINT (-38.477561 -3.684822)'))) / (select extract(epoch from '2026-07-09 08:48:47'::timestamp) - extract(epoch from '2026-07-09 08:48: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'), 47392, 'SRID=4674;POINT (-38.477557 -3.684804)', '2026-07-09 08:48:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477561 -3.684822)'), GeomFromEWKT('SRID=4674;POINT (-38.477557 -3.684804)'))) / (select extract(epoch from '2026-07-09 08:48:48'::timestamp) - extract(epoch from '2026-07-09 08:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477561 -3.684822)'), GeomFromEWKT('SRID=4674;POINT (-38.477557 -3.684804)'))) / (select extract(epoch from '2026-07-09 08:48:48'::timestamp) - extract(epoch from '2026-07-09 08:48: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'), 47392, 'SRID=4674;POINT (-38.477546 -3.684747)', '2026-07-09 08:48:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477557 -3.684804)'), GeomFromEWKT('SRID=4674;POINT (-38.477546 -3.684747)'))) / (select extract(epoch from '2026-07-09 08:48:51'::timestamp) - extract(epoch from '2026-07-09 08:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477557 -3.684804)'), GeomFromEWKT('SRID=4674;POINT (-38.477546 -3.684747)'))) / (select extract(epoch from '2026-07-09 08:48:51'::timestamp) - extract(epoch from '2026-07-09 08:48: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'), 47392, 'SRID=4674;POINT (-38.477507 -3.684631)', '2026-07-09 08:48:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477546 -3.684747)'), GeomFromEWKT('SRID=4674;POINT (-38.477507 -3.684631)'))) / (select extract(epoch from '2026-07-09 08:48:57'::timestamp) - extract(epoch from '2026-07-09 08:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477546 -3.684747)'), GeomFromEWKT('SRID=4674;POINT (-38.477507 -3.684631)'))) / (select extract(epoch from '2026-07-09 08:48:57'::timestamp) - extract(epoch from '2026-07-09 08:48:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.477475 -3.684532)', '2026-07-09 08:49:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477507 -3.684631)'), GeomFromEWKT('SRID=4674;POINT (-38.477475 -3.684532)'))) / (select extract(epoch from '2026-07-09 08:49:02'::timestamp) - extract(epoch from '2026-07-09 08:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477507 -3.684631)'), GeomFromEWKT('SRID=4674;POINT (-38.477475 -3.684532)'))) / (select extract(epoch from '2026-07-09 08:49:02'::timestamp) - extract(epoch from '2026-07-09 08:48: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'), 47392, 'SRID=4674;POINT (-38.477419 -3.684394)', '2026-07-09 08:49:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477475 -3.684532)'), GeomFromEWKT('SRID=4674;POINT (-38.477419 -3.684394)'))) / (select extract(epoch from '2026-07-09 08:49:09'::timestamp) - extract(epoch from '2026-07-09 08:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477475 -3.684532)'), GeomFromEWKT('SRID=4674;POINT (-38.477419 -3.684394)'))) / (select extract(epoch from '2026-07-09 08:49:09'::timestamp) - extract(epoch from '2026-07-09 08:49:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.477355 -3.684266)', '2026-07-09 08:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477419 -3.684394)'), GeomFromEWKT('SRID=4674;POINT (-38.477355 -3.684266)'))) / (select extract(epoch from '2026-07-09 08:49:16'::timestamp) - extract(epoch from '2026-07-09 08:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477419 -3.684394)'), GeomFromEWKT('SRID=4674;POINT (-38.477355 -3.684266)'))) / (select extract(epoch from '2026-07-09 08:49:16'::timestamp) - extract(epoch from '2026-07-09 08:49:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.477318 -3.68416)', '2026-07-09 08:49:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477355 -3.684266)'), GeomFromEWKT('SRID=4674;POINT (-38.477318 -3.68416)'))) / (select extract(epoch from '2026-07-09 08:49:21'::timestamp) - extract(epoch from '2026-07-09 08:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477355 -3.684266)'), GeomFromEWKT('SRID=4674;POINT (-38.477318 -3.68416)'))) / (select extract(epoch from '2026-07-09 08:49:21'::timestamp) - extract(epoch from '2026-07-09 08:49: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'), 47392, 'SRID=4674;POINT (-38.477264 -3.684039)', '2026-07-09 08:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477318 -3.68416)'), GeomFromEWKT('SRID=4674;POINT (-38.477264 -3.684039)'))) / (select extract(epoch from '2026-07-09 08:49:27'::timestamp) - extract(epoch from '2026-07-09 08:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477318 -3.68416)'), GeomFromEWKT('SRID=4674;POINT (-38.477264 -3.684039)'))) / (select extract(epoch from '2026-07-09 08:49:27'::timestamp) - extract(epoch from '2026-07-09 08:49: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'), 47392, 'SRID=4674;POINT (-38.47722 -3.683939)', '2026-07-09 08:49:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477264 -3.684039)'), GeomFromEWKT('SRID=4674;POINT (-38.47722 -3.683939)'))) / (select extract(epoch from '2026-07-09 08:49:32'::timestamp) - extract(epoch from '2026-07-09 08:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477264 -3.684039)'), GeomFromEWKT('SRID=4674;POINT (-38.47722 -3.683939)'))) / (select extract(epoch from '2026-07-09 08:49:32'::timestamp) - extract(epoch from '2026-07-09 08:49: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'), 47392, 'SRID=4674;POINT (-38.477169 -3.683849)', '2026-07-09 08:49:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47722 -3.683939)'), GeomFromEWKT('SRID=4674;POINT (-38.477169 -3.683849)'))) / (select extract(epoch from '2026-07-09 08:49:37'::timestamp) - extract(epoch from '2026-07-09 08:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47722 -3.683939)'), GeomFromEWKT('SRID=4674;POINT (-38.477169 -3.683849)'))) / (select extract(epoch from '2026-07-09 08:49:37'::timestamp) - extract(epoch from '2026-07-09 08:49: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'), 47392, 'SRID=4674;POINT (-38.477096 -3.683714)', '2026-07-09 08:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477169 -3.683849)'), GeomFromEWKT('SRID=4674;POINT (-38.477096 -3.683714)'))) / (select extract(epoch from '2026-07-09 08:49:44'::timestamp) - extract(epoch from '2026-07-09 08:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477169 -3.683849)'), GeomFromEWKT('SRID=4674;POINT (-38.477096 -3.683714)'))) / (select extract(epoch from '2026-07-09 08:49:44'::timestamp) - extract(epoch from '2026-07-09 08:49: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'), 47392, 'SRID=4674;POINT (-38.477021 -3.683548)', '2026-07-09 08:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477096 -3.683714)'), GeomFromEWKT('SRID=4674;POINT (-38.477021 -3.683548)'))) / (select extract(epoch from '2026-07-09 08:49:52'::timestamp) - extract(epoch from '2026-07-09 08:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477096 -3.683714)'), GeomFromEWKT('SRID=4674;POINT (-38.477021 -3.683548)'))) / (select extract(epoch from '2026-07-09 08:49:52'::timestamp) - extract(epoch from '2026-07-09 08:49: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'), 47392, 'SRID=4674;POINT (-38.476968 -3.683422)', '2026-07-09 08:49:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477021 -3.683548)'), GeomFromEWKT('SRID=4674;POINT (-38.476968 -3.683422)'))) / (select extract(epoch from '2026-07-09 08:49:58'::timestamp) - extract(epoch from '2026-07-09 08:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477021 -3.683548)'), GeomFromEWKT('SRID=4674;POINT (-38.476968 -3.683422)'))) / (select extract(epoch from '2026-07-09 08:49:58'::timestamp) - extract(epoch from '2026-07-09 08:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476932 -3.68334)', '2026-07-09 08:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476968 -3.683422)'), GeomFromEWKT('SRID=4674;POINT (-38.476932 -3.68334)'))) / (select extract(epoch from '2026-07-09 08:50:02'::timestamp) - extract(epoch from '2026-07-09 08:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476968 -3.683422)'), GeomFromEWKT('SRID=4674;POINT (-38.476932 -3.68334)'))) / (select extract(epoch from '2026-07-09 08:50:02'::timestamp) - extract(epoch from '2026-07-09 08:49: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'), 47392, 'SRID=4674;POINT (-38.476909 -3.683304)', '2026-07-09 08:50:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476932 -3.68334)'), GeomFromEWKT('SRID=4674;POINT (-38.476909 -3.683304)'))) / (select extract(epoch from '2026-07-09 08:50:04'::timestamp) - extract(epoch from '2026-07-09 08:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476932 -3.68334)'), GeomFromEWKT('SRID=4674;POINT (-38.476909 -3.683304)'))) / (select extract(epoch from '2026-07-09 08:50:04'::timestamp) - extract(epoch from '2026-07-09 08:50: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'), 47392, 'SRID=4674;POINT (-38.476864 -3.683178)', '2026-07-09 08:50:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476909 -3.683304)'), GeomFromEWKT('SRID=4674;POINT (-38.476864 -3.683178)'))) / (select extract(epoch from '2026-07-09 08:50:10'::timestamp) - extract(epoch from '2026-07-09 08:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476909 -3.683304)'), GeomFromEWKT('SRID=4674;POINT (-38.476864 -3.683178)'))) / (select extract(epoch from '2026-07-09 08:50:10'::timestamp) - extract(epoch from '2026-07-09 08:50:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476819 -3.683076)', '2026-07-09 08:50:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476864 -3.683178)'), GeomFromEWKT('SRID=4674;POINT (-38.476819 -3.683076)'))) / (select extract(epoch from '2026-07-09 08:50:15'::timestamp) - extract(epoch from '2026-07-09 08:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476864 -3.683178)'), GeomFromEWKT('SRID=4674;POINT (-38.476819 -3.683076)'))) / (select extract(epoch from '2026-07-09 08:50:15'::timestamp) - extract(epoch from '2026-07-09 08:50: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'), 47392, 'SRID=4674;POINT (-38.476776 -3.682994)', '2026-07-09 08:50:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476819 -3.683076)'), GeomFromEWKT('SRID=4674;POINT (-38.476776 -3.682994)'))) / (select extract(epoch from '2026-07-09 08:50:19'::timestamp) - extract(epoch from '2026-07-09 08:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476819 -3.683076)'), GeomFromEWKT('SRID=4674;POINT (-38.476776 -3.682994)'))) / (select extract(epoch from '2026-07-09 08:50:19'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.47671 -3.682883)', '2026-07-09 08:50:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476776 -3.682994)'), GeomFromEWKT('SRID=4674;POINT (-38.47671 -3.682883)'))) / (select extract(epoch from '2026-07-09 08:50:25'::timestamp) - extract(epoch from '2026-07-09 08:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476776 -3.682994)'), GeomFromEWKT('SRID=4674;POINT (-38.47671 -3.682883)'))) / (select extract(epoch from '2026-07-09 08:50:25'::timestamp) - extract(epoch from '2026-07-09 08:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476657 -3.682791)', '2026-07-09 08:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47671 -3.682883)'), GeomFromEWKT('SRID=4674;POINT (-38.476657 -3.682791)'))) / (select extract(epoch from '2026-07-09 08:50:30'::timestamp) - extract(epoch from '2026-07-09 08:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47671 -3.682883)'), GeomFromEWKT('SRID=4674;POINT (-38.476657 -3.682791)'))) / (select extract(epoch from '2026-07-09 08:50:30'::timestamp) - extract(epoch from '2026-07-09 08:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476608 -3.682704)', '2026-07-09 08:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476657 -3.682791)'), GeomFromEWKT('SRID=4674;POINT (-38.476608 -3.682704)'))) / (select extract(epoch from '2026-07-09 08:50:35'::timestamp) - extract(epoch from '2026-07-09 08:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476657 -3.682791)'), GeomFromEWKT('SRID=4674;POINT (-38.476608 -3.682704)'))) / (select extract(epoch from '2026-07-09 08:50:35'::timestamp) - extract(epoch from '2026-07-09 08:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476559 -3.682588)', '2026-07-09 08:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476608 -3.682704)'), GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.682588)'))) / (select extract(epoch from '2026-07-09 08:50:41'::timestamp) - extract(epoch from '2026-07-09 08:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476608 -3.682704)'), GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.682588)'))) / (select extract(epoch from '2026-07-09 08:50:41'::timestamp) - extract(epoch from '2026-07-09 08:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476525 -3.682474)', '2026-07-09 08:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.682588)'), GeomFromEWKT('SRID=4674;POINT (-38.476525 -3.682474)'))) / (select extract(epoch from '2026-07-09 08:50:47'::timestamp) - extract(epoch from '2026-07-09 08:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476559 -3.682588)'), GeomFromEWKT('SRID=4674;POINT (-38.476525 -3.682474)'))) / (select extract(epoch from '2026-07-09 08:50:47'::timestamp) - extract(epoch from '2026-07-09 08:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476483 -3.682335)', '2026-07-09 08:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476525 -3.682474)'), GeomFromEWKT('SRID=4674;POINT (-38.476483 -3.682335)'))) / (select extract(epoch from '2026-07-09 08:50:54'::timestamp) - extract(epoch from '2026-07-09 08:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476525 -3.682474)'), GeomFromEWKT('SRID=4674;POINT (-38.476483 -3.682335)'))) / (select extract(epoch from '2026-07-09 08:50:54'::timestamp) - extract(epoch from '2026-07-09 08:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476445 -3.682208)', '2026-07-09 08:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476483 -3.682335)'), GeomFromEWKT('SRID=4674;POINT (-38.476445 -3.682208)'))) / (select extract(epoch from '2026-07-09 08:51:01'::timestamp) - extract(epoch from '2026-07-09 08:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476483 -3.682335)'), GeomFromEWKT('SRID=4674;POINT (-38.476445 -3.682208)'))) / (select extract(epoch from '2026-07-09 08:51:01'::timestamp) - extract(epoch from '2026-07-09 08:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476415 -3.682107)', '2026-07-09 08:51:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476445 -3.682208)'), GeomFromEWKT('SRID=4674;POINT (-38.476415 -3.682107)'))) / (select extract(epoch from '2026-07-09 08:51:07'::timestamp) - extract(epoch from '2026-07-09 08:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476445 -3.682208)'), GeomFromEWKT('SRID=4674;POINT (-38.476415 -3.682107)'))) / (select extract(epoch from '2026-07-09 08:51:07'::timestamp) - extract(epoch from '2026-07-09 08:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476387 -3.682)', '2026-07-09 08:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476415 -3.682107)'), GeomFromEWKT('SRID=4674;POINT (-38.476387 -3.682)'))) / (select extract(epoch from '2026-07-09 08:51:13'::timestamp) - extract(epoch from '2026-07-09 08:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476415 -3.682107)'), GeomFromEWKT('SRID=4674;POINT (-38.476387 -3.682)'))) / (select extract(epoch from '2026-07-09 08:51:13'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.476358 -3.681876)', '2026-07-09 08:51:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476387 -3.682)'), GeomFromEWKT('SRID=4674;POINT (-38.476358 -3.681876)'))) / (select extract(epoch from '2026-07-09 08:51:19'::timestamp) - extract(epoch from '2026-07-09 08:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476387 -3.682)'), GeomFromEWKT('SRID=4674;POINT (-38.476358 -3.681876)'))) / (select extract(epoch from '2026-07-09 08:51:19'::timestamp) - extract(epoch from '2026-07-09 08:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476325 -3.681781)', '2026-07-09 08:51:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476358 -3.681876)'), GeomFromEWKT('SRID=4674;POINT (-38.476325 -3.681781)'))) / (select extract(epoch from '2026-07-09 08:51:24'::timestamp) - extract(epoch from '2026-07-09 08:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476358 -3.681876)'), GeomFromEWKT('SRID=4674;POINT (-38.476325 -3.681781)'))) / (select extract(epoch from '2026-07-09 08:51:24'::timestamp) - extract(epoch from '2026-07-09 08:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476288 -3.681678)', '2026-07-09 08:51:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476325 -3.681781)'), GeomFromEWKT('SRID=4674;POINT (-38.476288 -3.681678)'))) / (select extract(epoch from '2026-07-09 08:51:29'::timestamp) - extract(epoch from '2026-07-09 08:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476325 -3.681781)'), GeomFromEWKT('SRID=4674;POINT (-38.476288 -3.681678)'))) / (select extract(epoch from '2026-07-09 08:51:29'::timestamp) - extract(epoch from '2026-07-09 08:51: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'), 47392, 'SRID=4674;POINT (-38.476236 -3.68157)', '2026-07-09 08:51:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476288 -3.681678)'), GeomFromEWKT('SRID=4674;POINT (-38.476236 -3.68157)'))) / (select extract(epoch from '2026-07-09 08:51:35'::timestamp) - extract(epoch from '2026-07-09 08:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476288 -3.681678)'), GeomFromEWKT('SRID=4674;POINT (-38.476236 -3.68157)'))) / (select extract(epoch from '2026-07-09 08:51:35'::timestamp) - extract(epoch from '2026-07-09 08:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476202 -3.681475)', '2026-07-09 08:51:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476236 -3.68157)'), GeomFromEWKT('SRID=4674;POINT (-38.476202 -3.681475)'))) / (select extract(epoch from '2026-07-09 08:51:40'::timestamp) - extract(epoch from '2026-07-09 08:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476236 -3.68157)'), GeomFromEWKT('SRID=4674;POINT (-38.476202 -3.681475)'))) / (select extract(epoch from '2026-07-09 08:51:40'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.476162 -3.681354)', '2026-07-09 08:51:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476202 -3.681475)'), GeomFromEWKT('SRID=4674;POINT (-38.476162 -3.681354)'))) / (select extract(epoch from '2026-07-09 08:51:46'::timestamp) - extract(epoch from '2026-07-09 08:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476202 -3.681475)'), GeomFromEWKT('SRID=4674;POINT (-38.476162 -3.681354)'))) / (select extract(epoch from '2026-07-09 08:51:46'::timestamp) - extract(epoch from '2026-07-09 08:51: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'), 47392, 'SRID=4674;POINT (-38.476133 -3.681258)', '2026-07-09 08:51:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476162 -3.681354)'), GeomFromEWKT('SRID=4674;POINT (-38.476133 -3.681258)'))) / (select extract(epoch from '2026-07-09 08:51:51'::timestamp) - extract(epoch from '2026-07-09 08:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476162 -3.681354)'), GeomFromEWKT('SRID=4674;POINT (-38.476133 -3.681258)'))) / (select extract(epoch from '2026-07-09 08:51:51'::timestamp) - extract(epoch from '2026-07-09 08:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.476096 -3.681115)', '2026-07-09 08:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476133 -3.681258)'), GeomFromEWKT('SRID=4674;POINT (-38.476096 -3.681115)'))) / (select extract(epoch from '2026-07-09 08:51:58'::timestamp) - extract(epoch from '2026-07-09 08:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476133 -3.681258)'), GeomFromEWKT('SRID=4674;POINT (-38.476096 -3.681115)'))) / (select extract(epoch from '2026-07-09 08:51:58'::timestamp) - extract(epoch from '2026-07-09 08:51: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'), 47392, 'SRID=4674;POINT (-38.476071 -3.681005)', '2026-07-09 08:52:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476096 -3.681115)'), GeomFromEWKT('SRID=4674;POINT (-38.476071 -3.681005)'))) / (select extract(epoch from '2026-07-09 08:52:03'::timestamp) - extract(epoch from '2026-07-09 08:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476096 -3.681115)'), GeomFromEWKT('SRID=4674;POINT (-38.476071 -3.681005)'))) / (select extract(epoch from '2026-07-09 08:52:03'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.476036 -3.680895)', '2026-07-09 08:52:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476071 -3.681005)'), GeomFromEWKT('SRID=4674;POINT (-38.476036 -3.680895)'))) / (select extract(epoch from '2026-07-09 08:52:08'::timestamp) - extract(epoch from '2026-07-09 08:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476071 -3.681005)'), GeomFromEWKT('SRID=4674;POINT (-38.476036 -3.680895)'))) / (select extract(epoch from '2026-07-09 08:52:08'::timestamp) - extract(epoch from '2026-07-09 08:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.475998 -3.680781)', '2026-07-09 08:52:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476036 -3.680895)'), GeomFromEWKT('SRID=4674;POINT (-38.475998 -3.680781)'))) / (select extract(epoch from '2026-07-09 08:52:14'::timestamp) - extract(epoch from '2026-07-09 08:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476036 -3.680895)'), GeomFromEWKT('SRID=4674;POINT (-38.475998 -3.680781)'))) / (select extract(epoch from '2026-07-09 08:52:14'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.475979 -3.68067)', '2026-07-09 08:52:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475998 -3.680781)'), GeomFromEWKT('SRID=4674;POINT (-38.475979 -3.68067)'))) / (select extract(epoch from '2026-07-09 08:52:19'::timestamp) - extract(epoch from '2026-07-09 08:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475998 -3.680781)'), GeomFromEWKT('SRID=4674;POINT (-38.475979 -3.68067)'))) / (select extract(epoch from '2026-07-09 08:52:19'::timestamp) - extract(epoch from '2026-07-09 08:52: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'), 47392, 'SRID=4674;POINT (-38.47597 -3.680651)', '2026-07-09 08:52:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475979 -3.68067)'), GeomFromEWKT('SRID=4674;POINT (-38.47597 -3.680651)'))) / (select extract(epoch from '2026-07-09 08:52:20'::timestamp) - extract(epoch from '2026-07-09 08:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475979 -3.68067)'), GeomFromEWKT('SRID=4674;POINT (-38.47597 -3.680651)'))) / (select extract(epoch from '2026-07-09 08:52:20'::timestamp) - extract(epoch from '2026-07-09 08:52:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.475937 -3.68057)', '2026-07-09 08:52:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47597 -3.680651)'), GeomFromEWKT('SRID=4674;POINT (-38.475937 -3.68057)'))) / (select extract(epoch from '2026-07-09 08:52:24'::timestamp) - extract(epoch from '2026-07-09 08:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47597 -3.680651)'), GeomFromEWKT('SRID=4674;POINT (-38.475937 -3.68057)'))) / (select extract(epoch from '2026-07-09 08:52:24'::timestamp) - extract(epoch from '2026-07-09 08:52: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'), 47392, 'SRID=4674;POINT (-38.475894 -3.680452)', '2026-07-09 08:52:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475937 -3.68057)'), GeomFromEWKT('SRID=4674;POINT (-38.475894 -3.680452)'))) / (select extract(epoch from '2026-07-09 08:52:30'::timestamp) - extract(epoch from '2026-07-09 08:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475937 -3.68057)'), GeomFromEWKT('SRID=4674;POINT (-38.475894 -3.680452)'))) / (select extract(epoch from '2026-07-09 08:52:30'::timestamp) - extract(epoch from '2026-07-09 08:52:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.475844 -3.680337)', '2026-07-09 08:52:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475894 -3.680452)'), GeomFromEWKT('SRID=4674;POINT (-38.475844 -3.680337)'))) / (select extract(epoch from '2026-07-09 08:52:36'::timestamp) - extract(epoch from '2026-07-09 08:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475894 -3.680452)'), GeomFromEWKT('SRID=4674;POINT (-38.475844 -3.680337)'))) / (select extract(epoch from '2026-07-09 08:52:36'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.475798 -3.680228)', '2026-07-09 08:52:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475844 -3.680337)'), GeomFromEWKT('SRID=4674;POINT (-38.475798 -3.680228)'))) / (select extract(epoch from '2026-07-09 08:52:42'::timestamp) - extract(epoch from '2026-07-09 08:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475844 -3.680337)'), GeomFromEWKT('SRID=4674;POINT (-38.475798 -3.680228)'))) / (select extract(epoch from '2026-07-09 08:52:42'::timestamp) - extract(epoch from '2026-07-09 08:52: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'), 47392, 'SRID=4674;POINT (-38.47575 -3.680109)', '2026-07-09 08:52:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475798 -3.680228)'), GeomFromEWKT('SRID=4674;POINT (-38.47575 -3.680109)'))) / (select extract(epoch from '2026-07-09 08:52:48'::timestamp) - extract(epoch from '2026-07-09 08:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475798 -3.680228)'), GeomFromEWKT('SRID=4674;POINT (-38.47575 -3.680109)'))) / (select extract(epoch from '2026-07-09 08:52:48'::timestamp) - extract(epoch from '2026-07-09 08:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.475706 -3.679982)', '2026-07-09 08:52:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47575 -3.680109)'), GeomFromEWKT('SRID=4674;POINT (-38.475706 -3.679982)'))) / (select extract(epoch from '2026-07-09 08:52:54'::timestamp) - extract(epoch from '2026-07-09 08:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47575 -3.680109)'), GeomFromEWKT('SRID=4674;POINT (-38.475706 -3.679982)'))) / (select extract(epoch from '2026-07-09 08:52:54'::timestamp) - extract(epoch from '2026-07-09 08:52: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'), 47392, 'SRID=4674;POINT (-38.475663 -3.67987)', '2026-07-09 08:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475706 -3.679982)'), GeomFromEWKT('SRID=4674;POINT (-38.475663 -3.67987)'))) / (select extract(epoch from '2026-07-09 08:52:59'::timestamp) - extract(epoch from '2026-07-09 08:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475706 -3.679982)'), GeomFromEWKT('SRID=4674;POINT (-38.475663 -3.67987)'))) / (select extract(epoch from '2026-07-09 08:52:59'::timestamp) - extract(epoch from '2026-07-09 08:52: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'), 47392, 'SRID=4674;POINT (-38.475612 -3.679756)', '2026-07-09 08:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475663 -3.67987)'), GeomFromEWKT('SRID=4674;POINT (-38.475612 -3.679756)'))) / (select extract(epoch from '2026-07-09 08:53:05'::timestamp) - extract(epoch from '2026-07-09 08:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475663 -3.67987)'), GeomFromEWKT('SRID=4674;POINT (-38.475612 -3.679756)'))) / (select extract(epoch from '2026-07-09 08:53:05'::timestamp) - extract(epoch from '2026-07-09 08:52: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'), 47392, 'SRID=4674;POINT (-38.47557 -3.679635)', '2026-07-09 08:53:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475612 -3.679756)'), GeomFromEWKT('SRID=4674;POINT (-38.47557 -3.679635)'))) / (select extract(epoch from '2026-07-09 08:53:11'::timestamp) - extract(epoch from '2026-07-09 08:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475612 -3.679756)'), GeomFromEWKT('SRID=4674;POINT (-38.47557 -3.679635)'))) / (select extract(epoch from '2026-07-09 08:53:11'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.475531 -3.679499)', '2026-07-09 08:53:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47557 -3.679635)'), GeomFromEWKT('SRID=4674;POINT (-38.475531 -3.679499)'))) / (select extract(epoch from '2026-07-09 08:53:17'::timestamp) - extract(epoch from '2026-07-09 08:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47557 -3.679635)'), GeomFromEWKT('SRID=4674;POINT (-38.475531 -3.679499)'))) / (select extract(epoch from '2026-07-09 08:53:17'::timestamp) - extract(epoch from '2026-07-09 08:53: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'), 47392, 'SRID=4674;POINT (-38.475486 -3.679376)', '2026-07-09 08:53:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475531 -3.679499)'), GeomFromEWKT('SRID=4674;POINT (-38.475486 -3.679376)'))) / (select extract(epoch from '2026-07-09 08:53:23'::timestamp) - extract(epoch from '2026-07-09 08:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475531 -3.679499)'), GeomFromEWKT('SRID=4674;POINT (-38.475486 -3.679376)'))) / (select extract(epoch from '2026-07-09 08:53:23'::timestamp) - extract(epoch from '2026-07-09 08:53:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.475444 -3.679272)', '2026-07-09 08:53:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475486 -3.679376)'), GeomFromEWKT('SRID=4674;POINT (-38.475444 -3.679272)'))) / (select extract(epoch from '2026-07-09 08:53:28'::timestamp) - extract(epoch from '2026-07-09 08:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475486 -3.679376)'), GeomFromEWKT('SRID=4674;POINT (-38.475444 -3.679272)'))) / (select extract(epoch from '2026-07-09 08:53:28'::timestamp) - extract(epoch from '2026-07-09 08:53: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'), 47392, 'SRID=4674;POINT (-38.475409 -3.679147)', '2026-07-09 08:53:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475444 -3.679272)'), GeomFromEWKT('SRID=4674;POINT (-38.475409 -3.679147)'))) / (select extract(epoch from '2026-07-09 08:53:34'::timestamp) - extract(epoch from '2026-07-09 08:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475444 -3.679272)'), GeomFromEWKT('SRID=4674;POINT (-38.475409 -3.679147)'))) / (select extract(epoch from '2026-07-09 08:53:34'::timestamp) - extract(epoch from '2026-07-09 08:53: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'), 47392, 'SRID=4674;POINT (-38.47537 -3.67901)', '2026-07-09 08:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475409 -3.679147)'), GeomFromEWKT('SRID=4674;POINT (-38.47537 -3.67901)'))) / (select extract(epoch from '2026-07-09 08:53:40'::timestamp) - extract(epoch from '2026-07-09 08:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475409 -3.679147)'), GeomFromEWKT('SRID=4674;POINT (-38.47537 -3.67901)'))) / (select extract(epoch from '2026-07-09 08:53:40'::timestamp) - extract(epoch from '2026-07-09 08:53:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.475342 -3.678896)', '2026-07-09 08:53:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47537 -3.67901)'), GeomFromEWKT('SRID=4674;POINT (-38.475342 -3.678896)'))) / (select extract(epoch from '2026-07-09 08:53:45'::timestamp) - extract(epoch from '2026-07-09 08:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47537 -3.67901)'), GeomFromEWKT('SRID=4674;POINT (-38.475342 -3.678896)'))) / (select extract(epoch from '2026-07-09 08:53:45'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.475306 -3.678765)', '2026-07-09 08:53:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475342 -3.678896)'), GeomFromEWKT('SRID=4674;POINT (-38.475306 -3.678765)'))) / (select extract(epoch from '2026-07-09 08:53:51'::timestamp) - extract(epoch from '2026-07-09 08:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475342 -3.678896)'), GeomFromEWKT('SRID=4674;POINT (-38.475306 -3.678765)'))) / (select extract(epoch from '2026-07-09 08:53:51'::timestamp) - extract(epoch from '2026-07-09 08:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.475273 -3.678639)', '2026-07-09 08:53:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475306 -3.678765)'), GeomFromEWKT('SRID=4674;POINT (-38.475273 -3.678639)'))) / (select extract(epoch from '2026-07-09 08:53:57'::timestamp) - extract(epoch from '2026-07-09 08:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475306 -3.678765)'), GeomFromEWKT('SRID=4674;POINT (-38.475273 -3.678639)'))) / (select extract(epoch from '2026-07-09 08:53:57'::timestamp) - extract(epoch from '2026-07-09 08:53:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.475234 -3.678505)', '2026-07-09 08:54:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475273 -3.678639)'), GeomFromEWKT('SRID=4674;POINT (-38.475234 -3.678505)'))) / (select extract(epoch from '2026-07-09 08:54:03'::timestamp) - extract(epoch from '2026-07-09 08:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475273 -3.678639)'), GeomFromEWKT('SRID=4674;POINT (-38.475234 -3.678505)'))) / (select extract(epoch from '2026-07-09 08:54:03'::timestamp) - extract(epoch from '2026-07-09 08:53:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.475194 -3.678375)', '2026-07-09 08:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475234 -3.678505)'), GeomFromEWKT('SRID=4674;POINT (-38.475194 -3.678375)'))) / (select extract(epoch from '2026-07-09 08:54:09'::timestamp) - extract(epoch from '2026-07-09 08:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475234 -3.678505)'), GeomFromEWKT('SRID=4674;POINT (-38.475194 -3.678375)'))) / (select extract(epoch from '2026-07-09 08:54:09'::timestamp) - extract(epoch from '2026-07-09 08:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.475162 -3.678292)', '2026-07-09 08:54:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475194 -3.678375)'), GeomFromEWKT('SRID=4674;POINT (-38.475162 -3.678292)'))) / (select extract(epoch from '2026-07-09 08:54:13'::timestamp) - extract(epoch from '2026-07-09 08:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475194 -3.678375)'), GeomFromEWKT('SRID=4674;POINT (-38.475162 -3.678292)'))) / (select extract(epoch from '2026-07-09 08:54:13'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.475126 -3.678187)', '2026-07-09 08:54:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475162 -3.678292)'), GeomFromEWKT('SRID=4674;POINT (-38.475126 -3.678187)'))) / (select extract(epoch from '2026-07-09 08:54:18'::timestamp) - extract(epoch from '2026-07-09 08:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475162 -3.678292)'), GeomFromEWKT('SRID=4674;POINT (-38.475126 -3.678187)'))) / (select extract(epoch from '2026-07-09 08:54:18'::timestamp) - extract(epoch from '2026-07-09 08:54: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'), 47392, 'SRID=4674;POINT (-38.475092 -3.678075)', '2026-07-09 08:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475126 -3.678187)'), GeomFromEWKT('SRID=4674;POINT (-38.475092 -3.678075)'))) / (select extract(epoch from '2026-07-09 08:54:23'::timestamp) - extract(epoch from '2026-07-09 08:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475126 -3.678187)'), GeomFromEWKT('SRID=4674;POINT (-38.475092 -3.678075)'))) / (select extract(epoch from '2026-07-09 08:54:23'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.475056 -3.677969)', '2026-07-09 08:54:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475092 -3.678075)'), GeomFromEWKT('SRID=4674;POINT (-38.475056 -3.677969)'))) / (select extract(epoch from '2026-07-09 08:54:28'::timestamp) - extract(epoch from '2026-07-09 08:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475092 -3.678075)'), GeomFromEWKT('SRID=4674;POINT (-38.475056 -3.677969)'))) / (select extract(epoch from '2026-07-09 08:54:28'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.475019 -3.677837)', '2026-07-09 08:54:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475056 -3.677969)'), GeomFromEWKT('SRID=4674;POINT (-38.475019 -3.677837)'))) / (select extract(epoch from '2026-07-09 08:54:34'::timestamp) - extract(epoch from '2026-07-09 08:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475056 -3.677969)'), GeomFromEWKT('SRID=4674;POINT (-38.475019 -3.677837)'))) / (select extract(epoch from '2026-07-09 08:54:34'::timestamp) - extract(epoch from '2026-07-09 08:54: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'), 47392, 'SRID=4674;POINT (-38.474981 -3.677731)', '2026-07-09 08:54:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475019 -3.677837)'), GeomFromEWKT('SRID=4674;POINT (-38.474981 -3.677731)'))) / (select extract(epoch from '2026-07-09 08:54:39'::timestamp) - extract(epoch from '2026-07-09 08:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475019 -3.677837)'), GeomFromEWKT('SRID=4674;POINT (-38.474981 -3.677731)'))) / (select extract(epoch from '2026-07-09 08:54:39'::timestamp) - extract(epoch from '2026-07-09 08:54: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'), 47392, 'SRID=4674;POINT (-38.474971 -3.677714)', '2026-07-09 08:54:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474981 -3.677731)'), GeomFromEWKT('SRID=4674;POINT (-38.474971 -3.677714)'))) / (select extract(epoch from '2026-07-09 08:54:40'::timestamp) - extract(epoch from '2026-07-09 08:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474981 -3.677731)'), GeomFromEWKT('SRID=4674;POINT (-38.474971 -3.677714)'))) / (select extract(epoch from '2026-07-09 08:54:40'::timestamp) - extract(epoch from '2026-07-09 08:54: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'), 47392, 'SRID=4674;POINT (-38.474934 -3.677615)', '2026-07-09 08:54:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474971 -3.677714)'), GeomFromEWKT('SRID=4674;POINT (-38.474934 -3.677615)'))) / (select extract(epoch from '2026-07-09 08:54:45'::timestamp) - extract(epoch from '2026-07-09 08:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474971 -3.677714)'), GeomFromEWKT('SRID=4674;POINT (-38.474934 -3.677615)'))) / (select extract(epoch from '2026-07-09 08:54:45'::timestamp) - extract(epoch from '2026-07-09 08:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474886 -3.677488)', '2026-07-09 08:54:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474934 -3.677615)'), GeomFromEWKT('SRID=4674;POINT (-38.474886 -3.677488)'))) / (select extract(epoch from '2026-07-09 08:54:52'::timestamp) - extract(epoch from '2026-07-09 08:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474934 -3.677615)'), GeomFromEWKT('SRID=4674;POINT (-38.474886 -3.677488)'))) / (select extract(epoch from '2026-07-09 08:54:52'::timestamp) - extract(epoch from '2026-07-09 08:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474876 -3.677398)', '2026-07-09 08:54:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474886 -3.677488)'), GeomFromEWKT('SRID=4674;POINT (-38.474876 -3.677398)'))) / (select extract(epoch from '2026-07-09 08:54:57'::timestamp) - extract(epoch from '2026-07-09 08:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474886 -3.677488)'), GeomFromEWKT('SRID=4674;POINT (-38.474876 -3.677398)'))) / (select extract(epoch from '2026-07-09 08:54:57'::timestamp) - extract(epoch from '2026-07-09 08:54: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'), 47392, 'SRID=4674;POINT (-38.474856 -3.677301)', '2026-07-09 08:55:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474876 -3.677398)'), GeomFromEWKT('SRID=4674;POINT (-38.474856 -3.677301)'))) / (select extract(epoch from '2026-07-09 08:55:02'::timestamp) - extract(epoch from '2026-07-09 08:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474876 -3.677398)'), GeomFromEWKT('SRID=4674;POINT (-38.474856 -3.677301)'))) / (select extract(epoch from '2026-07-09 08:55:02'::timestamp) - extract(epoch from '2026-07-09 08:54:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474837 -3.677264)', '2026-07-09 08:55:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474856 -3.677301)'), GeomFromEWKT('SRID=4674;POINT (-38.474837 -3.677264)'))) / (select extract(epoch from '2026-07-09 08:55:04'::timestamp) - extract(epoch from '2026-07-09 08:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474856 -3.677301)'), GeomFromEWKT('SRID=4674;POINT (-38.474837 -3.677264)'))) / (select extract(epoch from '2026-07-09 08:55:04'::timestamp) - extract(epoch from '2026-07-09 08:55:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474842 -3.677232)', '2026-07-09 08:55:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474837 -3.677264)'), GeomFromEWKT('SRID=4674;POINT (-38.474842 -3.677232)'))) / (select extract(epoch from '2026-07-09 08:55:06'::timestamp) - extract(epoch from '2026-07-09 08:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474837 -3.677264)'), GeomFromEWKT('SRID=4674;POINT (-38.474842 -3.677232)'))) / (select extract(epoch from '2026-07-09 08:55:06'::timestamp) - extract(epoch from '2026-07-09 08:55: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'), 47392, 'SRID=4674;POINT (-38.474809 -3.677109)', '2026-07-09 08:55:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474842 -3.677232)'), GeomFromEWKT('SRID=4674;POINT (-38.474809 -3.677109)'))) / (select extract(epoch from '2026-07-09 08:55:12'::timestamp) - extract(epoch from '2026-07-09 08:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474842 -3.677232)'), GeomFromEWKT('SRID=4674;POINT (-38.474809 -3.677109)'))) / (select extract(epoch from '2026-07-09 08:55:12'::timestamp) - extract(epoch from '2026-07-09 08:55: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'), 47392, 'SRID=4674;POINT (-38.474771 -3.677008)', '2026-07-09 08:55:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474809 -3.677109)'), GeomFromEWKT('SRID=4674;POINT (-38.474771 -3.677008)'))) / (select extract(epoch from '2026-07-09 08:55:17'::timestamp) - extract(epoch from '2026-07-09 08:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474809 -3.677109)'), GeomFromEWKT('SRID=4674;POINT (-38.474771 -3.677008)'))) / (select extract(epoch from '2026-07-09 08:55:17'::timestamp) - extract(epoch from '2026-07-09 08:55: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'), 47392, 'SRID=4674;POINT (-38.47474 -3.676926)', '2026-07-09 08:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474771 -3.677008)'), GeomFromEWKT('SRID=4674;POINT (-38.47474 -3.676926)'))) / (select extract(epoch from '2026-07-09 08:55:21'::timestamp) - extract(epoch from '2026-07-09 08:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474771 -3.677008)'), GeomFromEWKT('SRID=4674;POINT (-38.47474 -3.676926)'))) / (select extract(epoch from '2026-07-09 08:55:21'::timestamp) - extract(epoch from '2026-07-09 08:55: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'), 47392, 'SRID=4674;POINT (-38.474705 -3.676829)', '2026-07-09 08:55:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47474 -3.676926)'), GeomFromEWKT('SRID=4674;POINT (-38.474705 -3.676829)'))) / (select extract(epoch from '2026-07-09 08:55:26'::timestamp) - extract(epoch from '2026-07-09 08:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47474 -3.676926)'), GeomFromEWKT('SRID=4674;POINT (-38.474705 -3.676829)'))) / (select extract(epoch from '2026-07-09 08:55:26'::timestamp) - extract(epoch from '2026-07-09 08:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.47466 -3.676727)', '2026-07-09 08:55:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474705 -3.676829)'), GeomFromEWKT('SRID=4674;POINT (-38.47466 -3.676727)'))) / (select extract(epoch from '2026-07-09 08:55:31'::timestamp) - extract(epoch from '2026-07-09 08:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474705 -3.676829)'), GeomFromEWKT('SRID=4674;POINT (-38.47466 -3.676727)'))) / (select extract(epoch from '2026-07-09 08:55:31'::timestamp) - extract(epoch from '2026-07-09 08:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474655 -3.676709)', '2026-07-09 08:55:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47466 -3.676727)'), GeomFromEWKT('SRID=4674;POINT (-38.474655 -3.676709)'))) / (select extract(epoch from '2026-07-09 08:55:32'::timestamp) - extract(epoch from '2026-07-09 08:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47466 -3.676727)'), GeomFromEWKT('SRID=4674;POINT (-38.474655 -3.676709)'))) / (select extract(epoch from '2026-07-09 08:55:32'::timestamp) - extract(epoch from '2026-07-09 08:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474644 -3.676672)', '2026-07-09 08:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474655 -3.676709)'), GeomFromEWKT('SRID=4674;POINT (-38.474644 -3.676672)'))) / (select extract(epoch from '2026-07-09 08:55:34'::timestamp) - extract(epoch from '2026-07-09 08:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474655 -3.676709)'), GeomFromEWKT('SRID=4674;POINT (-38.474644 -3.676672)'))) / (select extract(epoch from '2026-07-09 08:55:34'::timestamp) - extract(epoch from '2026-07-09 08:55: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'), 47392, 'SRID=4674;POINT (-38.474618 -3.676635)', '2026-07-09 08:55:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474644 -3.676672)'), GeomFromEWKT('SRID=4674;POINT (-38.474618 -3.676635)'))) / (select extract(epoch from '2026-07-09 08:55:36'::timestamp) - extract(epoch from '2026-07-09 08:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474644 -3.676672)'), GeomFromEWKT('SRID=4674;POINT (-38.474618 -3.676635)'))) / (select extract(epoch from '2026-07-09 08:55:36'::timestamp) - extract(epoch from '2026-07-09 08:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474586 -3.67653)', '2026-07-09 08:55:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474618 -3.676635)'), GeomFromEWKT('SRID=4674;POINT (-38.474586 -3.67653)'))) / (select extract(epoch from '2026-07-09 08:55:41'::timestamp) - extract(epoch from '2026-07-09 08:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474618 -3.676635)'), GeomFromEWKT('SRID=4674;POINT (-38.474586 -3.67653)'))) / (select extract(epoch from '2026-07-09 08:55:41'::timestamp) - extract(epoch from '2026-07-09 08:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474563 -3.676413)', '2026-07-09 08:55:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474586 -3.67653)'), GeomFromEWKT('SRID=4674;POINT (-38.474563 -3.676413)'))) / (select extract(epoch from '2026-07-09 08:55:46'::timestamp) - extract(epoch from '2026-07-09 08:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474586 -3.67653)'), GeomFromEWKT('SRID=4674;POINT (-38.474563 -3.676413)'))) / (select extract(epoch from '2026-07-09 08:55:46'::timestamp) - extract(epoch from '2026-07-09 08:55: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'), 47392, 'SRID=4674;POINT (-38.474526 -3.676298)', '2026-07-09 08:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474563 -3.676413)'), GeomFromEWKT('SRID=4674;POINT (-38.474526 -3.676298)'))) / (select extract(epoch from '2026-07-09 08:55:51'::timestamp) - extract(epoch from '2026-07-09 08:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474563 -3.676413)'), GeomFromEWKT('SRID=4674;POINT (-38.474526 -3.676298)'))) / (select extract(epoch from '2026-07-09 08:55:51'::timestamp) - extract(epoch from '2026-07-09 08:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474481 -3.676196)', '2026-07-09 08:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474526 -3.676298)'), GeomFromEWKT('SRID=4674;POINT (-38.474481 -3.676196)'))) / (select extract(epoch from '2026-07-09 08:55:56'::timestamp) - extract(epoch from '2026-07-09 08:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474526 -3.676298)'), GeomFromEWKT('SRID=4674;POINT (-38.474481 -3.676196)'))) / (select extract(epoch from '2026-07-09 08:55:56'::timestamp) - extract(epoch from '2026-07-09 08:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.47446 -3.676153)', '2026-07-09 08:55:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474481 -3.676196)'), GeomFromEWKT('SRID=4674;POINT (-38.47446 -3.676153)'))) / (select extract(epoch from '2026-07-09 08:55:58'::timestamp) - extract(epoch from '2026-07-09 08:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474481 -3.676196)'), GeomFromEWKT('SRID=4674;POINT (-38.47446 -3.676153)'))) / (select extract(epoch from '2026-07-09 08:55:58'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.474457 -3.67611)', '2026-07-09 08:56:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47446 -3.676153)'), GeomFromEWKT('SRID=4674;POINT (-38.474457 -3.67611)'))) / (select extract(epoch from '2026-07-09 08:56:00'::timestamp) - extract(epoch from '2026-07-09 08:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47446 -3.676153)'), GeomFromEWKT('SRID=4674;POINT (-38.474457 -3.67611)'))) / (select extract(epoch from '2026-07-09 08:56:00'::timestamp) - extract(epoch from '2026-07-09 08:55:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474415 -3.676001)', '2026-07-09 08:56:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474457 -3.67611)'), GeomFromEWKT('SRID=4674;POINT (-38.474415 -3.676001)'))) / (select extract(epoch from '2026-07-09 08:56:05'::timestamp) - extract(epoch from '2026-07-09 08:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474457 -3.67611)'), GeomFromEWKT('SRID=4674;POINT (-38.474415 -3.676001)'))) / (select extract(epoch from '2026-07-09 08:56:05'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.474374 -3.675845)', '2026-07-09 08:56:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474415 -3.676001)'), GeomFromEWKT('SRID=4674;POINT (-38.474374 -3.675845)'))) / (select extract(epoch from '2026-07-09 08:56:12'::timestamp) - extract(epoch from '2026-07-09 08:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474415 -3.676001)'), GeomFromEWKT('SRID=4674;POINT (-38.474374 -3.675845)'))) / (select extract(epoch from '2026-07-09 08:56:12'::timestamp) - extract(epoch from '2026-07-09 08:56: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'), 47392, 'SRID=4674;POINT (-38.474321 -3.675704)', '2026-07-09 08:56:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474374 -3.675845)'), GeomFromEWKT('SRID=4674;POINT (-38.474321 -3.675704)'))) / (select extract(epoch from '2026-07-09 08:56:19'::timestamp) - extract(epoch from '2026-07-09 08:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474374 -3.675845)'), GeomFromEWKT('SRID=4674;POINT (-38.474321 -3.675704)'))) / (select extract(epoch from '2026-07-09 08:56:19'::timestamp) - extract(epoch from '2026-07-09 08:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.47428 -3.675599)', '2026-07-09 08:56:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474321 -3.675704)'), GeomFromEWKT('SRID=4674;POINT (-38.47428 -3.675599)'))) / (select extract(epoch from '2026-07-09 08:56:25'::timestamp) - extract(epoch from '2026-07-09 08:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474321 -3.675704)'), GeomFromEWKT('SRID=4674;POINT (-38.47428 -3.675599)'))) / (select extract(epoch from '2026-07-09 08:56:25'::timestamp) - extract(epoch from '2026-07-09 08:56: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'), 47392, 'SRID=4674;POINT (-38.474275 -3.67558)', '2026-07-09 08:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47428 -3.675599)'), GeomFromEWKT('SRID=4674;POINT (-38.474275 -3.67558)'))) / (select extract(epoch from '2026-07-09 08:56:26'::timestamp) - extract(epoch from '2026-07-09 08:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47428 -3.675599)'), GeomFromEWKT('SRID=4674;POINT (-38.474275 -3.67558)'))) / (select extract(epoch from '2026-07-09 08:56:26'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.474258 -3.675506)', '2026-07-09 08:56:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474275 -3.67558)'), GeomFromEWKT('SRID=4674;POINT (-38.474258 -3.675506)'))) / (select extract(epoch from '2026-07-09 08:56:30'::timestamp) - extract(epoch from '2026-07-09 08:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474275 -3.67558)'), GeomFromEWKT('SRID=4674;POINT (-38.474258 -3.675506)'))) / (select extract(epoch from '2026-07-09 08:56:30'::timestamp) - extract(epoch from '2026-07-09 08:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474221 -3.675366)', '2026-07-09 08:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474258 -3.675506)'), GeomFromEWKT('SRID=4674;POINT (-38.474221 -3.675366)'))) / (select extract(epoch from '2026-07-09 08:56:37'::timestamp) - extract(epoch from '2026-07-09 08:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474258 -3.675506)'), GeomFromEWKT('SRID=4674;POINT (-38.474221 -3.675366)'))) / (select extract(epoch from '2026-07-09 08:56:37'::timestamp) - extract(epoch from '2026-07-09 08:56: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'), 47392, 'SRID=4674;POINT (-38.47419 -3.675273)', '2026-07-09 08:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474221 -3.675366)'), GeomFromEWKT('SRID=4674;POINT (-38.47419 -3.675273)'))) / (select extract(epoch from '2026-07-09 08:56:42'::timestamp) - extract(epoch from '2026-07-09 08:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474221 -3.675366)'), GeomFromEWKT('SRID=4674;POINT (-38.47419 -3.675273)'))) / (select extract(epoch from '2026-07-09 08:56:42'::timestamp) - extract(epoch from '2026-07-09 08:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474145 -3.675164)', '2026-07-09 08:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47419 -3.675273)'), GeomFromEWKT('SRID=4674;POINT (-38.474145 -3.675164)'))) / (select extract(epoch from '2026-07-09 08:56:48'::timestamp) - extract(epoch from '2026-07-09 08:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47419 -3.675273)'), GeomFromEWKT('SRID=4674;POINT (-38.474145 -3.675164)'))) / (select extract(epoch from '2026-07-09 08:56:48'::timestamp) - extract(epoch from '2026-07-09 08:56: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'), 47392, 'SRID=4674;POINT (-38.47409 -3.67503)', '2026-07-09 08:56:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474145 -3.675164)'), GeomFromEWKT('SRID=4674;POINT (-38.47409 -3.67503)'))) / (select extract(epoch from '2026-07-09 08:56:56'::timestamp) - extract(epoch from '2026-07-09 08:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474145 -3.675164)'), GeomFromEWKT('SRID=4674;POINT (-38.47409 -3.67503)'))) / (select extract(epoch from '2026-07-09 08:56:56'::timestamp) - extract(epoch from '2026-07-09 08:56: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'), 47392, 'SRID=4674;POINT (-38.474072 -3.674957)', '2026-07-09 08:57:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47409 -3.67503)'), GeomFromEWKT('SRID=4674;POINT (-38.474072 -3.674957)'))) / (select extract(epoch from '2026-07-09 08:57:00'::timestamp) - extract(epoch from '2026-07-09 08:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47409 -3.67503)'), GeomFromEWKT('SRID=4674;POINT (-38.474072 -3.674957)'))) / (select extract(epoch from '2026-07-09 08:57:00'::timestamp) - extract(epoch from '2026-07-09 08:56: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'), 47392, 'SRID=4674;POINT (-38.474074 -3.674935)', '2026-07-09 08:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474072 -3.674957)'), GeomFromEWKT('SRID=4674;POINT (-38.474074 -3.674935)'))) / (select extract(epoch from '2026-07-09 08:57:01'::timestamp) - extract(epoch from '2026-07-09 08:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474072 -3.674957)'), GeomFromEWKT('SRID=4674;POINT (-38.474074 -3.674935)'))) / (select extract(epoch from '2026-07-09 08:57:01'::timestamp) - extract(epoch from '2026-07-09 08:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.474051 -3.674828)', '2026-07-09 08:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474074 -3.674935)'), GeomFromEWKT('SRID=4674;POINT (-38.474051 -3.674828)'))) / (select extract(epoch from '2026-07-09 08:57:06'::timestamp) - extract(epoch from '2026-07-09 08:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474074 -3.674935)'), GeomFromEWKT('SRID=4674;POINT (-38.474051 -3.674828)'))) / (select extract(epoch from '2026-07-09 08:57:06'::timestamp) - extract(epoch from '2026-07-09 08:57: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'), 47392, 'SRID=4674;POINT (-38.474009 -3.674669)', '2026-07-09 08:57:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474051 -3.674828)'), GeomFromEWKT('SRID=4674;POINT (-38.474009 -3.674669)'))) / (select extract(epoch from '2026-07-09 08:57:13'::timestamp) - extract(epoch from '2026-07-09 08:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474051 -3.674828)'), GeomFromEWKT('SRID=4674;POINT (-38.474009 -3.674669)'))) / (select extract(epoch from '2026-07-09 08:57:13'::timestamp) - extract(epoch from '2026-07-09 08:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473963 -3.674546)', '2026-07-09 08:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474009 -3.674669)'), GeomFromEWKT('SRID=4674;POINT (-38.473963 -3.674546)'))) / (select extract(epoch from '2026-07-09 08:57:19'::timestamp) - extract(epoch from '2026-07-09 08:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474009 -3.674669)'), GeomFromEWKT('SRID=4674;POINT (-38.473963 -3.674546)'))) / (select extract(epoch from '2026-07-09 08:57:19'::timestamp) - extract(epoch from '2026-07-09 08:57: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'), 47392, 'SRID=4674;POINT (-38.473919 -3.674427)', '2026-07-09 08:57:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473963 -3.674546)'), GeomFromEWKT('SRID=4674;POINT (-38.473919 -3.674427)'))) / (select extract(epoch from '2026-07-09 08:57:25'::timestamp) - extract(epoch from '2026-07-09 08:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473963 -3.674546)'), GeomFromEWKT('SRID=4674;POINT (-38.473919 -3.674427)'))) / (select extract(epoch from '2026-07-09 08:57:25'::timestamp) - extract(epoch from '2026-07-09 08:57: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'), 47392, 'SRID=4674;POINT (-38.473859 -3.674303)', '2026-07-09 08:57:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473919 -3.674427)'), GeomFromEWKT('SRID=4674;POINT (-38.473859 -3.674303)'))) / (select extract(epoch from '2026-07-09 08:57:31'::timestamp) - extract(epoch from '2026-07-09 08:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473919 -3.674427)'), GeomFromEWKT('SRID=4674;POINT (-38.473859 -3.674303)'))) / (select extract(epoch from '2026-07-09 08:57:31'::timestamp) - extract(epoch from '2026-07-09 08:57: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'), 47392, 'SRID=4674;POINT (-38.473836 -3.67424)', '2026-07-09 08:57:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473859 -3.674303)'), GeomFromEWKT('SRID=4674;POINT (-38.473836 -3.67424)'))) / (select extract(epoch from '2026-07-09 08:57:34'::timestamp) - extract(epoch from '2026-07-09 08:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473859 -3.674303)'), GeomFromEWKT('SRID=4674;POINT (-38.473836 -3.67424)'))) / (select extract(epoch from '2026-07-09 08:57:34'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.473811 -3.674205)', '2026-07-09 08:57:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473836 -3.67424)'), GeomFromEWKT('SRID=4674;POINT (-38.473811 -3.674205)'))) / (select extract(epoch from '2026-07-09 08:57:36'::timestamp) - extract(epoch from '2026-07-09 08:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473836 -3.67424)'), GeomFromEWKT('SRID=4674;POINT (-38.473811 -3.674205)'))) / (select extract(epoch from '2026-07-09 08:57:36'::timestamp) - extract(epoch from '2026-07-09 08:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473772 -3.674116)', '2026-07-09 08:57:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473811 -3.674205)'), GeomFromEWKT('SRID=4674;POINT (-38.473772 -3.674116)'))) / (select extract(epoch from '2026-07-09 08:57:41'::timestamp) - extract(epoch from '2026-07-09 08:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473811 -3.674205)'), GeomFromEWKT('SRID=4674;POINT (-38.473772 -3.674116)'))) / (select extract(epoch from '2026-07-09 08:57:41'::timestamp) - extract(epoch from '2026-07-09 08:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473729 -3.674014)', '2026-07-09 08:57:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473772 -3.674116)'), GeomFromEWKT('SRID=4674;POINT (-38.473729 -3.674014)'))) / (select extract(epoch from '2026-07-09 08:57:47'::timestamp) - extract(epoch from '2026-07-09 08:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473772 -3.674116)'), GeomFromEWKT('SRID=4674;POINT (-38.473729 -3.674014)'))) / (select extract(epoch from '2026-07-09 08:57:47'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.473693 -3.673928)', '2026-07-09 08:57:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473729 -3.674014)'), GeomFromEWKT('SRID=4674;POINT (-38.473693 -3.673928)'))) / (select extract(epoch from '2026-07-09 08:57:52'::timestamp) - extract(epoch from '2026-07-09 08:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473729 -3.674014)'), GeomFromEWKT('SRID=4674;POINT (-38.473693 -3.673928)'))) / (select extract(epoch from '2026-07-09 08:57:52'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.473684 -3.673884)', '2026-07-09 08:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473693 -3.673928)'), GeomFromEWKT('SRID=4674;POINT (-38.473684 -3.673884)'))) / (select extract(epoch from '2026-07-09 08:57:54'::timestamp) - extract(epoch from '2026-07-09 08:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473693 -3.673928)'), GeomFromEWKT('SRID=4674;POINT (-38.473684 -3.673884)'))) / (select extract(epoch from '2026-07-09 08:57:54'::timestamp) - extract(epoch from '2026-07-09 08:57: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'), 47392, 'SRID=4674;POINT (-38.47368 -3.673828)', '2026-07-09 08:57:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473684 -3.673884)'), GeomFromEWKT('SRID=4674;POINT (-38.47368 -3.673828)'))) / (select extract(epoch from '2026-07-09 08:57:57'::timestamp) - extract(epoch from '2026-07-09 08:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473684 -3.673884)'), GeomFromEWKT('SRID=4674;POINT (-38.47368 -3.673828)'))) / (select extract(epoch from '2026-07-09 08:57:57'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.473647 -3.673723)', '2026-07-09 08:58:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47368 -3.673828)'), GeomFromEWKT('SRID=4674;POINT (-38.473647 -3.673723)'))) / (select extract(epoch from '2026-07-09 08:58:02'::timestamp) - extract(epoch from '2026-07-09 08:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47368 -3.673828)'), GeomFromEWKT('SRID=4674;POINT (-38.473647 -3.673723)'))) / (select extract(epoch from '2026-07-09 08:58:02'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.473601 -3.673594)', '2026-07-09 08:58:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473647 -3.673723)'), GeomFromEWKT('SRID=4674;POINT (-38.473601 -3.673594)'))) / (select extract(epoch from '2026-07-09 08:58:08'::timestamp) - extract(epoch from '2026-07-09 08:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473647 -3.673723)'), GeomFromEWKT('SRID=4674;POINT (-38.473601 -3.673594)'))) / (select extract(epoch from '2026-07-09 08:58:08'::timestamp) - extract(epoch from '2026-07-09 08:58: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'), 47392, 'SRID=4674;POINT (-38.473554 -3.673457)', '2026-07-09 08:58:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473601 -3.673594)'), GeomFromEWKT('SRID=4674;POINT (-38.473554 -3.673457)'))) / (select extract(epoch from '2026-07-09 08:58:14'::timestamp) - extract(epoch from '2026-07-09 08:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473601 -3.673594)'), GeomFromEWKT('SRID=4674;POINT (-38.473554 -3.673457)'))) / (select extract(epoch from '2026-07-09 08:58:14'::timestamp) - extract(epoch from '2026-07-09 08:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473529 -3.673369)', '2026-07-09 08:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473554 -3.673457)'), GeomFromEWKT('SRID=4674;POINT (-38.473529 -3.673369)'))) / (select extract(epoch from '2026-07-09 08:58:18'::timestamp) - extract(epoch from '2026-07-09 08:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473554 -3.673457)'), GeomFromEWKT('SRID=4674;POINT (-38.473529 -3.673369)'))) / (select extract(epoch from '2026-07-09 08:58:18'::timestamp) - extract(epoch from '2026-07-09 08:58:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473527 -3.673345)', '2026-07-09 08:58:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473529 -3.673369)'), GeomFromEWKT('SRID=4674;POINT (-38.473527 -3.673345)'))) / (select extract(epoch from '2026-07-09 08:58:19'::timestamp) - extract(epoch from '2026-07-09 08:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473529 -3.673369)'), GeomFromEWKT('SRID=4674;POINT (-38.473527 -3.673345)'))) / (select extract(epoch from '2026-07-09 08:58:19'::timestamp) - extract(epoch from '2026-07-09 08:58: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'), 47392, 'SRID=4674;POINT (-38.473505 -3.67323)', '2026-07-09 08:58:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473527 -3.673345)'), GeomFromEWKT('SRID=4674;POINT (-38.473505 -3.67323)'))) / (select extract(epoch from '2026-07-09 08:58:24'::timestamp) - extract(epoch from '2026-07-09 08:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473527 -3.673345)'), GeomFromEWKT('SRID=4674;POINT (-38.473505 -3.67323)'))) / (select extract(epoch from '2026-07-09 08:58:24'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.473463 -3.673117)', '2026-07-09 08:58:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473505 -3.67323)'), GeomFromEWKT('SRID=4674;POINT (-38.473463 -3.673117)'))) / (select extract(epoch from '2026-07-09 08:58:29'::timestamp) - extract(epoch from '2026-07-09 08:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473505 -3.67323)'), GeomFromEWKT('SRID=4674;POINT (-38.473463 -3.673117)'))) / (select extract(epoch from '2026-07-09 08:58:29'::timestamp) - extract(epoch from '2026-07-09 08:58:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473418 -3.673023)', '2026-07-09 08:58:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473463 -3.673117)'), GeomFromEWKT('SRID=4674;POINT (-38.473418 -3.673023)'))) / (select extract(epoch from '2026-07-09 08:58:34'::timestamp) - extract(epoch from '2026-07-09 08:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473463 -3.673117)'), GeomFromEWKT('SRID=4674;POINT (-38.473418 -3.673023)'))) / (select extract(epoch from '2026-07-09 08:58:34'::timestamp) - extract(epoch from '2026-07-09 08:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473375 -3.67287)', '2026-07-09 08:58:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473418 -3.673023)'), GeomFromEWKT('SRID=4674;POINT (-38.473375 -3.67287)'))) / (select extract(epoch from '2026-07-09 08:58:41'::timestamp) - extract(epoch from '2026-07-09 08:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473418 -3.673023)'), GeomFromEWKT('SRID=4674;POINT (-38.473375 -3.67287)'))) / (select extract(epoch from '2026-07-09 08:58:41'::timestamp) - extract(epoch from '2026-07-09 08:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473338 -3.672714)', '2026-07-09 08:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473375 -3.67287)'), GeomFromEWKT('SRID=4674;POINT (-38.473338 -3.672714)'))) / (select extract(epoch from '2026-07-09 08:58:48'::timestamp) - extract(epoch from '2026-07-09 08:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473375 -3.67287)'), GeomFromEWKT('SRID=4674;POINT (-38.473338 -3.672714)'))) / (select extract(epoch from '2026-07-09 08:58:48'::timestamp) - extract(epoch from '2026-07-09 08:58: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'), 47392, 'SRID=4674;POINT (-38.473293 -3.672587)', '2026-07-09 08:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473338 -3.672714)'), GeomFromEWKT('SRID=4674;POINT (-38.473293 -3.672587)'))) / (select extract(epoch from '2026-07-09 08:58:54'::timestamp) - extract(epoch from '2026-07-09 08:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473338 -3.672714)'), GeomFromEWKT('SRID=4674;POINT (-38.473293 -3.672587)'))) / (select extract(epoch from '2026-07-09 08:58:54'::timestamp) - extract(epoch from '2026-07-09 08:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473275 -3.672464)', '2026-07-09 08:58:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473293 -3.672587)'), GeomFromEWKT('SRID=4674;POINT (-38.473275 -3.672464)'))) / (select extract(epoch from '2026-07-09 08:58:59'::timestamp) - extract(epoch from '2026-07-09 08:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473293 -3.672587)'), GeomFromEWKT('SRID=4674;POINT (-38.473275 -3.672464)'))) / (select extract(epoch from '2026-07-09 08:58:59'::timestamp) - extract(epoch from '2026-07-09 08:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473268 -3.67235)', '2026-07-09 08:59:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473275 -3.672464)'), GeomFromEWKT('SRID=4674;POINT (-38.473268 -3.67235)'))) / (select extract(epoch from '2026-07-09 08:59:04'::timestamp) - extract(epoch from '2026-07-09 08:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473275 -3.672464)'), GeomFromEWKT('SRID=4674;POINT (-38.473268 -3.67235)'))) / (select extract(epoch from '2026-07-09 08:59:04'::timestamp) - extract(epoch from '2026-07-09 08:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.47323 -3.672224)', '2026-07-09 08:59:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473268 -3.67235)'), GeomFromEWKT('SRID=4674;POINT (-38.47323 -3.672224)'))) / (select extract(epoch from '2026-07-09 08:59:10'::timestamp) - extract(epoch from '2026-07-09 08:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473268 -3.67235)'), GeomFromEWKT('SRID=4674;POINT (-38.47323 -3.672224)'))) / (select extract(epoch from '2026-07-09 08:59:10'::timestamp) - extract(epoch from '2026-07-09 08:59: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'), 47392, 'SRID=4674;POINT (-38.473173 -3.67207)', '2026-07-09 08:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47323 -3.672224)'), GeomFromEWKT('SRID=4674;POINT (-38.473173 -3.67207)'))) / (select extract(epoch from '2026-07-09 08:59:17'::timestamp) - extract(epoch from '2026-07-09 08:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47323 -3.672224)'), GeomFromEWKT('SRID=4674;POINT (-38.473173 -3.67207)'))) / (select extract(epoch from '2026-07-09 08:59:17'::timestamp) - extract(epoch from '2026-07-09 08:59:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473148 -3.671979)', '2026-07-09 08:59:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473173 -3.67207)'), GeomFromEWKT('SRID=4674;POINT (-38.473148 -3.671979)'))) / (select extract(epoch from '2026-07-09 08:59:21'::timestamp) - extract(epoch from '2026-07-09 08:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473173 -3.67207)'), GeomFromEWKT('SRID=4674;POINT (-38.473148 -3.671979)'))) / (select extract(epoch from '2026-07-09 08:59:21'::timestamp) - extract(epoch from '2026-07-09 08:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.473147 -3.671956)', '2026-07-09 08:59:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473148 -3.671979)'), GeomFromEWKT('SRID=4674;POINT (-38.473147 -3.671956)'))) / (select extract(epoch from '2026-07-09 08:59:22'::timestamp) - extract(epoch from '2026-07-09 08:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473148 -3.671979)'), GeomFromEWKT('SRID=4674;POINT (-38.473147 -3.671956)'))) / (select extract(epoch from '2026-07-09 08:59:22'::timestamp) - extract(epoch from '2026-07-09 08:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.47312 -3.671837)', '2026-07-09 08:59:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473147 -3.671956)'), GeomFromEWKT('SRID=4674;POINT (-38.47312 -3.671837)'))) / (select extract(epoch from '2026-07-09 08:59:27'::timestamp) - extract(epoch from '2026-07-09 08:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473147 -3.671956)'), GeomFromEWKT('SRID=4674;POINT (-38.47312 -3.671837)'))) / (select extract(epoch from '2026-07-09 08:59:27'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.473076 -3.671673)', '2026-07-09 08:59:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47312 -3.671837)'), GeomFromEWKT('SRID=4674;POINT (-38.473076 -3.671673)'))) / (select extract(epoch from '2026-07-09 08:59:34'::timestamp) - extract(epoch from '2026-07-09 08:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47312 -3.671837)'), GeomFromEWKT('SRID=4674;POINT (-38.473076 -3.671673)'))) / (select extract(epoch from '2026-07-09 08:59:34'::timestamp) - extract(epoch from '2026-07-09 08: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'), 47392, 'SRID=4674;POINT (-38.473029 -3.671502)', '2026-07-09 08:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473076 -3.671673)'), GeomFromEWKT('SRID=4674;POINT (-38.473029 -3.671502)'))) / (select extract(epoch from '2026-07-09 08:59:41'::timestamp) - extract(epoch from '2026-07-09 08:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473076 -3.671673)'), GeomFromEWKT('SRID=4674;POINT (-38.473029 -3.671502)'))) / (select extract(epoch from '2026-07-09 08:59:41'::timestamp) - extract(epoch from '2026-07-09 08:59: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'), 47392, 'SRID=4674;POINT (-38.472997 -3.671365)', '2026-07-09 08:59:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473029 -3.671502)'), GeomFromEWKT('SRID=4674;POINT (-38.472997 -3.671365)'))) / (select extract(epoch from '2026-07-09 08:59:47'::timestamp) - extract(epoch from '2026-07-09 08:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473029 -3.671502)'), GeomFromEWKT('SRID=4674;POINT (-38.472997 -3.671365)'))) / (select extract(epoch from '2026-07-09 08:59:47'::timestamp) - extract(epoch from '2026-07-09 08:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472957 -3.671225)', '2026-07-09 08:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472997 -3.671365)'), GeomFromEWKT('SRID=4674;POINT (-38.472957 -3.671225)'))) / (select extract(epoch from '2026-07-09 08:59:53'::timestamp) - extract(epoch from '2026-07-09 08:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472997 -3.671365)'), GeomFromEWKT('SRID=4674;POINT (-38.472957 -3.671225)'))) / (select extract(epoch from '2026-07-09 08:59:53'::timestamp) - extract(epoch from '2026-07-09 08:59: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'), 47392, 'SRID=4674;POINT (-38.472908 -3.671103)', '2026-07-09 08:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472957 -3.671225)'), GeomFromEWKT('SRID=4674;POINT (-38.472908 -3.671103)'))) / (select extract(epoch from '2026-07-09 08:59:59'::timestamp) - extract(epoch from '2026-07-09 08:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472957 -3.671225)'), GeomFromEWKT('SRID=4674;POINT (-38.472908 -3.671103)'))) / (select extract(epoch from '2026-07-09 08:59:59'::timestamp) - extract(epoch from '2026-07-09 08:59: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'), 47392, 'SRID=4674;POINT (-38.472879 -3.67102)', '2026-07-09 09:00:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472908 -3.671103)'), GeomFromEWKT('SRID=4674;POINT (-38.472879 -3.67102)'))) / (select extract(epoch from '2026-07-09 09:00:03'::timestamp) - extract(epoch from '2026-07-09 08:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472908 -3.671103)'), GeomFromEWKT('SRID=4674;POINT (-38.472879 -3.67102)'))) / (select extract(epoch from '2026-07-09 09:00:03'::timestamp) - extract(epoch from '2026-07-09 08:59: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'), 47392, 'SRID=4674;POINT (-38.472876 -3.670998)', '2026-07-09 09:00:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472879 -3.67102)'), GeomFromEWKT('SRID=4674;POINT (-38.472876 -3.670998)'))) / (select extract(epoch from '2026-07-09 09:00:04'::timestamp) - extract(epoch from '2026-07-09 09:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472879 -3.67102)'), GeomFromEWKT('SRID=4674;POINT (-38.472876 -3.670998)'))) / (select extract(epoch from '2026-07-09 09:00:04'::timestamp) - extract(epoch from '2026-07-09 09:00: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'), 47392, 'SRID=4674;POINT (-38.472853 -3.670913)', '2026-07-09 09:00:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472876 -3.670998)'), GeomFromEWKT('SRID=4674;POINT (-38.472853 -3.670913)'))) / (select extract(epoch from '2026-07-09 09:00:08'::timestamp) - extract(epoch from '2026-07-09 09:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472876 -3.670998)'), GeomFromEWKT('SRID=4674;POINT (-38.472853 -3.670913)'))) / (select extract(epoch from '2026-07-09 09:00:08'::timestamp) - extract(epoch from '2026-07-09 09:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472844 -3.670869)', '2026-07-09 09:00:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472853 -3.670913)'), GeomFromEWKT('SRID=4674;POINT (-38.472844 -3.670869)'))) / (select extract(epoch from '2026-07-09 09:00:10'::timestamp) - extract(epoch from '2026-07-09 09:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472853 -3.670913)'), GeomFromEWKT('SRID=4674;POINT (-38.472844 -3.670869)'))) / (select extract(epoch from '2026-07-09 09:00:10'::timestamp) - extract(epoch from '2026-07-09 09:00: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'), 47392, 'SRID=4674;POINT (-38.472823 -3.670824)', '2026-07-09 09:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472844 -3.670869)'), GeomFromEWKT('SRID=4674;POINT (-38.472823 -3.670824)'))) / (select extract(epoch from '2026-07-09 09:00:12'::timestamp) - extract(epoch from '2026-07-09 09:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472844 -3.670869)'), GeomFromEWKT('SRID=4674;POINT (-38.472823 -3.670824)'))) / (select extract(epoch from '2026-07-09 09:00:12'::timestamp) - extract(epoch from '2026-07-09 09:00: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'), 47392, 'SRID=4674;POINT (-38.472808 -3.670733)', '2026-07-09 09:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472823 -3.670824)'), GeomFromEWKT('SRID=4674;POINT (-38.472808 -3.670733)'))) / (select extract(epoch from '2026-07-09 09:00:16'::timestamp) - extract(epoch from '2026-07-09 09:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472823 -3.670824)'), GeomFromEWKT('SRID=4674;POINT (-38.472808 -3.670733)'))) / (select extract(epoch from '2026-07-09 09:00:16'::timestamp) - extract(epoch from '2026-07-09 09:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472795 -3.670714)', '2026-07-09 09:00:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472808 -3.670733)'), GeomFromEWKT('SRID=4674;POINT (-38.472795 -3.670714)'))) / (select extract(epoch from '2026-07-09 09:00:17'::timestamp) - extract(epoch from '2026-07-09 09:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472808 -3.670733)'), GeomFromEWKT('SRID=4674;POINT (-38.472795 -3.670714)'))) / (select extract(epoch from '2026-07-09 09:00:17'::timestamp) - extract(epoch from '2026-07-09 09:00: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'), 47392, 'SRID=4674;POINT (-38.472755 -3.670617)', '2026-07-09 09:00:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472795 -3.670714)'), GeomFromEWKT('SRID=4674;POINT (-38.472755 -3.670617)'))) / (select extract(epoch from '2026-07-09 09:00:22'::timestamp) - extract(epoch from '2026-07-09 09:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472795 -3.670714)'), GeomFromEWKT('SRID=4674;POINT (-38.472755 -3.670617)'))) / (select extract(epoch from '2026-07-09 09:00:22'::timestamp) - extract(epoch from '2026-07-09 09:00: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'), 47392, 'SRID=4674;POINT (-38.47272 -3.670506)', '2026-07-09 09:00:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472755 -3.670617)'), GeomFromEWKT('SRID=4674;POINT (-38.47272 -3.670506)'))) / (select extract(epoch from '2026-07-09 09:00:27'::timestamp) - extract(epoch from '2026-07-09 09:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472755 -3.670617)'), GeomFromEWKT('SRID=4674;POINT (-38.47272 -3.670506)'))) / (select extract(epoch from '2026-07-09 09:00:27'::timestamp) - extract(epoch from '2026-07-09 09:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472674 -3.670384)', '2026-07-09 09:00:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47272 -3.670506)'), GeomFromEWKT('SRID=4674;POINT (-38.472674 -3.670384)'))) / (select extract(epoch from '2026-07-09 09:00:33'::timestamp) - extract(epoch from '2026-07-09 09:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47272 -3.670506)'), GeomFromEWKT('SRID=4674;POINT (-38.472674 -3.670384)'))) / (select extract(epoch from '2026-07-09 09:00:33'::timestamp) - extract(epoch from '2026-07-09 09:00: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'), 47392, 'SRID=4674;POINT (-38.472611 -3.670267)', '2026-07-09 09:00:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472674 -3.670384)'), GeomFromEWKT('SRID=4674;POINT (-38.472611 -3.670267)'))) / (select extract(epoch from '2026-07-09 09:00:40'::timestamp) - extract(epoch from '2026-07-09 09:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472674 -3.670384)'), GeomFromEWKT('SRID=4674;POINT (-38.472611 -3.670267)'))) / (select extract(epoch from '2026-07-09 09:00:40'::timestamp) - extract(epoch from '2026-07-09 09:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472564 -3.670127)', '2026-07-09 09:00:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472611 -3.670267)'), GeomFromEWKT('SRID=4674;POINT (-38.472564 -3.670127)'))) / (select extract(epoch from '2026-07-09 09:00:48'::timestamp) - extract(epoch from '2026-07-09 09:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472611 -3.670267)'), GeomFromEWKT('SRID=4674;POINT (-38.472564 -3.670127)'))) / (select extract(epoch from '2026-07-09 09:00:48'::timestamp) - extract(epoch from '2026-07-09 09:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472546 -3.670049)', '2026-07-09 09:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472564 -3.670127)'), GeomFromEWKT('SRID=4674;POINT (-38.472546 -3.670049)'))) / (select extract(epoch from '2026-07-09 09:00:52'::timestamp) - extract(epoch from '2026-07-09 09:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472564 -3.670127)'), GeomFromEWKT('SRID=4674;POINT (-38.472546 -3.670049)'))) / (select extract(epoch from '2026-07-09 09:00:52'::timestamp) - extract(epoch from '2026-07-09 09:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472537 -3.670031)', '2026-07-09 09:00:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472546 -3.670049)'), GeomFromEWKT('SRID=4674;POINT (-38.472537 -3.670031)'))) / (select extract(epoch from '2026-07-09 09:00:53'::timestamp) - extract(epoch from '2026-07-09 09:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472546 -3.670049)'), GeomFromEWKT('SRID=4674;POINT (-38.472537 -3.670031)'))) / (select extract(epoch from '2026-07-09 09:00:53'::timestamp) - extract(epoch from '2026-07-09 09:00: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'), 47392, 'SRID=4674;POINT (-38.472491 -3.669929)', '2026-07-09 09:00:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472537 -3.670031)'), GeomFromEWKT('SRID=4674;POINT (-38.472491 -3.669929)'))) / (select extract(epoch from '2026-07-09 09:00:59'::timestamp) - extract(epoch from '2026-07-09 09:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472537 -3.670031)'), GeomFromEWKT('SRID=4674;POINT (-38.472491 -3.669929)'))) / (select extract(epoch from '2026-07-09 09:00:59'::timestamp) - extract(epoch from '2026-07-09 09:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472449 -3.669822)', '2026-07-09 09:01:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472491 -3.669929)'), GeomFromEWKT('SRID=4674;POINT (-38.472449 -3.669822)'))) / (select extract(epoch from '2026-07-09 09:01:05'::timestamp) - extract(epoch from '2026-07-09 09:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472491 -3.669929)'), GeomFromEWKT('SRID=4674;POINT (-38.472449 -3.669822)'))) / (select extract(epoch from '2026-07-09 09:01:05'::timestamp) - extract(epoch from '2026-07-09 09:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472421 -3.669723)', '2026-07-09 09:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472449 -3.669822)'), GeomFromEWKT('SRID=4674;POINT (-38.472421 -3.669723)'))) / (select extract(epoch from '2026-07-09 09:01:10'::timestamp) - extract(epoch from '2026-07-09 09:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472449 -3.669822)'), GeomFromEWKT('SRID=4674;POINT (-38.472421 -3.669723)'))) / (select extract(epoch from '2026-07-09 09:01:10'::timestamp) - extract(epoch from '2026-07-09 09:01: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'), 47392, 'SRID=4674;POINT (-38.47238 -3.669606)', '2026-07-09 09:01:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472421 -3.669723)'), GeomFromEWKT('SRID=4674;POINT (-38.47238 -3.669606)'))) / (select extract(epoch from '2026-07-09 09:01:16'::timestamp) - extract(epoch from '2026-07-09 09:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472421 -3.669723)'), GeomFromEWKT('SRID=4674;POINT (-38.47238 -3.669606)'))) / (select extract(epoch from '2026-07-09 09:01:16'::timestamp) - extract(epoch from '2026-07-09 09:01: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'), 47392, 'SRID=4674;POINT (-38.472343 -3.669484)', '2026-07-09 09:01:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47238 -3.669606)'), GeomFromEWKT('SRID=4674;POINT (-38.472343 -3.669484)'))) / (select extract(epoch from '2026-07-09 09:01:22'::timestamp) - extract(epoch from '2026-07-09 09:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47238 -3.669606)'), GeomFromEWKT('SRID=4674;POINT (-38.472343 -3.669484)'))) / (select extract(epoch from '2026-07-09 09:01:22'::timestamp) - extract(epoch from '2026-07-09 09:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472317 -3.669372)', '2026-07-09 09:01:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472343 -3.669484)'), GeomFromEWKT('SRID=4674;POINT (-38.472317 -3.669372)'))) / (select extract(epoch from '2026-07-09 09:01:27'::timestamp) - extract(epoch from '2026-07-09 09:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472343 -3.669484)'), GeomFromEWKT('SRID=4674;POINT (-38.472317 -3.669372)'))) / (select extract(epoch from '2026-07-09 09:01:27'::timestamp) - extract(epoch from '2026-07-09 09:01: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'), 47392, 'SRID=4674;POINT (-38.472306 -3.669352)', '2026-07-09 09:01:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472317 -3.669372)'), GeomFromEWKT('SRID=4674;POINT (-38.472306 -3.669352)'))) / (select extract(epoch from '2026-07-09 09:01:28'::timestamp) - extract(epoch from '2026-07-09 09:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472317 -3.669372)'), GeomFromEWKT('SRID=4674;POINT (-38.472306 -3.669352)'))) / (select extract(epoch from '2026-07-09 09:01:28'::timestamp) - extract(epoch from '2026-07-09 09:01: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'), 47392, 'SRID=4674;POINT (-38.472299 -3.66933)', '2026-07-09 09:01:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472306 -3.669352)'), GeomFromEWKT('SRID=4674;POINT (-38.472299 -3.66933)'))) / (select extract(epoch from '2026-07-09 09:01:29'::timestamp) - extract(epoch from '2026-07-09 09:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472306 -3.669352)'), GeomFromEWKT('SRID=4674;POINT (-38.472299 -3.66933)'))) / (select extract(epoch from '2026-07-09 09:01:29'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.472272 -3.66927)', '2026-07-09 09:01:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472299 -3.66933)'), GeomFromEWKT('SRID=4674;POINT (-38.472272 -3.66927)'))) / (select extract(epoch from '2026-07-09 09:01:32'::timestamp) - extract(epoch from '2026-07-09 09:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472299 -3.66933)'), GeomFromEWKT('SRID=4674;POINT (-38.472272 -3.66927)'))) / (select extract(epoch from '2026-07-09 09:01:32'::timestamp) - extract(epoch from '2026-07-09 09:01: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'), 47392, 'SRID=4674;POINT (-38.472249 -3.669227)', '2026-07-09 09:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472272 -3.66927)'), GeomFromEWKT('SRID=4674;POINT (-38.472249 -3.669227)'))) / (select extract(epoch from '2026-07-09 09:01:35'::timestamp) - extract(epoch from '2026-07-09 09:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472272 -3.66927)'), GeomFromEWKT('SRID=4674;POINT (-38.472249 -3.669227)'))) / (select extract(epoch from '2026-07-09 09:01:35'::timestamp) - extract(epoch from '2026-07-09 09:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472244 -3.66921)', '2026-07-09 09:01:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472249 -3.669227)'), GeomFromEWKT('SRID=4674;POINT (-38.472244 -3.66921)'))) / (select extract(epoch from '2026-07-09 09:01:36'::timestamp) - extract(epoch from '2026-07-09 09:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472249 -3.669227)'), GeomFromEWKT('SRID=4674;POINT (-38.472244 -3.66921)'))) / (select extract(epoch from '2026-07-09 09:01:36'::timestamp) - extract(epoch from '2026-07-09 09:01: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'), 47392, 'SRID=4674;POINT (-38.472218 -3.669114)', '2026-07-09 09:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472244 -3.66921)'), GeomFromEWKT('SRID=4674;POINT (-38.472218 -3.669114)'))) / (select extract(epoch from '2026-07-09 09:01:41'::timestamp) - extract(epoch from '2026-07-09 09:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472244 -3.66921)'), GeomFromEWKT('SRID=4674;POINT (-38.472218 -3.669114)'))) / (select extract(epoch from '2026-07-09 09:01:41'::timestamp) - extract(epoch from '2026-07-09 09:01: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'), 47392, 'SRID=4674;POINT (-38.472187 -3.669)', '2026-07-09 09:01:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472218 -3.669114)'), GeomFromEWKT('SRID=4674;POINT (-38.472187 -3.669)'))) / (select extract(epoch from '2026-07-09 09:01:46'::timestamp) - extract(epoch from '2026-07-09 09:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472218 -3.669114)'), GeomFromEWKT('SRID=4674;POINT (-38.472187 -3.669)'))) / (select extract(epoch from '2026-07-09 09:01:46'::timestamp) - extract(epoch from '2026-07-09 09:01: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'), 47392, 'SRID=4674;POINT (-38.472136 -3.668834)', '2026-07-09 09:01:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472187 -3.669)'), GeomFromEWKT('SRID=4674;POINT (-38.472136 -3.668834)'))) / (select extract(epoch from '2026-07-09 09:01:53'::timestamp) - extract(epoch from '2026-07-09 09:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472187 -3.669)'), GeomFromEWKT('SRID=4674;POINT (-38.472136 -3.668834)'))) / (select extract(epoch from '2026-07-09 09:01:53'::timestamp) - extract(epoch from '2026-07-09 09:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472095 -3.668724)', '2026-07-09 09:01:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472136 -3.668834)'), GeomFromEWKT('SRID=4674;POINT (-38.472095 -3.668724)'))) / (select extract(epoch from '2026-07-09 09:01:58'::timestamp) - extract(epoch from '2026-07-09 09:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472136 -3.668834)'), GeomFromEWKT('SRID=4674;POINT (-38.472095 -3.668724)'))) / (select extract(epoch from '2026-07-09 09:01:58'::timestamp) - extract(epoch from '2026-07-09 09:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472089 -3.668704)', '2026-07-09 09:01:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472095 -3.668724)'), GeomFromEWKT('SRID=4674;POINT (-38.472089 -3.668704)'))) / (select extract(epoch from '2026-07-09 09:01:59'::timestamp) - extract(epoch from '2026-07-09 09:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472095 -3.668724)'), GeomFromEWKT('SRID=4674;POINT (-38.472089 -3.668704)'))) / (select extract(epoch from '2026-07-09 09:01:59'::timestamp) - extract(epoch from '2026-07-09 09:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.472059 -3.668617)', '2026-07-09 09:02:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472089 -3.668704)'), GeomFromEWKT('SRID=4674;POINT (-38.472059 -3.668617)'))) / (select extract(epoch from '2026-07-09 09:02:03'::timestamp) - extract(epoch from '2026-07-09 09:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472089 -3.668704)'), GeomFromEWKT('SRID=4674;POINT (-38.472059 -3.668617)'))) / (select extract(epoch from '2026-07-09 09:02:03'::timestamp) - extract(epoch from '2026-07-09 09:01: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'), 47392, 'SRID=4674;POINT (-38.472004 -3.668431)', '2026-07-09 09:02:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472059 -3.668617)'), GeomFromEWKT('SRID=4674;POINT (-38.472004 -3.668431)'))) / (select extract(epoch from '2026-07-09 09:02:12'::timestamp) - extract(epoch from '2026-07-09 09:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472059 -3.668617)'), GeomFromEWKT('SRID=4674;POINT (-38.472004 -3.668431)'))) / (select extract(epoch from '2026-07-09 09:02:12'::timestamp) - extract(epoch from '2026-07-09 09:02: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'), 47392, 'SRID=4674;POINT (-38.471964 -3.668307)', '2026-07-09 09:02:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472004 -3.668431)'), GeomFromEWKT('SRID=4674;POINT (-38.471964 -3.668307)'))) / (select extract(epoch from '2026-07-09 09:02:18'::timestamp) - extract(epoch from '2026-07-09 09:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472004 -3.668431)'), GeomFromEWKT('SRID=4674;POINT (-38.471964 -3.668307)'))) / (select extract(epoch from '2026-07-09 09:02:18'::timestamp) - extract(epoch from '2026-07-09 09:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.471936 -3.668212)', '2026-07-09 09:02:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471964 -3.668307)'), GeomFromEWKT('SRID=4674;POINT (-38.471936 -3.668212)'))) / (select extract(epoch from '2026-07-09 09:02:23'::timestamp) - extract(epoch from '2026-07-09 09:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471964 -3.668307)'), GeomFromEWKT('SRID=4674;POINT (-38.471936 -3.668212)'))) / (select extract(epoch from '2026-07-09 09:02:23'::timestamp) - extract(epoch from '2026-07-09 09:02: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'), 47392, 'SRID=4674;POINT (-38.471888 -3.668063)', '2026-07-09 09:02:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471936 -3.668212)'), GeomFromEWKT('SRID=4674;POINT (-38.471888 -3.668063)'))) / (select extract(epoch from '2026-07-09 09:02:30'::timestamp) - extract(epoch from '2026-07-09 09:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471936 -3.668212)'), GeomFromEWKT('SRID=4674;POINT (-38.471888 -3.668063)'))) / (select extract(epoch from '2026-07-09 09:02:30'::timestamp) - extract(epoch from '2026-07-09 09:02: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'), 47392, 'SRID=4674;POINT (-38.47184 -3.66793)', '2026-07-09 09:02:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471888 -3.668063)'), GeomFromEWKT('SRID=4674;POINT (-38.47184 -3.66793)'))) / (select extract(epoch from '2026-07-09 09:02:36'::timestamp) - extract(epoch from '2026-07-09 09:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471888 -3.668063)'), GeomFromEWKT('SRID=4674;POINT (-38.47184 -3.66793)'))) / (select extract(epoch from '2026-07-09 09:02:36'::timestamp) - extract(epoch from '2026-07-09 09:02: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'), 47392, 'SRID=4674;POINT (-38.471839 -3.667911)', '2026-07-09 09:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47184 -3.66793)'), GeomFromEWKT('SRID=4674;POINT (-38.471839 -3.667911)'))) / (select extract(epoch from '2026-07-09 09:02:37'::timestamp) - extract(epoch from '2026-07-09 09:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47184 -3.66793)'), GeomFromEWKT('SRID=4674;POINT (-38.471839 -3.667911)'))) / (select extract(epoch from '2026-07-09 09:02:37'::timestamp) - extract(epoch from '2026-07-09 09:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.471819 -3.667837)', '2026-07-09 09:02:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471839 -3.667911)'), GeomFromEWKT('SRID=4674;POINT (-38.471819 -3.667837)'))) / (select extract(epoch from '2026-07-09 09:02:40'::timestamp) - extract(epoch from '2026-07-09 09:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471839 -3.667911)'), GeomFromEWKT('SRID=4674;POINT (-38.471819 -3.667837)'))) / (select extract(epoch from '2026-07-09 09:02:40'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.471801 -3.667793)', '2026-07-09 09:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471819 -3.667837)'), GeomFromEWKT('SRID=4674;POINT (-38.471801 -3.667793)'))) / (select extract(epoch from '2026-07-09 09:02:42'::timestamp) - extract(epoch from '2026-07-09 09:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471819 -3.667837)'), GeomFromEWKT('SRID=4674;POINT (-38.471801 -3.667793)'))) / (select extract(epoch from '2026-07-09 09:02:42'::timestamp) - extract(epoch from '2026-07-09 09:02: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'), 47392, 'SRID=4674;POINT (-38.471792 -3.667745)', '2026-07-09 09:02:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471801 -3.667793)'), GeomFromEWKT('SRID=4674;POINT (-38.471792 -3.667745)'))) / (select extract(epoch from '2026-07-09 09:02:44'::timestamp) - extract(epoch from '2026-07-09 09:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471801 -3.667793)'), GeomFromEWKT('SRID=4674;POINT (-38.471792 -3.667745)'))) / (select extract(epoch from '2026-07-09 09:02:44'::timestamp) - extract(epoch from '2026-07-09 09:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.471759 -3.667631)', '2026-07-09 09:02:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471792 -3.667745)'), GeomFromEWKT('SRID=4674;POINT (-38.471759 -3.667631)'))) / (select extract(epoch from '2026-07-09 09:02:49'::timestamp) - extract(epoch from '2026-07-09 09:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471792 -3.667745)'), GeomFromEWKT('SRID=4674;POINT (-38.471759 -3.667631)'))) / (select extract(epoch from '2026-07-09 09:02:49'::timestamp) - extract(epoch from '2026-07-09 09:02: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'), 47392, 'SRID=4674;POINT (-38.471742 -3.667525)', '2026-07-09 09:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471759 -3.667631)'), GeomFromEWKT('SRID=4674;POINT (-38.471742 -3.667525)'))) / (select extract(epoch from '2026-07-09 09:02:53'::timestamp) - extract(epoch from '2026-07-09 09:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471759 -3.667631)'), GeomFromEWKT('SRID=4674;POINT (-38.471742 -3.667525)'))) / (select extract(epoch from '2026-07-09 09:02:53'::timestamp) - extract(epoch from '2026-07-09 09:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.471703 -3.667378)', '2026-07-09 09:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471742 -3.667525)'), GeomFromEWKT('SRID=4674;POINT (-38.471703 -3.667378)'))) / (select extract(epoch from '2026-07-09 09:02:59'::timestamp) - extract(epoch from '2026-07-09 09:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471742 -3.667525)'), GeomFromEWKT('SRID=4674;POINT (-38.471703 -3.667378)'))) / (select extract(epoch from '2026-07-09 09:02:59'::timestamp) - extract(epoch from '2026-07-09 09:02: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'), 47392, 'SRID=4674;POINT (-38.471664 -3.667253)', '2026-07-09 09:03:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471703 -3.667378)'), GeomFromEWKT('SRID=4674;POINT (-38.471664 -3.667253)'))) / (select extract(epoch from '2026-07-09 09:03:04'::timestamp) - extract(epoch from '2026-07-09 09:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471703 -3.667378)'), GeomFromEWKT('SRID=4674;POINT (-38.471664 -3.667253)'))) / (select extract(epoch from '2026-07-09 09:03:04'::timestamp) - extract(epoch from '2026-07-09 09:02: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'), 47392, 'SRID=4674;POINT (-38.471628 -3.667117)', '2026-07-09 09:03:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471664 -3.667253)'), GeomFromEWKT('SRID=4674;POINT (-38.471628 -3.667117)'))) / (select extract(epoch from '2026-07-09 09:03:10'::timestamp) - extract(epoch from '2026-07-09 09:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471664 -3.667253)'), GeomFromEWKT('SRID=4674;POINT (-38.471628 -3.667117)'))) / (select extract(epoch from '2026-07-09 09:03:10'::timestamp) - extract(epoch from '2026-07-09 09:03: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'), 47392, 'SRID=4674;POINT (-38.471589 -3.666993)', '2026-07-09 09:03:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471628 -3.667117)'), GeomFromEWKT('SRID=4674;POINT (-38.471589 -3.666993)'))) / (select extract(epoch from '2026-07-09 09:03:15'::timestamp) - extract(epoch from '2026-07-09 09:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471628 -3.667117)'), GeomFromEWKT('SRID=4674;POINT (-38.471589 -3.666993)'))) / (select extract(epoch from '2026-07-09 09:03:15'::timestamp) - extract(epoch from '2026-07-09 09:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.471558 -3.666873)', '2026-07-09 09:03:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471589 -3.666993)'), GeomFromEWKT('SRID=4674;POINT (-38.471558 -3.666873)'))) / (select extract(epoch from '2026-07-09 09:03:20'::timestamp) - extract(epoch from '2026-07-09 09:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471589 -3.666993)'), GeomFromEWKT('SRID=4674;POINT (-38.471558 -3.666873)'))) / (select extract(epoch from '2026-07-09 09:03:20'::timestamp) - extract(epoch from '2026-07-09 09:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.471529 -3.66679)', '2026-07-09 09:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471558 -3.666873)'), GeomFromEWKT('SRID=4674;POINT (-38.471529 -3.66679)'))) / (select extract(epoch from '2026-07-09 09:03:24'::timestamp) - extract(epoch from '2026-07-09 09:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471558 -3.666873)'), GeomFromEWKT('SRID=4674;POINT (-38.471529 -3.66679)'))) / (select extract(epoch from '2026-07-09 09:03:24'::timestamp) - extract(epoch from '2026-07-09 09:03: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'), 47392, 'SRID=4674;POINT (-38.471472 -3.666693)', '2026-07-09 09:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471529 -3.66679)'), GeomFromEWKT('SRID=4674;POINT (-38.471472 -3.666693)'))) / (select extract(epoch from '2026-07-09 09:03:29'::timestamp) - extract(epoch from '2026-07-09 09:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471529 -3.66679)'), GeomFromEWKT('SRID=4674;POINT (-38.471472 -3.666693)'))) / (select extract(epoch from '2026-07-09 09:03:29'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.471426 -3.666562)', '2026-07-09 09:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471472 -3.666693)'), GeomFromEWKT('SRID=4674;POINT (-38.471426 -3.666562)'))) / (select extract(epoch from '2026-07-09 09:03:35'::timestamp) - extract(epoch from '2026-07-09 09:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471472 -3.666693)'), GeomFromEWKT('SRID=4674;POINT (-38.471426 -3.666562)'))) / (select extract(epoch from '2026-07-09 09:03:35'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.471362 -3.666451)', '2026-07-09 09:03:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471426 -3.666562)'), GeomFromEWKT('SRID=4674;POINT (-38.471362 -3.666451)'))) / (select extract(epoch from '2026-07-09 09:03:41'::timestamp) - extract(epoch from '2026-07-09 09:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471426 -3.666562)'), GeomFromEWKT('SRID=4674;POINT (-38.471362 -3.666451)'))) / (select extract(epoch from '2026-07-09 09:03:41'::timestamp) - extract(epoch from '2026-07-09 09:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.47131 -3.666342)', '2026-07-09 09:03:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471362 -3.666451)'), GeomFromEWKT('SRID=4674;POINT (-38.47131 -3.666342)'))) / (select extract(epoch from '2026-07-09 09:03:47'::timestamp) - extract(epoch from '2026-07-09 09:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471362 -3.666451)'), GeomFromEWKT('SRID=4674;POINT (-38.47131 -3.666342)'))) / (select extract(epoch from '2026-07-09 09:03:47'::timestamp) - extract(epoch from '2026-07-09 09:03: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'), 47392, 'SRID=4674;POINT (-38.471265 -3.666237)', '2026-07-09 09:03:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47131 -3.666342)'), GeomFromEWKT('SRID=4674;POINT (-38.471265 -3.666237)'))) / (select extract(epoch from '2026-07-09 09:03:52'::timestamp) - extract(epoch from '2026-07-09 09:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47131 -3.666342)'), GeomFromEWKT('SRID=4674;POINT (-38.471265 -3.666237)'))) / (select extract(epoch from '2026-07-09 09:03:52'::timestamp) - extract(epoch from '2026-07-09 09:03: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'), 47392, 'SRID=4674;POINT (-38.471228 -3.666089)', '2026-07-09 09:03:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471265 -3.666237)'), GeomFromEWKT('SRID=4674;POINT (-38.471228 -3.666089)'))) / (select extract(epoch from '2026-07-09 09:03:59'::timestamp) - extract(epoch from '2026-07-09 09:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471265 -3.666237)'), GeomFromEWKT('SRID=4674;POINT (-38.471228 -3.666089)'))) / (select extract(epoch from '2026-07-09 09:03:59'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.471187 -3.665958)', '2026-07-09 09:04:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471228 -3.666089)'), GeomFromEWKT('SRID=4674;POINT (-38.471187 -3.665958)'))) / (select extract(epoch from '2026-07-09 09:04:05'::timestamp) - extract(epoch from '2026-07-09 09:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471228 -3.666089)'), GeomFromEWKT('SRID=4674;POINT (-38.471187 -3.665958)'))) / (select extract(epoch from '2026-07-09 09:04:05'::timestamp) - extract(epoch from '2026-07-09 09:03: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'), 47392, 'SRID=4674;POINT (-38.471127 -3.665812)', '2026-07-09 09:04:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471187 -3.665958)'), GeomFromEWKT('SRID=4674;POINT (-38.471127 -3.665812)'))) / (select extract(epoch from '2026-07-09 09:04:12'::timestamp) - extract(epoch from '2026-07-09 09:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471187 -3.665958)'), GeomFromEWKT('SRID=4674;POINT (-38.471127 -3.665812)'))) / (select extract(epoch from '2026-07-09 09:04:12'::timestamp) - extract(epoch from '2026-07-09 09:04: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'), 47392, 'SRID=4674;POINT (-38.471072 -3.665705)', '2026-07-09 09:04:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471127 -3.665812)'), GeomFromEWKT('SRID=4674;POINT (-38.471072 -3.665705)'))) / (select extract(epoch from '2026-07-09 09:04:18'::timestamp) - extract(epoch from '2026-07-09 09:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471127 -3.665812)'), GeomFromEWKT('SRID=4674;POINT (-38.471072 -3.665705)'))) / (select extract(epoch from '2026-07-09 09:04:18'::timestamp) - extract(epoch from '2026-07-09 09:04: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'), 47392, 'SRID=4674;POINT (-38.471031 -3.665606)', '2026-07-09 09:04:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471072 -3.665705)'), GeomFromEWKT('SRID=4674;POINT (-38.471031 -3.665606)'))) / (select extract(epoch from '2026-07-09 09:04:23'::timestamp) - extract(epoch from '2026-07-09 09:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471072 -3.665705)'), GeomFromEWKT('SRID=4674;POINT (-38.471031 -3.665606)'))) / (select extract(epoch from '2026-07-09 09:04:23'::timestamp) - extract(epoch from '2026-07-09 09:04: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'), 47392, 'SRID=4674;POINT (-38.470989 -3.665508)', '2026-07-09 09:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471031 -3.665606)'), GeomFromEWKT('SRID=4674;POINT (-38.470989 -3.665508)'))) / (select extract(epoch from '2026-07-09 09:04:28'::timestamp) - extract(epoch from '2026-07-09 09:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471031 -3.665606)'), GeomFromEWKT('SRID=4674;POINT (-38.470989 -3.665508)'))) / (select extract(epoch from '2026-07-09 09:04:28'::timestamp) - extract(epoch from '2026-07-09 09:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.470933 -3.665383)', '2026-07-09 09:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470989 -3.665508)'), GeomFromEWKT('SRID=4674;POINT (-38.470933 -3.665383)'))) / (select extract(epoch from '2026-07-09 09:04:34'::timestamp) - extract(epoch from '2026-07-09 09:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470989 -3.665508)'), GeomFromEWKT('SRID=4674;POINT (-38.470933 -3.665383)'))) / (select extract(epoch from '2026-07-09 09:04:34'::timestamp) - extract(epoch from '2026-07-09 09:04: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'), 47392, 'SRID=4674;POINT (-38.470877 -3.665265)', '2026-07-09 09:04:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470933 -3.665383)'), GeomFromEWKT('SRID=4674;POINT (-38.470877 -3.665265)'))) / (select extract(epoch from '2026-07-09 09:04:40'::timestamp) - extract(epoch from '2026-07-09 09:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470933 -3.665383)'), GeomFromEWKT('SRID=4674;POINT (-38.470877 -3.665265)'))) / (select extract(epoch from '2026-07-09 09:04:40'::timestamp) - extract(epoch from '2026-07-09 09:04: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'), 47392, 'SRID=4674;POINT (-38.470844 -3.665167)', '2026-07-09 09:04:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470877 -3.665265)'), GeomFromEWKT('SRID=4674;POINT (-38.470844 -3.665167)'))) / (select extract(epoch from '2026-07-09 09:04:45'::timestamp) - extract(epoch from '2026-07-09 09:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470877 -3.665265)'), GeomFromEWKT('SRID=4674;POINT (-38.470844 -3.665167)'))) / (select extract(epoch from '2026-07-09 09:04:45'::timestamp) - extract(epoch from '2026-07-09 09:04: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'), 47392, 'SRID=4674;POINT (-38.470798 -3.665005)', '2026-07-09 09:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470844 -3.665167)'), GeomFromEWKT('SRID=4674;POINT (-38.470798 -3.665005)'))) / (select extract(epoch from '2026-07-09 09:04:52'::timestamp) - extract(epoch from '2026-07-09 09:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470844 -3.665167)'), GeomFromEWKT('SRID=4674;POINT (-38.470798 -3.665005)'))) / (select extract(epoch from '2026-07-09 09:04:52'::timestamp) - extract(epoch from '2026-07-09 09:04: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'), 47392, 'SRID=4674;POINT (-38.47077 -3.664908)', '2026-07-09 09:04:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470798 -3.665005)'), GeomFromEWKT('SRID=4674;POINT (-38.47077 -3.664908)'))) / (select extract(epoch from '2026-07-09 09:04:56'::timestamp) - extract(epoch from '2026-07-09 09:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470798 -3.665005)'), GeomFromEWKT('SRID=4674;POINT (-38.47077 -3.664908)'))) / (select extract(epoch from '2026-07-09 09:04:56'::timestamp) - extract(epoch from '2026-07-09 09:04: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'), 47392, 'SRID=4674;POINT (-38.470733 -3.664815)', '2026-07-09 09:05:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47077 -3.664908)'), GeomFromEWKT('SRID=4674;POINT (-38.470733 -3.664815)'))) / (select extract(epoch from '2026-07-09 09:05:00'::timestamp) - extract(epoch from '2026-07-09 09:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47077 -3.664908)'), GeomFromEWKT('SRID=4674;POINT (-38.470733 -3.664815)'))) / (select extract(epoch from '2026-07-09 09:05:00'::timestamp) - extract(epoch from '2026-07-09 09:04: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'), 47392, 'SRID=4674;POINT (-38.470703 -3.664706)', '2026-07-09 09:05:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470733 -3.664815)'), GeomFromEWKT('SRID=4674;POINT (-38.470703 -3.664706)'))) / (select extract(epoch from '2026-07-09 09:05:05'::timestamp) - extract(epoch from '2026-07-09 09:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470733 -3.664815)'), GeomFromEWKT('SRID=4674;POINT (-38.470703 -3.664706)'))) / (select extract(epoch from '2026-07-09 09:05:05'::timestamp) - extract(epoch from '2026-07-09 09:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.47064 -3.664561)', '2026-07-09 09:05:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470703 -3.664706)'), GeomFromEWKT('SRID=4674;POINT (-38.47064 -3.664561)'))) / (select extract(epoch from '2026-07-09 09:05:12'::timestamp) - extract(epoch from '2026-07-09 09:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470703 -3.664706)'), GeomFromEWKT('SRID=4674;POINT (-38.47064 -3.664561)'))) / (select extract(epoch from '2026-07-09 09:05:12'::timestamp) - extract(epoch from '2026-07-09 09:05: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'), 47392, 'SRID=4674;POINT (-38.470595 -3.664445)', '2026-07-09 09:05:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47064 -3.664561)'), GeomFromEWKT('SRID=4674;POINT (-38.470595 -3.664445)'))) / (select extract(epoch from '2026-07-09 09:05:18'::timestamp) - extract(epoch from '2026-07-09 09:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47064 -3.664561)'), GeomFromEWKT('SRID=4674;POINT (-38.470595 -3.664445)'))) / (select extract(epoch from '2026-07-09 09:05:18'::timestamp) - extract(epoch from '2026-07-09 09:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.470562 -3.664336)', '2026-07-09 09:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470595 -3.664445)'), GeomFromEWKT('SRID=4674;POINT (-38.470562 -3.664336)'))) / (select extract(epoch from '2026-07-09 09:05:23'::timestamp) - extract(epoch from '2026-07-09 09:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470595 -3.664445)'), GeomFromEWKT('SRID=4674;POINT (-38.470562 -3.664336)'))) / (select extract(epoch from '2026-07-09 09:05:23'::timestamp) - extract(epoch from '2026-07-09 09:05:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.470511 -3.664218)', '2026-07-09 09:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470562 -3.664336)'), GeomFromEWKT('SRID=4674;POINT (-38.470511 -3.664218)'))) / (select extract(epoch from '2026-07-09 09:05:29'::timestamp) - extract(epoch from '2026-07-09 09:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470562 -3.664336)'), GeomFromEWKT('SRID=4674;POINT (-38.470511 -3.664218)'))) / (select extract(epoch from '2026-07-09 09:05:29'::timestamp) - extract(epoch from '2026-07-09 09:05: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'), 47392, 'SRID=4674;POINT (-38.470471 -3.664138)', '2026-07-09 09:05:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470511 -3.664218)'), GeomFromEWKT('SRID=4674;POINT (-38.470471 -3.664138)'))) / (select extract(epoch from '2026-07-09 09:05:33'::timestamp) - extract(epoch from '2026-07-09 09:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470511 -3.664218)'), GeomFromEWKT('SRID=4674;POINT (-38.470471 -3.664138)'))) / (select extract(epoch from '2026-07-09 09:05:33'::timestamp) - extract(epoch from '2026-07-09 09:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.470409 -3.663996)', '2026-07-09 09:05:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470471 -3.664138)'), GeomFromEWKT('SRID=4674;POINT (-38.470409 -3.663996)'))) / (select extract(epoch from '2026-07-09 09:05:40'::timestamp) - extract(epoch from '2026-07-09 09:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470471 -3.664138)'), GeomFromEWKT('SRID=4674;POINT (-38.470409 -3.663996)'))) / (select extract(epoch from '2026-07-09 09:05:40'::timestamp) - extract(epoch from '2026-07-09 09:05: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'), 47392, 'SRID=4674;POINT (-38.470397 -3.663955)', '2026-07-09 09:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470409 -3.663996)'), GeomFromEWKT('SRID=4674;POINT (-38.470397 -3.663955)'))) / (select extract(epoch from '2026-07-09 09:05:42'::timestamp) - extract(epoch from '2026-07-09 09:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470409 -3.663996)'), GeomFromEWKT('SRID=4674;POINT (-38.470397 -3.663955)'))) / (select extract(epoch from '2026-07-09 09:05:42'::timestamp) - extract(epoch from '2026-07-09 09:05: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'), 47392, 'SRID=4674;POINT (-38.470375 -3.66392)', '2026-07-09 09:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470397 -3.663955)'), GeomFromEWKT('SRID=4674;POINT (-38.470375 -3.66392)'))) / (select extract(epoch from '2026-07-09 09:05:44'::timestamp) - extract(epoch from '2026-07-09 09:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470397 -3.663955)'), GeomFromEWKT('SRID=4674;POINT (-38.470375 -3.66392)'))) / (select extract(epoch from '2026-07-09 09:05:44'::timestamp) - extract(epoch from '2026-07-09 09:05: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'), 47392, 'SRID=4674;POINT (-38.470338 -3.663825)', '2026-07-09 09:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470375 -3.66392)'), GeomFromEWKT('SRID=4674;POINT (-38.470338 -3.663825)'))) / (select extract(epoch from '2026-07-09 09:05:49'::timestamp) - extract(epoch from '2026-07-09 09:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470375 -3.66392)'), GeomFromEWKT('SRID=4674;POINT (-38.470338 -3.663825)'))) / (select extract(epoch from '2026-07-09 09:05:49'::timestamp) - extract(epoch from '2026-07-09 09:05: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'), 47392, 'SRID=4674;POINT (-38.4703 -3.663707)', '2026-07-09 09:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470338 -3.663825)'), GeomFromEWKT('SRID=4674;POINT (-38.4703 -3.663707)'))) / (select extract(epoch from '2026-07-09 09:05:55'::timestamp) - extract(epoch from '2026-07-09 09:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470338 -3.663825)'), GeomFromEWKT('SRID=4674;POINT (-38.4703 -3.663707)'))) / (select extract(epoch from '2026-07-09 09:05:55'::timestamp) - extract(epoch from '2026-07-09 09:05: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'), 47392, 'SRID=4674;POINT (-38.470265 -3.663564)', '2026-07-09 09:06:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4703 -3.663707)'), GeomFromEWKT('SRID=4674;POINT (-38.470265 -3.663564)'))) / (select extract(epoch from '2026-07-09 09:06:02'::timestamp) - extract(epoch from '2026-07-09 09:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4703 -3.663707)'), GeomFromEWKT('SRID=4674;POINT (-38.470265 -3.663564)'))) / (select extract(epoch from '2026-07-09 09:06:02'::timestamp) - extract(epoch from '2026-07-09 09:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.470213 -3.663448)', '2026-07-09 09:06:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470265 -3.663564)'), GeomFromEWKT('SRID=4674;POINT (-38.470213 -3.663448)'))) / (select extract(epoch from '2026-07-09 09:06:08'::timestamp) - extract(epoch from '2026-07-09 09:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470265 -3.663564)'), GeomFromEWKT('SRID=4674;POINT (-38.470213 -3.663448)'))) / (select extract(epoch from '2026-07-09 09:06:08'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.470174 -3.663306)', '2026-07-09 09:06:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470213 -3.663448)'), GeomFromEWKT('SRID=4674;POINT (-38.470174 -3.663306)'))) / (select extract(epoch from '2026-07-09 09:06:15'::timestamp) - extract(epoch from '2026-07-09 09:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470213 -3.663448)'), GeomFromEWKT('SRID=4674;POINT (-38.470174 -3.663306)'))) / (select extract(epoch from '2026-07-09 09:06:15'::timestamp) - extract(epoch from '2026-07-09 09:06: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'), 47392, 'SRID=4674;POINT (-38.470145 -3.663194)', '2026-07-09 09:06:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470174 -3.663306)'), GeomFromEWKT('SRID=4674;POINT (-38.470145 -3.663194)'))) / (select extract(epoch from '2026-07-09 09:06:20'::timestamp) - extract(epoch from '2026-07-09 09:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470174 -3.663306)'), GeomFromEWKT('SRID=4674;POINT (-38.470145 -3.663194)'))) / (select extract(epoch from '2026-07-09 09:06:20'::timestamp) - extract(epoch from '2026-07-09 09:06: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'), 47392, 'SRID=4674;POINT (-38.470111 -3.663075)', '2026-07-09 09:06:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470145 -3.663194)'), GeomFromEWKT('SRID=4674;POINT (-38.470111 -3.663075)'))) / (select extract(epoch from '2026-07-09 09:06:26'::timestamp) - extract(epoch from '2026-07-09 09:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470145 -3.663194)'), GeomFromEWKT('SRID=4674;POINT (-38.470111 -3.663075)'))) / (select extract(epoch from '2026-07-09 09:06:26'::timestamp) - extract(epoch from '2026-07-09 09:06: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'), 47392, 'SRID=4674;POINT (-38.470056 -3.662922)', '2026-07-09 09:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470111 -3.663075)'), GeomFromEWKT('SRID=4674;POINT (-38.470056 -3.662922)'))) / (select extract(epoch from '2026-07-09 09:06:33'::timestamp) - extract(epoch from '2026-07-09 09:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470111 -3.663075)'), GeomFromEWKT('SRID=4674;POINT (-38.470056 -3.662922)'))) / (select extract(epoch from '2026-07-09 09:06:33'::timestamp) - extract(epoch from '2026-07-09 09:06: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'), 47392, 'SRID=4674;POINT (-38.470028 -3.662772)', '2026-07-09 09:06:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470056 -3.662922)'), GeomFromEWKT('SRID=4674;POINT (-38.470028 -3.662772)'))) / (select extract(epoch from '2026-07-09 09:06:39'::timestamp) - extract(epoch from '2026-07-09 09:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470056 -3.662922)'), GeomFromEWKT('SRID=4674;POINT (-38.470028 -3.662772)'))) / (select extract(epoch from '2026-07-09 09:06:39'::timestamp) - extract(epoch from '2026-07-09 09:06: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'), 47392, 'SRID=4674;POINT (-38.469999 -3.662643)', '2026-07-09 09:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470028 -3.662772)'), GeomFromEWKT('SRID=4674;POINT (-38.469999 -3.662643)'))) / (select extract(epoch from '2026-07-09 09:06:44'::timestamp) - extract(epoch from '2026-07-09 09:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470028 -3.662772)'), GeomFromEWKT('SRID=4674;POINT (-38.469999 -3.662643)'))) / (select extract(epoch from '2026-07-09 09:06:44'::timestamp) - extract(epoch from '2026-07-09 09:06: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'), 47392, 'SRID=4674;POINT (-38.469959 -3.662529)', '2026-07-09 09:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469999 -3.662643)'), GeomFromEWKT('SRID=4674;POINT (-38.469959 -3.662529)'))) / (select extract(epoch from '2026-07-09 09:06:49'::timestamp) - extract(epoch from '2026-07-09 09:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469999 -3.662643)'), GeomFromEWKT('SRID=4674;POINT (-38.469959 -3.662529)'))) / (select extract(epoch from '2026-07-09 09:06:49'::timestamp) - extract(epoch from '2026-07-09 09:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.469925 -3.662387)', '2026-07-09 09:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469959 -3.662529)'), GeomFromEWKT('SRID=4674;POINT (-38.469925 -3.662387)'))) / (select extract(epoch from '2026-07-09 09:06:55'::timestamp) - extract(epoch from '2026-07-09 09:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469959 -3.662529)'), GeomFromEWKT('SRID=4674;POINT (-38.469925 -3.662387)'))) / (select extract(epoch from '2026-07-09 09:06:55'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.469914 -3.662368)', '2026-07-09 09:06:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469925 -3.662387)'), GeomFromEWKT('SRID=4674;POINT (-38.469914 -3.662368)'))) / (select extract(epoch from '2026-07-09 09:06:56'::timestamp) - extract(epoch from '2026-07-09 09:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469925 -3.662387)'), GeomFromEWKT('SRID=4674;POINT (-38.469914 -3.662368)'))) / (select extract(epoch from '2026-07-09 09:06:56'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.469901 -3.662329)', '2026-07-09 09:06:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469914 -3.662368)'), GeomFromEWKT('SRID=4674;POINT (-38.469901 -3.662329)'))) / (select extract(epoch from '2026-07-09 09:06:58'::timestamp) - extract(epoch from '2026-07-09 09:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469914 -3.662368)'), GeomFromEWKT('SRID=4674;POINT (-38.469901 -3.662329)'))) / (select extract(epoch from '2026-07-09 09:06:58'::timestamp) - extract(epoch from '2026-07-09 09:06: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'), 47392, 'SRID=4674;POINT (-38.469901 -3.662281)', '2026-07-09 09:07:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469901 -3.662329)'), GeomFromEWKT('SRID=4674;POINT (-38.469901 -3.662281)'))) / (select extract(epoch from '2026-07-09 09:07:00'::timestamp) - extract(epoch from '2026-07-09 09:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469901 -3.662329)'), GeomFromEWKT('SRID=4674;POINT (-38.469901 -3.662281)'))) / (select extract(epoch from '2026-07-09 09:07:00'::timestamp) - extract(epoch from '2026-07-09 09:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.469884 -3.662238)', '2026-07-09 09:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469901 -3.662281)'), GeomFromEWKT('SRID=4674;POINT (-38.469884 -3.662238)'))) / (select extract(epoch from '2026-07-09 09:07:02'::timestamp) - extract(epoch from '2026-07-09 09:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469901 -3.662281)'), GeomFromEWKT('SRID=4674;POINT (-38.469884 -3.662238)'))) / (select extract(epoch from '2026-07-09 09:07:02'::timestamp) - extract(epoch from '2026-07-09 09:07:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.469852 -3.662111)', '2026-07-09 09:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469884 -3.662238)'), GeomFromEWKT('SRID=4674;POINT (-38.469852 -3.662111)'))) / (select extract(epoch from '2026-07-09 09:07:08'::timestamp) - extract(epoch from '2026-07-09 09:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469884 -3.662238)'), GeomFromEWKT('SRID=4674;POINT (-38.469852 -3.662111)'))) / (select extract(epoch from '2026-07-09 09:07:08'::timestamp) - extract(epoch from '2026-07-09 09:07: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'), 47392, 'SRID=4674;POINT (-38.469813 -3.661993)', '2026-07-09 09:07:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469852 -3.662111)'), GeomFromEWKT('SRID=4674;POINT (-38.469813 -3.661993)'))) / (select extract(epoch from '2026-07-09 09:07:14'::timestamp) - extract(epoch from '2026-07-09 09:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469852 -3.662111)'), GeomFromEWKT('SRID=4674;POINT (-38.469813 -3.661993)'))) / (select extract(epoch from '2026-07-09 09:07:14'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.469768 -3.661853)', '2026-07-09 09:07:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469813 -3.661993)'), GeomFromEWKT('SRID=4674;POINT (-38.469768 -3.661853)'))) / (select extract(epoch from '2026-07-09 09:07:22'::timestamp) - extract(epoch from '2026-07-09 09:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469813 -3.661993)'), GeomFromEWKT('SRID=4674;POINT (-38.469768 -3.661853)'))) / (select extract(epoch from '2026-07-09 09:07:22'::timestamp) - extract(epoch from '2026-07-09 09:07: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'), 47392, 'SRID=4674;POINT (-38.469751 -3.66176)', '2026-07-09 09:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469768 -3.661853)'), GeomFromEWKT('SRID=4674;POINT (-38.469751 -3.66176)'))) / (select extract(epoch from '2026-07-09 09:07:27'::timestamp) - extract(epoch from '2026-07-09 09:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469768 -3.661853)'), GeomFromEWKT('SRID=4674;POINT (-38.469751 -3.66176)'))) / (select extract(epoch from '2026-07-09 09:07:27'::timestamp) - extract(epoch from '2026-07-09 09:07: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'), 47392, 'SRID=4674;POINT (-38.46972 -3.661664)', '2026-07-09 09:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469751 -3.66176)'), GeomFromEWKT('SRID=4674;POINT (-38.46972 -3.661664)'))) / (select extract(epoch from '2026-07-09 09:07:32'::timestamp) - extract(epoch from '2026-07-09 09:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469751 -3.66176)'), GeomFromEWKT('SRID=4674;POINT (-38.46972 -3.661664)'))) / (select extract(epoch from '2026-07-09 09:07:32'::timestamp) - extract(epoch from '2026-07-09 09:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.469694 -3.661553)', '2026-07-09 09:07:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46972 -3.661664)'), GeomFromEWKT('SRID=4674;POINT (-38.469694 -3.661553)'))) / (select extract(epoch from '2026-07-09 09:07:38'::timestamp) - extract(epoch from '2026-07-09 09:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46972 -3.661664)'), GeomFromEWKT('SRID=4674;POINT (-38.469694 -3.661553)'))) / (select extract(epoch from '2026-07-09 09:07:38'::timestamp) - extract(epoch from '2026-07-09 09:07: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'), 47392, 'SRID=4674;POINT (-38.469663 -3.661454)', '2026-07-09 09:07:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469694 -3.661553)'), GeomFromEWKT('SRID=4674;POINT (-38.469663 -3.661454)'))) / (select extract(epoch from '2026-07-09 09:07:43'::timestamp) - extract(epoch from '2026-07-09 09:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469694 -3.661553)'), GeomFromEWKT('SRID=4674;POINT (-38.469663 -3.661454)'))) / (select extract(epoch from '2026-07-09 09:07:43'::timestamp) - extract(epoch from '2026-07-09 09:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.469627 -3.66135)', '2026-07-09 09:07:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469663 -3.661454)'), GeomFromEWKT('SRID=4674;POINT (-38.469627 -3.66135)'))) / (select extract(epoch from '2026-07-09 09:07:48'::timestamp) - extract(epoch from '2026-07-09 09:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469663 -3.661454)'), GeomFromEWKT('SRID=4674;POINT (-38.469627 -3.66135)'))) / (select extract(epoch from '2026-07-09 09:07:48'::timestamp) - extract(epoch from '2026-07-09 09:07: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'), 47392, 'SRID=4674;POINT (-38.4696 -3.661252)', '2026-07-09 09:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469627 -3.66135)'), GeomFromEWKT('SRID=4674;POINT (-38.4696 -3.661252)'))) / (select extract(epoch from '2026-07-09 09:07:53'::timestamp) - extract(epoch from '2026-07-09 09:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469627 -3.66135)'), GeomFromEWKT('SRID=4674;POINT (-38.4696 -3.661252)'))) / (select extract(epoch from '2026-07-09 09:07:53'::timestamp) - extract(epoch from '2026-07-09 09:07: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'), 47392, 'SRID=4674;POINT (-38.469556 -3.661135)', '2026-07-09 09:07:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4696 -3.661252)'), GeomFromEWKT('SRID=4674;POINT (-38.469556 -3.661135)'))) / (select extract(epoch from '2026-07-09 09:07:59'::timestamp) - extract(epoch from '2026-07-09 09:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4696 -3.661252)'), GeomFromEWKT('SRID=4674;POINT (-38.469556 -3.661135)'))) / (select extract(epoch from '2026-07-09 09:07:59'::timestamp) - extract(epoch from '2026-07-09 09:07: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'), 47392, 'SRID=4674;POINT (-38.469524 -3.661017)', '2026-07-09 09:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469556 -3.661135)'), GeomFromEWKT('SRID=4674;POINT (-38.469524 -3.661017)'))) / (select extract(epoch from '2026-07-09 09:08:05'::timestamp) - extract(epoch from '2026-07-09 09:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469556 -3.661135)'), GeomFromEWKT('SRID=4674;POINT (-38.469524 -3.661017)'))) / (select extract(epoch from '2026-07-09 09:08:05'::timestamp) - extract(epoch from '2026-07-09 09:07: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'), 47392, 'SRID=4674;POINT (-38.469476 -3.660867)', '2026-07-09 09:08:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469524 -3.661017)'), GeomFromEWKT('SRID=4674;POINT (-38.469476 -3.660867)'))) / (select extract(epoch from '2026-07-09 09:08:12'::timestamp) - extract(epoch from '2026-07-09 09:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469524 -3.661017)'), GeomFromEWKT('SRID=4674;POINT (-38.469476 -3.660867)'))) / (select extract(epoch from '2026-07-09 09:08:12'::timestamp) - extract(epoch from '2026-07-09 09:08:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.469423 -3.66072)', '2026-07-09 09:08:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469476 -3.660867)'), GeomFromEWKT('SRID=4674;POINT (-38.469423 -3.66072)'))) / (select extract(epoch from '2026-07-09 09:08:19'::timestamp) - extract(epoch from '2026-07-09 09:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469476 -3.660867)'), GeomFromEWKT('SRID=4674;POINT (-38.469423 -3.66072)'))) / (select extract(epoch from '2026-07-09 09:08:19'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.469367 -3.660577)', '2026-07-09 09:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469423 -3.66072)'), GeomFromEWKT('SRID=4674;POINT (-38.469367 -3.660577)'))) / (select extract(epoch from '2026-07-09 09:08:26'::timestamp) - extract(epoch from '2026-07-09 09:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469423 -3.66072)'), GeomFromEWKT('SRID=4674;POINT (-38.469367 -3.660577)'))) / (select extract(epoch from '2026-07-09 09:08:26'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.46932 -3.660429)', '2026-07-09 09:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469367 -3.660577)'), GeomFromEWKT('SRID=4674;POINT (-38.46932 -3.660429)'))) / (select extract(epoch from '2026-07-09 09:08:33'::timestamp) - extract(epoch from '2026-07-09 09:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469367 -3.660577)'), GeomFromEWKT('SRID=4674;POINT (-38.46932 -3.660429)'))) / (select extract(epoch from '2026-07-09 09:08:33'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.469263 -3.660284)', '2026-07-09 09:08:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46932 -3.660429)'), GeomFromEWKT('SRID=4674;POINT (-38.469263 -3.660284)'))) / (select extract(epoch from '2026-07-09 09:08:40'::timestamp) - extract(epoch from '2026-07-09 09:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46932 -3.660429)'), GeomFromEWKT('SRID=4674;POINT (-38.469263 -3.660284)'))) / (select extract(epoch from '2026-07-09 09:08:40'::timestamp) - extract(epoch from '2026-07-09 09:08: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'), 47392, 'SRID=4674;POINT (-38.46922 -3.66018)', '2026-07-09 09:08:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469263 -3.660284)'), GeomFromEWKT('SRID=4674;POINT (-38.46922 -3.66018)'))) / (select extract(epoch from '2026-07-09 09:08:45'::timestamp) - extract(epoch from '2026-07-09 09:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469263 -3.660284)'), GeomFromEWKT('SRID=4674;POINT (-38.46922 -3.66018)'))) / (select extract(epoch from '2026-07-09 09:08:45'::timestamp) - extract(epoch from '2026-07-09 09:08:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.469191 -3.66008)', '2026-07-09 09:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46922 -3.66018)'), GeomFromEWKT('SRID=4674;POINT (-38.469191 -3.66008)'))) / (select extract(epoch from '2026-07-09 09:08:50'::timestamp) - extract(epoch from '2026-07-09 09:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46922 -3.66018)'), GeomFromEWKT('SRID=4674;POINT (-38.469191 -3.66008)'))) / (select extract(epoch from '2026-07-09 09:08:50'::timestamp) - extract(epoch from '2026-07-09 09:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.469154 -3.659964)', '2026-07-09 09:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469191 -3.66008)'), GeomFromEWKT('SRID=4674;POINT (-38.469154 -3.659964)'))) / (select extract(epoch from '2026-07-09 09:08:56'::timestamp) - extract(epoch from '2026-07-09 09:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469191 -3.66008)'), GeomFromEWKT('SRID=4674;POINT (-38.469154 -3.659964)'))) / (select extract(epoch from '2026-07-09 09:08:56'::timestamp) - extract(epoch from '2026-07-09 09:08: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'), 47392, 'SRID=4674;POINT (-38.469115 -3.659859)', '2026-07-09 09:09:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469154 -3.659964)'), GeomFromEWKT('SRID=4674;POINT (-38.469115 -3.659859)'))) / (select extract(epoch from '2026-07-09 09:09:01'::timestamp) - extract(epoch from '2026-07-09 09:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469154 -3.659964)'), GeomFromEWKT('SRID=4674;POINT (-38.469115 -3.659859)'))) / (select extract(epoch from '2026-07-09 09:09:01'::timestamp) - extract(epoch from '2026-07-09 09:08: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'), 47392, 'SRID=4674;POINT (-38.469056 -3.659735)', '2026-07-09 09:09:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469115 -3.659859)'), GeomFromEWKT('SRID=4674;POINT (-38.469056 -3.659735)'))) / (select extract(epoch from '2026-07-09 09:09:07'::timestamp) - extract(epoch from '2026-07-09 09:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469115 -3.659859)'), GeomFromEWKT('SRID=4674;POINT (-38.469056 -3.659735)'))) / (select extract(epoch from '2026-07-09 09:09:07'::timestamp) - extract(epoch from '2026-07-09 09:09: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'), 47392, 'SRID=4674;POINT (-38.468998 -3.659615)', '2026-07-09 09:09:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469056 -3.659735)'), GeomFromEWKT('SRID=4674;POINT (-38.468998 -3.659615)'))) / (select extract(epoch from '2026-07-09 09:09:13'::timestamp) - extract(epoch from '2026-07-09 09:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469056 -3.659735)'), GeomFromEWKT('SRID=4674;POINT (-38.468998 -3.659615)'))) / (select extract(epoch from '2026-07-09 09:09:13'::timestamp) - extract(epoch from '2026-07-09 09:09: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'), 47392, 'SRID=4674;POINT (-38.468958 -3.65951)', '2026-07-09 09:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468998 -3.659615)'), GeomFromEWKT('SRID=4674;POINT (-38.468958 -3.65951)'))) / (select extract(epoch from '2026-07-09 09:09:18'::timestamp) - extract(epoch from '2026-07-09 09:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468998 -3.659615)'), GeomFromEWKT('SRID=4674;POINT (-38.468958 -3.65951)'))) / (select extract(epoch from '2026-07-09 09:09:18'::timestamp) - extract(epoch from '2026-07-09 09:09: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'), 47392, 'SRID=4674;POINT (-38.468899 -3.659393)', '2026-07-09 09:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468958 -3.65951)'), GeomFromEWKT('SRID=4674;POINT (-38.468899 -3.659393)'))) / (select extract(epoch from '2026-07-09 09:09:24'::timestamp) - extract(epoch from '2026-07-09 09:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468958 -3.65951)'), GeomFromEWKT('SRID=4674;POINT (-38.468899 -3.659393)'))) / (select extract(epoch from '2026-07-09 09:09:24'::timestamp) - extract(epoch from '2026-07-09 09:09: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'), 47392, 'SRID=4674;POINT (-38.46886 -3.659295)', '2026-07-09 09:09:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468899 -3.659393)'), GeomFromEWKT('SRID=4674;POINT (-38.46886 -3.659295)'))) / (select extract(epoch from '2026-07-09 09:09:29'::timestamp) - extract(epoch from '2026-07-09 09:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468899 -3.659393)'), GeomFromEWKT('SRID=4674;POINT (-38.46886 -3.659295)'))) / (select extract(epoch from '2026-07-09 09:09:29'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.468833 -3.659181)', '2026-07-09 09:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46886 -3.659295)'), GeomFromEWKT('SRID=4674;POINT (-38.468833 -3.659181)'))) / (select extract(epoch from '2026-07-09 09:09:35'::timestamp) - extract(epoch from '2026-07-09 09:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46886 -3.659295)'), GeomFromEWKT('SRID=4674;POINT (-38.468833 -3.659181)'))) / (select extract(epoch from '2026-07-09 09:09:35'::timestamp) - extract(epoch from '2026-07-09 09:09: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'), 47392, 'SRID=4674;POINT (-38.468808 -3.659076)', '2026-07-09 09:09:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468833 -3.659181)'), GeomFromEWKT('SRID=4674;POINT (-38.468808 -3.659076)'))) / (select extract(epoch from '2026-07-09 09:09:40'::timestamp) - extract(epoch from '2026-07-09 09:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468833 -3.659181)'), GeomFromEWKT('SRID=4674;POINT (-38.468808 -3.659076)'))) / (select extract(epoch from '2026-07-09 09:09:40'::timestamp) - extract(epoch from '2026-07-09 09:09: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'), 47392, 'SRID=4674;POINT (-38.468754 -3.658933)', '2026-07-09 09:09:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468808 -3.659076)'), GeomFromEWKT('SRID=4674;POINT (-38.468754 -3.658933)'))) / (select extract(epoch from '2026-07-09 09:09:47'::timestamp) - extract(epoch from '2026-07-09 09:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468808 -3.659076)'), GeomFromEWKT('SRID=4674;POINT (-38.468754 -3.658933)'))) / (select extract(epoch from '2026-07-09 09:09:47'::timestamp) - extract(epoch from '2026-07-09 09:09: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'), 47392, 'SRID=4674;POINT (-38.468717 -3.658777)', '2026-07-09 09:09:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468754 -3.658933)'), GeomFromEWKT('SRID=4674;POINT (-38.468717 -3.658777)'))) / (select extract(epoch from '2026-07-09 09:09:54'::timestamp) - extract(epoch from '2026-07-09 09:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468754 -3.658933)'), GeomFromEWKT('SRID=4674;POINT (-38.468717 -3.658777)'))) / (select extract(epoch from '2026-07-09 09:09:54'::timestamp) - extract(epoch from '2026-07-09 09:09: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'), 47392, 'SRID=4674;POINT (-38.468664 -3.658612)', '2026-07-09 09:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468717 -3.658777)'), GeomFromEWKT('SRID=4674;POINT (-38.468664 -3.658612)'))) / (select extract(epoch from '2026-07-09 09:10:01'::timestamp) - extract(epoch from '2026-07-09 09:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468717 -3.658777)'), GeomFromEWKT('SRID=4674;POINT (-38.468664 -3.658612)'))) / (select extract(epoch from '2026-07-09 09:10:01'::timestamp) - extract(epoch from '2026-07-09 09:09: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'), 47392, 'SRID=4674;POINT (-38.468623 -3.658495)', '2026-07-09 09:10:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468664 -3.658612)'), GeomFromEWKT('SRID=4674;POINT (-38.468623 -3.658495)'))) / (select extract(epoch from '2026-07-09 09:10:06'::timestamp) - extract(epoch from '2026-07-09 09:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468664 -3.658612)'), GeomFromEWKT('SRID=4674;POINT (-38.468623 -3.658495)'))) / (select extract(epoch from '2026-07-09 09:10:06'::timestamp) - extract(epoch from '2026-07-09 09:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47392, 'SRID=4674;POINT (-38.468577 -3.658385)', '2026-07-09 09:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468623 -3.658495)'), GeomFromEWKT('SRID=4674;POINT (-38.468577 -3.658385)'))) / (select extract(epoch from '2026-07-09 09:10:11'::timestamp) - extract(epoch from '2026-07-09 09:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468623 -3.658495)'), GeomFromEWKT('SRID=4674;POINT (-38.468577 -3.658385)'))) / (select extract(epoch from '2026-07-09 09:10:11'::timestamp) - extract(epoch from '2026-07-09 09:10: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'), 47392, 'SRID=4674;POINT (-38.468529 -3.658286)', '2026-07-09 09:10:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468577 -3.658385)'), GeomFromEWKT('SRID=4674;POINT (-38.468529 -3.658286)'))) / (select extract(epoch from '2026-07-09 09:10:16'::timestamp) - extract(epoch from '2026-07-09 09:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468577 -3.658385)'), GeomFromEWKT('SRID=4674;POINT (-38.468529 -3.658286)'))) / (select extract(epoch from '2026-07-09 09:10:16'::timestamp) - extract(epoch from '2026-07-09 09:10: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'), 47392, 'SRID=4674;POINT (-38.468468 -3.658142)', '2026-07-09 09:10:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468529 -3.658286)'), GeomFromEWKT('SRID=4674;POINT (-38.468468 -3.658142)'))) / (select extract(epoch from '2026-07-09 09:10:23'::timestamp) - extract(epoch from '2026-07-09 09:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468529 -3.658286)'), GeomFromEWKT('SRID=4674;POINT (-38.468468 -3.658142)'))) / (select extract(epoch from '2026-07-09 09:10:23'::timestamp) - extract(epoch from '2026-07-09 09: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'), 47392, 'SRID=4674;POINT (-38.468405 -3.658012)', '2026-07-09 09:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468468 -3.658142)'), GeomFromEWKT('SRID=4674;POINT (-38.468405 -3.658012)'))) / (select extract(epoch from '2026-07-09 09:10:30'::timestamp) - extract(epoch from '2026-07-09 09:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468468 -3.658142)'), GeomFromEWKT('SRID=4674;POINT (-38.468405 -3.658012)'))) / (select extract(epoch from '2026-07-09 09:10:30'::timestamp) - extract(epoch from '2026-07-09 09:10: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'), 47392, 'SRID=4674;POINT (-38.468361 -3.657893)', '2026-07-09 09:10:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468405 -3.658012)'), GeomFromEWKT('SRID=4674;POINT (-38.468361 -3.657893)'))) / (select extract(epoch from '2026-07-09 09:10:36'::timestamp) - extract(epoch from '2026-07-09 09:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468405 -3.658012)'), GeomFromEWKT('SRID=4674;POINT (-38.468361 -3.657893)'))) / (select extract(epoch from '2026-07-09 09:10:36'::timestamp) - extract(epoch from '2026-07-09 09:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
