 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749723 -3.349236)', '2026-07-17 14:12:34', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749707 -3.349241)'), GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.349236)'))) / (select extract(epoch from '2026-07-17 14:12:34'::timestamp) - extract(epoch from '2026-07-17 14:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749707 -3.349241)'), GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.349236)'))) / (select extract(epoch from '2026-07-17 14:12:34'::timestamp) - extract(epoch from '2026-07-17 14:11:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749728 -3.349239)', '2026-07-17 14:13:00', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.349236)'), GeomFromEWKT('SRID=4674;POINT (-38.749728 -3.349239)'))) / (select extract(epoch from '2026-07-17 14:13:00'::timestamp) - extract(epoch from '2026-07-17 14:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.349236)'), GeomFromEWKT('SRID=4674;POINT (-38.749728 -3.349239)'))) / (select extract(epoch from '2026-07-17 14:13:00'::timestamp) - extract(epoch from '2026-07-17 14:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.7497 -3.349223)', '2026-07-17 14:14:47', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749728 -3.349239)'), GeomFromEWKT('SRID=4674;POINT (-38.7497 -3.349223)'))) / (select extract(epoch from '2026-07-17 14:14:47'::timestamp) - extract(epoch from '2026-07-17 14:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749728 -3.349239)'), GeomFromEWKT('SRID=4674;POINT (-38.7497 -3.349223)'))) / (select extract(epoch from '2026-07-17 14:14:47'::timestamp) - extract(epoch from '2026-07-17 14:13: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'), 47317, 'SRID=4674;POINT (-38.749701 -3.349221)', '2026-07-17 14:15:17', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7497 -3.349223)'), GeomFromEWKT('SRID=4674;POINT (-38.749701 -3.349221)'))) / (select extract(epoch from '2026-07-17 14:15:17'::timestamp) - extract(epoch from '2026-07-17 14:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7497 -3.349223)'), GeomFromEWKT('SRID=4674;POINT (-38.749701 -3.349221)'))) / (select extract(epoch from '2026-07-17 14:15:17'::timestamp) - extract(epoch from '2026-07-17 14:14: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'), 47317, 'SRID=4674;POINT (-38.749704 -3.349206)', '2026-07-17 14:15:47', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749701 -3.349221)'), GeomFromEWKT('SRID=4674;POINT (-38.749704 -3.349206)'))) / (select extract(epoch from '2026-07-17 14:15:47'::timestamp) - extract(epoch from '2026-07-17 14:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749701 -3.349221)'), GeomFromEWKT('SRID=4674;POINT (-38.749704 -3.349206)'))) / (select extract(epoch from '2026-07-17 14:15:47'::timestamp) - extract(epoch from '2026-07-17 14:15: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'), 47317, 'SRID=4674;POINT (-38.749714 -3.349214)', '2026-07-17 14:16:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749704 -3.349206)'), GeomFromEWKT('SRID=4674;POINT (-38.749714 -3.349214)'))) / (select extract(epoch from '2026-07-17 14:16:27'::timestamp) - extract(epoch from '2026-07-17 14:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749704 -3.349206)'), GeomFromEWKT('SRID=4674;POINT (-38.749714 -3.349214)'))) / (select extract(epoch from '2026-07-17 14:16:27'::timestamp) - extract(epoch from '2026-07-17 14:15: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'), 47317, 'SRID=4674;POINT (-38.749703 -3.349208)', '2026-07-17 14:16:59', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749714 -3.349214)'), GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349208)'))) / (select extract(epoch from '2026-07-17 14:16:59'::timestamp) - extract(epoch from '2026-07-17 14:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749714 -3.349214)'), GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349208)'))) / (select extract(epoch from '2026-07-17 14:16:59'::timestamp) - extract(epoch from '2026-07-17 14:16: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'), 47317, 'SRID=4674;POINT (-38.749705 -3.349219)', '2026-07-17 14:17:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349208)'), GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349219)'))) / (select extract(epoch from '2026-07-17 14:17:28'::timestamp) - extract(epoch from '2026-07-17 14:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349208)'), GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349219)'))) / (select extract(epoch from '2026-07-17 14:17:28'::timestamp) - extract(epoch from '2026-07-17 14:16: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'), 47317, 'SRID=4674;POINT (-38.749696 -3.349229)', '2026-07-17 14:17:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349219)'), GeomFromEWKT('SRID=4674;POINT (-38.749696 -3.349229)'))) / (select extract(epoch from '2026-07-17 14:17:34'::timestamp) - extract(epoch from '2026-07-17 14:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349219)'), GeomFromEWKT('SRID=4674;POINT (-38.749696 -3.349229)'))) / (select extract(epoch from '2026-07-17 14:17:34'::timestamp) - extract(epoch from '2026-07-17 14:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749703 -3.349244)', '2026-07-17 14:17:59', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749696 -3.349229)'), GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349244)'))) / (select extract(epoch from '2026-07-17 14:17:59'::timestamp) - extract(epoch from '2026-07-17 14:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749696 -3.349229)'), GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349244)'))) / (select extract(epoch from '2026-07-17 14:17:59'::timestamp) - extract(epoch from '2026-07-17 14:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749704 -3.349238)', '2026-07-17 14:18:05', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349244)'), GeomFromEWKT('SRID=4674;POINT (-38.749704 -3.349238)'))) / (select extract(epoch from '2026-07-17 14:18:05'::timestamp) - extract(epoch from '2026-07-17 14:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349244)'), GeomFromEWKT('SRID=4674;POINT (-38.749704 -3.349238)'))) / (select extract(epoch from '2026-07-17 14:18:05'::timestamp) - extract(epoch from '2026-07-17 14:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.7497 -3.349245)', '2026-07-17 14:18:16', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749704 -3.349238)'), GeomFromEWKT('SRID=4674;POINT (-38.7497 -3.349245)'))) / (select extract(epoch from '2026-07-17 14:18:16'::timestamp) - extract(epoch from '2026-07-17 14:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749704 -3.349238)'), GeomFromEWKT('SRID=4674;POINT (-38.7497 -3.349245)'))) / (select extract(epoch from '2026-07-17 14:18:16'::timestamp) - extract(epoch from '2026-07-17 14:18: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'), 47317, 'SRID=4674;POINT (-38.749703 -3.349247)', '2026-07-17 14:18:26', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7497 -3.349245)'), GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349247)'))) / (select extract(epoch from '2026-07-17 14:18:26'::timestamp) - extract(epoch from '2026-07-17 14:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7497 -3.349245)'), GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349247)'))) / (select extract(epoch from '2026-07-17 14:18:26'::timestamp) - extract(epoch from '2026-07-17 14:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749695 -3.349246)', '2026-07-17 14:18:46', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349247)'), GeomFromEWKT('SRID=4674;POINT (-38.749695 -3.349246)'))) / (select extract(epoch from '2026-07-17 14:18:46'::timestamp) - extract(epoch from '2026-07-17 14:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749703 -3.349247)'), GeomFromEWKT('SRID=4674;POINT (-38.749695 -3.349246)'))) / (select extract(epoch from '2026-07-17 14:18:46'::timestamp) - extract(epoch from '2026-07-17 14:18: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'), 47317, 'SRID=4674;POINT (-38.749709 -3.349268)', '2026-07-17 14:19:16', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749695 -3.349246)'), GeomFromEWKT('SRID=4674;POINT (-38.749709 -3.349268)'))) / (select extract(epoch from '2026-07-17 14:19:16'::timestamp) - extract(epoch from '2026-07-17 14:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749695 -3.349246)'), GeomFromEWKT('SRID=4674;POINT (-38.749709 -3.349268)'))) / (select extract(epoch from '2026-07-17 14:19:16'::timestamp) - extract(epoch from '2026-07-17 14:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749702 -3.349266)', '2026-07-17 14:19:19', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749709 -3.349268)'), GeomFromEWKT('SRID=4674;POINT (-38.749702 -3.349266)'))) / (select extract(epoch from '2026-07-17 14:19:19'::timestamp) - extract(epoch from '2026-07-17 14:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749709 -3.349268)'), GeomFromEWKT('SRID=4674;POINT (-38.749702 -3.349266)'))) / (select extract(epoch from '2026-07-17 14:19:19'::timestamp) - extract(epoch from '2026-07-17 14:19: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'), 47317, 'SRID=4674;POINT (-38.749706 -3.349255)', '2026-07-17 14:19:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749702 -3.349266)'), GeomFromEWKT('SRID=4674;POINT (-38.749706 -3.349255)'))) / (select extract(epoch from '2026-07-17 14:19:28'::timestamp) - extract(epoch from '2026-07-17 14:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749702 -3.349266)'), GeomFromEWKT('SRID=4674;POINT (-38.749706 -3.349255)'))) / (select extract(epoch from '2026-07-17 14:19:28'::timestamp) - extract(epoch from '2026-07-17 14:19: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'), 47317, 'SRID=4674;POINT (-38.749721 -3.349244)', '2026-07-17 14:20:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749706 -3.349255)'), GeomFromEWKT('SRID=4674;POINT (-38.749721 -3.349244)'))) / (select extract(epoch from '2026-07-17 14:20:48'::timestamp) - extract(epoch from '2026-07-17 14:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749706 -3.349255)'), GeomFromEWKT('SRID=4674;POINT (-38.749721 -3.349244)'))) / (select extract(epoch from '2026-07-17 14:20:48'::timestamp) - extract(epoch from '2026-07-17 14:19: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'), 47317, 'SRID=4674;POINT (-38.749729 -3.349233)', '2026-07-17 14:21:12', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749721 -3.349244)'), GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349233)'))) / (select extract(epoch from '2026-07-17 14:21:12'::timestamp) - extract(epoch from '2026-07-17 14:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749721 -3.349244)'), GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349233)'))) / (select extract(epoch from '2026-07-17 14:21:12'::timestamp) - extract(epoch from '2026-07-17 14:20: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'), 47317, 'SRID=4674;POINT (-38.749726 -3.34924)', '2026-07-17 14:21:55', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349233)'), GeomFromEWKT('SRID=4674;POINT (-38.749726 -3.34924)'))) / (select extract(epoch from '2026-07-17 14:21:55'::timestamp) - extract(epoch from '2026-07-17 14:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349233)'), GeomFromEWKT('SRID=4674;POINT (-38.749726 -3.34924)'))) / (select extract(epoch from '2026-07-17 14:21:55'::timestamp) - extract(epoch from '2026-07-17 14:21: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'), 47317, 'SRID=4674;POINT (-38.749724 -3.349256)', '2026-07-17 14:22:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749726 -3.34924)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349256)'))) / (select extract(epoch from '2026-07-17 14:22:57'::timestamp) - extract(epoch from '2026-07-17 14:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749726 -3.34924)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349256)'))) / (select extract(epoch from '2026-07-17 14:22:57'::timestamp) - extract(epoch from '2026-07-17 14:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749717 -3.34925)', '2026-07-17 14:23:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349256)'), GeomFromEWKT('SRID=4674;POINT (-38.749717 -3.34925)'))) / (select extract(epoch from '2026-07-17 14:23:50'::timestamp) - extract(epoch from '2026-07-17 14:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349256)'), GeomFromEWKT('SRID=4674;POINT (-38.749717 -3.34925)'))) / (select extract(epoch from '2026-07-17 14:23:50'::timestamp) - extract(epoch from '2026-07-17 14:22: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'), 47317, 'SRID=4674;POINT (-38.749724 -3.349248)', '2026-07-17 14:24:17', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749717 -3.34925)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349248)'))) / (select extract(epoch from '2026-07-17 14:24:17'::timestamp) - extract(epoch from '2026-07-17 14:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749717 -3.34925)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349248)'))) / (select extract(epoch from '2026-07-17 14:24:17'::timestamp) - extract(epoch from '2026-07-17 14:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749731 -3.349258)', '2026-07-17 14:24:44', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349248)'), GeomFromEWKT('SRID=4674;POINT (-38.749731 -3.349258)'))) / (select extract(epoch from '2026-07-17 14:24:44'::timestamp) - extract(epoch from '2026-07-17 14:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349248)'), GeomFromEWKT('SRID=4674;POINT (-38.749731 -3.349258)'))) / (select extract(epoch from '2026-07-17 14:24:44'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47317, 'SRID=4674;POINT (-38.749729 -3.349247)', '2026-07-17 14:24:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749731 -3.349258)'), GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349247)'))) / (select extract(epoch from '2026-07-17 14:24:57'::timestamp) - extract(epoch from '2026-07-17 14:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749731 -3.349258)'), GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349247)'))) / (select extract(epoch from '2026-07-17 14:24:57'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47317, 'SRID=4674;POINT (-38.749723 -3.349247)', '2026-07-17 14:25:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349247)'), GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.349247)'))) / (select extract(epoch from '2026-07-17 14:25:12'::timestamp) - extract(epoch from '2026-07-17 14:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349247)'), GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.349247)'))) / (select extract(epoch from '2026-07-17 14:25:12'::timestamp) - extract(epoch from '2026-07-17 14:24: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'), 47317, 'SRID=4674;POINT (-38.749732 -3.349251)', '2026-07-17 14:25:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.349247)'), GeomFromEWKT('SRID=4674;POINT (-38.749732 -3.349251)'))) / (select extract(epoch from '2026-07-17 14:25:31'::timestamp) - extract(epoch from '2026-07-17 14:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.349247)'), GeomFromEWKT('SRID=4674;POINT (-38.749732 -3.349251)'))) / (select extract(epoch from '2026-07-17 14:25:31'::timestamp) - extract(epoch from '2026-07-17 14:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749737 -3.349251)', '2026-07-17 14:25:36', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749732 -3.349251)'), GeomFromEWKT('SRID=4674;POINT (-38.749737 -3.349251)'))) / (select extract(epoch from '2026-07-17 14:25:36'::timestamp) - extract(epoch from '2026-07-17 14:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749732 -3.349251)'), GeomFromEWKT('SRID=4674;POINT (-38.749737 -3.349251)'))) / (select extract(epoch from '2026-07-17 14:25:36'::timestamp) - extract(epoch from '2026-07-17 14:25: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'), 47317, 'SRID=4674;POINT (-38.749741 -3.349255)', '2026-07-17 14:25:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749737 -3.349251)'), GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349255)'))) / (select extract(epoch from '2026-07-17 14:25:38'::timestamp) - extract(epoch from '2026-07-17 14:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749737 -3.349251)'), GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349255)'))) / (select extract(epoch from '2026-07-17 14:25:38'::timestamp) - extract(epoch from '2026-07-17 14:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.74974 -3.349256)', '2026-07-17 14:25:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349255)'), GeomFromEWKT('SRID=4674;POINT (-38.74974 -3.349256)'))) / (select extract(epoch from '2026-07-17 14:25:51'::timestamp) - extract(epoch from '2026-07-17 14:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349255)'), GeomFromEWKT('SRID=4674;POINT (-38.74974 -3.349256)'))) / (select extract(epoch from '2026-07-17 14:25:51'::timestamp) - extract(epoch from '2026-07-17 14:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749744 -3.349262)', '2026-07-17 14:26:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74974 -3.349256)'), GeomFromEWKT('SRID=4674;POINT (-38.749744 -3.349262)'))) / (select extract(epoch from '2026-07-17 14:26:01'::timestamp) - extract(epoch from '2026-07-17 14:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74974 -3.349256)'), GeomFromEWKT('SRID=4674;POINT (-38.749744 -3.349262)'))) / (select extract(epoch from '2026-07-17 14:26:01'::timestamp) - extract(epoch from '2026-07-17 14:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749722 -3.349254)', '2026-07-17 14:26:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749744 -3.349262)'), GeomFromEWKT('SRID=4674;POINT (-38.749722 -3.349254)'))) / (select extract(epoch from '2026-07-17 14:26:20'::timestamp) - extract(epoch from '2026-07-17 14:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749744 -3.349262)'), GeomFromEWKT('SRID=4674;POINT (-38.749722 -3.349254)'))) / (select extract(epoch from '2026-07-17 14:26:20'::timestamp) - extract(epoch from '2026-07-17 14:26: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'), 47317, 'SRID=4674;POINT (-38.74972 -3.34926)', '2026-07-17 14:27:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749722 -3.349254)'), GeomFromEWKT('SRID=4674;POINT (-38.74972 -3.34926)'))) / (select extract(epoch from '2026-07-17 14:27:58'::timestamp) - extract(epoch from '2026-07-17 14:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749722 -3.349254)'), GeomFromEWKT('SRID=4674;POINT (-38.74972 -3.34926)'))) / (select extract(epoch from '2026-07-17 14:27:58'::timestamp) - extract(epoch from '2026-07-17 14:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749724 -3.349284)', '2026-07-17 14:29:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74972 -3.34926)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349284)'))) / (select extract(epoch from '2026-07-17 14:29:58'::timestamp) - extract(epoch from '2026-07-17 14:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74972 -3.34926)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349284)'))) / (select extract(epoch from '2026-07-17 14:29:58'::timestamp) - extract(epoch from '2026-07-17 14:27: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'), 47317, 'SRID=4674;POINT (-38.749712 -3.349278)', '2026-07-17 14:32:44', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349284)'), GeomFromEWKT('SRID=4674;POINT (-38.749712 -3.349278)'))) / (select extract(epoch from '2026-07-17 14:32:44'::timestamp) - extract(epoch from '2026-07-17 14:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349284)'), GeomFromEWKT('SRID=4674;POINT (-38.749712 -3.349278)'))) / (select extract(epoch from '2026-07-17 14:32:44'::timestamp) - extract(epoch from '2026-07-17 14:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749705 -3.349276)', '2026-07-17 14:32:54', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749712 -3.349278)'), GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349276)'))) / (select extract(epoch from '2026-07-17 14:32:54'::timestamp) - extract(epoch from '2026-07-17 14:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749712 -3.349278)'), GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349276)'))) / (select extract(epoch from '2026-07-17 14:32:54'::timestamp) - extract(epoch from '2026-07-17 14:32: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'), 47317, 'SRID=4674;POINT (-38.749691 -3.349278)', '2026-07-17 14:33:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349276)'), GeomFromEWKT('SRID=4674;POINT (-38.749691 -3.349278)'))) / (select extract(epoch from '2026-07-17 14:33:36'::timestamp) - extract(epoch from '2026-07-17 14:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349276)'), GeomFromEWKT('SRID=4674;POINT (-38.749691 -3.349278)'))) / (select extract(epoch from '2026-07-17 14:33:36'::timestamp) - extract(epoch from '2026-07-17 14:32: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'), 47317, 'SRID=4674;POINT (-38.749685 -3.349278)', '2026-07-17 14:33:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749691 -3.349278)'), GeomFromEWKT('SRID=4674;POINT (-38.749685 -3.349278)'))) / (select extract(epoch from '2026-07-17 14:33:51'::timestamp) - extract(epoch from '2026-07-17 14:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749691 -3.349278)'), GeomFromEWKT('SRID=4674;POINT (-38.749685 -3.349278)'))) / (select extract(epoch from '2026-07-17 14:33:51'::timestamp) - extract(epoch from '2026-07-17 14:33: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'), 47317, 'SRID=4674;POINT (-38.749689 -3.34927)', '2026-07-17 14:35:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749685 -3.349278)'), GeomFromEWKT('SRID=4674;POINT (-38.749689 -3.34927)'))) / (select extract(epoch from '2026-07-17 14:35:29'::timestamp) - extract(epoch from '2026-07-17 14:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749685 -3.349278)'), GeomFromEWKT('SRID=4674;POINT (-38.749689 -3.34927)'))) / (select extract(epoch from '2026-07-17 14:35:29'::timestamp) - extract(epoch from '2026-07-17 14:33:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749705 -3.349255)', '2026-07-17 14:37:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749689 -3.34927)'), GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349255)'))) / (select extract(epoch from '2026-07-17 14:37:17'::timestamp) - extract(epoch from '2026-07-17 14:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749689 -3.34927)'), GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349255)'))) / (select extract(epoch from '2026-07-17 14:37:17'::timestamp) - extract(epoch from '2026-07-17 14:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749717 -3.34926)', '2026-07-17 14:37:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349255)'), GeomFromEWKT('SRID=4674;POINT (-38.749717 -3.34926)'))) / (select extract(epoch from '2026-07-17 14:37:44'::timestamp) - extract(epoch from '2026-07-17 14:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349255)'), GeomFromEWKT('SRID=4674;POINT (-38.749717 -3.34926)'))) / (select extract(epoch from '2026-07-17 14:37:44'::timestamp) - extract(epoch from '2026-07-17 14:37: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'), 47317, 'SRID=4674;POINT (-38.749725 -3.349261)', '2026-07-17 14:37:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749717 -3.34926)'), GeomFromEWKT('SRID=4674;POINT (-38.749725 -3.349261)'))) / (select extract(epoch from '2026-07-17 14:37:50'::timestamp) - extract(epoch from '2026-07-17 14:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749717 -3.34926)'), GeomFromEWKT('SRID=4674;POINT (-38.749725 -3.349261)'))) / (select extract(epoch from '2026-07-17 14:37:50'::timestamp) - extract(epoch from '2026-07-17 14:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749724 -3.349274)', '2026-07-17 14:38:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749725 -3.349261)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349274)'))) / (select extract(epoch from '2026-07-17 14:38:24'::timestamp) - extract(epoch from '2026-07-17 14:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749725 -3.349261)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349274)'))) / (select extract(epoch from '2026-07-17 14:38:24'::timestamp) - extract(epoch from '2026-07-17 14:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.74972 -3.349289)', '2026-07-17 14:39:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349274)'), GeomFromEWKT('SRID=4674;POINT (-38.74972 -3.349289)'))) / (select extract(epoch from '2026-07-17 14:39:57'::timestamp) - extract(epoch from '2026-07-17 14:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349274)'), GeomFromEWKT('SRID=4674;POINT (-38.74972 -3.349289)'))) / (select extract(epoch from '2026-07-17 14:39:57'::timestamp) - extract(epoch from '2026-07-17 14:38: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'), 47317, 'SRID=4674;POINT (-38.74971 -3.349298)', '2026-07-17 14:40:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74972 -3.349289)'), GeomFromEWKT('SRID=4674;POINT (-38.74971 -3.349298)'))) / (select extract(epoch from '2026-07-17 14:40:20'::timestamp) - extract(epoch from '2026-07-17 14:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74972 -3.349289)'), GeomFromEWKT('SRID=4674;POINT (-38.74971 -3.349298)'))) / (select extract(epoch from '2026-07-17 14:40:20'::timestamp) - extract(epoch from '2026-07-17 14:39: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'), 47317, 'SRID=4674;POINT (-38.749707 -3.349302)', '2026-07-17 14:40:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74971 -3.349298)'), GeomFromEWKT('SRID=4674;POINT (-38.749707 -3.349302)'))) / (select extract(epoch from '2026-07-17 14:40:35'::timestamp) - extract(epoch from '2026-07-17 14:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74971 -3.349298)'), GeomFromEWKT('SRID=4674;POINT (-38.749707 -3.349302)'))) / (select extract(epoch from '2026-07-17 14:40:35'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47317, 'SRID=4674;POINT (-38.749712 -3.349301)', '2026-07-17 14:40:45', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749707 -3.349302)'), GeomFromEWKT('SRID=4674;POINT (-38.749712 -3.349301)'))) / (select extract(epoch from '2026-07-17 14:40:45'::timestamp) - extract(epoch from '2026-07-17 14:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749707 -3.349302)'), GeomFromEWKT('SRID=4674;POINT (-38.749712 -3.349301)'))) / (select extract(epoch from '2026-07-17 14:40:45'::timestamp) - extract(epoch from '2026-07-17 14:40:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749697 -3.34934)', '2026-07-17 14:43:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749712 -3.349301)'), GeomFromEWKT('SRID=4674;POINT (-38.749697 -3.34934)'))) / (select extract(epoch from '2026-07-17 14:43:39'::timestamp) - extract(epoch from '2026-07-17 14:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749712 -3.349301)'), GeomFromEWKT('SRID=4674;POINT (-38.749697 -3.34934)'))) / (select extract(epoch from '2026-07-17 14:43:39'::timestamp) - extract(epoch from '2026-07-17 14:40: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'), 47317, 'SRID=4674;POINT (-38.749702 -3.349347)', '2026-07-17 14:44:04', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749697 -3.34934)'), GeomFromEWKT('SRID=4674;POINT (-38.749702 -3.349347)'))) / (select extract(epoch from '2026-07-17 14:44:04'::timestamp) - extract(epoch from '2026-07-17 14:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749697 -3.34934)'), GeomFromEWKT('SRID=4674;POINT (-38.749702 -3.349347)'))) / (select extract(epoch from '2026-07-17 14:44:04'::timestamp) - extract(epoch from '2026-07-17 14:43: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'), 47317, 'SRID=4674;POINT (-38.749721 -3.349342)', '2026-07-17 14:45:09', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749702 -3.349347)'), GeomFromEWKT('SRID=4674;POINT (-38.749721 -3.349342)'))) / (select extract(epoch from '2026-07-17 14:45:09'::timestamp) - extract(epoch from '2026-07-17 14:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749702 -3.349347)'), GeomFromEWKT('SRID=4674;POINT (-38.749721 -3.349342)'))) / (select extract(epoch from '2026-07-17 14:45:09'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47317, 'SRID=4674;POINT (-38.74971 -3.349332)', '2026-07-17 14:46:02', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749721 -3.349342)'), GeomFromEWKT('SRID=4674;POINT (-38.74971 -3.349332)'))) / (select extract(epoch from '2026-07-17 14:46:02'::timestamp) - extract(epoch from '2026-07-17 14:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749721 -3.349342)'), GeomFromEWKT('SRID=4674;POINT (-38.74971 -3.349332)'))) / (select extract(epoch from '2026-07-17 14:46:02'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47317, 'SRID=4674;POINT (-38.749713 -3.349324)', '2026-07-17 14:46:49', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74971 -3.349332)'), GeomFromEWKT('SRID=4674;POINT (-38.749713 -3.349324)'))) / (select extract(epoch from '2026-07-17 14:46:49'::timestamp) - extract(epoch from '2026-07-17 14:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74971 -3.349332)'), GeomFromEWKT('SRID=4674;POINT (-38.749713 -3.349324)'))) / (select extract(epoch from '2026-07-17 14:46:49'::timestamp) - extract(epoch from '2026-07-17 14:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749705 -3.349338)', '2026-07-17 14:49:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749713 -3.349324)'), GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349338)'))) / (select extract(epoch from '2026-07-17 14:49:00'::timestamp) - extract(epoch from '2026-07-17 14:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749713 -3.349324)'), GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349338)'))) / (select extract(epoch from '2026-07-17 14:49:00'::timestamp) - extract(epoch from '2026-07-17 14:46: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'), 47317, 'SRID=4674;POINT (-38.749706 -3.349346)', '2026-07-17 14:49:22', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349338)'), GeomFromEWKT('SRID=4674;POINT (-38.749706 -3.349346)'))) / (select extract(epoch from '2026-07-17 14:49:22'::timestamp) - extract(epoch from '2026-07-17 14:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749705 -3.349338)'), GeomFromEWKT('SRID=4674;POINT (-38.749706 -3.349346)'))) / (select extract(epoch from '2026-07-17 14:49:22'::timestamp) - extract(epoch from '2026-07-17 14:49:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749709 -3.349341)', '2026-07-17 14:49:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749706 -3.349346)'), GeomFromEWKT('SRID=4674;POINT (-38.749709 -3.349341)'))) / (select extract(epoch from '2026-07-17 14:49:30'::timestamp) - extract(epoch from '2026-07-17 14:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749706 -3.349346)'), GeomFromEWKT('SRID=4674;POINT (-38.749709 -3.349341)'))) / (select extract(epoch from '2026-07-17 14:49:30'::timestamp) - extract(epoch from '2026-07-17 14:49: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'), 47317, 'SRID=4674;POINT (-38.749736 -3.349324)', '2026-07-17 14:50:36', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749709 -3.349341)'), GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.349324)'))) / (select extract(epoch from '2026-07-17 14:50:36'::timestamp) - extract(epoch from '2026-07-17 14:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749709 -3.349341)'), GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.349324)'))) / (select extract(epoch from '2026-07-17 14:50:36'::timestamp) - extract(epoch from '2026-07-17 14:49:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749734 -3.349331)', '2026-07-17 14:50:48', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.349324)'), GeomFromEWKT('SRID=4674;POINT (-38.749734 -3.349331)'))) / (select extract(epoch from '2026-07-17 14:50:48'::timestamp) - extract(epoch from '2026-07-17 14:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.349324)'), GeomFromEWKT('SRID=4674;POINT (-38.749734 -3.349331)'))) / (select extract(epoch from '2026-07-17 14:50:48'::timestamp) - extract(epoch from '2026-07-17 14:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749741 -3.349328)', '2026-07-17 14:51:14', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749734 -3.349331)'), GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349328)'))) / (select extract(epoch from '2026-07-17 14:51:14'::timestamp) - extract(epoch from '2026-07-17 14:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749734 -3.349331)'), GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349328)'))) / (select extract(epoch from '2026-07-17 14:51:14'::timestamp) - extract(epoch from '2026-07-17 14:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749741 -3.349329)', '2026-07-17 14:51:34', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349328)'), GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349329)'))) / (select extract(epoch from '2026-07-17 14:51:34'::timestamp) - extract(epoch from '2026-07-17 14:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349328)'), GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349329)'))) / (select extract(epoch from '2026-07-17 14:51:34'::timestamp) - extract(epoch from '2026-07-17 14:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.74973 -3.349359)', '2026-07-17 14:53:58', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349329)'), GeomFromEWKT('SRID=4674;POINT (-38.74973 -3.349359)'))) / (select extract(epoch from '2026-07-17 14:53:58'::timestamp) - extract(epoch from '2026-07-17 14:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349329)'), GeomFromEWKT('SRID=4674;POINT (-38.74973 -3.349359)'))) / (select extract(epoch from '2026-07-17 14:53:58'::timestamp) - extract(epoch from '2026-07-17 14:51: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'), 47317, 'SRID=4674;POINT (-38.749736 -3.34937)', '2026-07-17 14:54:34', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74973 -3.349359)'), GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.34937)'))) / (select extract(epoch from '2026-07-17 14:54:34'::timestamp) - extract(epoch from '2026-07-17 14:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74973 -3.349359)'), GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.34937)'))) / (select extract(epoch from '2026-07-17 14:54:34'::timestamp) - extract(epoch from '2026-07-17 14:53:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749742 -3.349356)', '2026-07-17 14:55:22', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.34937)'), GeomFromEWKT('SRID=4674;POINT (-38.749742 -3.349356)'))) / (select extract(epoch from '2026-07-17 14:55:22'::timestamp) - extract(epoch from '2026-07-17 14:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.34937)'), GeomFromEWKT('SRID=4674;POINT (-38.749742 -3.349356)'))) / (select extract(epoch from '2026-07-17 14:55:22'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47317, 'SRID=4674;POINT (-38.749741 -3.349358)', '2026-07-17 14:55:40', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749742 -3.349356)'), GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349358)'))) / (select extract(epoch from '2026-07-17 14:55:40'::timestamp) - extract(epoch from '2026-07-17 14:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749742 -3.349356)'), GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349358)'))) / (select extract(epoch from '2026-07-17 14:55:40'::timestamp) - extract(epoch from '2026-07-17 14:55: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'), 47317, 'SRID=4674;POINT (-38.749738 -3.349352)', '2026-07-17 14:55:52', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349358)'), GeomFromEWKT('SRID=4674;POINT (-38.749738 -3.349352)'))) / (select extract(epoch from '2026-07-17 14:55:52'::timestamp) - extract(epoch from '2026-07-17 14:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349358)'), GeomFromEWKT('SRID=4674;POINT (-38.749738 -3.349352)'))) / (select extract(epoch from '2026-07-17 14:55:52'::timestamp) - extract(epoch from '2026-07-17 14:55: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'), 47317, 'SRID=4674;POINT (-38.749729 -3.34934)', '2026-07-17 14:58:12', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749738 -3.349352)'), GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.34934)'))) / (select extract(epoch from '2026-07-17 14:58:12'::timestamp) - extract(epoch from '2026-07-17 14:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749738 -3.349352)'), GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.34934)'))) / (select extract(epoch from '2026-07-17 14:58:12'::timestamp) - extract(epoch from '2026-07-17 14:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749735 -3.349341)', '2026-07-17 14:58:41', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.34934)'), GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.349341)'))) / (select extract(epoch from '2026-07-17 14:58:41'::timestamp) - extract(epoch from '2026-07-17 14:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.34934)'), GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.349341)'))) / (select extract(epoch from '2026-07-17 14:58:41'::timestamp) - extract(epoch from '2026-07-17 14:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749729 -3.349349)', '2026-07-17 14:59:09', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.349341)'), GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349349)'))) / (select extract(epoch from '2026-07-17 14:59:09'::timestamp) - extract(epoch from '2026-07-17 14:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.349341)'), GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349349)'))) / (select extract(epoch from '2026-07-17 14:59:09'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47317, 'SRID=4674;POINT (-38.749731 -3.349368)', '2026-07-17 15:00:04', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349349)'), GeomFromEWKT('SRID=4674;POINT (-38.749731 -3.349368)'))) / (select extract(epoch from '2026-07-17 15:00:04'::timestamp) - extract(epoch from '2026-07-17 14:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749729 -3.349349)'), GeomFromEWKT('SRID=4674;POINT (-38.749731 -3.349368)'))) / (select extract(epoch from '2026-07-17 15:00:04'::timestamp) - extract(epoch from '2026-07-17 14:59: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'), 47317, 'SRID=4674;POINT (-38.749725 -3.349375)', '2026-07-17 15:00:52', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749731 -3.349368)'), GeomFromEWKT('SRID=4674;POINT (-38.749725 -3.349375)'))) / (select extract(epoch from '2026-07-17 15:00:52'::timestamp) - extract(epoch from '2026-07-17 15:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749731 -3.349368)'), GeomFromEWKT('SRID=4674;POINT (-38.749725 -3.349375)'))) / (select extract(epoch from '2026-07-17 15:00:52'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.749722 -3.349369)', '2026-07-17 15:01:08', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749725 -3.349375)'), GeomFromEWKT('SRID=4674;POINT (-38.749722 -3.349369)'))) / (select extract(epoch from '2026-07-17 15:01:08'::timestamp) - extract(epoch from '2026-07-17 15:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749725 -3.349375)'), GeomFromEWKT('SRID=4674;POINT (-38.749722 -3.349369)'))) / (select extract(epoch from '2026-07-17 15:01:08'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.749724 -3.349366)', '2026-07-17 15:01:20', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749722 -3.349369)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349366)'))) / (select extract(epoch from '2026-07-17 15:01:20'::timestamp) - extract(epoch from '2026-07-17 15:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749722 -3.349369)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349366)'))) / (select extract(epoch from '2026-07-17 15:01:20'::timestamp) - extract(epoch from '2026-07-17 15:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749719 -3.349365)', '2026-07-17 15:01:43', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349366)'), GeomFromEWKT('SRID=4674;POINT (-38.749719 -3.349365)'))) / (select extract(epoch from '2026-07-17 15:01:43'::timestamp) - extract(epoch from '2026-07-17 15:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349366)'), GeomFromEWKT('SRID=4674;POINT (-38.749719 -3.349365)'))) / (select extract(epoch from '2026-07-17 15:01:43'::timestamp) - extract(epoch from '2026-07-17 15:01: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'), 47317, 'SRID=4674;POINT (-38.749716 -3.349363)', '2026-07-17 15:01:52', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749719 -3.349365)'), GeomFromEWKT('SRID=4674;POINT (-38.749716 -3.349363)'))) / (select extract(epoch from '2026-07-17 15:01:52'::timestamp) - extract(epoch from '2026-07-17 15:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749719 -3.349365)'), GeomFromEWKT('SRID=4674;POINT (-38.749716 -3.349363)'))) / (select extract(epoch from '2026-07-17 15:01:52'::timestamp) - extract(epoch from '2026-07-17 15:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749718 -3.349359)', '2026-07-17 15:01:54', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749716 -3.349363)'), GeomFromEWKT('SRID=4674;POINT (-38.749718 -3.349359)'))) / (select extract(epoch from '2026-07-17 15:01:54'::timestamp) - extract(epoch from '2026-07-17 15:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749716 -3.349363)'), GeomFromEWKT('SRID=4674;POINT (-38.749718 -3.349359)'))) / (select extract(epoch from '2026-07-17 15:01:54'::timestamp) - extract(epoch from '2026-07-17 15:01: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'), 47317, 'SRID=4674;POINT (-38.749723 -3.34936)', '2026-07-17 15:01:57', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749718 -3.349359)'), GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.34936)'))) / (select extract(epoch from '2026-07-17 15:01:57'::timestamp) - extract(epoch from '2026-07-17 15:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749718 -3.349359)'), GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.34936)'))) / (select extract(epoch from '2026-07-17 15:01:57'::timestamp) - extract(epoch from '2026-07-17 15:01:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749724 -3.349349)', '2026-07-17 15:02:32', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.34936)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349349)'))) / (select extract(epoch from '2026-07-17 15:02:32'::timestamp) - extract(epoch from '2026-07-17 15:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749723 -3.34936)'), GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349349)'))) / (select extract(epoch from '2026-07-17 15:02:32'::timestamp) - extract(epoch from '2026-07-17 15:01: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'), 47317, 'SRID=4674;POINT (-38.749746 -3.349362)', '2026-07-17 15:05:35', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349349)'), GeomFromEWKT('SRID=4674;POINT (-38.749746 -3.349362)'))) / (select extract(epoch from '2026-07-17 15:05:35'::timestamp) - extract(epoch from '2026-07-17 15:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749724 -3.349349)'), GeomFromEWKT('SRID=4674;POINT (-38.749746 -3.349362)'))) / (select extract(epoch from '2026-07-17 15:05:35'::timestamp) - extract(epoch from '2026-07-17 15:02: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'), 47317, 'SRID=4674;POINT (-38.749734 -3.349385)', '2026-07-17 15:07:45', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749746 -3.349362)'), GeomFromEWKT('SRID=4674;POINT (-38.749734 -3.349385)'))) / (select extract(epoch from '2026-07-17 15:07:45'::timestamp) - extract(epoch from '2026-07-17 15:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749746 -3.349362)'), GeomFromEWKT('SRID=4674;POINT (-38.749734 -3.349385)'))) / (select extract(epoch from '2026-07-17 15:07:45'::timestamp) - extract(epoch from '2026-07-17 15:05:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749741 -3.349398)', '2026-07-17 15:08:11', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749734 -3.349385)'), GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349398)'))) / (select extract(epoch from '2026-07-17 15:08:11'::timestamp) - extract(epoch from '2026-07-17 15:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749734 -3.349385)'), GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349398)'))) / (select extract(epoch from '2026-07-17 15:08:11'::timestamp) - extract(epoch from '2026-07-17 15:07:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749739 -3.349397)', '2026-07-17 15:08:17', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349398)'), GeomFromEWKT('SRID=4674;POINT (-38.749739 -3.349397)'))) / (select extract(epoch from '2026-07-17 15:08:17'::timestamp) - extract(epoch from '2026-07-17 15:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749741 -3.349398)'), GeomFromEWKT('SRID=4674;POINT (-38.749739 -3.349397)'))) / (select extract(epoch from '2026-07-17 15:08:17'::timestamp) - extract(epoch from '2026-07-17 15:08: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'), 47317, 'SRID=4674;POINT (-38.749738 -3.349403)', '2026-07-17 15:09:07', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749739 -3.349397)'), GeomFromEWKT('SRID=4674;POINT (-38.749738 -3.349403)'))) / (select extract(epoch from '2026-07-17 15:09:07'::timestamp) - extract(epoch from '2026-07-17 15:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749739 -3.349397)'), GeomFromEWKT('SRID=4674;POINT (-38.749738 -3.349403)'))) / (select extract(epoch from '2026-07-17 15:09:07'::timestamp) - extract(epoch from '2026-07-17 15:08: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'), 47317, 'SRID=4674;POINT (-38.749735 -3.349405)', '2026-07-17 15:09:46', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749738 -3.349403)'), GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.349405)'))) / (select extract(epoch from '2026-07-17 15:09:46'::timestamp) - extract(epoch from '2026-07-17 15:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749738 -3.349403)'), GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.349405)'))) / (select extract(epoch from '2026-07-17 15:09:46'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.749748 -3.349411)', '2026-07-17 15:09:59', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.349405)'), GeomFromEWKT('SRID=4674;POINT (-38.749748 -3.349411)'))) / (select extract(epoch from '2026-07-17 15:09:59'::timestamp) - extract(epoch from '2026-07-17 15:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.349405)'), GeomFromEWKT('SRID=4674;POINT (-38.749748 -3.349411)'))) / (select extract(epoch from '2026-07-17 15:09:59'::timestamp) - extract(epoch from '2026-07-17 15:09: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'), 47317, 'SRID=4674;POINT (-38.749748 -3.349414)', '2026-07-17 15:10:08', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749748 -3.349411)'), GeomFromEWKT('SRID=4674;POINT (-38.749748 -3.349414)'))) / (select extract(epoch from '2026-07-17 15:10:08'::timestamp) - extract(epoch from '2026-07-17 15:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749748 -3.349411)'), GeomFromEWKT('SRID=4674;POINT (-38.749748 -3.349414)'))) / (select extract(epoch from '2026-07-17 15:10:08'::timestamp) - extract(epoch from '2026-07-17 15:09:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749745 -3.349416)', '2026-07-17 15:10:18', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749748 -3.349414)'), GeomFromEWKT('SRID=4674;POINT (-38.749745 -3.349416)'))) / (select extract(epoch from '2026-07-17 15:10:18'::timestamp) - extract(epoch from '2026-07-17 15:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749748 -3.349414)'), GeomFromEWKT('SRID=4674;POINT (-38.749745 -3.349416)'))) / (select extract(epoch from '2026-07-17 15:10:18'::timestamp) - extract(epoch from '2026-07-17 15:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749754 -3.34944)', '2026-07-17 15:10:59', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749745 -3.349416)'), GeomFromEWKT('SRID=4674;POINT (-38.749754 -3.34944)'))) / (select extract(epoch from '2026-07-17 15:10:59'::timestamp) - extract(epoch from '2026-07-17 15:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749745 -3.349416)'), GeomFromEWKT('SRID=4674;POINT (-38.749754 -3.34944)'))) / (select extract(epoch from '2026-07-17 15:10:59'::timestamp) - extract(epoch from '2026-07-17 15:10: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'), 47317, 'SRID=4674;POINT (-38.749758 -3.349514)', '2026-07-17 15:13:41', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749754 -3.34944)'), GeomFromEWKT('SRID=4674;POINT (-38.749758 -3.349514)'))) / (select extract(epoch from '2026-07-17 15:13:41'::timestamp) - extract(epoch from '2026-07-17 15:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749754 -3.34944)'), GeomFromEWKT('SRID=4674;POINT (-38.749758 -3.349514)'))) / (select extract(epoch from '2026-07-17 15:13:41'::timestamp) - extract(epoch from '2026-07-17 15:10: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'), 47317, 'SRID=4674;POINT (-38.749765 -3.349529)', '2026-07-17 15:14:33', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749758 -3.349514)'), GeomFromEWKT('SRID=4674;POINT (-38.749765 -3.349529)'))) / (select extract(epoch from '2026-07-17 15:14:33'::timestamp) - extract(epoch from '2026-07-17 15:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749758 -3.349514)'), GeomFromEWKT('SRID=4674;POINT (-38.749765 -3.349529)'))) / (select extract(epoch from '2026-07-17 15:14:33'::timestamp) - extract(epoch from '2026-07-17 15:13: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'), 47317, 'SRID=4674;POINT (-38.749735 -3.34954)', '2026-07-17 15:15:42', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749765 -3.349529)'), GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.34954)'))) / (select extract(epoch from '2026-07-17 15:15:42'::timestamp) - extract(epoch from '2026-07-17 15:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749765 -3.349529)'), GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.34954)'))) / (select extract(epoch from '2026-07-17 15:15:42'::timestamp) - extract(epoch from '2026-07-17 15:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.74965 -3.349519)', '2026-07-17 15:16:24', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.34954)'), GeomFromEWKT('SRID=4674;POINT (-38.74965 -3.349519)'))) / (select extract(epoch from '2026-07-17 15:16:24'::timestamp) - extract(epoch from '2026-07-17 15:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749735 -3.34954)'), GeomFromEWKT('SRID=4674;POINT (-38.74965 -3.349519)'))) / (select extract(epoch from '2026-07-17 15:16:24'::timestamp) - extract(epoch from '2026-07-17 15:15: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'), 47317, 'SRID=4674;POINT (-38.749594 -3.349521)', '2026-07-17 15:16:30', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74965 -3.349519)'), GeomFromEWKT('SRID=4674;POINT (-38.749594 -3.349521)'))) / (select extract(epoch from '2026-07-17 15:16:30'::timestamp) - extract(epoch from '2026-07-17 15:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74965 -3.349519)'), GeomFromEWKT('SRID=4674;POINT (-38.749594 -3.349521)'))) / (select extract(epoch from '2026-07-17 15:16:30'::timestamp) - extract(epoch from '2026-07-17 15:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749507 -3.349524)', '2026-07-17 15:16:42', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749594 -3.349521)'), GeomFromEWKT('SRID=4674;POINT (-38.749507 -3.349524)'))) / (select extract(epoch from '2026-07-17 15:16:42'::timestamp) - extract(epoch from '2026-07-17 15:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749594 -3.349521)'), GeomFromEWKT('SRID=4674;POINT (-38.749507 -3.349524)'))) / (select extract(epoch from '2026-07-17 15:16:42'::timestamp) - extract(epoch from '2026-07-17 15:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749421 -3.34954)', '2026-07-17 15:16:55', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749507 -3.349524)'), GeomFromEWKT('SRID=4674;POINT (-38.749421 -3.34954)'))) / (select extract(epoch from '2026-07-17 15:16:55'::timestamp) - extract(epoch from '2026-07-17 15:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749507 -3.349524)'), GeomFromEWKT('SRID=4674;POINT (-38.749421 -3.34954)'))) / (select extract(epoch from '2026-07-17 15:16:55'::timestamp) - extract(epoch from '2026-07-17 15:16: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'), 47317, 'SRID=4674;POINT (-38.749364 -3.349541)', '2026-07-17 15:17:06', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749421 -3.34954)'), GeomFromEWKT('SRID=4674;POINT (-38.749364 -3.349541)'))) / (select extract(epoch from '2026-07-17 15:17:06'::timestamp) - extract(epoch from '2026-07-17 15:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749421 -3.34954)'), GeomFromEWKT('SRID=4674;POINT (-38.749364 -3.349541)'))) / (select extract(epoch from '2026-07-17 15:17:06'::timestamp) - extract(epoch from '2026-07-17 15:16: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'), 47317, 'SRID=4674;POINT (-38.749313 -3.349514)', '2026-07-17 15:17:17', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749364 -3.349541)'), GeomFromEWKT('SRID=4674;POINT (-38.749313 -3.349514)'))) / (select extract(epoch from '2026-07-17 15:17:17'::timestamp) - extract(epoch from '2026-07-17 15:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749364 -3.349541)'), GeomFromEWKT('SRID=4674;POINT (-38.749313 -3.349514)'))) / (select extract(epoch from '2026-07-17 15:17:17'::timestamp) - extract(epoch from '2026-07-17 15:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.74928 -3.349493)', '2026-07-17 15:17:26', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749313 -3.349514)'), GeomFromEWKT('SRID=4674;POINT (-38.74928 -3.349493)'))) / (select extract(epoch from '2026-07-17 15:17:26'::timestamp) - extract(epoch from '2026-07-17 15:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749313 -3.349514)'), GeomFromEWKT('SRID=4674;POINT (-38.74928 -3.349493)'))) / (select extract(epoch from '2026-07-17 15:17:26'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47317, 'SRID=4674;POINT (-38.749253 -3.349486)', '2026-07-17 15:17:34', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74928 -3.349493)'), GeomFromEWKT('SRID=4674;POINT (-38.749253 -3.349486)'))) / (select extract(epoch from '2026-07-17 15:17:34'::timestamp) - extract(epoch from '2026-07-17 15:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74928 -3.349493)'), GeomFromEWKT('SRID=4674;POINT (-38.749253 -3.349486)'))) / (select extract(epoch from '2026-07-17 15:17:34'::timestamp) - extract(epoch from '2026-07-17 15:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749223 -3.349496)', '2026-07-17 15:17:41', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749253 -3.349486)'), GeomFromEWKT('SRID=4674;POINT (-38.749223 -3.349496)'))) / (select extract(epoch from '2026-07-17 15:17:41'::timestamp) - extract(epoch from '2026-07-17 15:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749253 -3.349486)'), GeomFromEWKT('SRID=4674;POINT (-38.749223 -3.349496)'))) / (select extract(epoch from '2026-07-17 15:17:41'::timestamp) - extract(epoch from '2026-07-17 15:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749187 -3.349528)', '2026-07-17 15:17:51', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749223 -3.349496)'), GeomFromEWKT('SRID=4674;POINT (-38.749187 -3.349528)'))) / (select extract(epoch from '2026-07-17 15:17:51'::timestamp) - extract(epoch from '2026-07-17 15:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749223 -3.349496)'), GeomFromEWKT('SRID=4674;POINT (-38.749187 -3.349528)'))) / (select extract(epoch from '2026-07-17 15:17:51'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47317, 'SRID=4674;POINT (-38.749144 -3.34952)', '2026-07-17 15:18:02', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749187 -3.349528)'), GeomFromEWKT('SRID=4674;POINT (-38.749144 -3.34952)'))) / (select extract(epoch from '2026-07-17 15:18:02'::timestamp) - extract(epoch from '2026-07-17 15:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749187 -3.349528)'), GeomFromEWKT('SRID=4674;POINT (-38.749144 -3.34952)'))) / (select extract(epoch from '2026-07-17 15:18:02'::timestamp) - extract(epoch from '2026-07-17 15:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749118 -3.349484)', '2026-07-17 15:18:10', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749144 -3.34952)'), GeomFromEWKT('SRID=4674;POINT (-38.749118 -3.349484)'))) / (select extract(epoch from '2026-07-17 15:18:10'::timestamp) - extract(epoch from '2026-07-17 15:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749144 -3.34952)'), GeomFromEWKT('SRID=4674;POINT (-38.749118 -3.349484)'))) / (select extract(epoch from '2026-07-17 15:18:10'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47317, 'SRID=4674;POINT (-38.749073 -3.349483)', '2026-07-17 15:18:19', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749118 -3.349484)'), GeomFromEWKT('SRID=4674;POINT (-38.749073 -3.349483)'))) / (select extract(epoch from '2026-07-17 15:18:19'::timestamp) - extract(epoch from '2026-07-17 15:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749118 -3.349484)'), GeomFromEWKT('SRID=4674;POINT (-38.749073 -3.349483)'))) / (select extract(epoch from '2026-07-17 15:18:19'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47317, 'SRID=4674;POINT (-38.749016 -3.349515)', '2026-07-17 15:18:30', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749073 -3.349483)'), GeomFromEWKT('SRID=4674;POINT (-38.749016 -3.349515)'))) / (select extract(epoch from '2026-07-17 15:18:30'::timestamp) - extract(epoch from '2026-07-17 15:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749073 -3.349483)'), GeomFromEWKT('SRID=4674;POINT (-38.749016 -3.349515)'))) / (select extract(epoch from '2026-07-17 15:18:30'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.748956 -3.349503)', '2026-07-17 15:18:41', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749016 -3.349515)'), GeomFromEWKT('SRID=4674;POINT (-38.748956 -3.349503)'))) / (select extract(epoch from '2026-07-17 15:18:41'::timestamp) - extract(epoch from '2026-07-17 15:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749016 -3.349515)'), GeomFromEWKT('SRID=4674;POINT (-38.748956 -3.349503)'))) / (select extract(epoch from '2026-07-17 15:18:41'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47317, 'SRID=4674;POINT (-38.74888 -3.3495)', '2026-07-17 15:18:55', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748956 -3.349503)'), GeomFromEWKT('SRID=4674;POINT (-38.74888 -3.3495)'))) / (select extract(epoch from '2026-07-17 15:18:55'::timestamp) - extract(epoch from '2026-07-17 15:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748956 -3.349503)'), GeomFromEWKT('SRID=4674;POINT (-38.74888 -3.3495)'))) / (select extract(epoch from '2026-07-17 15:18:55'::timestamp) - extract(epoch from '2026-07-17 15:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.748873 -3.349499)', '2026-07-17 15:19:06', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74888 -3.3495)'), GeomFromEWKT('SRID=4674;POINT (-38.748873 -3.349499)'))) / (select extract(epoch from '2026-07-17 15:19:06'::timestamp) - extract(epoch from '2026-07-17 15:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74888 -3.3495)'), GeomFromEWKT('SRID=4674;POINT (-38.748873 -3.349499)'))) / (select extract(epoch from '2026-07-17 15:19:06'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47317, 'SRID=4674;POINT (-38.748814 -3.349541)', '2026-07-17 15:19:27', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748873 -3.349499)'), GeomFromEWKT('SRID=4674;POINT (-38.748814 -3.349541)'))) / (select extract(epoch from '2026-07-17 15:19:27'::timestamp) - extract(epoch from '2026-07-17 15:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748873 -3.349499)'), GeomFromEWKT('SRID=4674;POINT (-38.748814 -3.349541)'))) / (select extract(epoch from '2026-07-17 15:19:27'::timestamp) - extract(epoch from '2026-07-17 15:19: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'), 47317, 'SRID=4674;POINT (-38.748849 -3.349557)', '2026-07-17 15:19:38', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748814 -3.349541)'), GeomFromEWKT('SRID=4674;POINT (-38.748849 -3.349557)'))) / (select extract(epoch from '2026-07-17 15:19:38'::timestamp) - extract(epoch from '2026-07-17 15:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748814 -3.349541)'), GeomFromEWKT('SRID=4674;POINT (-38.748849 -3.349557)'))) / (select extract(epoch from '2026-07-17 15:19:38'::timestamp) - extract(epoch from '2026-07-17 15:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.748907 -3.349553)', '2026-07-17 15:19:46', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748849 -3.349557)'), GeomFromEWKT('SRID=4674;POINT (-38.748907 -3.349553)'))) / (select extract(epoch from '2026-07-17 15:19:46'::timestamp) - extract(epoch from '2026-07-17 15:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748849 -3.349557)'), GeomFromEWKT('SRID=4674;POINT (-38.748907 -3.349553)'))) / (select extract(epoch from '2026-07-17 15:19:46'::timestamp) - extract(epoch from '2026-07-17 15:19: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'), 47317, 'SRID=4674;POINT (-38.748991 -3.349562)', '2026-07-17 15:20:00', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748907 -3.349553)'), GeomFromEWKT('SRID=4674;POINT (-38.748991 -3.349562)'))) / (select extract(epoch from '2026-07-17 15:20:00'::timestamp) - extract(epoch from '2026-07-17 15:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748907 -3.349553)'), GeomFromEWKT('SRID=4674;POINT (-38.748991 -3.349562)'))) / (select extract(epoch from '2026-07-17 15:20:00'::timestamp) - extract(epoch from '2026-07-17 15:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.74903 -3.349577)', '2026-07-17 15:20:04', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748991 -3.349562)'), GeomFromEWKT('SRID=4674;POINT (-38.74903 -3.349577)'))) / (select extract(epoch from '2026-07-17 15:20:04'::timestamp) - extract(epoch from '2026-07-17 15:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.748991 -3.349562)'), GeomFromEWKT('SRID=4674;POINT (-38.74903 -3.349577)'))) / (select extract(epoch from '2026-07-17 15:20:04'::timestamp) - extract(epoch from '2026-07-17 15:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749088 -3.34959)', '2026-07-17 15:20:12', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74903 -3.349577)'), GeomFromEWKT('SRID=4674;POINT (-38.749088 -3.34959)'))) / (select extract(epoch from '2026-07-17 15:20:12'::timestamp) - extract(epoch from '2026-07-17 15:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.74903 -3.349577)'), GeomFromEWKT('SRID=4674;POINT (-38.749088 -3.34959)'))) / (select extract(epoch from '2026-07-17 15:20:12'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.749159 -3.349608)', '2026-07-17 15:20:20', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749088 -3.34959)'), GeomFromEWKT('SRID=4674;POINT (-38.749159 -3.349608)'))) / (select extract(epoch from '2026-07-17 15:20:20'::timestamp) - extract(epoch from '2026-07-17 15:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749088 -3.34959)'), GeomFromEWKT('SRID=4674;POINT (-38.749159 -3.349608)'))) / (select extract(epoch from '2026-07-17 15:20:20'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47317, 'SRID=4674;POINT (-38.749225 -3.349619)', '2026-07-17 15:20:31', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749159 -3.349608)'), GeomFromEWKT('SRID=4674;POINT (-38.749225 -3.349619)'))) / (select extract(epoch from '2026-07-17 15:20:31'::timestamp) - extract(epoch from '2026-07-17 15:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749159 -3.349608)'), GeomFromEWKT('SRID=4674;POINT (-38.749225 -3.349619)'))) / (select extract(epoch from '2026-07-17 15:20:31'::timestamp) - extract(epoch from '2026-07-17 15:20:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749289 -3.34963)', '2026-07-17 15:20:39', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749225 -3.349619)'), GeomFromEWKT('SRID=4674;POINT (-38.749289 -3.34963)'))) / (select extract(epoch from '2026-07-17 15:20:39'::timestamp) - extract(epoch from '2026-07-17 15:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749225 -3.349619)'), GeomFromEWKT('SRID=4674;POINT (-38.749289 -3.34963)'))) / (select extract(epoch from '2026-07-17 15:20:39'::timestamp) - extract(epoch from '2026-07-17 15:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749361 -3.349662)', '2026-07-17 15:20:49', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749289 -3.34963)'), GeomFromEWKT('SRID=4674;POINT (-38.749361 -3.349662)'))) / (select extract(epoch from '2026-07-17 15:20:49'::timestamp) - extract(epoch from '2026-07-17 15:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749289 -3.34963)'), GeomFromEWKT('SRID=4674;POINT (-38.749361 -3.349662)'))) / (select extract(epoch from '2026-07-17 15:20:49'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47317, 'SRID=4674;POINT (-38.749435 -3.349696)', '2026-07-17 15:20:59', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749361 -3.349662)'), GeomFromEWKT('SRID=4674;POINT (-38.749435 -3.349696)'))) / (select extract(epoch from '2026-07-17 15:20:59'::timestamp) - extract(epoch from '2026-07-17 15:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749361 -3.349662)'), GeomFromEWKT('SRID=4674;POINT (-38.749435 -3.349696)'))) / (select extract(epoch from '2026-07-17 15:20:59'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47317, 'SRID=4674;POINT (-38.749504 -3.349701)', '2026-07-17 15:21:11', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749435 -3.349696)'), GeomFromEWKT('SRID=4674;POINT (-38.749504 -3.349701)'))) / (select extract(epoch from '2026-07-17 15:21:11'::timestamp) - extract(epoch from '2026-07-17 15:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749435 -3.349696)'), GeomFromEWKT('SRID=4674;POINT (-38.749504 -3.349701)'))) / (select extract(epoch from '2026-07-17 15:21:11'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47317, 'SRID=4674;POINT (-38.749606 -3.349734)', '2026-07-17 15:21:22', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749504 -3.349701)'), GeomFromEWKT('SRID=4674;POINT (-38.749606 -3.349734)'))) / (select extract(epoch from '2026-07-17 15:21:22'::timestamp) - extract(epoch from '2026-07-17 15:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749504 -3.349701)'), GeomFromEWKT('SRID=4674;POINT (-38.749606 -3.349734)'))) / (select extract(epoch from '2026-07-17 15:21:22'::timestamp) - extract(epoch from '2026-07-17 15:21:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749666 -3.349752)', '2026-07-17 15:21:27', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749606 -3.349734)'), GeomFromEWKT('SRID=4674;POINT (-38.749666 -3.349752)'))) / (select extract(epoch from '2026-07-17 15:21:27'::timestamp) - extract(epoch from '2026-07-17 15:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749606 -3.349734)'), GeomFromEWKT('SRID=4674;POINT (-38.749666 -3.349752)'))) / (select extract(epoch from '2026-07-17 15:21:27'::timestamp) - extract(epoch from '2026-07-17 15:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749736 -3.34977)', '2026-07-17 15:21:33', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749666 -3.349752)'), GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.34977)'))) / (select extract(epoch from '2026-07-17 15:21:33'::timestamp) - extract(epoch from '2026-07-17 15:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749666 -3.349752)'), GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.34977)'))) / (select extract(epoch from '2026-07-17 15:21:33'::timestamp) - extract(epoch from '2026-07-17 15:21: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'), 47317, 'SRID=4674;POINT (-38.749793 -3.349788)', '2026-07-17 15:21:39', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.34977)'), GeomFromEWKT('SRID=4674;POINT (-38.749793 -3.349788)'))) / (select extract(epoch from '2026-07-17 15:21:39'::timestamp) - extract(epoch from '2026-07-17 15:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749736 -3.34977)'), GeomFromEWKT('SRID=4674;POINT (-38.749793 -3.349788)'))) / (select extract(epoch from '2026-07-17 15:21:39'::timestamp) - extract(epoch from '2026-07-17 15:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749868 -3.349818)', '2026-07-17 15:21:47', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749793 -3.349788)'), GeomFromEWKT('SRID=4674;POINT (-38.749868 -3.349818)'))) / (select extract(epoch from '2026-07-17 15:21:47'::timestamp) - extract(epoch from '2026-07-17 15:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749793 -3.349788)'), GeomFromEWKT('SRID=4674;POINT (-38.749868 -3.349818)'))) / (select extract(epoch from '2026-07-17 15:21:47'::timestamp) - extract(epoch from '2026-07-17 15:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749902 -3.349827)', '2026-07-17 15:21:50', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749868 -3.349818)'), GeomFromEWKT('SRID=4674;POINT (-38.749902 -3.349827)'))) / (select extract(epoch from '2026-07-17 15:21:50'::timestamp) - extract(epoch from '2026-07-17 15:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749868 -3.349818)'), GeomFromEWKT('SRID=4674;POINT (-38.749902 -3.349827)'))) / (select extract(epoch from '2026-07-17 15:21:50'::timestamp) - extract(epoch from '2026-07-17 15:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.749931 -3.34984)', '2026-07-17 15:21:53', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749902 -3.349827)'), GeomFromEWKT('SRID=4674;POINT (-38.749931 -3.34984)'))) / (select extract(epoch from '2026-07-17 15:21:53'::timestamp) - extract(epoch from '2026-07-17 15:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749902 -3.349827)'), GeomFromEWKT('SRID=4674;POINT (-38.749931 -3.34984)'))) / (select extract(epoch from '2026-07-17 15:21:53'::timestamp) - extract(epoch from '2026-07-17 15:21: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'), 47317, 'SRID=4674;POINT (-38.749999 -3.349856)', '2026-07-17 15:22:00', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749931 -3.34984)'), GeomFromEWKT('SRID=4674;POINT (-38.749999 -3.349856)'))) / (select extract(epoch from '2026-07-17 15:22:00'::timestamp) - extract(epoch from '2026-07-17 15:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749931 -3.34984)'), GeomFromEWKT('SRID=4674;POINT (-38.749999 -3.349856)'))) / (select extract(epoch from '2026-07-17 15:22:00'::timestamp) - extract(epoch from '2026-07-17 15:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.750055 -3.349876)', '2026-07-17 15:22:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749999 -3.349856)'), GeomFromEWKT('SRID=4674;POINT (-38.750055 -3.349876)'))) / (select extract(epoch from '2026-07-17 15:22:06'::timestamp) - extract(epoch from '2026-07-17 15:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.749999 -3.349856)'), GeomFromEWKT('SRID=4674;POINT (-38.750055 -3.349876)'))) / (select extract(epoch from '2026-07-17 15:22:06'::timestamp) - extract(epoch from '2026-07-17 15:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.750115 -3.349895)', '2026-07-17 15:22:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750055 -3.349876)'), GeomFromEWKT('SRID=4674;POINT (-38.750115 -3.349895)'))) / (select extract(epoch from '2026-07-17 15:22:12'::timestamp) - extract(epoch from '2026-07-17 15:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750055 -3.349876)'), GeomFromEWKT('SRID=4674;POINT (-38.750115 -3.349895)'))) / (select extract(epoch from '2026-07-17 15:22:12'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47317, 'SRID=4674;POINT (-38.750213 -3.349918)', '2026-07-17 15:22:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750115 -3.349895)'), GeomFromEWKT('SRID=4674;POINT (-38.750213 -3.349918)'))) / (select extract(epoch from '2026-07-17 15:22:23'::timestamp) - extract(epoch from '2026-07-17 15:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750115 -3.349895)'), GeomFromEWKT('SRID=4674;POINT (-38.750213 -3.349918)'))) / (select extract(epoch from '2026-07-17 15:22:23'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47317, 'SRID=4674;POINT (-38.750319 -3.349953)', '2026-07-17 15:22:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750213 -3.349918)'), GeomFromEWKT('SRID=4674;POINT (-38.750319 -3.349953)'))) / (select extract(epoch from '2026-07-17 15:22:35'::timestamp) - extract(epoch from '2026-07-17 15:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750213 -3.349918)'), GeomFromEWKT('SRID=4674;POINT (-38.750319 -3.349953)'))) / (select extract(epoch from '2026-07-17 15:22:35'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47317, 'SRID=4674;POINT (-38.75036 -3.349985)', '2026-07-17 15:22:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750319 -3.349953)'), GeomFromEWKT('SRID=4674;POINT (-38.75036 -3.349985)'))) / (select extract(epoch from '2026-07-17 15:22:41'::timestamp) - extract(epoch from '2026-07-17 15:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750319 -3.349953)'), GeomFromEWKT('SRID=4674;POINT (-38.75036 -3.349985)'))) / (select extract(epoch from '2026-07-17 15:22:41'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47317, 'SRID=4674;POINT (-38.750379 -3.349994)', '2026-07-17 15:22:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75036 -3.349985)'), GeomFromEWKT('SRID=4674;POINT (-38.750379 -3.349994)'))) / (select extract(epoch from '2026-07-17 15:22:43'::timestamp) - extract(epoch from '2026-07-17 15:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75036 -3.349985)'), GeomFromEWKT('SRID=4674;POINT (-38.750379 -3.349994)'))) / (select extract(epoch from '2026-07-17 15:22:43'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47317, 'SRID=4674;POINT (-38.750384 -3.35)', '2026-07-17 15:22:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750379 -3.349994)'), GeomFromEWKT('SRID=4674;POINT (-38.750384 -3.35)'))) / (select extract(epoch from '2026-07-17 15:22:44'::timestamp) - extract(epoch from '2026-07-17 15:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750379 -3.349994)'), GeomFromEWKT('SRID=4674;POINT (-38.750384 -3.35)'))) / (select extract(epoch from '2026-07-17 15:22:44'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47317, 'SRID=4674;POINT (-38.750421 -3.350031)', '2026-07-17 15:22:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750384 -3.35)'), GeomFromEWKT('SRID=4674;POINT (-38.750421 -3.350031)'))) / (select extract(epoch from '2026-07-17 15:22:53'::timestamp) - extract(epoch from '2026-07-17 15:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750384 -3.35)'), GeomFromEWKT('SRID=4674;POINT (-38.750421 -3.350031)'))) / (select extract(epoch from '2026-07-17 15:22:53'::timestamp) - extract(epoch from '2026-07-17 15:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.750469 -3.350052)', '2026-07-17 15:23:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750421 -3.350031)'), GeomFromEWKT('SRID=4674;POINT (-38.750469 -3.350052)'))) / (select extract(epoch from '2026-07-17 15:23:02'::timestamp) - extract(epoch from '2026-07-17 15:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750421 -3.350031)'), GeomFromEWKT('SRID=4674;POINT (-38.750469 -3.350052)'))) / (select extract(epoch from '2026-07-17 15:23:02'::timestamp) - extract(epoch from '2026-07-17 15:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.750537 -3.350081)', '2026-07-17 15:23:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750469 -3.350052)'), GeomFromEWKT('SRID=4674;POINT (-38.750537 -3.350081)'))) / (select extract(epoch from '2026-07-17 15:23:14'::timestamp) - extract(epoch from '2026-07-17 15:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750469 -3.350052)'), GeomFromEWKT('SRID=4674;POINT (-38.750537 -3.350081)'))) / (select extract(epoch from '2026-07-17 15:23:14'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47317, 'SRID=4674;POINT (-38.750589 -3.350105)', '2026-07-17 15:23:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750537 -3.350081)'), GeomFromEWKT('SRID=4674;POINT (-38.750589 -3.350105)'))) / (select extract(epoch from '2026-07-17 15:23:23'::timestamp) - extract(epoch from '2026-07-17 15:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750537 -3.350081)'), GeomFromEWKT('SRID=4674;POINT (-38.750589 -3.350105)'))) / (select extract(epoch from '2026-07-17 15:23:23'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47317, 'SRID=4674;POINT (-38.750641 -3.350133)', '2026-07-17 15:23:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750589 -3.350105)'), GeomFromEWKT('SRID=4674;POINT (-38.750641 -3.350133)'))) / (select extract(epoch from '2026-07-17 15:23:31'::timestamp) - extract(epoch from '2026-07-17 15:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750589 -3.350105)'), GeomFromEWKT('SRID=4674;POINT (-38.750641 -3.350133)'))) / (select extract(epoch from '2026-07-17 15:23:31'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47317, 'SRID=4674;POINT (-38.750672 -3.350149)', '2026-07-17 15:23:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750641 -3.350133)'), GeomFromEWKT('SRID=4674;POINT (-38.750672 -3.350149)'))) / (select extract(epoch from '2026-07-17 15:23:35'::timestamp) - extract(epoch from '2026-07-17 15:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750641 -3.350133)'), GeomFromEWKT('SRID=4674;POINT (-38.750672 -3.350149)'))) / (select extract(epoch from '2026-07-17 15:23:35'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47317, 'SRID=4674;POINT (-38.750692 -3.350158)', '2026-07-17 15:23:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750672 -3.350149)'), GeomFromEWKT('SRID=4674;POINT (-38.750692 -3.350158)'))) / (select extract(epoch from '2026-07-17 15:23:38'::timestamp) - extract(epoch from '2026-07-17 15:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750672 -3.350149)'), GeomFromEWKT('SRID=4674;POINT (-38.750692 -3.350158)'))) / (select extract(epoch from '2026-07-17 15:23:38'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.750773 -3.35019)', '2026-07-17 15:23:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750692 -3.350158)'), GeomFromEWKT('SRID=4674;POINT (-38.750773 -3.35019)'))) / (select extract(epoch from '2026-07-17 15:23:50'::timestamp) - extract(epoch from '2026-07-17 15:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750692 -3.350158)'), GeomFromEWKT('SRID=4674;POINT (-38.750773 -3.35019)'))) / (select extract(epoch from '2026-07-17 15:23:50'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47317, 'SRID=4674;POINT (-38.750834 -3.350218)', '2026-07-17 15:24:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750773 -3.35019)'), GeomFromEWKT('SRID=4674;POINT (-38.750834 -3.350218)'))) / (select extract(epoch from '2026-07-17 15:24:00'::timestamp) - extract(epoch from '2026-07-17 15:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750773 -3.35019)'), GeomFromEWKT('SRID=4674;POINT (-38.750834 -3.350218)'))) / (select extract(epoch from '2026-07-17 15:24:00'::timestamp) - extract(epoch from '2026-07-17 15:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.75088 -3.350228)', '2026-07-17 15:24:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750834 -3.350218)'), GeomFromEWKT('SRID=4674;POINT (-38.75088 -3.350228)'))) / (select extract(epoch from '2026-07-17 15:24:07'::timestamp) - extract(epoch from '2026-07-17 15:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750834 -3.350218)'), GeomFromEWKT('SRID=4674;POINT (-38.75088 -3.350228)'))) / (select extract(epoch from '2026-07-17 15:24:07'::timestamp) - extract(epoch from '2026-07-17 15:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.750933 -3.350248)', '2026-07-17 15:24:16', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75088 -3.350228)'), GeomFromEWKT('SRID=4674;POINT (-38.750933 -3.350248)'))) / (select extract(epoch from '2026-07-17 15:24:16'::timestamp) - extract(epoch from '2026-07-17 15:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75088 -3.350228)'), GeomFromEWKT('SRID=4674;POINT (-38.750933 -3.350248)'))) / (select extract(epoch from '2026-07-17 15:24:16'::timestamp) - extract(epoch from '2026-07-17 15:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.75098 -3.35027)', '2026-07-17 15:24:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750933 -3.350248)'), GeomFromEWKT('SRID=4674;POINT (-38.75098 -3.35027)'))) / (select extract(epoch from '2026-07-17 15:24:24'::timestamp) - extract(epoch from '2026-07-17 15:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.750933 -3.350248)'), GeomFromEWKT('SRID=4674;POINT (-38.75098 -3.35027)'))) / (select extract(epoch from '2026-07-17 15:24:24'::timestamp) - extract(epoch from '2026-07-17 15:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.751034 -3.350278)', '2026-07-17 15:24:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75098 -3.35027)'), GeomFromEWKT('SRID=4674;POINT (-38.751034 -3.350278)'))) / (select extract(epoch from '2026-07-17 15:24:33'::timestamp) - extract(epoch from '2026-07-17 15:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75098 -3.35027)'), GeomFromEWKT('SRID=4674;POINT (-38.751034 -3.350278)'))) / (select extract(epoch from '2026-07-17 15:24:33'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47317, 'SRID=4674;POINT (-38.751073 -3.350289)', '2026-07-17 15:24:39', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751034 -3.350278)'), GeomFromEWKT('SRID=4674;POINT (-38.751073 -3.350289)'))) / (select extract(epoch from '2026-07-17 15:24:39'::timestamp) - extract(epoch from '2026-07-17 15:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751034 -3.350278)'), GeomFromEWKT('SRID=4674;POINT (-38.751073 -3.350289)'))) / (select extract(epoch from '2026-07-17 15:24:39'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.751122 -3.350301)', '2026-07-17 15:24:47', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751073 -3.350289)'), GeomFromEWKT('SRID=4674;POINT (-38.751122 -3.350301)'))) / (select extract(epoch from '2026-07-17 15:24:47'::timestamp) - extract(epoch from '2026-07-17 15:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751073 -3.350289)'), GeomFromEWKT('SRID=4674;POINT (-38.751122 -3.350301)'))) / (select extract(epoch from '2026-07-17 15:24:47'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47317, 'SRID=4674;POINT (-38.75117 -3.350316)', '2026-07-17 15:24:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751122 -3.350301)'), GeomFromEWKT('SRID=4674;POINT (-38.75117 -3.350316)'))) / (select extract(epoch from '2026-07-17 15:24:57'::timestamp) - extract(epoch from '2026-07-17 15:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751122 -3.350301)'), GeomFromEWKT('SRID=4674;POINT (-38.75117 -3.350316)'))) / (select extract(epoch from '2026-07-17 15:24:57'::timestamp) - extract(epoch from '2026-07-17 15:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.751242 -3.350339)', '2026-07-17 15:25:08', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75117 -3.350316)'), GeomFromEWKT('SRID=4674;POINT (-38.751242 -3.350339)'))) / (select extract(epoch from '2026-07-17 15:25:08'::timestamp) - extract(epoch from '2026-07-17 15:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75117 -3.350316)'), GeomFromEWKT('SRID=4674;POINT (-38.751242 -3.350339)'))) / (select extract(epoch from '2026-07-17 15:25:08'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47317, 'SRID=4674;POINT (-38.751266 -3.350347)', '2026-07-17 15:25:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751242 -3.350339)'), GeomFromEWKT('SRID=4674;POINT (-38.751266 -3.350347)'))) / (select extract(epoch from '2026-07-17 15:25:13'::timestamp) - extract(epoch from '2026-07-17 15:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751242 -3.350339)'), GeomFromEWKT('SRID=4674;POINT (-38.751266 -3.350347)'))) / (select extract(epoch from '2026-07-17 15:25:13'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47317, 'SRID=4674;POINT (-38.75132 -3.350363)', '2026-07-17 15:25:21', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751266 -3.350347)'), GeomFromEWKT('SRID=4674;POINT (-38.75132 -3.350363)'))) / (select extract(epoch from '2026-07-17 15:25:21'::timestamp) - extract(epoch from '2026-07-17 15:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751266 -3.350347)'), GeomFromEWKT('SRID=4674;POINT (-38.75132 -3.350363)'))) / (select extract(epoch from '2026-07-17 15:25:21'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47317, 'SRID=4674;POINT (-38.75137 -3.350394)', '2026-07-17 15:25:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75132 -3.350363)'), GeomFromEWKT('SRID=4674;POINT (-38.75137 -3.350394)'))) / (select extract(epoch from '2026-07-17 15:25:30'::timestamp) - extract(epoch from '2026-07-17 15:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75132 -3.350363)'), GeomFromEWKT('SRID=4674;POINT (-38.75137 -3.350394)'))) / (select extract(epoch from '2026-07-17 15:25:30'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47317, 'SRID=4674;POINT (-38.751412 -3.350412)', '2026-07-17 15:25:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75137 -3.350394)'), GeomFromEWKT('SRID=4674;POINT (-38.751412 -3.350412)'))) / (select extract(epoch from '2026-07-17 15:25:41'::timestamp) - extract(epoch from '2026-07-17 15:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75137 -3.350394)'), GeomFromEWKT('SRID=4674;POINT (-38.751412 -3.350412)'))) / (select extract(epoch from '2026-07-17 15:25:41'::timestamp) - extract(epoch from '2026-07-17 15:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.75144 -3.350405)', '2026-07-17 15:25:46', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751412 -3.350412)'), GeomFromEWKT('SRID=4674;POINT (-38.75144 -3.350405)'))) / (select extract(epoch from '2026-07-17 15:25:46'::timestamp) - extract(epoch from '2026-07-17 15:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751412 -3.350412)'), GeomFromEWKT('SRID=4674;POINT (-38.75144 -3.350405)'))) / (select extract(epoch from '2026-07-17 15:25:46'::timestamp) - extract(epoch from '2026-07-17 15:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.751473 -3.350397)', '2026-07-17 15:25:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75144 -3.350405)'), GeomFromEWKT('SRID=4674;POINT (-38.751473 -3.350397)'))) / (select extract(epoch from '2026-07-17 15:25:53'::timestamp) - extract(epoch from '2026-07-17 15:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75144 -3.350405)'), GeomFromEWKT('SRID=4674;POINT (-38.751473 -3.350397)'))) / (select extract(epoch from '2026-07-17 15:25:53'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47317, 'SRID=4674;POINT (-38.751553 -3.350409)', '2026-07-17 15:26:07', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751473 -3.350397)'), GeomFromEWKT('SRID=4674;POINT (-38.751553 -3.350409)'))) / (select extract(epoch from '2026-07-17 15:26:07'::timestamp) - extract(epoch from '2026-07-17 15:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751473 -3.350397)'), GeomFromEWKT('SRID=4674;POINT (-38.751553 -3.350409)'))) / (select extract(epoch from '2026-07-17 15:26:07'::timestamp) - extract(epoch from '2026-07-17 15:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.751622 -3.350432)', '2026-07-17 15:26:16', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751553 -3.350409)'), GeomFromEWKT('SRID=4674;POINT (-38.751622 -3.350432)'))) / (select extract(epoch from '2026-07-17 15:26:16'::timestamp) - extract(epoch from '2026-07-17 15:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751553 -3.350409)'), GeomFromEWKT('SRID=4674;POINT (-38.751622 -3.350432)'))) / (select extract(epoch from '2026-07-17 15:26:16'::timestamp) - extract(epoch from '2026-07-17 15:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.751678 -3.350419)', '2026-07-17 15:26:25', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751622 -3.350432)'), GeomFromEWKT('SRID=4674;POINT (-38.751678 -3.350419)'))) / (select extract(epoch from '2026-07-17 15:26:25'::timestamp) - extract(epoch from '2026-07-17 15:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751622 -3.350432)'), GeomFromEWKT('SRID=4674;POINT (-38.751678 -3.350419)'))) / (select extract(epoch from '2026-07-17 15:26:25'::timestamp) - extract(epoch from '2026-07-17 15:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.751749 -3.350416)', '2026-07-17 15:26:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751678 -3.350419)'), GeomFromEWKT('SRID=4674;POINT (-38.751749 -3.350416)'))) / (select extract(epoch from '2026-07-17 15:26:36'::timestamp) - extract(epoch from '2026-07-17 15:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751678 -3.350419)'), GeomFromEWKT('SRID=4674;POINT (-38.751749 -3.350416)'))) / (select extract(epoch from '2026-07-17 15:26:36'::timestamp) - extract(epoch from '2026-07-17 15:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.751815 -3.350468)', '2026-07-17 15:26:49', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751749 -3.350416)'), GeomFromEWKT('SRID=4674;POINT (-38.751815 -3.350468)'))) / (select extract(epoch from '2026-07-17 15:26:49'::timestamp) - extract(epoch from '2026-07-17 15:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751749 -3.350416)'), GeomFromEWKT('SRID=4674;POINT (-38.751815 -3.350468)'))) / (select extract(epoch from '2026-07-17 15:26:49'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47317, 'SRID=4674;POINT (-38.751874 -3.350547)', '2026-07-17 15:27:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751815 -3.350468)'), GeomFromEWKT('SRID=4674;POINT (-38.751874 -3.350547)'))) / (select extract(epoch from '2026-07-17 15:27:03'::timestamp) - extract(epoch from '2026-07-17 15:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751815 -3.350468)'), GeomFromEWKT('SRID=4674;POINT (-38.751874 -3.350547)'))) / (select extract(epoch from '2026-07-17 15:27:03'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47317, 'SRID=4674;POINT (-38.751925 -3.350587)', '2026-07-17 15:27:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751874 -3.350547)'), GeomFromEWKT('SRID=4674;POINT (-38.751925 -3.350587)'))) / (select extract(epoch from '2026-07-17 15:27:12'::timestamp) - extract(epoch from '2026-07-17 15:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751874 -3.350547)'), GeomFromEWKT('SRID=4674;POINT (-38.751925 -3.350587)'))) / (select extract(epoch from '2026-07-17 15:27:12'::timestamp) - extract(epoch from '2026-07-17 15:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.751966 -3.350617)', '2026-07-17 15:27:23', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751925 -3.350587)'), GeomFromEWKT('SRID=4674;POINT (-38.751966 -3.350617)'))) / (select extract(epoch from '2026-07-17 15:27:23'::timestamp) - extract(epoch from '2026-07-17 15:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751925 -3.350587)'), GeomFromEWKT('SRID=4674;POINT (-38.751966 -3.350617)'))) / (select extract(epoch from '2026-07-17 15:27:23'::timestamp) - extract(epoch from '2026-07-17 15:27: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'), 47317, 'SRID=4674;POINT (-38.752025 -3.350637)', '2026-07-17 15:27:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751966 -3.350617)'), GeomFromEWKT('SRID=4674;POINT (-38.752025 -3.350637)'))) / (select extract(epoch from '2026-07-17 15:27:34'::timestamp) - extract(epoch from '2026-07-17 15:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.751966 -3.350617)'), GeomFromEWKT('SRID=4674;POINT (-38.752025 -3.350637)'))) / (select extract(epoch from '2026-07-17 15:27:34'::timestamp) - extract(epoch from '2026-07-17 15:27: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'), 47317, 'SRID=4674;POINT (-38.752115 -3.350654)', '2026-07-17 15:27:48', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752025 -3.350637)'), GeomFromEWKT('SRID=4674;POINT (-38.752115 -3.350654)'))) / (select extract(epoch from '2026-07-17 15:27:48'::timestamp) - extract(epoch from '2026-07-17 15:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752025 -3.350637)'), GeomFromEWKT('SRID=4674;POINT (-38.752115 -3.350654)'))) / (select extract(epoch from '2026-07-17 15:27:48'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.752126 -3.350653)', '2026-07-17 15:27:49', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752115 -3.350654)'), GeomFromEWKT('SRID=4674;POINT (-38.752126 -3.350653)'))) / (select extract(epoch from '2026-07-17 15:27:49'::timestamp) - extract(epoch from '2026-07-17 15:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752115 -3.350654)'), GeomFromEWKT('SRID=4674;POINT (-38.752126 -3.350653)'))) / (select extract(epoch from '2026-07-17 15:27:49'::timestamp) - extract(epoch from '2026-07-17 15:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.752156 -3.350661)', '2026-07-17 15:27:54', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752126 -3.350653)'), GeomFromEWKT('SRID=4674;POINT (-38.752156 -3.350661)'))) / (select extract(epoch from '2026-07-17 15:27:54'::timestamp) - extract(epoch from '2026-07-17 15:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752126 -3.350653)'), GeomFromEWKT('SRID=4674;POINT (-38.752156 -3.350661)'))) / (select extract(epoch from '2026-07-17 15:27:54'::timestamp) - extract(epoch from '2026-07-17 15:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.752181 -3.350678)', '2026-07-17 15:28:02', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752156 -3.350661)'), GeomFromEWKT('SRID=4674;POINT (-38.752181 -3.350678)'))) / (select extract(epoch from '2026-07-17 15:28:02'::timestamp) - extract(epoch from '2026-07-17 15:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752156 -3.350661)'), GeomFromEWKT('SRID=4674;POINT (-38.752181 -3.350678)'))) / (select extract(epoch from '2026-07-17 15:28:02'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.752242 -3.350722)', '2026-07-17 15:28:13', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752181 -3.350678)'), GeomFromEWKT('SRID=4674;POINT (-38.752242 -3.350722)'))) / (select extract(epoch from '2026-07-17 15:28:13'::timestamp) - extract(epoch from '2026-07-17 15:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752181 -3.350678)'), GeomFromEWKT('SRID=4674;POINT (-38.752242 -3.350722)'))) / (select extract(epoch from '2026-07-17 15:28:13'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47317, 'SRID=4674;POINT (-38.752274 -3.350755)', '2026-07-17 15:28:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752242 -3.350722)'), GeomFromEWKT('SRID=4674;POINT (-38.752274 -3.350755)'))) / (select extract(epoch from '2026-07-17 15:28:20'::timestamp) - extract(epoch from '2026-07-17 15:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752242 -3.350722)'), GeomFromEWKT('SRID=4674;POINT (-38.752274 -3.350755)'))) / (select extract(epoch from '2026-07-17 15:28:20'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47317, 'SRID=4674;POINT (-38.752301 -3.350807)', '2026-07-17 15:28:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752274 -3.350755)'), GeomFromEWKT('SRID=4674;POINT (-38.752301 -3.350807)'))) / (select extract(epoch from '2026-07-17 15:28:28'::timestamp) - extract(epoch from '2026-07-17 15:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752274 -3.350755)'), GeomFromEWKT('SRID=4674;POINT (-38.752301 -3.350807)'))) / (select extract(epoch from '2026-07-17 15:28:28'::timestamp) - extract(epoch from '2026-07-17 15:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.752313 -3.35082)', '2026-07-17 15:28:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752301 -3.350807)'), GeomFromEWKT('SRID=4674;POINT (-38.752313 -3.35082)'))) / (select extract(epoch from '2026-07-17 15:28:30'::timestamp) - extract(epoch from '2026-07-17 15:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752301 -3.350807)'), GeomFromEWKT('SRID=4674;POINT (-38.752313 -3.35082)'))) / (select extract(epoch from '2026-07-17 15:28:30'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47317, 'SRID=4674;POINT (-38.752357 -3.350884)', '2026-07-17 15:28:42', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752313 -3.35082)'), GeomFromEWKT('SRID=4674;POINT (-38.752357 -3.350884)'))) / (select extract(epoch from '2026-07-17 15:28:42'::timestamp) - extract(epoch from '2026-07-17 15:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752313 -3.35082)'), GeomFromEWKT('SRID=4674;POINT (-38.752357 -3.350884)'))) / (select extract(epoch from '2026-07-17 15:28:42'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.752423 -3.35096)', '2026-07-17 15:28:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752357 -3.350884)'), GeomFromEWKT('SRID=4674;POINT (-38.752423 -3.35096)'))) / (select extract(epoch from '2026-07-17 15:28:53'::timestamp) - extract(epoch from '2026-07-17 15:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752357 -3.350884)'), GeomFromEWKT('SRID=4674;POINT (-38.752423 -3.35096)'))) / (select extract(epoch from '2026-07-17 15:28:53'::timestamp) - extract(epoch from '2026-07-17 15:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.752441 -3.350988)', '2026-07-17 15:28:57', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752423 -3.35096)'), GeomFromEWKT('SRID=4674;POINT (-38.752441 -3.350988)'))) / (select extract(epoch from '2026-07-17 15:28:57'::timestamp) - extract(epoch from '2026-07-17 15:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752423 -3.35096)'), GeomFromEWKT('SRID=4674;POINT (-38.752441 -3.350988)'))) / (select extract(epoch from '2026-07-17 15:28:57'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47317, 'SRID=4674;POINT (-38.752462 -3.351015)', '2026-07-17 15:29:01', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752441 -3.350988)'), GeomFromEWKT('SRID=4674;POINT (-38.752462 -3.351015)'))) / (select extract(epoch from '2026-07-17 15:29:01'::timestamp) - extract(epoch from '2026-07-17 15:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752441 -3.350988)'), GeomFromEWKT('SRID=4674;POINT (-38.752462 -3.351015)'))) / (select extract(epoch from '2026-07-17 15:29:01'::timestamp) - extract(epoch from '2026-07-17 15:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.752503 -3.351068)', '2026-07-17 15:29:07', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752462 -3.351015)'), GeomFromEWKT('SRID=4674;POINT (-38.752503 -3.351068)'))) / (select extract(epoch from '2026-07-17 15:29:07'::timestamp) - extract(epoch from '2026-07-17 15:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752462 -3.351015)'), GeomFromEWKT('SRID=4674;POINT (-38.752503 -3.351068)'))) / (select extract(epoch from '2026-07-17 15:29:07'::timestamp) - extract(epoch from '2026-07-17 15:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.752564 -3.351208)', '2026-07-17 15:29:14', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752503 -3.351068)'), GeomFromEWKT('SRID=4674;POINT (-38.752564 -3.351208)'))) / (select extract(epoch from '2026-07-17 15:29:14'::timestamp) - extract(epoch from '2026-07-17 15:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752503 -3.351068)'), GeomFromEWKT('SRID=4674;POINT (-38.752564 -3.351208)'))) / (select extract(epoch from '2026-07-17 15:29:14'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47317, 'SRID=4674;POINT (-38.752621 -3.351345)', '2026-07-17 15:29:20', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752564 -3.351208)'), GeomFromEWKT('SRID=4674;POINT (-38.752621 -3.351345)'))) / (select extract(epoch from '2026-07-17 15:29:20'::timestamp) - extract(epoch from '2026-07-17 15:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752564 -3.351208)'), GeomFromEWKT('SRID=4674;POINT (-38.752621 -3.351345)'))) / (select extract(epoch from '2026-07-17 15:29:20'::timestamp) - extract(epoch from '2026-07-17 15:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.752666 -3.351478)', '2026-07-17 15:29:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752621 -3.351345)'), GeomFromEWKT('SRID=4674;POINT (-38.752666 -3.351478)'))) / (select extract(epoch from '2026-07-17 15:29:26'::timestamp) - extract(epoch from '2026-07-17 15:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752621 -3.351345)'), GeomFromEWKT('SRID=4674;POINT (-38.752666 -3.351478)'))) / (select extract(epoch from '2026-07-17 15:29:26'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.752727 -3.351606)', '2026-07-17 15:29:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752666 -3.351478)'), GeomFromEWKT('SRID=4674;POINT (-38.752727 -3.351606)'))) / (select extract(epoch from '2026-07-17 15:29:32'::timestamp) - extract(epoch from '2026-07-17 15:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752666 -3.351478)'), GeomFromEWKT('SRID=4674;POINT (-38.752727 -3.351606)'))) / (select extract(epoch from '2026-07-17 15:29:32'::timestamp) - extract(epoch from '2026-07-17 15:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.752779 -3.351768)', '2026-07-17 15:29:39', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752727 -3.351606)'), GeomFromEWKT('SRID=4674;POINT (-38.752779 -3.351768)'))) / (select extract(epoch from '2026-07-17 15:29:39'::timestamp) - extract(epoch from '2026-07-17 15:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752727 -3.351606)'), GeomFromEWKT('SRID=4674;POINT (-38.752779 -3.351768)'))) / (select extract(epoch from '2026-07-17 15:29:39'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.752821 -3.35191)', '2026-07-17 15:29:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752779 -3.351768)'), GeomFromEWKT('SRID=4674;POINT (-38.752821 -3.35191)'))) / (select extract(epoch from '2026-07-17 15:29:45'::timestamp) - extract(epoch from '2026-07-17 15:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752779 -3.351768)'), GeomFromEWKT('SRID=4674;POINT (-38.752821 -3.35191)'))) / (select extract(epoch from '2026-07-17 15:29:45'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47317, 'SRID=4674;POINT (-38.752868 -3.352065)', '2026-07-17 15:29:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752821 -3.35191)'), GeomFromEWKT('SRID=4674;POINT (-38.752868 -3.352065)'))) / (select extract(epoch from '2026-07-17 15:29:52'::timestamp) - extract(epoch from '2026-07-17 15:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752821 -3.35191)'), GeomFromEWKT('SRID=4674;POINT (-38.752868 -3.352065)'))) / (select extract(epoch from '2026-07-17 15:29:52'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47317, 'SRID=4674;POINT (-38.752913 -3.352193)', '2026-07-17 15:29:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752868 -3.352065)'), GeomFromEWKT('SRID=4674;POINT (-38.752913 -3.352193)'))) / (select extract(epoch from '2026-07-17 15:29:58'::timestamp) - extract(epoch from '2026-07-17 15:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752868 -3.352065)'), GeomFromEWKT('SRID=4674;POINT (-38.752913 -3.352193)'))) / (select extract(epoch from '2026-07-17 15:29:58'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47317, 'SRID=4674;POINT (-38.752988 -3.352323)', '2026-07-17 15:30:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752913 -3.352193)'), GeomFromEWKT('SRID=4674;POINT (-38.752988 -3.352323)'))) / (select extract(epoch from '2026-07-17 15:30:04'::timestamp) - extract(epoch from '2026-07-17 15:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752913 -3.352193)'), GeomFromEWKT('SRID=4674;POINT (-38.752988 -3.352323)'))) / (select extract(epoch from '2026-07-17 15:30:04'::timestamp) - extract(epoch from '2026-07-17 15:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.753088 -3.352453)', '2026-07-17 15:30:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752988 -3.352323)'), GeomFromEWKT('SRID=4674;POINT (-38.753088 -3.352453)'))) / (select extract(epoch from '2026-07-17 15:30:10'::timestamp) - extract(epoch from '2026-07-17 15:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.752988 -3.352323)'), GeomFromEWKT('SRID=4674;POINT (-38.753088 -3.352453)'))) / (select extract(epoch from '2026-07-17 15:30:10'::timestamp) - extract(epoch from '2026-07-17 15:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.753187 -3.352596)', '2026-07-17 15:30:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753088 -3.352453)'), GeomFromEWKT('SRID=4674;POINT (-38.753187 -3.352596)'))) / (select extract(epoch from '2026-07-17 15:30:17'::timestamp) - extract(epoch from '2026-07-17 15:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753088 -3.352453)'), GeomFromEWKT('SRID=4674;POINT (-38.753187 -3.352596)'))) / (select extract(epoch from '2026-07-17 15:30:17'::timestamp) - extract(epoch from '2026-07-17 15:30:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.753271 -3.352726)', '2026-07-17 15:30:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753187 -3.352596)'), GeomFromEWKT('SRID=4674;POINT (-38.753271 -3.352726)'))) / (select extract(epoch from '2026-07-17 15:30:23'::timestamp) - extract(epoch from '2026-07-17 15:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753187 -3.352596)'), GeomFromEWKT('SRID=4674;POINT (-38.753271 -3.352726)'))) / (select extract(epoch from '2026-07-17 15:30:23'::timestamp) - extract(epoch from '2026-07-17 15:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.753326 -3.352849)', '2026-07-17 15:30:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753271 -3.352726)'), GeomFromEWKT('SRID=4674;POINT (-38.753326 -3.352849)'))) / (select extract(epoch from '2026-07-17 15:30:28'::timestamp) - extract(epoch from '2026-07-17 15:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753271 -3.352726)'), GeomFromEWKT('SRID=4674;POINT (-38.753326 -3.352849)'))) / (select extract(epoch from '2026-07-17 15:30:28'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47317, 'SRID=4674;POINT (-38.753391 -3.352992)', '2026-07-17 15:30:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753326 -3.352849)'), GeomFromEWKT('SRID=4674;POINT (-38.753391 -3.352992)'))) / (select extract(epoch from '2026-07-17 15:30:34'::timestamp) - extract(epoch from '2026-07-17 15:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753326 -3.352849)'), GeomFromEWKT('SRID=4674;POINT (-38.753391 -3.352992)'))) / (select extract(epoch from '2026-07-17 15:30:34'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47317, 'SRID=4674;POINT (-38.75344 -3.353104)', '2026-07-17 15:30:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753391 -3.352992)'), GeomFromEWKT('SRID=4674;POINT (-38.75344 -3.353104)'))) / (select extract(epoch from '2026-07-17 15:30:39'::timestamp) - extract(epoch from '2026-07-17 15:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753391 -3.352992)'), GeomFromEWKT('SRID=4674;POINT (-38.75344 -3.353104)'))) / (select extract(epoch from '2026-07-17 15:30:39'::timestamp) - extract(epoch from '2026-07-17 15:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.753474 -3.353218)', '2026-07-17 15:30:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75344 -3.353104)'), GeomFromEWKT('SRID=4674;POINT (-38.753474 -3.353218)'))) / (select extract(epoch from '2026-07-17 15:30:44'::timestamp) - extract(epoch from '2026-07-17 15:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75344 -3.353104)'), GeomFromEWKT('SRID=4674;POINT (-38.753474 -3.353218)'))) / (select extract(epoch from '2026-07-17 15:30:44'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47317, 'SRID=4674;POINT (-38.753521 -3.353344)', '2026-07-17 15:30:50', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753474 -3.353218)'), GeomFromEWKT('SRID=4674;POINT (-38.753521 -3.353344)'))) / (select extract(epoch from '2026-07-17 15:30:50'::timestamp) - extract(epoch from '2026-07-17 15:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753474 -3.353218)'), GeomFromEWKT('SRID=4674;POINT (-38.753521 -3.353344)'))) / (select extract(epoch from '2026-07-17 15:30:50'::timestamp) - extract(epoch from '2026-07-17 15:30:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.753568 -3.353455)', '2026-07-17 15:30:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753521 -3.353344)'), GeomFromEWKT('SRID=4674;POINT (-38.753568 -3.353455)'))) / (select extract(epoch from '2026-07-17 15:30:55'::timestamp) - extract(epoch from '2026-07-17 15:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753521 -3.353344)'), GeomFromEWKT('SRID=4674;POINT (-38.753568 -3.353455)'))) / (select extract(epoch from '2026-07-17 15:30:55'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47317, 'SRID=4674;POINT (-38.753614 -3.353615)', '2026-07-17 15:31:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753568 -3.353455)'), GeomFromEWKT('SRID=4674;POINT (-38.753614 -3.353615)'))) / (select extract(epoch from '2026-07-17 15:31:02'::timestamp) - extract(epoch from '2026-07-17 15:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753568 -3.353455)'), GeomFromEWKT('SRID=4674;POINT (-38.753614 -3.353615)'))) / (select extract(epoch from '2026-07-17 15:31:02'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.753648 -3.353724)', '2026-07-17 15:31:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753614 -3.353615)'), GeomFromEWKT('SRID=4674;POINT (-38.753648 -3.353724)'))) / (select extract(epoch from '2026-07-17 15:31:07'::timestamp) - extract(epoch from '2026-07-17 15:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753614 -3.353615)'), GeomFromEWKT('SRID=4674;POINT (-38.753648 -3.353724)'))) / (select extract(epoch from '2026-07-17 15:31:07'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47317, 'SRID=4674;POINT (-38.7537 -3.353835)', '2026-07-17 15:31:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753648 -3.353724)'), GeomFromEWKT('SRID=4674;POINT (-38.7537 -3.353835)'))) / (select extract(epoch from '2026-07-17 15:31:12'::timestamp) - extract(epoch from '2026-07-17 15:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753648 -3.353724)'), GeomFromEWKT('SRID=4674;POINT (-38.7537 -3.353835)'))) / (select extract(epoch from '2026-07-17 15:31:12'::timestamp) - extract(epoch from '2026-07-17 15:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.753731 -3.353932)', '2026-07-17 15:31:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7537 -3.353835)'), GeomFromEWKT('SRID=4674;POINT (-38.753731 -3.353932)'))) / (select extract(epoch from '2026-07-17 15:31:17'::timestamp) - extract(epoch from '2026-07-17 15:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7537 -3.353835)'), GeomFromEWKT('SRID=4674;POINT (-38.753731 -3.353932)'))) / (select extract(epoch from '2026-07-17 15:31:17'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.753777 -3.354097)', '2026-07-17 15:31:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753731 -3.353932)'), GeomFromEWKT('SRID=4674;POINT (-38.753777 -3.354097)'))) / (select extract(epoch from '2026-07-17 15:31:25'::timestamp) - extract(epoch from '2026-07-17 15:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753731 -3.353932)'), GeomFromEWKT('SRID=4674;POINT (-38.753777 -3.354097)'))) / (select extract(epoch from '2026-07-17 15:31:25'::timestamp) - extract(epoch from '2026-07-17 15:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.753814 -3.354234)', '2026-07-17 15:31:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753777 -3.354097)'), GeomFromEWKT('SRID=4674;POINT (-38.753814 -3.354234)'))) / (select extract(epoch from '2026-07-17 15:31:31'::timestamp) - extract(epoch from '2026-07-17 15:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753777 -3.354097)'), GeomFromEWKT('SRID=4674;POINT (-38.753814 -3.354234)'))) / (select extract(epoch from '2026-07-17 15:31:31'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47317, 'SRID=4674;POINT (-38.75382 -3.354325)', '2026-07-17 15:31:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753814 -3.354234)'), GeomFromEWKT('SRID=4674;POINT (-38.75382 -3.354325)'))) / (select extract(epoch from '2026-07-17 15:31:35'::timestamp) - extract(epoch from '2026-07-17 15:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753814 -3.354234)'), GeomFromEWKT('SRID=4674;POINT (-38.75382 -3.354325)'))) / (select extract(epoch from '2026-07-17 15:31:35'::timestamp) - extract(epoch from '2026-07-17 15:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.753831 -3.354348)', '2026-07-17 15:31:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75382 -3.354325)'), GeomFromEWKT('SRID=4674;POINT (-38.753831 -3.354348)'))) / (select extract(epoch from '2026-07-17 15:31:36'::timestamp) - extract(epoch from '2026-07-17 15:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75382 -3.354325)'), GeomFromEWKT('SRID=4674;POINT (-38.753831 -3.354348)'))) / (select extract(epoch from '2026-07-17 15:31:36'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47317, 'SRID=4674;POINT (-38.753893 -3.354495)', '2026-07-17 15:31:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753831 -3.354348)'), GeomFromEWKT('SRID=4674;POINT (-38.753893 -3.354495)'))) / (select extract(epoch from '2026-07-17 15:31:42'::timestamp) - extract(epoch from '2026-07-17 15:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753831 -3.354348)'), GeomFromEWKT('SRID=4674;POINT (-38.753893 -3.354495)'))) / (select extract(epoch from '2026-07-17 15:31:42'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47317, 'SRID=4674;POINT (-38.753936 -3.354609)', '2026-07-17 15:31:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753893 -3.354495)'), GeomFromEWKT('SRID=4674;POINT (-38.753936 -3.354609)'))) / (select extract(epoch from '2026-07-17 15:31:47'::timestamp) - extract(epoch from '2026-07-17 15:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753893 -3.354495)'), GeomFromEWKT('SRID=4674;POINT (-38.753936 -3.354609)'))) / (select extract(epoch from '2026-07-17 15:31:47'::timestamp) - extract(epoch from '2026-07-17 15:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.753944 -3.354723)', '2026-07-17 15:31:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753936 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-38.753944 -3.354723)'))) / (select extract(epoch from '2026-07-17 15:31:53'::timestamp) - extract(epoch from '2026-07-17 15:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753936 -3.354609)'), GeomFromEWKT('SRID=4674;POINT (-38.753944 -3.354723)'))) / (select extract(epoch from '2026-07-17 15:31:53'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47317, 'SRID=4674;POINT (-38.753996 -3.354867)', '2026-07-17 15:32:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753944 -3.354723)'), GeomFromEWKT('SRID=4674;POINT (-38.753996 -3.354867)'))) / (select extract(epoch from '2026-07-17 15:32:00'::timestamp) - extract(epoch from '2026-07-17 15:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753944 -3.354723)'), GeomFromEWKT('SRID=4674;POINT (-38.753996 -3.354867)'))) / (select extract(epoch from '2026-07-17 15:32:00'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47317, 'SRID=4674;POINT (-38.754062 -3.35498)', '2026-07-17 15:32:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753996 -3.354867)'), GeomFromEWKT('SRID=4674;POINT (-38.754062 -3.35498)'))) / (select extract(epoch from '2026-07-17 15:32:06'::timestamp) - extract(epoch from '2026-07-17 15:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.753996 -3.354867)'), GeomFromEWKT('SRID=4674;POINT (-38.754062 -3.35498)'))) / (select extract(epoch from '2026-07-17 15:32:06'::timestamp) - extract(epoch from '2026-07-17 15:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.754137 -3.355091)', '2026-07-17 15:32:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754062 -3.35498)'), GeomFromEWKT('SRID=4674;POINT (-38.754137 -3.355091)'))) / (select extract(epoch from '2026-07-17 15:32:11'::timestamp) - extract(epoch from '2026-07-17 15:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754062 -3.35498)'), GeomFromEWKT('SRID=4674;POINT (-38.754137 -3.355091)'))) / (select extract(epoch from '2026-07-17 15:32:11'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47317, 'SRID=4674;POINT (-38.754175 -3.355206)', '2026-07-17 15:32:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754137 -3.355091)'), GeomFromEWKT('SRID=4674;POINT (-38.754175 -3.355206)'))) / (select extract(epoch from '2026-07-17 15:32:16'::timestamp) - extract(epoch from '2026-07-17 15:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754137 -3.355091)'), GeomFromEWKT('SRID=4674;POINT (-38.754175 -3.355206)'))) / (select extract(epoch from '2026-07-17 15:32:16'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47317, 'SRID=4674;POINT (-38.754201 -3.355351)', '2026-07-17 15:32:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754175 -3.355206)'), GeomFromEWKT('SRID=4674;POINT (-38.754201 -3.355351)'))) / (select extract(epoch from '2026-07-17 15:32:23'::timestamp) - extract(epoch from '2026-07-17 15:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754175 -3.355206)'), GeomFromEWKT('SRID=4674;POINT (-38.754201 -3.355351)'))) / (select extract(epoch from '2026-07-17 15:32:23'::timestamp) - extract(epoch from '2026-07-17 15:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.754223 -3.355451)', '2026-07-17 15:32:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754201 -3.355351)'), GeomFromEWKT('SRID=4674;POINT (-38.754223 -3.355451)'))) / (select extract(epoch from '2026-07-17 15:32:28'::timestamp) - extract(epoch from '2026-07-17 15:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754201 -3.355351)'), GeomFromEWKT('SRID=4674;POINT (-38.754223 -3.355451)'))) / (select extract(epoch from '2026-07-17 15:32:28'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47317, 'SRID=4674;POINT (-38.754269 -3.355579)', '2026-07-17 15:32:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754223 -3.355451)'), GeomFromEWKT('SRID=4674;POINT (-38.754269 -3.355579)'))) / (select extract(epoch from '2026-07-17 15:32:34'::timestamp) - extract(epoch from '2026-07-17 15:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754223 -3.355451)'), GeomFromEWKT('SRID=4674;POINT (-38.754269 -3.355579)'))) / (select extract(epoch from '2026-07-17 15:32:34'::timestamp) - extract(epoch from '2026-07-17 15:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.754342 -3.355746)', '2026-07-17 15:32:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754269 -3.355579)'), GeomFromEWKT('SRID=4674;POINT (-38.754342 -3.355746)'))) / (select extract(epoch from '2026-07-17 15:32:41'::timestamp) - extract(epoch from '2026-07-17 15:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754269 -3.355579)'), GeomFromEWKT('SRID=4674;POINT (-38.754342 -3.355746)'))) / (select extract(epoch from '2026-07-17 15:32:41'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47317, 'SRID=4674;POINT (-38.754401 -3.355853)', '2026-07-17 15:32:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754342 -3.355746)'), GeomFromEWKT('SRID=4674;POINT (-38.754401 -3.355853)'))) / (select extract(epoch from '2026-07-17 15:32:46'::timestamp) - extract(epoch from '2026-07-17 15:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754342 -3.355746)'), GeomFromEWKT('SRID=4674;POINT (-38.754401 -3.355853)'))) / (select extract(epoch from '2026-07-17 15:32:46'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.754474 -3.356002)', '2026-07-17 15:32:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754401 -3.355853)'), GeomFromEWKT('SRID=4674;POINT (-38.754474 -3.356002)'))) / (select extract(epoch from '2026-07-17 15:32:53'::timestamp) - extract(epoch from '2026-07-17 15:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754401 -3.355853)'), GeomFromEWKT('SRID=4674;POINT (-38.754474 -3.356002)'))) / (select extract(epoch from '2026-07-17 15:32:53'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47317, 'SRID=4674;POINT (-38.754533 -3.356146)', '2026-07-17 15:32:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754474 -3.356002)'), GeomFromEWKT('SRID=4674;POINT (-38.754533 -3.356146)'))) / (select extract(epoch from '2026-07-17 15:32:59'::timestamp) - extract(epoch from '2026-07-17 15:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754474 -3.356002)'), GeomFromEWKT('SRID=4674;POINT (-38.754533 -3.356146)'))) / (select extract(epoch from '2026-07-17 15:32:59'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47317, 'SRID=4674;POINT (-38.75458 -3.356259)', '2026-07-17 15:33:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754533 -3.356146)'), GeomFromEWKT('SRID=4674;POINT (-38.75458 -3.356259)'))) / (select extract(epoch from '2026-07-17 15:33:04'::timestamp) - extract(epoch from '2026-07-17 15:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754533 -3.356146)'), GeomFromEWKT('SRID=4674;POINT (-38.75458 -3.356259)'))) / (select extract(epoch from '2026-07-17 15:33:04'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47317, 'SRID=4674;POINT (-38.754623 -3.356373)', '2026-07-17 15:33:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75458 -3.356259)'), GeomFromEWKT('SRID=4674;POINT (-38.754623 -3.356373)'))) / (select extract(epoch from '2026-07-17 15:33:09'::timestamp) - extract(epoch from '2026-07-17 15:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75458 -3.356259)'), GeomFromEWKT('SRID=4674;POINT (-38.754623 -3.356373)'))) / (select extract(epoch from '2026-07-17 15:33:09'::timestamp) - extract(epoch from '2026-07-17 15:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.754685 -3.356501)', '2026-07-17 15:33:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754623 -3.356373)'), GeomFromEWKT('SRID=4674;POINT (-38.754685 -3.356501)'))) / (select extract(epoch from '2026-07-17 15:33:15'::timestamp) - extract(epoch from '2026-07-17 15:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754623 -3.356373)'), GeomFromEWKT('SRID=4674;POINT (-38.754685 -3.356501)'))) / (select extract(epoch from '2026-07-17 15:33:15'::timestamp) - extract(epoch from '2026-07-17 15:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.754741 -3.356622)', '2026-07-17 15:33:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754685 -3.356501)'), GeomFromEWKT('SRID=4674;POINT (-38.754741 -3.356622)'))) / (select extract(epoch from '2026-07-17 15:33:21'::timestamp) - extract(epoch from '2026-07-17 15:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754685 -3.356501)'), GeomFromEWKT('SRID=4674;POINT (-38.754741 -3.356622)'))) / (select extract(epoch from '2026-07-17 15:33:21'::timestamp) - extract(epoch from '2026-07-17 15:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.754801 -3.356776)', '2026-07-17 15:33:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754741 -3.356622)'), GeomFromEWKT('SRID=4674;POINT (-38.754801 -3.356776)'))) / (select extract(epoch from '2026-07-17 15:33:28'::timestamp) - extract(epoch from '2026-07-17 15:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754741 -3.356622)'), GeomFromEWKT('SRID=4674;POINT (-38.754801 -3.356776)'))) / (select extract(epoch from '2026-07-17 15:33:28'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47317, 'SRID=4674;POINT (-38.754881 -3.356941)', '2026-07-17 15:33:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754801 -3.356776)'), GeomFromEWKT('SRID=4674;POINT (-38.754881 -3.356941)'))) / (select extract(epoch from '2026-07-17 15:33:35'::timestamp) - extract(epoch from '2026-07-17 15:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754801 -3.356776)'), GeomFromEWKT('SRID=4674;POINT (-38.754881 -3.356941)'))) / (select extract(epoch from '2026-07-17 15:33:35'::timestamp) - extract(epoch from '2026-07-17 15:33:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.754905 -3.356988)', '2026-07-17 15:33:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754881 -3.356941)'), GeomFromEWKT('SRID=4674;POINT (-38.754905 -3.356988)'))) / (select extract(epoch from '2026-07-17 15:33:37'::timestamp) - extract(epoch from '2026-07-17 15:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754881 -3.356941)'), GeomFromEWKT('SRID=4674;POINT (-38.754905 -3.356988)'))) / (select extract(epoch from '2026-07-17 15:33:37'::timestamp) - extract(epoch from '2026-07-17 15:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.754971 -3.357178)', '2026-07-17 15:33:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754905 -3.356988)'), GeomFromEWKT('SRID=4674;POINT (-38.754971 -3.357178)'))) / (select extract(epoch from '2026-07-17 15:33:45'::timestamp) - extract(epoch from '2026-07-17 15:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754905 -3.356988)'), GeomFromEWKT('SRID=4674;POINT (-38.754971 -3.357178)'))) / (select extract(epoch from '2026-07-17 15:33:45'::timestamp) - extract(epoch from '2026-07-17 15:33:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.755045 -3.35735)', '2026-07-17 15:33:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754971 -3.357178)'), GeomFromEWKT('SRID=4674;POINT (-38.755045 -3.35735)'))) / (select extract(epoch from '2026-07-17 15:33:53'::timestamp) - extract(epoch from '2026-07-17 15:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.754971 -3.357178)'), GeomFromEWKT('SRID=4674;POINT (-38.755045 -3.35735)'))) / (select extract(epoch from '2026-07-17 15:33:53'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.755126 -3.357501)', '2026-07-17 15:34:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755045 -3.35735)'), GeomFromEWKT('SRID=4674;POINT (-38.755126 -3.357501)'))) / (select extract(epoch from '2026-07-17 15:34:00'::timestamp) - extract(epoch from '2026-07-17 15:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755045 -3.35735)'), GeomFromEWKT('SRID=4674;POINT (-38.755126 -3.357501)'))) / (select extract(epoch from '2026-07-17 15:34:00'::timestamp) - extract(epoch from '2026-07-17 15:33:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.755197 -3.357659)', '2026-07-17 15:34:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755126 -3.357501)'), GeomFromEWKT('SRID=4674;POINT (-38.755197 -3.357659)'))) / (select extract(epoch from '2026-07-17 15:34:07'::timestamp) - extract(epoch from '2026-07-17 15:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755126 -3.357501)'), GeomFromEWKT('SRID=4674;POINT (-38.755197 -3.357659)'))) / (select extract(epoch from '2026-07-17 15:34:07'::timestamp) - extract(epoch from '2026-07-17 15:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.755249 -3.357794)', '2026-07-17 15:34:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755197 -3.357659)'), GeomFromEWKT('SRID=4674;POINT (-38.755249 -3.357794)'))) / (select extract(epoch from '2026-07-17 15:34:13'::timestamp) - extract(epoch from '2026-07-17 15:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755197 -3.357659)'), GeomFromEWKT('SRID=4674;POINT (-38.755249 -3.357794)'))) / (select extract(epoch from '2026-07-17 15:34:13'::timestamp) - extract(epoch from '2026-07-17 15:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.755308 -3.357922)', '2026-07-17 15:34:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755249 -3.357794)'), GeomFromEWKT('SRID=4674;POINT (-38.755308 -3.357922)'))) / (select extract(epoch from '2026-07-17 15:34:19'::timestamp) - extract(epoch from '2026-07-17 15:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755249 -3.357794)'), GeomFromEWKT('SRID=4674;POINT (-38.755308 -3.357922)'))) / (select extract(epoch from '2026-07-17 15:34:19'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.755372 -3.358047)', '2026-07-17 15:34:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755308 -3.357922)'), GeomFromEWKT('SRID=4674;POINT (-38.755372 -3.358047)'))) / (select extract(epoch from '2026-07-17 15:34:25'::timestamp) - extract(epoch from '2026-07-17 15:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755308 -3.357922)'), GeomFromEWKT('SRID=4674;POINT (-38.755372 -3.358047)'))) / (select extract(epoch from '2026-07-17 15:34:25'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47317, 'SRID=4674;POINT (-38.755425 -3.358177)', '2026-07-17 15:34:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755372 -3.358047)'), GeomFromEWKT('SRID=4674;POINT (-38.755425 -3.358177)'))) / (select extract(epoch from '2026-07-17 15:34:31'::timestamp) - extract(epoch from '2026-07-17 15:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755372 -3.358047)'), GeomFromEWKT('SRID=4674;POINT (-38.755425 -3.358177)'))) / (select extract(epoch from '2026-07-17 15:34:31'::timestamp) - extract(epoch from '2026-07-17 15:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.755499 -3.358361)', '2026-07-17 15:34:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755425 -3.358177)'), GeomFromEWKT('SRID=4674;POINT (-38.755499 -3.358361)'))) / (select extract(epoch from '2026-07-17 15:34:39'::timestamp) - extract(epoch from '2026-07-17 15:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755425 -3.358177)'), GeomFromEWKT('SRID=4674;POINT (-38.755499 -3.358361)'))) / (select extract(epoch from '2026-07-17 15:34:39'::timestamp) - extract(epoch from '2026-07-17 15:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.755541 -3.358476)', '2026-07-17 15:34:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755499 -3.358361)'), GeomFromEWKT('SRID=4674;POINT (-38.755541 -3.358476)'))) / (select extract(epoch from '2026-07-17 15:34:44'::timestamp) - extract(epoch from '2026-07-17 15:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755499 -3.358361)'), GeomFromEWKT('SRID=4674;POINT (-38.755541 -3.358476)'))) / (select extract(epoch from '2026-07-17 15:34:44'::timestamp) - extract(epoch from '2026-07-17 15:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.755596 -3.358615)', '2026-07-17 15:34:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755541 -3.358476)'), GeomFromEWKT('SRID=4674;POINT (-38.755596 -3.358615)'))) / (select extract(epoch from '2026-07-17 15:34:50'::timestamp) - extract(epoch from '2026-07-17 15:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755541 -3.358476)'), GeomFromEWKT('SRID=4674;POINT (-38.755596 -3.358615)'))) / (select extract(epoch from '2026-07-17 15:34:50'::timestamp) - extract(epoch from '2026-07-17 15:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.755666 -3.35878)', '2026-07-17 15:34:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755596 -3.358615)'), GeomFromEWKT('SRID=4674;POINT (-38.755666 -3.35878)'))) / (select extract(epoch from '2026-07-17 15:34:57'::timestamp) - extract(epoch from '2026-07-17 15:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755596 -3.358615)'), GeomFromEWKT('SRID=4674;POINT (-38.755666 -3.35878)'))) / (select extract(epoch from '2026-07-17 15:34:57'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47317, 'SRID=4674;POINT (-38.755721 -3.358916)', '2026-07-17 15:35:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755666 -3.35878)'), GeomFromEWKT('SRID=4674;POINT (-38.755721 -3.358916)'))) / (select extract(epoch from '2026-07-17 15:35:03'::timestamp) - extract(epoch from '2026-07-17 15:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755666 -3.35878)'), GeomFromEWKT('SRID=4674;POINT (-38.755721 -3.358916)'))) / (select extract(epoch from '2026-07-17 15:35:03'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47317, 'SRID=4674;POINT (-38.755772 -3.359037)', '2026-07-17 15:35:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755721 -3.358916)'), GeomFromEWKT('SRID=4674;POINT (-38.755772 -3.359037)'))) / (select extract(epoch from '2026-07-17 15:35:09'::timestamp) - extract(epoch from '2026-07-17 15:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755721 -3.358916)'), GeomFromEWKT('SRID=4674;POINT (-38.755772 -3.359037)'))) / (select extract(epoch from '2026-07-17 15:35:09'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47317, 'SRID=4674;POINT (-38.755843 -3.359195)', '2026-07-17 15:35:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755772 -3.359037)'), GeomFromEWKT('SRID=4674;POINT (-38.755843 -3.359195)'))) / (select extract(epoch from '2026-07-17 15:35:16'::timestamp) - extract(epoch from '2026-07-17 15:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755772 -3.359037)'), GeomFromEWKT('SRID=4674;POINT (-38.755843 -3.359195)'))) / (select extract(epoch from '2026-07-17 15:35:16'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47317, 'SRID=4674;POINT (-38.755913 -3.359379)', '2026-07-17 15:35:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755843 -3.359195)'), GeomFromEWKT('SRID=4674;POINT (-38.755913 -3.359379)'))) / (select extract(epoch from '2026-07-17 15:35:24'::timestamp) - extract(epoch from '2026-07-17 15:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755843 -3.359195)'), GeomFromEWKT('SRID=4674;POINT (-38.755913 -3.359379)'))) / (select extract(epoch from '2026-07-17 15:35:24'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47317, 'SRID=4674;POINT (-38.755979 -3.359518)', '2026-07-17 15:35:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755913 -3.359379)'), GeomFromEWKT('SRID=4674;POINT (-38.755979 -3.359518)'))) / (select extract(epoch from '2026-07-17 15:35:30'::timestamp) - extract(epoch from '2026-07-17 15:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755913 -3.359379)'), GeomFromEWKT('SRID=4674;POINT (-38.755979 -3.359518)'))) / (select extract(epoch from '2026-07-17 15:35:30'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47317, 'SRID=4674;POINT (-38.756038 -3.359639)', '2026-07-17 15:35:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755979 -3.359518)'), GeomFromEWKT('SRID=4674;POINT (-38.756038 -3.359639)'))) / (select extract(epoch from '2026-07-17 15:35:35'::timestamp) - extract(epoch from '2026-07-17 15:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.755979 -3.359518)'), GeomFromEWKT('SRID=4674;POINT (-38.756038 -3.359639)'))) / (select extract(epoch from '2026-07-17 15:35:35'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47317, 'SRID=4674;POINT (-38.756088 -3.359776)', '2026-07-17 15:35:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756038 -3.359639)'), GeomFromEWKT('SRID=4674;POINT (-38.756088 -3.359776)'))) / (select extract(epoch from '2026-07-17 15:35:41'::timestamp) - extract(epoch from '2026-07-17 15:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756038 -3.359639)'), GeomFromEWKT('SRID=4674;POINT (-38.756088 -3.359776)'))) / (select extract(epoch from '2026-07-17 15:35:41'::timestamp) - extract(epoch from '2026-07-17 15:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.756132 -3.359919)', '2026-07-17 15:35:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756088 -3.359776)'), GeomFromEWKT('SRID=4674;POINT (-38.756132 -3.359919)'))) / (select extract(epoch from '2026-07-17 15:35:47'::timestamp) - extract(epoch from '2026-07-17 15:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756088 -3.359776)'), GeomFromEWKT('SRID=4674;POINT (-38.756132 -3.359919)'))) / (select extract(epoch from '2026-07-17 15:35:47'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47317, 'SRID=4674;POINT (-38.756175 -3.360048)', '2026-07-17 15:35:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756132 -3.359919)'), GeomFromEWKT('SRID=4674;POINT (-38.756175 -3.360048)'))) / (select extract(epoch from '2026-07-17 15:35:53'::timestamp) - extract(epoch from '2026-07-17 15:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756132 -3.359919)'), GeomFromEWKT('SRID=4674;POINT (-38.756175 -3.360048)'))) / (select extract(epoch from '2026-07-17 15:35:53'::timestamp) - extract(epoch from '2026-07-17 15:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.756217 -3.360177)', '2026-07-17 15:35:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756175 -3.360048)'), GeomFromEWKT('SRID=4674;POINT (-38.756217 -3.360177)'))) / (select extract(epoch from '2026-07-17 15:35:59'::timestamp) - extract(epoch from '2026-07-17 15:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756175 -3.360048)'), GeomFromEWKT('SRID=4674;POINT (-38.756217 -3.360177)'))) / (select extract(epoch from '2026-07-17 15:35:59'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.756284 -3.360322)', '2026-07-17 15:36:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756217 -3.360177)'), GeomFromEWKT('SRID=4674;POINT (-38.756284 -3.360322)'))) / (select extract(epoch from '2026-07-17 15:36:06'::timestamp) - extract(epoch from '2026-07-17 15:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756217 -3.360177)'), GeomFromEWKT('SRID=4674;POINT (-38.756284 -3.360322)'))) / (select extract(epoch from '2026-07-17 15:36:06'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47317, 'SRID=4674;POINT (-38.756345 -3.360462)', '2026-07-17 15:36:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756284 -3.360322)'), GeomFromEWKT('SRID=4674;POINT (-38.756345 -3.360462)'))) / (select extract(epoch from '2026-07-17 15:36:12'::timestamp) - extract(epoch from '2026-07-17 15:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756284 -3.360322)'), GeomFromEWKT('SRID=4674;POINT (-38.756345 -3.360462)'))) / (select extract(epoch from '2026-07-17 15:36:12'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47317, 'SRID=4674;POINT (-38.756398 -3.360641)', '2026-07-17 15:36:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756345 -3.360462)'), GeomFromEWKT('SRID=4674;POINT (-38.756398 -3.360641)'))) / (select extract(epoch from '2026-07-17 15:36:20'::timestamp) - extract(epoch from '2026-07-17 15:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756345 -3.360462)'), GeomFromEWKT('SRID=4674;POINT (-38.756398 -3.360641)'))) / (select extract(epoch from '2026-07-17 15:36:20'::timestamp) - extract(epoch from '2026-07-17 15:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.756406 -3.360661)', '2026-07-17 15:36:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756398 -3.360641)'), GeomFromEWKT('SRID=4674;POINT (-38.756406 -3.360661)'))) / (select extract(epoch from '2026-07-17 15:36:21'::timestamp) - extract(epoch from '2026-07-17 15:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756398 -3.360641)'), GeomFromEWKT('SRID=4674;POINT (-38.756406 -3.360661)'))) / (select extract(epoch from '2026-07-17 15:36:21'::timestamp) - extract(epoch from '2026-07-17 15:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.756461 -3.36082)', '2026-07-17 15:36:28', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756406 -3.360661)'), GeomFromEWKT('SRID=4674;POINT (-38.756461 -3.36082)'))) / (select extract(epoch from '2026-07-17 15:36:28'::timestamp) - extract(epoch from '2026-07-17 15:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756406 -3.360661)'), GeomFromEWKT('SRID=4674;POINT (-38.756461 -3.36082)'))) / (select extract(epoch from '2026-07-17 15:36:28'::timestamp) - extract(epoch from '2026-07-17 15:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.756517 -3.360971)', '2026-07-17 15:36:35', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756461 -3.36082)'), GeomFromEWKT('SRID=4674;POINT (-38.756517 -3.360971)'))) / (select extract(epoch from '2026-07-17 15:36:35'::timestamp) - extract(epoch from '2026-07-17 15:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756461 -3.36082)'), GeomFromEWKT('SRID=4674;POINT (-38.756517 -3.360971)'))) / (select extract(epoch from '2026-07-17 15:36:35'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47317, 'SRID=4674;POINT (-38.756564 -3.361131)', '2026-07-17 15:36:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756517 -3.360971)'), GeomFromEWKT('SRID=4674;POINT (-38.756564 -3.361131)'))) / (select extract(epoch from '2026-07-17 15:36:42'::timestamp) - extract(epoch from '2026-07-17 15:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756517 -3.360971)'), GeomFromEWKT('SRID=4674;POINT (-38.756564 -3.361131)'))) / (select extract(epoch from '2026-07-17 15:36:42'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47317, 'SRID=4674;POINT (-38.756606 -3.361249)', '2026-07-17 15:36:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756564 -3.361131)'), GeomFromEWKT('SRID=4674;POINT (-38.756606 -3.361249)'))) / (select extract(epoch from '2026-07-17 15:36:47'::timestamp) - extract(epoch from '2026-07-17 15:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756564 -3.361131)'), GeomFromEWKT('SRID=4674;POINT (-38.756606 -3.361249)'))) / (select extract(epoch from '2026-07-17 15:36:47'::timestamp) - extract(epoch from '2026-07-17 15:36:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.756658 -3.361411)', '2026-07-17 15:36:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756606 -3.361249)'), GeomFromEWKT('SRID=4674;POINT (-38.756658 -3.361411)'))) / (select extract(epoch from '2026-07-17 15:36:54'::timestamp) - extract(epoch from '2026-07-17 15:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756606 -3.361249)'), GeomFromEWKT('SRID=4674;POINT (-38.756658 -3.361411)'))) / (select extract(epoch from '2026-07-17 15:36:54'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47317, 'SRID=4674;POINT (-38.756715 -3.361545)', '2026-07-17 15:37:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756658 -3.361411)'), GeomFromEWKT('SRID=4674;POINT (-38.756715 -3.361545)'))) / (select extract(epoch from '2026-07-17 15:37:00'::timestamp) - extract(epoch from '2026-07-17 15:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756658 -3.361411)'), GeomFromEWKT('SRID=4674;POINT (-38.756715 -3.361545)'))) / (select extract(epoch from '2026-07-17 15:37:00'::timestamp) - extract(epoch from '2026-07-17 15:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.756765 -3.361686)', '2026-07-17 15:37:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756715 -3.361545)'), GeomFromEWKT('SRID=4674;POINT (-38.756765 -3.361686)'))) / (select extract(epoch from '2026-07-17 15:37:06'::timestamp) - extract(epoch from '2026-07-17 15:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756715 -3.361545)'), GeomFromEWKT('SRID=4674;POINT (-38.756765 -3.361686)'))) / (select extract(epoch from '2026-07-17 15:37:06'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.756817 -3.361829)', '2026-07-17 15:37:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756765 -3.361686)'), GeomFromEWKT('SRID=4674;POINT (-38.756817 -3.361829)'))) / (select extract(epoch from '2026-07-17 15:37:12'::timestamp) - extract(epoch from '2026-07-17 15:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756765 -3.361686)'), GeomFromEWKT('SRID=4674;POINT (-38.756817 -3.361829)'))) / (select extract(epoch from '2026-07-17 15:37:12'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.756881 -3.361971)', '2026-07-17 15:37:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756817 -3.361829)'), GeomFromEWKT('SRID=4674;POINT (-38.756881 -3.361971)'))) / (select extract(epoch from '2026-07-17 15:37:18'::timestamp) - extract(epoch from '2026-07-17 15:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756817 -3.361829)'), GeomFromEWKT('SRID=4674;POINT (-38.756881 -3.361971)'))) / (select extract(epoch from '2026-07-17 15:37:18'::timestamp) - extract(epoch from '2026-07-17 15:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.756923 -3.36209)', '2026-07-17 15:37:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756881 -3.361971)'), GeomFromEWKT('SRID=4674;POINT (-38.756923 -3.36209)'))) / (select extract(epoch from '2026-07-17 15:37:23'::timestamp) - extract(epoch from '2026-07-17 15:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756881 -3.361971)'), GeomFromEWKT('SRID=4674;POINT (-38.756923 -3.36209)'))) / (select extract(epoch from '2026-07-17 15:37:23'::timestamp) - extract(epoch from '2026-07-17 15:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.757002 -3.362253)', '2026-07-17 15:37:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756923 -3.36209)'), GeomFromEWKT('SRID=4674;POINT (-38.757002 -3.362253)'))) / (select extract(epoch from '2026-07-17 15:37:30'::timestamp) - extract(epoch from '2026-07-17 15:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.756923 -3.36209)'), GeomFromEWKT('SRID=4674;POINT (-38.757002 -3.362253)'))) / (select extract(epoch from '2026-07-17 15:37:30'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47317, 'SRID=4674;POINT (-38.757069 -3.362388)', '2026-07-17 15:37:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757002 -3.362253)'), GeomFromEWKT('SRID=4674;POINT (-38.757069 -3.362388)'))) / (select extract(epoch from '2026-07-17 15:37:36'::timestamp) - extract(epoch from '2026-07-17 15:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757002 -3.362253)'), GeomFromEWKT('SRID=4674;POINT (-38.757069 -3.362388)'))) / (select extract(epoch from '2026-07-17 15:37:36'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47317, 'SRID=4674;POINT (-38.757126 -3.362505)', '2026-07-17 15:37:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757069 -3.362388)'), GeomFromEWKT('SRID=4674;POINT (-38.757126 -3.362505)'))) / (select extract(epoch from '2026-07-17 15:37:41'::timestamp) - extract(epoch from '2026-07-17 15:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757069 -3.362388)'), GeomFromEWKT('SRID=4674;POINT (-38.757126 -3.362505)'))) / (select extract(epoch from '2026-07-17 15:37:41'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47317, 'SRID=4674;POINT (-38.757188 -3.36264)', '2026-07-17 15:37:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757126 -3.362505)'), GeomFromEWKT('SRID=4674;POINT (-38.757188 -3.36264)'))) / (select extract(epoch from '2026-07-17 15:37:47'::timestamp) - extract(epoch from '2026-07-17 15:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757126 -3.362505)'), GeomFromEWKT('SRID=4674;POINT (-38.757188 -3.36264)'))) / (select extract(epoch from '2026-07-17 15:37:47'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47317, 'SRID=4674;POINT (-38.75728 -3.362799)', '2026-07-17 15:37:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757188 -3.36264)'), GeomFromEWKT('SRID=4674;POINT (-38.75728 -3.362799)'))) / (select extract(epoch from '2026-07-17 15:37:54'::timestamp) - extract(epoch from '2026-07-17 15:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757188 -3.36264)'), GeomFromEWKT('SRID=4674;POINT (-38.75728 -3.362799)'))) / (select extract(epoch from '2026-07-17 15:37:54'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.757353 -3.362972)', '2026-07-17 15:38:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75728 -3.362799)'), GeomFromEWKT('SRID=4674;POINT (-38.757353 -3.362972)'))) / (select extract(epoch from '2026-07-17 15:38:01'::timestamp) - extract(epoch from '2026-07-17 15:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75728 -3.362799)'), GeomFromEWKT('SRID=4674;POINT (-38.757353 -3.362972)'))) / (select extract(epoch from '2026-07-17 15:38:01'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47317, 'SRID=4674;POINT (-38.75736 -3.362995)', '2026-07-17 15:38:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757353 -3.362972)'), GeomFromEWKT('SRID=4674;POINT (-38.75736 -3.362995)'))) / (select extract(epoch from '2026-07-17 15:38:02'::timestamp) - extract(epoch from '2026-07-17 15:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757353 -3.362972)'), GeomFromEWKT('SRID=4674;POINT (-38.75736 -3.362995)'))) / (select extract(epoch from '2026-07-17 15:38:02'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47317, 'SRID=4674;POINT (-38.757437 -3.363157)', '2026-07-17 15:38:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75736 -3.362995)'), GeomFromEWKT('SRID=4674;POINT (-38.757437 -3.363157)'))) / (select extract(epoch from '2026-07-17 15:38:09'::timestamp) - extract(epoch from '2026-07-17 15:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75736 -3.362995)'), GeomFromEWKT('SRID=4674;POINT (-38.757437 -3.363157)'))) / (select extract(epoch from '2026-07-17 15:38:09'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47317, 'SRID=4674;POINT (-38.757513 -3.363311)', '2026-07-17 15:38:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757437 -3.363157)'), GeomFromEWKT('SRID=4674;POINT (-38.757513 -3.363311)'))) / (select extract(epoch from '2026-07-17 15:38:16'::timestamp) - extract(epoch from '2026-07-17 15:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757437 -3.363157)'), GeomFromEWKT('SRID=4674;POINT (-38.757513 -3.363311)'))) / (select extract(epoch from '2026-07-17 15:38:16'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47317, 'SRID=4674;POINT (-38.757586 -3.363446)', '2026-07-17 15:38:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757513 -3.363311)'), GeomFromEWKT('SRID=4674;POINT (-38.757586 -3.363446)'))) / (select extract(epoch from '2026-07-17 15:38:22'::timestamp) - extract(epoch from '2026-07-17 15:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757513 -3.363311)'), GeomFromEWKT('SRID=4674;POINT (-38.757586 -3.363446)'))) / (select extract(epoch from '2026-07-17 15:38:22'::timestamp) - extract(epoch from '2026-07-17 15:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.757654 -3.363588)', '2026-07-17 15:38:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757586 -3.363446)'), GeomFromEWKT('SRID=4674;POINT (-38.757654 -3.363588)'))) / (select extract(epoch from '2026-07-17 15:38:28'::timestamp) - extract(epoch from '2026-07-17 15:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757586 -3.363446)'), GeomFromEWKT('SRID=4674;POINT (-38.757654 -3.363588)'))) / (select extract(epoch from '2026-07-17 15:38:28'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.757709 -3.3637)', '2026-07-17 15:38:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757654 -3.363588)'), GeomFromEWKT('SRID=4674;POINT (-38.757709 -3.3637)'))) / (select extract(epoch from '2026-07-17 15:38:33'::timestamp) - extract(epoch from '2026-07-17 15:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757654 -3.363588)'), GeomFromEWKT('SRID=4674;POINT (-38.757709 -3.3637)'))) / (select extract(epoch from '2026-07-17 15:38:33'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.757791 -3.363836)', '2026-07-17 15:38:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757709 -3.3637)'), GeomFromEWKT('SRID=4674;POINT (-38.757791 -3.363836)'))) / (select extract(epoch from '2026-07-17 15:38:39'::timestamp) - extract(epoch from '2026-07-17 15:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757709 -3.3637)'), GeomFromEWKT('SRID=4674;POINT (-38.757791 -3.363836)'))) / (select extract(epoch from '2026-07-17 15:38:39'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47317, 'SRID=4674;POINT (-38.757854 -3.363963)', '2026-07-17 15:38:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757791 -3.363836)'), GeomFromEWKT('SRID=4674;POINT (-38.757854 -3.363963)'))) / (select extract(epoch from '2026-07-17 15:38:45'::timestamp) - extract(epoch from '2026-07-17 15:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757791 -3.363836)'), GeomFromEWKT('SRID=4674;POINT (-38.757854 -3.363963)'))) / (select extract(epoch from '2026-07-17 15:38:45'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47317, 'SRID=4674;POINT (-38.757925 -3.364082)', '2026-07-17 15:38:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757854 -3.363963)'), GeomFromEWKT('SRID=4674;POINT (-38.757925 -3.364082)'))) / (select extract(epoch from '2026-07-17 15:38:51'::timestamp) - extract(epoch from '2026-07-17 15:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757854 -3.363963)'), GeomFromEWKT('SRID=4674;POINT (-38.757925 -3.364082)'))) / (select extract(epoch from '2026-07-17 15:38:51'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47317, 'SRID=4674;POINT (-38.758009 -3.364244)', '2026-07-17 15:38:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757925 -3.364082)'), GeomFromEWKT('SRID=4674;POINT (-38.758009 -3.364244)'))) / (select extract(epoch from '2026-07-17 15:38:58'::timestamp) - extract(epoch from '2026-07-17 15:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.757925 -3.364082)'), GeomFromEWKT('SRID=4674;POINT (-38.758009 -3.364244)'))) / (select extract(epoch from '2026-07-17 15:38:58'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47317, 'SRID=4674;POINT (-38.758066 -3.36442)', '2026-07-17 15:39:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758009 -3.364244)'), GeomFromEWKT('SRID=4674;POINT (-38.758066 -3.36442)'))) / (select extract(epoch from '2026-07-17 15:39:06'::timestamp) - extract(epoch from '2026-07-17 15:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758009 -3.364244)'), GeomFromEWKT('SRID=4674;POINT (-38.758066 -3.36442)'))) / (select extract(epoch from '2026-07-17 15:39:06'::timestamp) - extract(epoch from '2026-07-17 15:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.758152 -3.364604)', '2026-07-17 15:39:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758066 -3.36442)'), GeomFromEWKT('SRID=4674;POINT (-38.758152 -3.364604)'))) / (select extract(epoch from '2026-07-17 15:39:14'::timestamp) - extract(epoch from '2026-07-17 15:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758066 -3.36442)'), GeomFromEWKT('SRID=4674;POINT (-38.758152 -3.364604)'))) / (select extract(epoch from '2026-07-17 15:39:14'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47317, 'SRID=4674;POINT (-38.758211 -3.364728)', '2026-07-17 15:39:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758152 -3.364604)'), GeomFromEWKT('SRID=4674;POINT (-38.758211 -3.364728)'))) / (select extract(epoch from '2026-07-17 15:39:20'::timestamp) - extract(epoch from '2026-07-17 15:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758152 -3.364604)'), GeomFromEWKT('SRID=4674;POINT (-38.758211 -3.364728)'))) / (select extract(epoch from '2026-07-17 15:39:20'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47317, 'SRID=4674;POINT (-38.758289 -3.364886)', '2026-07-17 15:39:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758211 -3.364728)'), GeomFromEWKT('SRID=4674;POINT (-38.758289 -3.364886)'))) / (select extract(epoch from '2026-07-17 15:39:27'::timestamp) - extract(epoch from '2026-07-17 15:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758211 -3.364728)'), GeomFromEWKT('SRID=4674;POINT (-38.758289 -3.364886)'))) / (select extract(epoch from '2026-07-17 15:39:27'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47317, 'SRID=4674;POINT (-38.75837 -3.365028)', '2026-07-17 15:39:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758289 -3.364886)'), GeomFromEWKT('SRID=4674;POINT (-38.75837 -3.365028)'))) / (select extract(epoch from '2026-07-17 15:39:33'::timestamp) - extract(epoch from '2026-07-17 15:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758289 -3.364886)'), GeomFromEWKT('SRID=4674;POINT (-38.75837 -3.365028)'))) / (select extract(epoch from '2026-07-17 15:39:33'::timestamp) - extract(epoch from '2026-07-17 15:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.758418 -3.365164)', '2026-07-17 15:39:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75837 -3.365028)'), GeomFromEWKT('SRID=4674;POINT (-38.758418 -3.365164)'))) / (select extract(epoch from '2026-07-17 15:39:39'::timestamp) - extract(epoch from '2026-07-17 15:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75837 -3.365028)'), GeomFromEWKT('SRID=4674;POINT (-38.758418 -3.365164)'))) / (select extract(epoch from '2026-07-17 15:39:39'::timestamp) - extract(epoch from '2026-07-17 15:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.758454 -3.365301)', '2026-07-17 15:39:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758418 -3.365164)'), GeomFromEWKT('SRID=4674;POINT (-38.758454 -3.365301)'))) / (select extract(epoch from '2026-07-17 15:39:45'::timestamp) - extract(epoch from '2026-07-17 15:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758418 -3.365164)'), GeomFromEWKT('SRID=4674;POINT (-38.758454 -3.365301)'))) / (select extract(epoch from '2026-07-17 15:39:45'::timestamp) - extract(epoch from '2026-07-17 15:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.758497 -3.365419)', '2026-07-17 15:39:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758454 -3.365301)'), GeomFromEWKT('SRID=4674;POINT (-38.758497 -3.365419)'))) / (select extract(epoch from '2026-07-17 15:39:50'::timestamp) - extract(epoch from '2026-07-17 15:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758454 -3.365301)'), GeomFromEWKT('SRID=4674;POINT (-38.758497 -3.365419)'))) / (select extract(epoch from '2026-07-17 15:39:50'::timestamp) - extract(epoch from '2026-07-17 15:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.758556 -3.365538)', '2026-07-17 15:39:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758497 -3.365419)'), GeomFromEWKT('SRID=4674;POINT (-38.758556 -3.365538)'))) / (select extract(epoch from '2026-07-17 15:39:55'::timestamp) - extract(epoch from '2026-07-17 15:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758497 -3.365419)'), GeomFromEWKT('SRID=4674;POINT (-38.758556 -3.365538)'))) / (select extract(epoch from '2026-07-17 15:39:55'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.758638 -3.365689)', '2026-07-17 15:40:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758556 -3.365538)'), GeomFromEWKT('SRID=4674;POINT (-38.758638 -3.365689)'))) / (select extract(epoch from '2026-07-17 15:40:01'::timestamp) - extract(epoch from '2026-07-17 15:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758556 -3.365538)'), GeomFromEWKT('SRID=4674;POINT (-38.758638 -3.365689)'))) / (select extract(epoch from '2026-07-17 15:40:01'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47317, 'SRID=4674;POINT (-38.758721 -3.365875)', '2026-07-17 15:40:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758638 -3.365689)'), GeomFromEWKT('SRID=4674;POINT (-38.758721 -3.365875)'))) / (select extract(epoch from '2026-07-17 15:40:09'::timestamp) - extract(epoch from '2026-07-17 15:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758638 -3.365689)'), GeomFromEWKT('SRID=4674;POINT (-38.758721 -3.365875)'))) / (select extract(epoch from '2026-07-17 15:40:09'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47317, 'SRID=4674;POINT (-38.758789 -3.366037)', '2026-07-17 15:40:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758721 -3.365875)'), GeomFromEWKT('SRID=4674;POINT (-38.758789 -3.366037)'))) / (select extract(epoch from '2026-07-17 15:40:16'::timestamp) - extract(epoch from '2026-07-17 15:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758721 -3.365875)'), GeomFromEWKT('SRID=4674;POINT (-38.758789 -3.366037)'))) / (select extract(epoch from '2026-07-17 15:40:16'::timestamp) - extract(epoch from '2026-07-17 15:40:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.758857 -3.366176)', '2026-07-17 15:40:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758789 -3.366037)'), GeomFromEWKT('SRID=4674;POINT (-38.758857 -3.366176)'))) / (select extract(epoch from '2026-07-17 15:40:22'::timestamp) - extract(epoch from '2026-07-17 15:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758789 -3.366037)'), GeomFromEWKT('SRID=4674;POINT (-38.758857 -3.366176)'))) / (select extract(epoch from '2026-07-17 15:40:22'::timestamp) - extract(epoch from '2026-07-17 15:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.758917 -3.366314)', '2026-07-17 15:40:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758857 -3.366176)'), GeomFromEWKT('SRID=4674;POINT (-38.758917 -3.366314)'))) / (select extract(epoch from '2026-07-17 15:40:28'::timestamp) - extract(epoch from '2026-07-17 15:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758857 -3.366176)'), GeomFromEWKT('SRID=4674;POINT (-38.758917 -3.366314)'))) / (select extract(epoch from '2026-07-17 15:40:28'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47317, 'SRID=4674;POINT (-38.758978 -3.366451)', '2026-07-17 15:40:34', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758917 -3.366314)'), GeomFromEWKT('SRID=4674;POINT (-38.758978 -3.366451)'))) / (select extract(epoch from '2026-07-17 15:40:34'::timestamp) - extract(epoch from '2026-07-17 15:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758917 -3.366314)'), GeomFromEWKT('SRID=4674;POINT (-38.758978 -3.366451)'))) / (select extract(epoch from '2026-07-17 15:40:34'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47317, 'SRID=4674;POINT (-38.759048 -3.36659)', '2026-07-17 15:40:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758978 -3.366451)'), GeomFromEWKT('SRID=4674;POINT (-38.759048 -3.36659)'))) / (select extract(epoch from '2026-07-17 15:40:40'::timestamp) - extract(epoch from '2026-07-17 15:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.758978 -3.366451)'), GeomFromEWKT('SRID=4674;POINT (-38.759048 -3.36659)'))) / (select extract(epoch from '2026-07-17 15:40:40'::timestamp) - extract(epoch from '2026-07-17 15:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.75912 -3.36675)', '2026-07-17 15:40:47', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759048 -3.36659)'), GeomFromEWKT('SRID=4674;POINT (-38.75912 -3.36675)'))) / (select extract(epoch from '2026-07-17 15:40:47'::timestamp) - extract(epoch from '2026-07-17 15:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759048 -3.36659)'), GeomFromEWKT('SRID=4674;POINT (-38.75912 -3.36675)'))) / (select extract(epoch from '2026-07-17 15:40:47'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47317, 'SRID=4674;POINT (-38.759187 -3.36693)', '2026-07-17 15:40:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75912 -3.36675)'), GeomFromEWKT('SRID=4674;POINT (-38.759187 -3.36693)'))) / (select extract(epoch from '2026-07-17 15:40:54'::timestamp) - extract(epoch from '2026-07-17 15:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75912 -3.36675)'), GeomFromEWKT('SRID=4674;POINT (-38.759187 -3.36693)'))) / (select extract(epoch from '2026-07-17 15:40:54'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.759263 -3.36709)', '2026-07-17 15:41:01', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759187 -3.36693)'), GeomFromEWKT('SRID=4674;POINT (-38.759263 -3.36709)'))) / (select extract(epoch from '2026-07-17 15:41:01'::timestamp) - extract(epoch from '2026-07-17 15:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759187 -3.36693)'), GeomFromEWKT('SRID=4674;POINT (-38.759263 -3.36709)'))) / (select extract(epoch from '2026-07-17 15:41:01'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47317, 'SRID=4674;POINT (-38.75932 -3.367204)', '2026-07-17 15:41:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759263 -3.36709)'), GeomFromEWKT('SRID=4674;POINT (-38.75932 -3.367204)'))) / (select extract(epoch from '2026-07-17 15:41:06'::timestamp) - extract(epoch from '2026-07-17 15:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759263 -3.36709)'), GeomFromEWKT('SRID=4674;POINT (-38.75932 -3.367204)'))) / (select extract(epoch from '2026-07-17 15:41:06'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47317, 'SRID=4674;POINT (-38.759403 -3.367392)', '2026-07-17 15:41:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75932 -3.367204)'), GeomFromEWKT('SRID=4674;POINT (-38.759403 -3.367392)'))) / (select extract(epoch from '2026-07-17 15:41:14'::timestamp) - extract(epoch from '2026-07-17 15:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.75932 -3.367204)'), GeomFromEWKT('SRID=4674;POINT (-38.759403 -3.367392)'))) / (select extract(epoch from '2026-07-17 15:41:14'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47317, 'SRID=4674;POINT (-38.759482 -3.367536)', '2026-07-17 15:41:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759403 -3.367392)'), GeomFromEWKT('SRID=4674;POINT (-38.759482 -3.367536)'))) / (select extract(epoch from '2026-07-17 15:41:21'::timestamp) - extract(epoch from '2026-07-17 15:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759403 -3.367392)'), GeomFromEWKT('SRID=4674;POINT (-38.759482 -3.367536)'))) / (select extract(epoch from '2026-07-17 15:41:21'::timestamp) - extract(epoch from '2026-07-17 15:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.759567 -3.367701)', '2026-07-17 15:41:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759482 -3.367536)'), GeomFromEWKT('SRID=4674;POINT (-38.759567 -3.367701)'))) / (select extract(epoch from '2026-07-17 15:41:28'::timestamp) - extract(epoch from '2026-07-17 15:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759482 -3.367536)'), GeomFromEWKT('SRID=4674;POINT (-38.759567 -3.367701)'))) / (select extract(epoch from '2026-07-17 15:41:28'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.759607 -3.367805)', '2026-07-17 15:41:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759567 -3.367701)'), GeomFromEWKT('SRID=4674;POINT (-38.759607 -3.367805)'))) / (select extract(epoch from '2026-07-17 15:41:33'::timestamp) - extract(epoch from '2026-07-17 15:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759567 -3.367701)'), GeomFromEWKT('SRID=4674;POINT (-38.759607 -3.367805)'))) / (select extract(epoch from '2026-07-17 15:41:33'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.759642 -3.367895)', '2026-07-17 15:41:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759607 -3.367805)'), GeomFromEWKT('SRID=4674;POINT (-38.759642 -3.367895)'))) / (select extract(epoch from '2026-07-17 15:41:37'::timestamp) - extract(epoch from '2026-07-17 15:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759607 -3.367805)'), GeomFromEWKT('SRID=4674;POINT (-38.759642 -3.367895)'))) / (select extract(epoch from '2026-07-17 15:41:37'::timestamp) - extract(epoch from '2026-07-17 15:41:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.759693 -3.367989)', '2026-07-17 15:41:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759642 -3.367895)'), GeomFromEWKT('SRID=4674;POINT (-38.759693 -3.367989)'))) / (select extract(epoch from '2026-07-17 15:41:41'::timestamp) - extract(epoch from '2026-07-17 15:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759642 -3.367895)'), GeomFromEWKT('SRID=4674;POINT (-38.759693 -3.367989)'))) / (select extract(epoch from '2026-07-17 15:41:41'::timestamp) - extract(epoch from '2026-07-17 15:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.759747 -3.368099)', '2026-07-17 15:41:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759693 -3.367989)'), GeomFromEWKT('SRID=4674;POINT (-38.759747 -3.368099)'))) / (select extract(epoch from '2026-07-17 15:41:46'::timestamp) - extract(epoch from '2026-07-17 15:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759693 -3.367989)'), GeomFromEWKT('SRID=4674;POINT (-38.759747 -3.368099)'))) / (select extract(epoch from '2026-07-17 15:41:46'::timestamp) - extract(epoch from '2026-07-17 15:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.759829 -3.368211)', '2026-07-17 15:41:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759747 -3.368099)'), GeomFromEWKT('SRID=4674;POINT (-38.759829 -3.368211)'))) / (select extract(epoch from '2026-07-17 15:41:51'::timestamp) - extract(epoch from '2026-07-17 15:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759747 -3.368099)'), GeomFromEWKT('SRID=4674;POINT (-38.759829 -3.368211)'))) / (select extract(epoch from '2026-07-17 15:41:51'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47317, 'SRID=4674;POINT (-38.759888 -3.368333)', '2026-07-17 15:41:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759829 -3.368211)'), GeomFromEWKT('SRID=4674;POINT (-38.759888 -3.368333)'))) / (select extract(epoch from '2026-07-17 15:41:56'::timestamp) - extract(epoch from '2026-07-17 15:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759829 -3.368211)'), GeomFromEWKT('SRID=4674;POINT (-38.759888 -3.368333)'))) / (select extract(epoch from '2026-07-17 15:41:56'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47317, 'SRID=4674;POINT (-38.759968 -3.36846)', '2026-07-17 15:42:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759888 -3.368333)'), GeomFromEWKT('SRID=4674;POINT (-38.759968 -3.36846)'))) / (select extract(epoch from '2026-07-17 15:42:02'::timestamp) - extract(epoch from '2026-07-17 15:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759888 -3.368333)'), GeomFromEWKT('SRID=4674;POINT (-38.759968 -3.36846)'))) / (select extract(epoch from '2026-07-17 15:42:02'::timestamp) - extract(epoch from '2026-07-17 15:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.760047 -3.368629)', '2026-07-17 15:42:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759968 -3.36846)'), GeomFromEWKT('SRID=4674;POINT (-38.760047 -3.368629)'))) / (select extract(epoch from '2026-07-17 15:42:09'::timestamp) - extract(epoch from '2026-07-17 15:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.759968 -3.36846)'), GeomFromEWKT('SRID=4674;POINT (-38.760047 -3.368629)'))) / (select extract(epoch from '2026-07-17 15:42:09'::timestamp) - extract(epoch from '2026-07-17 15:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.760073 -3.368737)', '2026-07-17 15:42:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760047 -3.368629)'), GeomFromEWKT('SRID=4674;POINT (-38.760073 -3.368737)'))) / (select extract(epoch from '2026-07-17 15:42:14'::timestamp) - extract(epoch from '2026-07-17 15:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760047 -3.368629)'), GeomFromEWKT('SRID=4674;POINT (-38.760073 -3.368737)'))) / (select extract(epoch from '2026-07-17 15:42:14'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.760089 -3.368845)', '2026-07-17 15:42:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760073 -3.368737)'), GeomFromEWKT('SRID=4674;POINT (-38.760089 -3.368845)'))) / (select extract(epoch from '2026-07-17 15:42:19'::timestamp) - extract(epoch from '2026-07-17 15:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760073 -3.368737)'), GeomFromEWKT('SRID=4674;POINT (-38.760089 -3.368845)'))) / (select extract(epoch from '2026-07-17 15:42:19'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47317, 'SRID=4674;POINT (-38.760154 -3.368964)', '2026-07-17 15:42:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760089 -3.368845)'), GeomFromEWKT('SRID=4674;POINT (-38.760154 -3.368964)'))) / (select extract(epoch from '2026-07-17 15:42:24'::timestamp) - extract(epoch from '2026-07-17 15:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760089 -3.368845)'), GeomFromEWKT('SRID=4674;POINT (-38.760154 -3.368964)'))) / (select extract(epoch from '2026-07-17 15:42:24'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47317, 'SRID=4674;POINT (-38.760251 -3.369096)', '2026-07-17 15:42:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760154 -3.368964)'), GeomFromEWKT('SRID=4674;POINT (-38.760251 -3.369096)'))) / (select extract(epoch from '2026-07-17 15:42:30'::timestamp) - extract(epoch from '2026-07-17 15:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760154 -3.368964)'), GeomFromEWKT('SRID=4674;POINT (-38.760251 -3.369096)'))) / (select extract(epoch from '2026-07-17 15:42:30'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.760325 -3.369236)', '2026-07-17 15:42:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760251 -3.369096)'), GeomFromEWKT('SRID=4674;POINT (-38.760325 -3.369236)'))) / (select extract(epoch from '2026-07-17 15:42:36'::timestamp) - extract(epoch from '2026-07-17 15:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760251 -3.369096)'), GeomFromEWKT('SRID=4674;POINT (-38.760325 -3.369236)'))) / (select extract(epoch from '2026-07-17 15:42:36'::timestamp) - extract(epoch from '2026-07-17 15:42:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.760381 -3.369405)', '2026-07-17 15:42:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760325 -3.369236)'), GeomFromEWKT('SRID=4674;POINT (-38.760381 -3.369405)'))) / (select extract(epoch from '2026-07-17 15:42:43'::timestamp) - extract(epoch from '2026-07-17 15:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760325 -3.369236)'), GeomFromEWKT('SRID=4674;POINT (-38.760381 -3.369405)'))) / (select extract(epoch from '2026-07-17 15:42:43'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47317, 'SRID=4674;POINT (-38.760409 -3.369512)', '2026-07-17 15:42:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760381 -3.369405)'), GeomFromEWKT('SRID=4674;POINT (-38.760409 -3.369512)'))) / (select extract(epoch from '2026-07-17 15:42:48'::timestamp) - extract(epoch from '2026-07-17 15:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760381 -3.369405)'), GeomFromEWKT('SRID=4674;POINT (-38.760409 -3.369512)'))) / (select extract(epoch from '2026-07-17 15:42:48'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47317, 'SRID=4674;POINT (-38.760454 -3.369703)', '2026-07-17 15:42:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760409 -3.369512)'), GeomFromEWKT('SRID=4674;POINT (-38.760454 -3.369703)'))) / (select extract(epoch from '2026-07-17 15:42:56'::timestamp) - extract(epoch from '2026-07-17 15:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760409 -3.369512)'), GeomFromEWKT('SRID=4674;POINT (-38.760454 -3.369703)'))) / (select extract(epoch from '2026-07-17 15:42:56'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.760486 -3.369821)', '2026-07-17 15:43:01', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760454 -3.369703)'), GeomFromEWKT('SRID=4674;POINT (-38.760486 -3.369821)'))) / (select extract(epoch from '2026-07-17 15:43:01'::timestamp) - extract(epoch from '2026-07-17 15:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760454 -3.369703)'), GeomFromEWKT('SRID=4674;POINT (-38.760486 -3.369821)'))) / (select extract(epoch from '2026-07-17 15:43:01'::timestamp) - extract(epoch from '2026-07-17 15:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.760506 -3.369847)', '2026-07-17 15:43:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760486 -3.369821)'), GeomFromEWKT('SRID=4674;POINT (-38.760506 -3.369847)'))) / (select extract(epoch from '2026-07-17 15:43:02'::timestamp) - extract(epoch from '2026-07-17 15:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760486 -3.369821)'), GeomFromEWKT('SRID=4674;POINT (-38.760506 -3.369847)'))) / (select extract(epoch from '2026-07-17 15:43:02'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47317, 'SRID=4674;POINT (-38.76055 -3.369945)', '2026-07-17 15:43:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760506 -3.369847)'), GeomFromEWKT('SRID=4674;POINT (-38.76055 -3.369945)'))) / (select extract(epoch from '2026-07-17 15:43:06'::timestamp) - extract(epoch from '2026-07-17 15:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760506 -3.369847)'), GeomFromEWKT('SRID=4674;POINT (-38.76055 -3.369945)'))) / (select extract(epoch from '2026-07-17 15:43:06'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47317, 'SRID=4674;POINT (-38.760647 -3.370102)', '2026-07-17 15:43:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76055 -3.369945)'), GeomFromEWKT('SRID=4674;POINT (-38.760647 -3.370102)'))) / (select extract(epoch from '2026-07-17 15:43:13'::timestamp) - extract(epoch from '2026-07-17 15:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76055 -3.369945)'), GeomFromEWKT('SRID=4674;POINT (-38.760647 -3.370102)'))) / (select extract(epoch from '2026-07-17 15:43:13'::timestamp) - extract(epoch from '2026-07-17 15:43:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.760704 -3.370237)', '2026-07-17 15:43:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760647 -3.370102)'), GeomFromEWKT('SRID=4674;POINT (-38.760704 -3.370237)'))) / (select extract(epoch from '2026-07-17 15:43:19'::timestamp) - extract(epoch from '2026-07-17 15:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760647 -3.370102)'), GeomFromEWKT('SRID=4674;POINT (-38.760704 -3.370237)'))) / (select extract(epoch from '2026-07-17 15:43:19'::timestamp) - extract(epoch from '2026-07-17 15:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.760785 -3.3704)', '2026-07-17 15:43:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760704 -3.370237)'), GeomFromEWKT('SRID=4674;POINT (-38.760785 -3.3704)'))) / (select extract(epoch from '2026-07-17 15:43:26'::timestamp) - extract(epoch from '2026-07-17 15:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760704 -3.370237)'), GeomFromEWKT('SRID=4674;POINT (-38.760785 -3.3704)'))) / (select extract(epoch from '2026-07-17 15:43:26'::timestamp) - extract(epoch from '2026-07-17 15:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.760844 -3.370538)', '2026-07-17 15:43:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760785 -3.3704)'), GeomFromEWKT('SRID=4674;POINT (-38.760844 -3.370538)'))) / (select extract(epoch from '2026-07-17 15:43:32'::timestamp) - extract(epoch from '2026-07-17 15:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760785 -3.3704)'), GeomFromEWKT('SRID=4674;POINT (-38.760844 -3.370538)'))) / (select extract(epoch from '2026-07-17 15:43:32'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47317, 'SRID=4674;POINT (-38.76091 -3.37069)', '2026-07-17 15:43:38', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760844 -3.370538)'), GeomFromEWKT('SRID=4674;POINT (-38.76091 -3.37069)'))) / (select extract(epoch from '2026-07-17 15:43:38'::timestamp) - extract(epoch from '2026-07-17 15:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760844 -3.370538)'), GeomFromEWKT('SRID=4674;POINT (-38.76091 -3.37069)'))) / (select extract(epoch from '2026-07-17 15:43:38'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47317, 'SRID=4674;POINT (-38.760974 -3.370828)', '2026-07-17 15:43:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76091 -3.37069)'), GeomFromEWKT('SRID=4674;POINT (-38.760974 -3.370828)'))) / (select extract(epoch from '2026-07-17 15:43:44'::timestamp) - extract(epoch from '2026-07-17 15:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76091 -3.37069)'), GeomFromEWKT('SRID=4674;POINT (-38.760974 -3.370828)'))) / (select extract(epoch from '2026-07-17 15:43:44'::timestamp) - extract(epoch from '2026-07-17 15:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.76106 -3.371)', '2026-07-17 15:43:52', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760974 -3.370828)'), GeomFromEWKT('SRID=4674;POINT (-38.76106 -3.371)'))) / (select extract(epoch from '2026-07-17 15:43:52'::timestamp) - extract(epoch from '2026-07-17 15:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.760974 -3.370828)'), GeomFromEWKT('SRID=4674;POINT (-38.76106 -3.371)'))) / (select extract(epoch from '2026-07-17 15:43:52'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47317, 'SRID=4674;POINT (-38.76113 -3.371132)', '2026-07-17 15:43:58', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76106 -3.371)'), GeomFromEWKT('SRID=4674;POINT (-38.76113 -3.371132)'))) / (select extract(epoch from '2026-07-17 15:43:58'::timestamp) - extract(epoch from '2026-07-17 15:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76106 -3.371)'), GeomFromEWKT('SRID=4674;POINT (-38.76113 -3.371132)'))) / (select extract(epoch from '2026-07-17 15:43:58'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47317, 'SRID=4674;POINT (-38.761185 -3.371247)', '2026-07-17 15:44:03', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76113 -3.371132)'), GeomFromEWKT('SRID=4674;POINT (-38.761185 -3.371247)'))) / (select extract(epoch from '2026-07-17 15:44:03'::timestamp) - extract(epoch from '2026-07-17 15:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76113 -3.371132)'), GeomFromEWKT('SRID=4674;POINT (-38.761185 -3.371247)'))) / (select extract(epoch from '2026-07-17 15:44:03'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.76124 -3.371386)', '2026-07-17 15:44:09', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761185 -3.371247)'), GeomFromEWKT('SRID=4674;POINT (-38.76124 -3.371386)'))) / (select extract(epoch from '2026-07-17 15:44:09'::timestamp) - extract(epoch from '2026-07-17 15:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761185 -3.371247)'), GeomFromEWKT('SRID=4674;POINT (-38.76124 -3.371386)'))) / (select extract(epoch from '2026-07-17 15:44:09'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47317, 'SRID=4674;POINT (-38.761299 -3.37155)', '2026-07-17 15:44:16', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76124 -3.371386)'), GeomFromEWKT('SRID=4674;POINT (-38.761299 -3.37155)'))) / (select extract(epoch from '2026-07-17 15:44:16'::timestamp) - extract(epoch from '2026-07-17 15:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76124 -3.371386)'), GeomFromEWKT('SRID=4674;POINT (-38.761299 -3.37155)'))) / (select extract(epoch from '2026-07-17 15:44:16'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47317, 'SRID=4674;POINT (-38.761338 -3.371667)', '2026-07-17 15:44:21', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761299 -3.37155)'), GeomFromEWKT('SRID=4674;POINT (-38.761338 -3.371667)'))) / (select extract(epoch from '2026-07-17 15:44:21'::timestamp) - extract(epoch from '2026-07-17 15:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761299 -3.37155)'), GeomFromEWKT('SRID=4674;POINT (-38.761338 -3.371667)'))) / (select extract(epoch from '2026-07-17 15:44:21'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47317, 'SRID=4674;POINT (-38.761399 -3.371803)', '2026-07-17 15:44:27', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761338 -3.371667)'), GeomFromEWKT('SRID=4674;POINT (-38.761399 -3.371803)'))) / (select extract(epoch from '2026-07-17 15:44:27'::timestamp) - extract(epoch from '2026-07-17 15:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761338 -3.371667)'), GeomFromEWKT('SRID=4674;POINT (-38.761399 -3.371803)'))) / (select extract(epoch from '2026-07-17 15:44:27'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47317, 'SRID=4674;POINT (-38.761478 -3.371965)', '2026-07-17 15:44:34', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761399 -3.371803)'), GeomFromEWKT('SRID=4674;POINT (-38.761478 -3.371965)'))) / (select extract(epoch from '2026-07-17 15:44:34'::timestamp) - extract(epoch from '2026-07-17 15:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761399 -3.371803)'), GeomFromEWKT('SRID=4674;POINT (-38.761478 -3.371965)'))) / (select extract(epoch from '2026-07-17 15:44:34'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47317, 'SRID=4674;POINT (-38.76153 -3.372078)', '2026-07-17 15:44:39', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761478 -3.371965)'), GeomFromEWKT('SRID=4674;POINT (-38.76153 -3.372078)'))) / (select extract(epoch from '2026-07-17 15:44:39'::timestamp) - extract(epoch from '2026-07-17 15:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761478 -3.371965)'), GeomFromEWKT('SRID=4674;POINT (-38.76153 -3.372078)'))) / (select extract(epoch from '2026-07-17 15:44:39'::timestamp) - extract(epoch from '2026-07-17 15:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.761607 -3.372245)', '2026-07-17 15:44:46', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76153 -3.372078)'), GeomFromEWKT('SRID=4674;POINT (-38.761607 -3.372245)'))) / (select extract(epoch from '2026-07-17 15:44:46'::timestamp) - extract(epoch from '2026-07-17 15:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76153 -3.372078)'), GeomFromEWKT('SRID=4674;POINT (-38.761607 -3.372245)'))) / (select extract(epoch from '2026-07-17 15:44:46'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47317, 'SRID=4674;POINT (-38.761621 -3.37227)', '2026-07-17 15:44:47', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761607 -3.372245)'), GeomFromEWKT('SRID=4674;POINT (-38.761621 -3.37227)'))) / (select extract(epoch from '2026-07-17 15:44:47'::timestamp) - extract(epoch from '2026-07-17 15:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761607 -3.372245)'), GeomFromEWKT('SRID=4674;POINT (-38.761621 -3.37227)'))) / (select extract(epoch from '2026-07-17 15:44:47'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47317, 'SRID=4674;POINT (-38.761678 -3.372408)', '2026-07-17 15:44:53', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761621 -3.37227)'), GeomFromEWKT('SRID=4674;POINT (-38.761678 -3.372408)'))) / (select extract(epoch from '2026-07-17 15:44:53'::timestamp) - extract(epoch from '2026-07-17 15:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761621 -3.37227)'), GeomFromEWKT('SRID=4674;POINT (-38.761678 -3.372408)'))) / (select extract(epoch from '2026-07-17 15:44:53'::timestamp) - extract(epoch from '2026-07-17 15:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.761733 -3.372542)', '2026-07-17 15:44:59', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761678 -3.372408)'), GeomFromEWKT('SRID=4674;POINT (-38.761733 -3.372542)'))) / (select extract(epoch from '2026-07-17 15:44:59'::timestamp) - extract(epoch from '2026-07-17 15:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761678 -3.372408)'), GeomFromEWKT('SRID=4674;POINT (-38.761733 -3.372542)'))) / (select extract(epoch from '2026-07-17 15:44:59'::timestamp) - extract(epoch from '2026-07-17 15:44:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.761797 -3.372688)', '2026-07-17 15:45:05', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761733 -3.372542)'), GeomFromEWKT('SRID=4674;POINT (-38.761797 -3.372688)'))) / (select extract(epoch from '2026-07-17 15:45:05'::timestamp) - extract(epoch from '2026-07-17 15:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761733 -3.372542)'), GeomFromEWKT('SRID=4674;POINT (-38.761797 -3.372688)'))) / (select extract(epoch from '2026-07-17 15:45:05'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47317, 'SRID=4674;POINT (-38.761866 -3.372849)', '2026-07-17 15:45:12', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761797 -3.372688)'), GeomFromEWKT('SRID=4674;POINT (-38.761866 -3.372849)'))) / (select extract(epoch from '2026-07-17 15:45:12'::timestamp) - extract(epoch from '2026-07-17 15:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761797 -3.372688)'), GeomFromEWKT('SRID=4674;POINT (-38.761866 -3.372849)'))) / (select extract(epoch from '2026-07-17 15:45:12'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47317, 'SRID=4674;POINT (-38.761901 -3.372972)', '2026-07-17 15:45:17', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761866 -3.372849)'), GeomFromEWKT('SRID=4674;POINT (-38.761901 -3.372972)'))) / (select extract(epoch from '2026-07-17 15:45:17'::timestamp) - extract(epoch from '2026-07-17 15:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761866 -3.372849)'), GeomFromEWKT('SRID=4674;POINT (-38.761901 -3.372972)'))) / (select extract(epoch from '2026-07-17 15:45:17'::timestamp) - extract(epoch from '2026-07-17 15:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.761945 -3.373081)', '2026-07-17 15:45:22', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761901 -3.372972)'), GeomFromEWKT('SRID=4674;POINT (-38.761945 -3.373081)'))) / (select extract(epoch from '2026-07-17 15:45:22'::timestamp) - extract(epoch from '2026-07-17 15:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761901 -3.372972)'), GeomFromEWKT('SRID=4674;POINT (-38.761945 -3.373081)'))) / (select extract(epoch from '2026-07-17 15:45:22'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47317, 'SRID=4674;POINT (-38.762019 -3.373243)', '2026-07-17 15:45:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761945 -3.373081)'), GeomFromEWKT('SRID=4674;POINT (-38.762019 -3.373243)'))) / (select extract(epoch from '2026-07-17 15:45:29'::timestamp) - extract(epoch from '2026-07-17 15:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.761945 -3.373081)'), GeomFromEWKT('SRID=4674;POINT (-38.762019 -3.373243)'))) / (select extract(epoch from '2026-07-17 15:45:29'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47317, 'SRID=4674;POINT (-38.76208 -3.373392)', '2026-07-17 15:45:35', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762019 -3.373243)'), GeomFromEWKT('SRID=4674;POINT (-38.76208 -3.373392)'))) / (select extract(epoch from '2026-07-17 15:45:35'::timestamp) - extract(epoch from '2026-07-17 15:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762019 -3.373243)'), GeomFromEWKT('SRID=4674;POINT (-38.76208 -3.373392)'))) / (select extract(epoch from '2026-07-17 15:45:35'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47317, 'SRID=4674;POINT (-38.762133 -3.373504)', '2026-07-17 15:45:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76208 -3.373392)'), GeomFromEWKT('SRID=4674;POINT (-38.762133 -3.373504)'))) / (select extract(epoch from '2026-07-17 15:45:40'::timestamp) - extract(epoch from '2026-07-17 15:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76208 -3.373392)'), GeomFromEWKT('SRID=4674;POINT (-38.762133 -3.373504)'))) / (select extract(epoch from '2026-07-17 15:45:40'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.762219 -3.373684)', '2026-07-17 15:45:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762133 -3.373504)'), GeomFromEWKT('SRID=4674;POINT (-38.762219 -3.373684)'))) / (select extract(epoch from '2026-07-17 15:45:48'::timestamp) - extract(epoch from '2026-07-17 15:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762133 -3.373504)'), GeomFromEWKT('SRID=4674;POINT (-38.762219 -3.373684)'))) / (select extract(epoch from '2026-07-17 15:45:48'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47317, 'SRID=4674;POINT (-38.762293 -3.373836)', '2026-07-17 15:45:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762219 -3.373684)'), GeomFromEWKT('SRID=4674;POINT (-38.762293 -3.373836)'))) / (select extract(epoch from '2026-07-17 15:45:55'::timestamp) - extract(epoch from '2026-07-17 15:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762219 -3.373684)'), GeomFromEWKT('SRID=4674;POINT (-38.762293 -3.373836)'))) / (select extract(epoch from '2026-07-17 15:45:55'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47317, 'SRID=4674;POINT (-38.762336 -3.373968)', '2026-07-17 15:46:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762293 -3.373836)'), GeomFromEWKT('SRID=4674;POINT (-38.762336 -3.373968)'))) / (select extract(epoch from '2026-07-17 15:46:01'::timestamp) - extract(epoch from '2026-07-17 15:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762293 -3.373836)'), GeomFromEWKT('SRID=4674;POINT (-38.762336 -3.373968)'))) / (select extract(epoch from '2026-07-17 15:46:01'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47317, 'SRID=4674;POINT (-38.762372 -3.374061)', '2026-07-17 15:46:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762336 -3.373968)'), GeomFromEWKT('SRID=4674;POINT (-38.762372 -3.374061)'))) / (select extract(epoch from '2026-07-17 15:46:05'::timestamp) - extract(epoch from '2026-07-17 15:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762336 -3.373968)'), GeomFromEWKT('SRID=4674;POINT (-38.762372 -3.374061)'))) / (select extract(epoch from '2026-07-17 15:46:05'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47317, 'SRID=4674;POINT (-38.762414 -3.374177)', '2026-07-17 15:46:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762372 -3.374061)'), GeomFromEWKT('SRID=4674;POINT (-38.762414 -3.374177)'))) / (select extract(epoch from '2026-07-17 15:46:10'::timestamp) - extract(epoch from '2026-07-17 15:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762372 -3.374061)'), GeomFromEWKT('SRID=4674;POINT (-38.762414 -3.374177)'))) / (select extract(epoch from '2026-07-17 15:46:10'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47317, 'SRID=4674;POINT (-38.762472 -3.374318)', '2026-07-17 15:46:16', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762414 -3.374177)'), GeomFromEWKT('SRID=4674;POINT (-38.762472 -3.374318)'))) / (select extract(epoch from '2026-07-17 15:46:16'::timestamp) - extract(epoch from '2026-07-17 15:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762414 -3.374177)'), GeomFromEWKT('SRID=4674;POINT (-38.762472 -3.374318)'))) / (select extract(epoch from '2026-07-17 15:46:16'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.762534 -3.374483)', '2026-07-17 15:46:23', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762472 -3.374318)'), GeomFromEWKT('SRID=4674;POINT (-38.762534 -3.374483)'))) / (select extract(epoch from '2026-07-17 15:46:23'::timestamp) - extract(epoch from '2026-07-17 15:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762472 -3.374318)'), GeomFromEWKT('SRID=4674;POINT (-38.762534 -3.374483)'))) / (select extract(epoch from '2026-07-17 15:46:23'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47317, 'SRID=4674;POINT (-38.762597 -3.37462)', '2026-07-17 15:46:29', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762534 -3.374483)'), GeomFromEWKT('SRID=4674;POINT (-38.762597 -3.37462)'))) / (select extract(epoch from '2026-07-17 15:46:29'::timestamp) - extract(epoch from '2026-07-17 15:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762534 -3.374483)'), GeomFromEWKT('SRID=4674;POINT (-38.762597 -3.37462)'))) / (select extract(epoch from '2026-07-17 15:46:29'::timestamp) - extract(epoch from '2026-07-17 15:46:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.762678 -3.374757)', '2026-07-17 15:46:35', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762597 -3.37462)'), GeomFromEWKT('SRID=4674;POINT (-38.762678 -3.374757)'))) / (select extract(epoch from '2026-07-17 15:46:35'::timestamp) - extract(epoch from '2026-07-17 15:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762597 -3.37462)'), GeomFromEWKT('SRID=4674;POINT (-38.762678 -3.374757)'))) / (select extract(epoch from '2026-07-17 15:46:35'::timestamp) - extract(epoch from '2026-07-17 15:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.762731 -3.374901)', '2026-07-17 15:46:41', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762678 -3.374757)'), GeomFromEWKT('SRID=4674;POINT (-38.762731 -3.374901)'))) / (select extract(epoch from '2026-07-17 15:46:41'::timestamp) - extract(epoch from '2026-07-17 15:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762678 -3.374757)'), GeomFromEWKT('SRID=4674;POINT (-38.762731 -3.374901)'))) / (select extract(epoch from '2026-07-17 15:46:41'::timestamp) - extract(epoch from '2026-07-17 15:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.762782 -3.375069)', '2026-07-17 15:46:48', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762731 -3.374901)'), GeomFromEWKT('SRID=4674;POINT (-38.762782 -3.375069)'))) / (select extract(epoch from '2026-07-17 15:46:48'::timestamp) - extract(epoch from '2026-07-17 15:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762731 -3.374901)'), GeomFromEWKT('SRID=4674;POINT (-38.762782 -3.375069)'))) / (select extract(epoch from '2026-07-17 15:46:48'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47317, 'SRID=4674;POINT (-38.76283 -3.375231)', '2026-07-17 15:46:55', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762782 -3.375069)'), GeomFromEWKT('SRID=4674;POINT (-38.76283 -3.375231)'))) / (select extract(epoch from '2026-07-17 15:46:55'::timestamp) - extract(epoch from '2026-07-17 15:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762782 -3.375069)'), GeomFromEWKT('SRID=4674;POINT (-38.76283 -3.375231)'))) / (select extract(epoch from '2026-07-17 15:46:55'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47317, 'SRID=4674;POINT (-38.762887 -3.375334)', '2026-07-17 15:46:59', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76283 -3.375231)'), GeomFromEWKT('SRID=4674;POINT (-38.762887 -3.375334)'))) / (select extract(epoch from '2026-07-17 15:46:59'::timestamp) - extract(epoch from '2026-07-17 15:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76283 -3.375231)'), GeomFromEWKT('SRID=4674;POINT (-38.762887 -3.375334)'))) / (select extract(epoch from '2026-07-17 15:46:59'::timestamp) - extract(epoch from '2026-07-17 15:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.762948 -3.375442)', '2026-07-17 15:47:04', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762887 -3.375334)'), GeomFromEWKT('SRID=4674;POINT (-38.762948 -3.375442)'))) / (select extract(epoch from '2026-07-17 15:47:04'::timestamp) - extract(epoch from '2026-07-17 15:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762887 -3.375334)'), GeomFromEWKT('SRID=4674;POINT (-38.762948 -3.375442)'))) / (select extract(epoch from '2026-07-17 15:47:04'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47317, 'SRID=4674;POINT (-38.762994 -3.375556)', '2026-07-17 15:47:09', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762948 -3.375442)'), GeomFromEWKT('SRID=4674;POINT (-38.762994 -3.375556)'))) / (select extract(epoch from '2026-07-17 15:47:09'::timestamp) - extract(epoch from '2026-07-17 15:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762948 -3.375442)'), GeomFromEWKT('SRID=4674;POINT (-38.762994 -3.375556)'))) / (select extract(epoch from '2026-07-17 15:47:09'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47317, 'SRID=4674;POINT (-38.763064 -3.375717)', '2026-07-17 15:47:16', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762994 -3.375556)'), GeomFromEWKT('SRID=4674;POINT (-38.763064 -3.375717)'))) / (select extract(epoch from '2026-07-17 15:47:16'::timestamp) - extract(epoch from '2026-07-17 15:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.762994 -3.375556)'), GeomFromEWKT('SRID=4674;POINT (-38.763064 -3.375717)'))) / (select extract(epoch from '2026-07-17 15:47:16'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.763131 -3.375875)', '2026-07-17 15:47:23', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763064 -3.375717)'), GeomFromEWKT('SRID=4674;POINT (-38.763131 -3.375875)'))) / (select extract(epoch from '2026-07-17 15:47:23'::timestamp) - extract(epoch from '2026-07-17 15:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763064 -3.375717)'), GeomFromEWKT('SRID=4674;POINT (-38.763131 -3.375875)'))) / (select extract(epoch from '2026-07-17 15:47:23'::timestamp) - extract(epoch from '2026-07-17 15:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.76318 -3.376034)', '2026-07-17 15:47:30', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763131 -3.375875)'), GeomFromEWKT('SRID=4674;POINT (-38.76318 -3.376034)'))) / (select extract(epoch from '2026-07-17 15:47:30'::timestamp) - extract(epoch from '2026-07-17 15:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763131 -3.375875)'), GeomFromEWKT('SRID=4674;POINT (-38.76318 -3.376034)'))) / (select extract(epoch from '2026-07-17 15:47:30'::timestamp) - extract(epoch from '2026-07-17 15:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.763227 -3.376167)', '2026-07-17 15:47:36', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76318 -3.376034)'), GeomFromEWKT('SRID=4674;POINT (-38.763227 -3.376167)'))) / (select extract(epoch from '2026-07-17 15:47:36'::timestamp) - extract(epoch from '2026-07-17 15:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76318 -3.376034)'), GeomFromEWKT('SRID=4674;POINT (-38.763227 -3.376167)'))) / (select extract(epoch from '2026-07-17 15:47:36'::timestamp) - extract(epoch from '2026-07-17 15:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.76328 -3.376309)', '2026-07-17 15:47:42', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763227 -3.376167)'), GeomFromEWKT('SRID=4674;POINT (-38.76328 -3.376309)'))) / (select extract(epoch from '2026-07-17 15:47:42'::timestamp) - extract(epoch from '2026-07-17 15:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763227 -3.376167)'), GeomFromEWKT('SRID=4674;POINT (-38.76328 -3.376309)'))) / (select extract(epoch from '2026-07-17 15:47:42'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.76331 -3.37642)', '2026-07-17 15:47:47', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76328 -3.376309)'), GeomFromEWKT('SRID=4674;POINT (-38.76331 -3.37642)'))) / (select extract(epoch from '2026-07-17 15:47:47'::timestamp) - extract(epoch from '2026-07-17 15:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76328 -3.376309)'), GeomFromEWKT('SRID=4674;POINT (-38.76331 -3.37642)'))) / (select extract(epoch from '2026-07-17 15:47:47'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47317, 'SRID=4674;POINT (-38.763365 -3.376563)', '2026-07-17 15:47:53', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76331 -3.37642)'), GeomFromEWKT('SRID=4674;POINT (-38.763365 -3.376563)'))) / (select extract(epoch from '2026-07-17 15:47:53'::timestamp) - extract(epoch from '2026-07-17 15:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76331 -3.37642)'), GeomFromEWKT('SRID=4674;POINT (-38.763365 -3.376563)'))) / (select extract(epoch from '2026-07-17 15:47:53'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.763427 -3.376749)', '2026-07-17 15:48:01', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763365 -3.376563)'), GeomFromEWKT('SRID=4674;POINT (-38.763427 -3.376749)'))) / (select extract(epoch from '2026-07-17 15:48:01'::timestamp) - extract(epoch from '2026-07-17 15:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763365 -3.376563)'), GeomFromEWKT('SRID=4674;POINT (-38.763427 -3.376749)'))) / (select extract(epoch from '2026-07-17 15:48:01'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47317, 'SRID=4674;POINT (-38.763501 -3.376879)', '2026-07-17 15:48:07', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763427 -3.376749)'), GeomFromEWKT('SRID=4674;POINT (-38.763501 -3.376879)'))) / (select extract(epoch from '2026-07-17 15:48:07'::timestamp) - extract(epoch from '2026-07-17 15:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763427 -3.376749)'), GeomFromEWKT('SRID=4674;POINT (-38.763501 -3.376879)'))) / (select extract(epoch from '2026-07-17 15:48:07'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.763612 -3.377028)', '2026-07-17 15:48:14', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763501 -3.376879)'), GeomFromEWKT('SRID=4674;POINT (-38.763612 -3.377028)'))) / (select extract(epoch from '2026-07-17 15:48:14'::timestamp) - extract(epoch from '2026-07-17 15:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763501 -3.376879)'), GeomFromEWKT('SRID=4674;POINT (-38.763612 -3.377028)'))) / (select extract(epoch from '2026-07-17 15:48:14'::timestamp) - extract(epoch from '2026-07-17 15:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.763682 -3.377141)', '2026-07-17 15:48:19', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763612 -3.377028)'), GeomFromEWKT('SRID=4674;POINT (-38.763682 -3.377141)'))) / (select extract(epoch from '2026-07-17 15:48:19'::timestamp) - extract(epoch from '2026-07-17 15:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763612 -3.377028)'), GeomFromEWKT('SRID=4674;POINT (-38.763682 -3.377141)'))) / (select extract(epoch from '2026-07-17 15:48:19'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.763766 -3.377279)', '2026-07-17 15:48:25', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763682 -3.377141)'), GeomFromEWKT('SRID=4674;POINT (-38.763766 -3.377279)'))) / (select extract(epoch from '2026-07-17 15:48:25'::timestamp) - extract(epoch from '2026-07-17 15:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763682 -3.377141)'), GeomFromEWKT('SRID=4674;POINT (-38.763766 -3.377279)'))) / (select extract(epoch from '2026-07-17 15:48:25'::timestamp) - extract(epoch from '2026-07-17 15:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.763842 -3.377442)', '2026-07-17 15:48:32', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763766 -3.377279)'), GeomFromEWKT('SRID=4674;POINT (-38.763842 -3.377442)'))) / (select extract(epoch from '2026-07-17 15:48:32'::timestamp) - extract(epoch from '2026-07-17 15:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763766 -3.377279)'), GeomFromEWKT('SRID=4674;POINT (-38.763842 -3.377442)'))) / (select extract(epoch from '2026-07-17 15:48:32'::timestamp) - extract(epoch from '2026-07-17 15:48: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'), 47317, 'SRID=4674;POINT (-38.763902 -3.377586)', '2026-07-17 15:48:38', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763842 -3.377442)'), GeomFromEWKT('SRID=4674;POINT (-38.763902 -3.377586)'))) / (select extract(epoch from '2026-07-17 15:48:38'::timestamp) - extract(epoch from '2026-07-17 15:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763842 -3.377442)'), GeomFromEWKT('SRID=4674;POINT (-38.763902 -3.377586)'))) / (select extract(epoch from '2026-07-17 15:48:38'::timestamp) - extract(epoch from '2026-07-17 15:48: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'), 47317, 'SRID=4674;POINT (-38.763946 -3.377702)', '2026-07-17 15:48:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763902 -3.377586)'), GeomFromEWKT('SRID=4674;POINT (-38.763946 -3.377702)'))) / (select extract(epoch from '2026-07-17 15:48:43'::timestamp) - extract(epoch from '2026-07-17 15:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763902 -3.377586)'), GeomFromEWKT('SRID=4674;POINT (-38.763946 -3.377702)'))) / (select extract(epoch from '2026-07-17 15:48:43'::timestamp) - extract(epoch from '2026-07-17 15:48: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'), 47317, 'SRID=4674;POINT (-38.764024 -3.377865)', '2026-07-17 15:48:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763946 -3.377702)'), GeomFromEWKT('SRID=4674;POINT (-38.764024 -3.377865)'))) / (select extract(epoch from '2026-07-17 15:48:50'::timestamp) - extract(epoch from '2026-07-17 15:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.763946 -3.377702)'), GeomFromEWKT('SRID=4674;POINT (-38.764024 -3.377865)'))) / (select extract(epoch from '2026-07-17 15:48:50'::timestamp) - extract(epoch from '2026-07-17 15:48: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'), 47317, 'SRID=4674;POINT (-38.764053 -3.377995)', '2026-07-17 15:48:56', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764024 -3.377865)'), GeomFromEWKT('SRID=4674;POINT (-38.764053 -3.377995)'))) / (select extract(epoch from '2026-07-17 15:48:56'::timestamp) - extract(epoch from '2026-07-17 15:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764024 -3.377865)'), GeomFromEWKT('SRID=4674;POINT (-38.764053 -3.377995)'))) / (select extract(epoch from '2026-07-17 15:48:56'::timestamp) - extract(epoch from '2026-07-17 15:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.764106 -3.378153)', '2026-07-17 15:49:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764053 -3.377995)'), GeomFromEWKT('SRID=4674;POINT (-38.764106 -3.378153)'))) / (select extract(epoch from '2026-07-17 15:49:03'::timestamp) - extract(epoch from '2026-07-17 15:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764053 -3.377995)'), GeomFromEWKT('SRID=4674;POINT (-38.764106 -3.378153)'))) / (select extract(epoch from '2026-07-17 15:49:03'::timestamp) - extract(epoch from '2026-07-17 15:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.764194 -3.37831)', '2026-07-17 15:49:10', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764106 -3.378153)'), GeomFromEWKT('SRID=4674;POINT (-38.764194 -3.37831)'))) / (select extract(epoch from '2026-07-17 15:49:10'::timestamp) - extract(epoch from '2026-07-17 15:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764106 -3.378153)'), GeomFromEWKT('SRID=4674;POINT (-38.764194 -3.37831)'))) / (select extract(epoch from '2026-07-17 15:49:10'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47317, 'SRID=4674;POINT (-38.764248 -3.378412)', '2026-07-17 15:49:15', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764194 -3.37831)'), GeomFromEWKT('SRID=4674;POINT (-38.764248 -3.378412)'))) / (select extract(epoch from '2026-07-17 15:49:15'::timestamp) - extract(epoch from '2026-07-17 15:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764194 -3.37831)'), GeomFromEWKT('SRID=4674;POINT (-38.764248 -3.378412)'))) / (select extract(epoch from '2026-07-17 15:49:15'::timestamp) - extract(epoch from '2026-07-17 15:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.76431 -3.378573)', '2026-07-17 15:49:22', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764248 -3.378412)'), GeomFromEWKT('SRID=4674;POINT (-38.76431 -3.378573)'))) / (select extract(epoch from '2026-07-17 15:49:22'::timestamp) - extract(epoch from '2026-07-17 15:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764248 -3.378412)'), GeomFromEWKT('SRID=4674;POINT (-38.76431 -3.378573)'))) / (select extract(epoch from '2026-07-17 15:49:22'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47317, 'SRID=4674;POINT (-38.76435 -3.37869)', '2026-07-17 15:49:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76431 -3.378573)'), GeomFromEWKT('SRID=4674;POINT (-38.76435 -3.37869)'))) / (select extract(epoch from '2026-07-17 15:49:27'::timestamp) - extract(epoch from '2026-07-17 15:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76431 -3.378573)'), GeomFromEWKT('SRID=4674;POINT (-38.76435 -3.37869)'))) / (select extract(epoch from '2026-07-17 15:49:27'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47317, 'SRID=4674;POINT (-38.764399 -3.378817)', '2026-07-17 15:49:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76435 -3.37869)'), GeomFromEWKT('SRID=4674;POINT (-38.764399 -3.378817)'))) / (select extract(epoch from '2026-07-17 15:49:33'::timestamp) - extract(epoch from '2026-07-17 15:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76435 -3.37869)'), GeomFromEWKT('SRID=4674;POINT (-38.764399 -3.378817)'))) / (select extract(epoch from '2026-07-17 15:49:33'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.764442 -3.378929)', '2026-07-17 15:49:38', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764399 -3.378817)'), GeomFromEWKT('SRID=4674;POINT (-38.764442 -3.378929)'))) / (select extract(epoch from '2026-07-17 15:49:38'::timestamp) - extract(epoch from '2026-07-17 15:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764399 -3.378817)'), GeomFromEWKT('SRID=4674;POINT (-38.764442 -3.378929)'))) / (select extract(epoch from '2026-07-17 15:49:38'::timestamp) - extract(epoch from '2026-07-17 15:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.7645 -3.379036)', '2026-07-17 15:49:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764442 -3.378929)'), GeomFromEWKT('SRID=4674;POINT (-38.7645 -3.379036)'))) / (select extract(epoch from '2026-07-17 15:49:43'::timestamp) - extract(epoch from '2026-07-17 15:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764442 -3.378929)'), GeomFromEWKT('SRID=4674;POINT (-38.7645 -3.379036)'))) / (select extract(epoch from '2026-07-17 15:49:43'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47317, 'SRID=4674;POINT (-38.764541 -3.379169)', '2026-07-17 15:49:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7645 -3.379036)'), GeomFromEWKT('SRID=4674;POINT (-38.764541 -3.379169)'))) / (select extract(epoch from '2026-07-17 15:49:49'::timestamp) - extract(epoch from '2026-07-17 15:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7645 -3.379036)'), GeomFromEWKT('SRID=4674;POINT (-38.764541 -3.379169)'))) / (select extract(epoch from '2026-07-17 15:49:49'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47317, 'SRID=4674;POINT (-38.764597 -3.379298)', '2026-07-17 15:49:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764541 -3.379169)'), GeomFromEWKT('SRID=4674;POINT (-38.764597 -3.379298)'))) / (select extract(epoch from '2026-07-17 15:49:55'::timestamp) - extract(epoch from '2026-07-17 15:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764541 -3.379169)'), GeomFromEWKT('SRID=4674;POINT (-38.764597 -3.379298)'))) / (select extract(epoch from '2026-07-17 15:49:55'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47317, 'SRID=4674;POINT (-38.76466 -3.379461)', '2026-07-17 15:50:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764597 -3.379298)'), GeomFromEWKT('SRID=4674;POINT (-38.76466 -3.379461)'))) / (select extract(epoch from '2026-07-17 15:50:02'::timestamp) - extract(epoch from '2026-07-17 15:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764597 -3.379298)'), GeomFromEWKT('SRID=4674;POINT (-38.76466 -3.379461)'))) / (select extract(epoch from '2026-07-17 15:50:02'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47317, 'SRID=4674;POINT (-38.764706 -3.37957)', '2026-07-17 15:50:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76466 -3.379461)'), GeomFromEWKT('SRID=4674;POINT (-38.764706 -3.37957)'))) / (select extract(epoch from '2026-07-17 15:50:07'::timestamp) - extract(epoch from '2026-07-17 15:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76466 -3.379461)'), GeomFromEWKT('SRID=4674;POINT (-38.764706 -3.37957)'))) / (select extract(epoch from '2026-07-17 15:50:07'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.764751 -3.379711)', '2026-07-17 15:50:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764706 -3.37957)'), GeomFromEWKT('SRID=4674;POINT (-38.764751 -3.379711)'))) / (select extract(epoch from '2026-07-17 15:50:13'::timestamp) - extract(epoch from '2026-07-17 15:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764706 -3.37957)'), GeomFromEWKT('SRID=4674;POINT (-38.764751 -3.379711)'))) / (select extract(epoch from '2026-07-17 15:50:13'::timestamp) - extract(epoch from '2026-07-17 15:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.764789 -3.379848)', '2026-07-17 15:50:19', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764751 -3.379711)'), GeomFromEWKT('SRID=4674;POINT (-38.764789 -3.379848)'))) / (select extract(epoch from '2026-07-17 15:50:19'::timestamp) - extract(epoch from '2026-07-17 15:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764751 -3.379711)'), GeomFromEWKT('SRID=4674;POINT (-38.764789 -3.379848)'))) / (select extract(epoch from '2026-07-17 15:50:19'::timestamp) - extract(epoch from '2026-07-17 15:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.76481 -3.379934)', '2026-07-17 15:50:23', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764789 -3.379848)'), GeomFromEWKT('SRID=4674;POINT (-38.76481 -3.379934)'))) / (select extract(epoch from '2026-07-17 15:50:23'::timestamp) - extract(epoch from '2026-07-17 15:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764789 -3.379848)'), GeomFromEWKT('SRID=4674;POINT (-38.76481 -3.379934)'))) / (select extract(epoch from '2026-07-17 15:50:23'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.764873 -3.380092)', '2026-07-17 15:50:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76481 -3.379934)'), GeomFromEWKT('SRID=4674;POINT (-38.764873 -3.380092)'))) / (select extract(epoch from '2026-07-17 15:50:30'::timestamp) - extract(epoch from '2026-07-17 15:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76481 -3.379934)'), GeomFromEWKT('SRID=4674;POINT (-38.764873 -3.380092)'))) / (select extract(epoch from '2026-07-17 15:50:30'::timestamp) - extract(epoch from '2026-07-17 15:50: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'), 47317, 'SRID=4674;POINT (-38.764923 -3.380215)', '2026-07-17 15:50:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764873 -3.380092)'), GeomFromEWKT('SRID=4674;POINT (-38.764923 -3.380215)'))) / (select extract(epoch from '2026-07-17 15:50:35'::timestamp) - extract(epoch from '2026-07-17 15:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764873 -3.380092)'), GeomFromEWKT('SRID=4674;POINT (-38.764923 -3.380215)'))) / (select extract(epoch from '2026-07-17 15:50:35'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.76497 -3.380346)', '2026-07-17 15:50:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764923 -3.380215)'), GeomFromEWKT('SRID=4674;POINT (-38.76497 -3.380346)'))) / (select extract(epoch from '2026-07-17 15:50:41'::timestamp) - extract(epoch from '2026-07-17 15:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.764923 -3.380215)'), GeomFromEWKT('SRID=4674;POINT (-38.76497 -3.380346)'))) / (select extract(epoch from '2026-07-17 15:50:41'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.765028 -3.380502)', '2026-07-17 15:50:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76497 -3.380346)'), GeomFromEWKT('SRID=4674;POINT (-38.765028 -3.380502)'))) / (select extract(epoch from '2026-07-17 15:50:48'::timestamp) - extract(epoch from '2026-07-17 15:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76497 -3.380346)'), GeomFromEWKT('SRID=4674;POINT (-38.765028 -3.380502)'))) / (select extract(epoch from '2026-07-17 15:50:48'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.76505 -3.38063)', '2026-07-17 15:50:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765028 -3.380502)'), GeomFromEWKT('SRID=4674;POINT (-38.76505 -3.38063)'))) / (select extract(epoch from '2026-07-17 15:50:54'::timestamp) - extract(epoch from '2026-07-17 15:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765028 -3.380502)'), GeomFromEWKT('SRID=4674;POINT (-38.76505 -3.38063)'))) / (select extract(epoch from '2026-07-17 15:50:54'::timestamp) - extract(epoch from '2026-07-17 15:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.765082 -3.380762)', '2026-07-17 15:51:00', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76505 -3.38063)'), GeomFromEWKT('SRID=4674;POINT (-38.765082 -3.380762)'))) / (select extract(epoch from '2026-07-17 15:51:00'::timestamp) - extract(epoch from '2026-07-17 15:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76505 -3.38063)'), GeomFromEWKT('SRID=4674;POINT (-38.765082 -3.380762)'))) / (select extract(epoch from '2026-07-17 15:51:00'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.765143 -3.380885)', '2026-07-17 15:51:06', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765082 -3.380762)'), GeomFromEWKT('SRID=4674;POINT (-38.765143 -3.380885)'))) / (select extract(epoch from '2026-07-17 15:51:06'::timestamp) - extract(epoch from '2026-07-17 15:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765082 -3.380762)'), GeomFromEWKT('SRID=4674;POINT (-38.765143 -3.380885)'))) / (select extract(epoch from '2026-07-17 15:51:06'::timestamp) - extract(epoch from '2026-07-17 15:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.765215 -3.381022)', '2026-07-17 15:51:12', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765143 -3.380885)'), GeomFromEWKT('SRID=4674;POINT (-38.765215 -3.381022)'))) / (select extract(epoch from '2026-07-17 15:51:12'::timestamp) - extract(epoch from '2026-07-17 15:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765143 -3.380885)'), GeomFromEWKT('SRID=4674;POINT (-38.765215 -3.381022)'))) / (select extract(epoch from '2026-07-17 15:51:12'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47317, 'SRID=4674;POINT (-38.765286 -3.38115)', '2026-07-17 15:51:18', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765215 -3.381022)'), GeomFromEWKT('SRID=4674;POINT (-38.765286 -3.38115)'))) / (select extract(epoch from '2026-07-17 15:51:18'::timestamp) - extract(epoch from '2026-07-17 15:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765215 -3.381022)'), GeomFromEWKT('SRID=4674;POINT (-38.765286 -3.38115)'))) / (select extract(epoch from '2026-07-17 15:51:18'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47317, 'SRID=4674;POINT (-38.765369 -3.381258)', '2026-07-17 15:51:23', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765286 -3.38115)'), GeomFromEWKT('SRID=4674;POINT (-38.765369 -3.381258)'))) / (select extract(epoch from '2026-07-17 15:51:23'::timestamp) - extract(epoch from '2026-07-17 15:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765286 -3.38115)'), GeomFromEWKT('SRID=4674;POINT (-38.765369 -3.381258)'))) / (select extract(epoch from '2026-07-17 15:51:23'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47317, 'SRID=4674;POINT (-38.765449 -3.381385)', '2026-07-17 15:51:29', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765369 -3.381258)'), GeomFromEWKT('SRID=4674;POINT (-38.765449 -3.381385)'))) / (select extract(epoch from '2026-07-17 15:51:29'::timestamp) - extract(epoch from '2026-07-17 15:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765369 -3.381258)'), GeomFromEWKT('SRID=4674;POINT (-38.765449 -3.381385)'))) / (select extract(epoch from '2026-07-17 15:51:29'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47317, 'SRID=4674;POINT (-38.76553 -3.381558)', '2026-07-17 15:51:37', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765449 -3.381385)'), GeomFromEWKT('SRID=4674;POINT (-38.76553 -3.381558)'))) / (select extract(epoch from '2026-07-17 15:51:37'::timestamp) - extract(epoch from '2026-07-17 15:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765449 -3.381385)'), GeomFromEWKT('SRID=4674;POINT (-38.76553 -3.381558)'))) / (select extract(epoch from '2026-07-17 15:51:37'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.765591 -3.381704)', '2026-07-17 15:51:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76553 -3.381558)'), GeomFromEWKT('SRID=4674;POINT (-38.765591 -3.381704)'))) / (select extract(epoch from '2026-07-17 15:51:43'::timestamp) - extract(epoch from '2026-07-17 15:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76553 -3.381558)'), GeomFromEWKT('SRID=4674;POINT (-38.765591 -3.381704)'))) / (select extract(epoch from '2026-07-17 15:51:43'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47317, 'SRID=4674;POINT (-38.765648 -3.381825)', '2026-07-17 15:51:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765591 -3.381704)'), GeomFromEWKT('SRID=4674;POINT (-38.765648 -3.381825)'))) / (select extract(epoch from '2026-07-17 15:51:48'::timestamp) - extract(epoch from '2026-07-17 15:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765591 -3.381704)'), GeomFromEWKT('SRID=4674;POINT (-38.765648 -3.381825)'))) / (select extract(epoch from '2026-07-17 15:51:48'::timestamp) - extract(epoch from '2026-07-17 15:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.765694 -3.381941)', '2026-07-17 15:51:53', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765648 -3.381825)'), GeomFromEWKT('SRID=4674;POINT (-38.765694 -3.381941)'))) / (select extract(epoch from '2026-07-17 15:51:53'::timestamp) - extract(epoch from '2026-07-17 15:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765648 -3.381825)'), GeomFromEWKT('SRID=4674;POINT (-38.765694 -3.381941)'))) / (select extract(epoch from '2026-07-17 15:51:53'::timestamp) - extract(epoch from '2026-07-17 15:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.765734 -3.382048)', '2026-07-17 15:51:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765694 -3.381941)'), GeomFromEWKT('SRID=4674;POINT (-38.765734 -3.382048)'))) / (select extract(epoch from '2026-07-17 15:51:58'::timestamp) - extract(epoch from '2026-07-17 15:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765694 -3.381941)'), GeomFromEWKT('SRID=4674;POINT (-38.765734 -3.382048)'))) / (select extract(epoch from '2026-07-17 15:51:58'::timestamp) - extract(epoch from '2026-07-17 15:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.765795 -3.382204)', '2026-07-17 15:52:05', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765734 -3.382048)'), GeomFromEWKT('SRID=4674;POINT (-38.765795 -3.382204)'))) / (select extract(epoch from '2026-07-17 15:52:05'::timestamp) - extract(epoch from '2026-07-17 15:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765734 -3.382048)'), GeomFromEWKT('SRID=4674;POINT (-38.765795 -3.382204)'))) / (select extract(epoch from '2026-07-17 15:52:05'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.765826 -3.382334)', '2026-07-17 15:52:11', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765795 -3.382204)'), GeomFromEWKT('SRID=4674;POINT (-38.765826 -3.382334)'))) / (select extract(epoch from '2026-07-17 15:52:11'::timestamp) - extract(epoch from '2026-07-17 15:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765795 -3.382204)'), GeomFromEWKT('SRID=4674;POINT (-38.765826 -3.382334)'))) / (select extract(epoch from '2026-07-17 15:52:11'::timestamp) - extract(epoch from '2026-07-17 15:52: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'), 47317, 'SRID=4674;POINT (-38.765873 -3.382491)', '2026-07-17 15:52:18', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765826 -3.382334)'), GeomFromEWKT('SRID=4674;POINT (-38.765873 -3.382491)'))) / (select extract(epoch from '2026-07-17 15:52:18'::timestamp) - extract(epoch from '2026-07-17 15:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765826 -3.382334)'), GeomFromEWKT('SRID=4674;POINT (-38.765873 -3.382491)'))) / (select extract(epoch from '2026-07-17 15:52:18'::timestamp) - extract(epoch from '2026-07-17 15:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.765942 -3.382629)', '2026-07-17 15:52:24', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765873 -3.382491)'), GeomFromEWKT('SRID=4674;POINT (-38.765942 -3.382629)'))) / (select extract(epoch from '2026-07-17 15:52:24'::timestamp) - extract(epoch from '2026-07-17 15:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765873 -3.382491)'), GeomFromEWKT('SRID=4674;POINT (-38.765942 -3.382629)'))) / (select extract(epoch from '2026-07-17 15:52:24'::timestamp) - extract(epoch from '2026-07-17 15:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.765985 -3.382762)', '2026-07-17 15:52:30', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765942 -3.382629)'), GeomFromEWKT('SRID=4674;POINT (-38.765985 -3.382762)'))) / (select extract(epoch from '2026-07-17 15:52:30'::timestamp) - extract(epoch from '2026-07-17 15:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765942 -3.382629)'), GeomFromEWKT('SRID=4674;POINT (-38.765985 -3.382762)'))) / (select extract(epoch from '2026-07-17 15:52:30'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766038 -3.382918)', '2026-07-17 15:52:37', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765985 -3.382762)'), GeomFromEWKT('SRID=4674;POINT (-38.766038 -3.382918)'))) / (select extract(epoch from '2026-07-17 15:52:37'::timestamp) - extract(epoch from '2026-07-17 15:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765985 -3.382762)'), GeomFromEWKT('SRID=4674;POINT (-38.766038 -3.382918)'))) / (select extract(epoch from '2026-07-17 15:52:37'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766083 -3.383029)', '2026-07-17 15:52:42', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766038 -3.382918)'), GeomFromEWKT('SRID=4674;POINT (-38.766083 -3.383029)'))) / (select extract(epoch from '2026-07-17 15:52:42'::timestamp) - extract(epoch from '2026-07-17 15:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766038 -3.382918)'), GeomFromEWKT('SRID=4674;POINT (-38.766083 -3.383029)'))) / (select extract(epoch from '2026-07-17 15:52:42'::timestamp) - extract(epoch from '2026-07-17 15:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.76612 -3.383153)', '2026-07-17 15:52:47', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766083 -3.383029)'), GeomFromEWKT('SRID=4674;POINT (-38.76612 -3.383153)'))) / (select extract(epoch from '2026-07-17 15:52:47'::timestamp) - extract(epoch from '2026-07-17 15:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766083 -3.383029)'), GeomFromEWKT('SRID=4674;POINT (-38.76612 -3.383153)'))) / (select extract(epoch from '2026-07-17 15:52:47'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766157 -3.383309)', '2026-07-17 15:52:54', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76612 -3.383153)'), GeomFromEWKT('SRID=4674;POINT (-38.766157 -3.383309)'))) / (select extract(epoch from '2026-07-17 15:52:54'::timestamp) - extract(epoch from '2026-07-17 15:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76612 -3.383153)'), GeomFromEWKT('SRID=4674;POINT (-38.766157 -3.383309)'))) / (select extract(epoch from '2026-07-17 15:52:54'::timestamp) - extract(epoch from '2026-07-17 15:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.766193 -3.383437)', '2026-07-17 15:52:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766157 -3.383309)'), GeomFromEWKT('SRID=4674;POINT (-38.766193 -3.383437)'))) / (select extract(epoch from '2026-07-17 15:52:59'::timestamp) - extract(epoch from '2026-07-17 15:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766157 -3.383309)'), GeomFromEWKT('SRID=4674;POINT (-38.766193 -3.383437)'))) / (select extract(epoch from '2026-07-17 15:52:59'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766221 -3.38357)', '2026-07-17 15:53:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766193 -3.383437)'), GeomFromEWKT('SRID=4674;POINT (-38.766221 -3.38357)'))) / (select extract(epoch from '2026-07-17 15:53:05'::timestamp) - extract(epoch from '2026-07-17 15:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766193 -3.383437)'), GeomFromEWKT('SRID=4674;POINT (-38.766221 -3.38357)'))) / (select extract(epoch from '2026-07-17 15:53:05'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766275 -3.383708)', '2026-07-17 15:53:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766221 -3.38357)'), GeomFromEWKT('SRID=4674;POINT (-38.766275 -3.383708)'))) / (select extract(epoch from '2026-07-17 15:53:11'::timestamp) - extract(epoch from '2026-07-17 15:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766221 -3.38357)'), GeomFromEWKT('SRID=4674;POINT (-38.766275 -3.383708)'))) / (select extract(epoch from '2026-07-17 15:53:11'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.76631 -3.383846)', '2026-07-17 15:53:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766275 -3.383708)'), GeomFromEWKT('SRID=4674;POINT (-38.76631 -3.383846)'))) / (select extract(epoch from '2026-07-17 15:53:17'::timestamp) - extract(epoch from '2026-07-17 15:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766275 -3.383708)'), GeomFromEWKT('SRID=4674;POINT (-38.76631 -3.383846)'))) / (select extract(epoch from '2026-07-17 15:53:17'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766367 -3.384032)', '2026-07-17 15:53:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76631 -3.383846)'), GeomFromEWKT('SRID=4674;POINT (-38.766367 -3.384032)'))) / (select extract(epoch from '2026-07-17 15:53:25'::timestamp) - extract(epoch from '2026-07-17 15:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76631 -3.383846)'), GeomFromEWKT('SRID=4674;POINT (-38.766367 -3.384032)'))) / (select extract(epoch from '2026-07-17 15:53:25'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766374 -3.384055)', '2026-07-17 15:53:26', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766367 -3.384032)'), GeomFromEWKT('SRID=4674;POINT (-38.766374 -3.384055)'))) / (select extract(epoch from '2026-07-17 15:53:26'::timestamp) - extract(epoch from '2026-07-17 15:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766367 -3.384032)'), GeomFromEWKT('SRID=4674;POINT (-38.766374 -3.384055)'))) / (select extract(epoch from '2026-07-17 15:53:26'::timestamp) - extract(epoch from '2026-07-17 15:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.766406 -3.384232)', '2026-07-17 15:53:34', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766374 -3.384055)'), GeomFromEWKT('SRID=4674;POINT (-38.766406 -3.384232)'))) / (select extract(epoch from '2026-07-17 15:53:34'::timestamp) - extract(epoch from '2026-07-17 15:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766374 -3.384055)'), GeomFromEWKT('SRID=4674;POINT (-38.766406 -3.384232)'))) / (select extract(epoch from '2026-07-17 15:53:34'::timestamp) - extract(epoch from '2026-07-17 15:53: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'), 47317, 'SRID=4674;POINT (-38.766419 -3.384309)', '2026-07-17 15:53:38', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766406 -3.384232)'), GeomFromEWKT('SRID=4674;POINT (-38.766419 -3.384309)'))) / (select extract(epoch from '2026-07-17 15:53:38'::timestamp) - extract(epoch from '2026-07-17 15:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766406 -3.384232)'), GeomFromEWKT('SRID=4674;POINT (-38.766419 -3.384309)'))) / (select extract(epoch from '2026-07-17 15:53:38'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766431 -3.384328)', '2026-07-17 15:53:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766419 -3.384309)'), GeomFromEWKT('SRID=4674;POINT (-38.766431 -3.384328)'))) / (select extract(epoch from '2026-07-17 15:53:39'::timestamp) - extract(epoch from '2026-07-17 15:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766419 -3.384309)'), GeomFromEWKT('SRID=4674;POINT (-38.766431 -3.384328)'))) / (select extract(epoch from '2026-07-17 15:53:39'::timestamp) - extract(epoch from '2026-07-17 15:53:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.766484 -3.384464)', '2026-07-17 15:53:45', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766431 -3.384328)'), GeomFromEWKT('SRID=4674;POINT (-38.766484 -3.384464)'))) / (select extract(epoch from '2026-07-17 15:53:45'::timestamp) - extract(epoch from '2026-07-17 15:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766431 -3.384328)'), GeomFromEWKT('SRID=4674;POINT (-38.766484 -3.384464)'))) / (select extract(epoch from '2026-07-17 15:53:45'::timestamp) - extract(epoch from '2026-07-17 15:53: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'), 47317, 'SRID=4674;POINT (-38.766533 -3.384598)', '2026-07-17 15:53:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766484 -3.384464)'), GeomFromEWKT('SRID=4674;POINT (-38.766533 -3.384598)'))) / (select extract(epoch from '2026-07-17 15:53:51'::timestamp) - extract(epoch from '2026-07-17 15:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766484 -3.384464)'), GeomFromEWKT('SRID=4674;POINT (-38.766533 -3.384598)'))) / (select extract(epoch from '2026-07-17 15:53:51'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766562 -3.384733)', '2026-07-17 15:53:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766533 -3.384598)'), GeomFromEWKT('SRID=4674;POINT (-38.766562 -3.384733)'))) / (select extract(epoch from '2026-07-17 15:53:57'::timestamp) - extract(epoch from '2026-07-17 15:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766533 -3.384598)'), GeomFromEWKT('SRID=4674;POINT (-38.766562 -3.384733)'))) / (select extract(epoch from '2026-07-17 15:53:57'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766591 -3.384863)', '2026-07-17 15:54:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766562 -3.384733)'), GeomFromEWKT('SRID=4674;POINT (-38.766591 -3.384863)'))) / (select extract(epoch from '2026-07-17 15:54:03'::timestamp) - extract(epoch from '2026-07-17 15:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766562 -3.384733)'), GeomFromEWKT('SRID=4674;POINT (-38.766591 -3.384863)'))) / (select extract(epoch from '2026-07-17 15:54:03'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766628 -3.385019)', '2026-07-17 15:54:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766591 -3.384863)'), GeomFromEWKT('SRID=4674;POINT (-38.766628 -3.385019)'))) / (select extract(epoch from '2026-07-17 15:54:10'::timestamp) - extract(epoch from '2026-07-17 15:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766591 -3.384863)'), GeomFromEWKT('SRID=4674;POINT (-38.766628 -3.385019)'))) / (select extract(epoch from '2026-07-17 15:54:10'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766675 -3.385157)', '2026-07-17 15:54:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766628 -3.385019)'), GeomFromEWKT('SRID=4674;POINT (-38.766675 -3.385157)'))) / (select extract(epoch from '2026-07-17 15:54:16'::timestamp) - extract(epoch from '2026-07-17 15:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766628 -3.385019)'), GeomFromEWKT('SRID=4674;POINT (-38.766675 -3.385157)'))) / (select extract(epoch from '2026-07-17 15:54:16'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47317, 'SRID=4674;POINT (-38.766729 -3.385312)', '2026-07-17 15:54:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766675 -3.385157)'), GeomFromEWKT('SRID=4674;POINT (-38.766729 -3.385312)'))) / (select extract(epoch from '2026-07-17 15:54:22'::timestamp) - extract(epoch from '2026-07-17 15:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766675 -3.385157)'), GeomFromEWKT('SRID=4674;POINT (-38.766729 -3.385312)'))) / (select extract(epoch from '2026-07-17 15:54:22'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47317, 'SRID=4674;POINT (-38.766785 -3.385454)', '2026-07-17 15:54:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766729 -3.385312)'), GeomFromEWKT('SRID=4674;POINT (-38.766785 -3.385454)'))) / (select extract(epoch from '2026-07-17 15:54:28'::timestamp) - extract(epoch from '2026-07-17 15:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766729 -3.385312)'), GeomFromEWKT('SRID=4674;POINT (-38.766785 -3.385454)'))) / (select extract(epoch from '2026-07-17 15:54:28'::timestamp) - extract(epoch from '2026-07-17 15:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.766846 -3.385581)', '2026-07-17 15:54:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766785 -3.385454)'), GeomFromEWKT('SRID=4674;POINT (-38.766846 -3.385581)'))) / (select extract(epoch from '2026-07-17 15:54:34'::timestamp) - extract(epoch from '2026-07-17 15:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766785 -3.385454)'), GeomFromEWKT('SRID=4674;POINT (-38.766846 -3.385581)'))) / (select extract(epoch from '2026-07-17 15:54:34'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766916 -3.385695)', '2026-07-17 15:54:39', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766846 -3.385581)'), GeomFromEWKT('SRID=4674;POINT (-38.766916 -3.385695)'))) / (select extract(epoch from '2026-07-17 15:54:39'::timestamp) - extract(epoch from '2026-07-17 15:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766846 -3.385581)'), GeomFromEWKT('SRID=4674;POINT (-38.766916 -3.385695)'))) / (select extract(epoch from '2026-07-17 15:54:39'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.766998 -3.385851)', '2026-07-17 15:54:46', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766916 -3.385695)'), GeomFromEWKT('SRID=4674;POINT (-38.766998 -3.385851)'))) / (select extract(epoch from '2026-07-17 15:54:46'::timestamp) - extract(epoch from '2026-07-17 15:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766916 -3.385695)'), GeomFromEWKT('SRID=4674;POINT (-38.766998 -3.385851)'))) / (select extract(epoch from '2026-07-17 15:54:46'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.76707 -3.386016)', '2026-07-17 15:54:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766998 -3.385851)'), GeomFromEWKT('SRID=4674;POINT (-38.76707 -3.386016)'))) / (select extract(epoch from '2026-07-17 15:54:53'::timestamp) - extract(epoch from '2026-07-17 15:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766998 -3.385851)'), GeomFromEWKT('SRID=4674;POINT (-38.76707 -3.386016)'))) / (select extract(epoch from '2026-07-17 15:54:53'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47317, 'SRID=4674;POINT (-38.767158 -3.386199)', '2026-07-17 15:55:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76707 -3.386016)'), GeomFromEWKT('SRID=4674;POINT (-38.767158 -3.386199)'))) / (select extract(epoch from '2026-07-17 15:55:01'::timestamp) - extract(epoch from '2026-07-17 15:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76707 -3.386016)'), GeomFromEWKT('SRID=4674;POINT (-38.767158 -3.386199)'))) / (select extract(epoch from '2026-07-17 15:55:01'::timestamp) - extract(epoch from '2026-07-17 15:54:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.767211 -3.386314)', '2026-07-17 15:55:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767158 -3.386199)'), GeomFromEWKT('SRID=4674;POINT (-38.767211 -3.386314)'))) / (select extract(epoch from '2026-07-17 15:55:06'::timestamp) - extract(epoch from '2026-07-17 15:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767158 -3.386199)'), GeomFromEWKT('SRID=4674;POINT (-38.767211 -3.386314)'))) / (select extract(epoch from '2026-07-17 15:55:06'::timestamp) - extract(epoch from '2026-07-17 15:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.767266 -3.386454)', '2026-07-17 15:55:12', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767211 -3.386314)'), GeomFromEWKT('SRID=4674;POINT (-38.767266 -3.386454)'))) / (select extract(epoch from '2026-07-17 15:55:12'::timestamp) - extract(epoch from '2026-07-17 15:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767211 -3.386314)'), GeomFromEWKT('SRID=4674;POINT (-38.767266 -3.386454)'))) / (select extract(epoch from '2026-07-17 15:55:12'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.767301 -3.386618)', '2026-07-17 15:55:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767266 -3.386454)'), GeomFromEWKT('SRID=4674;POINT (-38.767301 -3.386618)'))) / (select extract(epoch from '2026-07-17 15:55:19'::timestamp) - extract(epoch from '2026-07-17 15:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767266 -3.386454)'), GeomFromEWKT('SRID=4674;POINT (-38.767301 -3.386618)'))) / (select extract(epoch from '2026-07-17 15:55:19'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.767352 -3.386758)', '2026-07-17 15:55:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767301 -3.386618)'), GeomFromEWKT('SRID=4674;POINT (-38.767352 -3.386758)'))) / (select extract(epoch from '2026-07-17 15:55:25'::timestamp) - extract(epoch from '2026-07-17 15:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767301 -3.386618)'), GeomFromEWKT('SRID=4674;POINT (-38.767352 -3.386758)'))) / (select extract(epoch from '2026-07-17 15:55:25'::timestamp) - extract(epoch from '2026-07-17 15:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.767394 -3.386895)', '2026-07-17 15:55:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767352 -3.386758)'), GeomFromEWKT('SRID=4674;POINT (-38.767394 -3.386895)'))) / (select extract(epoch from '2026-07-17 15:55:31'::timestamp) - extract(epoch from '2026-07-17 15:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767352 -3.386758)'), GeomFromEWKT('SRID=4674;POINT (-38.767394 -3.386895)'))) / (select extract(epoch from '2026-07-17 15:55:31'::timestamp) - extract(epoch from '2026-07-17 15:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.767448 -3.387033)', '2026-07-17 15:55:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767394 -3.386895)'), GeomFromEWKT('SRID=4674;POINT (-38.767448 -3.387033)'))) / (select extract(epoch from '2026-07-17 15:55:37'::timestamp) - extract(epoch from '2026-07-17 15:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767394 -3.386895)'), GeomFromEWKT('SRID=4674;POINT (-38.767448 -3.387033)'))) / (select extract(epoch from '2026-07-17 15:55:37'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.767509 -3.387172)', '2026-07-17 15:55:43', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767448 -3.387033)'), GeomFromEWKT('SRID=4674;POINT (-38.767509 -3.387172)'))) / (select extract(epoch from '2026-07-17 15:55:43'::timestamp) - extract(epoch from '2026-07-17 15:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767448 -3.387033)'), GeomFromEWKT('SRID=4674;POINT (-38.767509 -3.387172)'))) / (select extract(epoch from '2026-07-17 15:55:43'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47317, 'SRID=4674;POINT (-38.767569 -3.387295)', '2026-07-17 15:55:48', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767509 -3.387172)'), GeomFromEWKT('SRID=4674;POINT (-38.767569 -3.387295)'))) / (select extract(epoch from '2026-07-17 15:55:48'::timestamp) - extract(epoch from '2026-07-17 15:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767509 -3.387172)'), GeomFromEWKT('SRID=4674;POINT (-38.767569 -3.387295)'))) / (select extract(epoch from '2026-07-17 15:55:48'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47317, 'SRID=4674;POINT (-38.767636 -3.387457)', '2026-07-17 15:55:55', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767569 -3.387295)'), GeomFromEWKT('SRID=4674;POINT (-38.767636 -3.387457)'))) / (select extract(epoch from '2026-07-17 15:55:55'::timestamp) - extract(epoch from '2026-07-17 15:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767569 -3.387295)'), GeomFromEWKT('SRID=4674;POINT (-38.767636 -3.387457)'))) / (select extract(epoch from '2026-07-17 15:55:55'::timestamp) - extract(epoch from '2026-07-17 15:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.767706 -3.387595)', '2026-07-17 15:56:01', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767636 -3.387457)'), GeomFromEWKT('SRID=4674;POINT (-38.767706 -3.387595)'))) / (select extract(epoch from '2026-07-17 15:56:01'::timestamp) - extract(epoch from '2026-07-17 15:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767636 -3.387457)'), GeomFromEWKT('SRID=4674;POINT (-38.767706 -3.387595)'))) / (select extract(epoch from '2026-07-17 15:56:01'::timestamp) - extract(epoch from '2026-07-17 15:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.767757 -3.387732)', '2026-07-17 15:56:07', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767706 -3.387595)'), GeomFromEWKT('SRID=4674;POINT (-38.767757 -3.387732)'))) / (select extract(epoch from '2026-07-17 15:56:07'::timestamp) - extract(epoch from '2026-07-17 15:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767706 -3.387595)'), GeomFromEWKT('SRID=4674;POINT (-38.767757 -3.387732)'))) / (select extract(epoch from '2026-07-17 15:56:07'::timestamp) - extract(epoch from '2026-07-17 15:56:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.767834 -3.387867)', '2026-07-17 15:56:13', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767757 -3.387732)'), GeomFromEWKT('SRID=4674;POINT (-38.767834 -3.387867)'))) / (select extract(epoch from '2026-07-17 15:56:13'::timestamp) - extract(epoch from '2026-07-17 15:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767757 -3.387732)'), GeomFromEWKT('SRID=4674;POINT (-38.767834 -3.387867)'))) / (select extract(epoch from '2026-07-17 15:56:13'::timestamp) - extract(epoch from '2026-07-17 15:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.767917 -3.38803)', '2026-07-17 15:56:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767834 -3.387867)'), GeomFromEWKT('SRID=4674;POINT (-38.767917 -3.38803)'))) / (select extract(epoch from '2026-07-17 15:56:20'::timestamp) - extract(epoch from '2026-07-17 15:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767834 -3.387867)'), GeomFromEWKT('SRID=4674;POINT (-38.767917 -3.38803)'))) / (select extract(epoch from '2026-07-17 15:56:20'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47317, 'SRID=4674;POINT (-38.767924 -3.388055)', '2026-07-17 15:56:21', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767917 -3.38803)'), GeomFromEWKT('SRID=4674;POINT (-38.767924 -3.388055)'))) / (select extract(epoch from '2026-07-17 15:56:21'::timestamp) - extract(epoch from '2026-07-17 15:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767917 -3.38803)'), GeomFromEWKT('SRID=4674;POINT (-38.767924 -3.388055)'))) / (select extract(epoch from '2026-07-17 15:56:21'::timestamp) - extract(epoch from '2026-07-17 15:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.76799 -3.388198)', '2026-07-17 15:56:27', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767924 -3.388055)'), GeomFromEWKT('SRID=4674;POINT (-38.76799 -3.388198)'))) / (select extract(epoch from '2026-07-17 15:56:27'::timestamp) - extract(epoch from '2026-07-17 15:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767924 -3.388055)'), GeomFromEWKT('SRID=4674;POINT (-38.76799 -3.388198)'))) / (select extract(epoch from '2026-07-17 15:56:27'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47317, 'SRID=4674;POINT (-38.768034 -3.38834)', '2026-07-17 15:56:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76799 -3.388198)'), GeomFromEWKT('SRID=4674;POINT (-38.768034 -3.38834)'))) / (select extract(epoch from '2026-07-17 15:56:33'::timestamp) - extract(epoch from '2026-07-17 15:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76799 -3.388198)'), GeomFromEWKT('SRID=4674;POINT (-38.768034 -3.38834)'))) / (select extract(epoch from '2026-07-17 15:56:33'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47317, 'SRID=4674;POINT (-38.768097 -3.388487)', '2026-07-17 15:56:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768034 -3.38834)'), GeomFromEWKT('SRID=4674;POINT (-38.768097 -3.388487)'))) / (select extract(epoch from '2026-07-17 15:56:39'::timestamp) - extract(epoch from '2026-07-17 15:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768034 -3.38834)'), GeomFromEWKT('SRID=4674;POINT (-38.768097 -3.388487)'))) / (select extract(epoch from '2026-07-17 15:56:39'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47317, 'SRID=4674;POINT (-38.768157 -3.388632)', '2026-07-17 15:56:45', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768097 -3.388487)'), GeomFromEWKT('SRID=4674;POINT (-38.768157 -3.388632)'))) / (select extract(epoch from '2026-07-17 15:56:45'::timestamp) - extract(epoch from '2026-07-17 15:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768097 -3.388487)'), GeomFromEWKT('SRID=4674;POINT (-38.768157 -3.388632)'))) / (select extract(epoch from '2026-07-17 15:56:45'::timestamp) - extract(epoch from '2026-07-17 15:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.768219 -3.388786)', '2026-07-17 15:56:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768157 -3.388632)'), GeomFromEWKT('SRID=4674;POINT (-38.768219 -3.388786)'))) / (select extract(epoch from '2026-07-17 15:56:51'::timestamp) - extract(epoch from '2026-07-17 15:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768157 -3.388632)'), GeomFromEWKT('SRID=4674;POINT (-38.768219 -3.388786)'))) / (select extract(epoch from '2026-07-17 15:56:51'::timestamp) - extract(epoch from '2026-07-17 15:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.768271 -3.388909)', '2026-07-17 15:56:56', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768219 -3.388786)'), GeomFromEWKT('SRID=4674;POINT (-38.768271 -3.388909)'))) / (select extract(epoch from '2026-07-17 15:56:56'::timestamp) - extract(epoch from '2026-07-17 15:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768219 -3.388786)'), GeomFromEWKT('SRID=4674;POINT (-38.768271 -3.388909)'))) / (select extract(epoch from '2026-07-17 15:56:56'::timestamp) - extract(epoch from '2026-07-17 15:56:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.768335 -3.389054)', '2026-07-17 15:57:02', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768271 -3.388909)'), GeomFromEWKT('SRID=4674;POINT (-38.768335 -3.389054)'))) / (select extract(epoch from '2026-07-17 15:57:02'::timestamp) - extract(epoch from '2026-07-17 15:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768271 -3.388909)'), GeomFromEWKT('SRID=4674;POINT (-38.768335 -3.389054)'))) / (select extract(epoch from '2026-07-17 15:57:02'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.768396 -3.389197)', '2026-07-17 15:57:08', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768335 -3.389054)'), GeomFromEWKT('SRID=4674;POINT (-38.768396 -3.389197)'))) / (select extract(epoch from '2026-07-17 15:57:08'::timestamp) - extract(epoch from '2026-07-17 15:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768335 -3.389054)'), GeomFromEWKT('SRID=4674;POINT (-38.768396 -3.389197)'))) / (select extract(epoch from '2026-07-17 15:57:08'::timestamp) - extract(epoch from '2026-07-17 15:57: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'), 47317, 'SRID=4674;POINT (-38.768455 -3.389375)', '2026-07-17 15:57:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768396 -3.389197)'), GeomFromEWKT('SRID=4674;POINT (-38.768455 -3.389375)'))) / (select extract(epoch from '2026-07-17 15:57:16'::timestamp) - extract(epoch from '2026-07-17 15:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768396 -3.389197)'), GeomFromEWKT('SRID=4674;POINT (-38.768455 -3.389375)'))) / (select extract(epoch from '2026-07-17 15:57:16'::timestamp) - extract(epoch from '2026-07-17 15:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.768532 -3.389537)', '2026-07-17 15:57:23', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768455 -3.389375)'), GeomFromEWKT('SRID=4674;POINT (-38.768532 -3.389537)'))) / (select extract(epoch from '2026-07-17 15:57:23'::timestamp) - extract(epoch from '2026-07-17 15:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768455 -3.389375)'), GeomFromEWKT('SRID=4674;POINT (-38.768532 -3.389537)'))) / (select extract(epoch from '2026-07-17 15:57:23'::timestamp) - extract(epoch from '2026-07-17 15:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.768584 -3.389677)', '2026-07-17 15:57:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768532 -3.389537)'), GeomFromEWKT('SRID=4674;POINT (-38.768584 -3.389677)'))) / (select extract(epoch from '2026-07-17 15:57:29'::timestamp) - extract(epoch from '2026-07-17 15:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768532 -3.389537)'), GeomFromEWKT('SRID=4674;POINT (-38.768584 -3.389677)'))) / (select extract(epoch from '2026-07-17 15:57:29'::timestamp) - extract(epoch from '2026-07-17 15:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.768637 -3.389811)', '2026-07-17 15:57:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768584 -3.389677)'), GeomFromEWKT('SRID=4674;POINT (-38.768637 -3.389811)'))) / (select extract(epoch from '2026-07-17 15:57:35'::timestamp) - extract(epoch from '2026-07-17 15:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768584 -3.389677)'), GeomFromEWKT('SRID=4674;POINT (-38.768637 -3.389811)'))) / (select extract(epoch from '2026-07-17 15:57:35'::timestamp) - extract(epoch from '2026-07-17 15:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.768716 -3.389989)', '2026-07-17 15:57:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768637 -3.389811)'), GeomFromEWKT('SRID=4674;POINT (-38.768716 -3.389989)'))) / (select extract(epoch from '2026-07-17 15:57:42'::timestamp) - extract(epoch from '2026-07-17 15:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768637 -3.389811)'), GeomFromEWKT('SRID=4674;POINT (-38.768716 -3.389989)'))) / (select extract(epoch from '2026-07-17 15:57:42'::timestamp) - extract(epoch from '2026-07-17 15:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.768762 -3.390106)', '2026-07-17 15:57:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768716 -3.389989)'), GeomFromEWKT('SRID=4674;POINT (-38.768762 -3.390106)'))) / (select extract(epoch from '2026-07-17 15:57:47'::timestamp) - extract(epoch from '2026-07-17 15:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768716 -3.389989)'), GeomFromEWKT('SRID=4674;POINT (-38.768762 -3.390106)'))) / (select extract(epoch from '2026-07-17 15:57:47'::timestamp) - extract(epoch from '2026-07-17 15:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.768806 -3.390242)', '2026-07-17 15:57:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768762 -3.390106)'), GeomFromEWKT('SRID=4674;POINT (-38.768806 -3.390242)'))) / (select extract(epoch from '2026-07-17 15:57:53'::timestamp) - extract(epoch from '2026-07-17 15:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768762 -3.390106)'), GeomFromEWKT('SRID=4674;POINT (-38.768806 -3.390242)'))) / (select extract(epoch from '2026-07-17 15:57:53'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.768863 -3.390436)', '2026-07-17 15:58:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768806 -3.390242)'), GeomFromEWKT('SRID=4674;POINT (-38.768863 -3.390436)'))) / (select extract(epoch from '2026-07-17 15:58:01'::timestamp) - extract(epoch from '2026-07-17 15:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768806 -3.390242)'), GeomFromEWKT('SRID=4674;POINT (-38.768863 -3.390436)'))) / (select extract(epoch from '2026-07-17 15:58:01'::timestamp) - extract(epoch from '2026-07-17 15:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.768926 -3.390601)', '2026-07-17 15:58:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768863 -3.390436)'), GeomFromEWKT('SRID=4674;POINT (-38.768926 -3.390601)'))) / (select extract(epoch from '2026-07-17 15:58:08'::timestamp) - extract(epoch from '2026-07-17 15:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768863 -3.390436)'), GeomFromEWKT('SRID=4674;POINT (-38.768926 -3.390601)'))) / (select extract(epoch from '2026-07-17 15:58:08'::timestamp) - extract(epoch from '2026-07-17 15:58:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.769012 -3.390761)', '2026-07-17 15:58:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768926 -3.390601)'), GeomFromEWKT('SRID=4674;POINT (-38.769012 -3.390761)'))) / (select extract(epoch from '2026-07-17 15:58:15'::timestamp) - extract(epoch from '2026-07-17 15:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768926 -3.390601)'), GeomFromEWKT('SRID=4674;POINT (-38.769012 -3.390761)'))) / (select extract(epoch from '2026-07-17 15:58:15'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.769068 -3.390896)', '2026-07-17 15:58:21', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769012 -3.390761)'), GeomFromEWKT('SRID=4674;POINT (-38.769068 -3.390896)'))) / (select extract(epoch from '2026-07-17 15:58:21'::timestamp) - extract(epoch from '2026-07-17 15:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769012 -3.390761)'), GeomFromEWKT('SRID=4674;POINT (-38.769068 -3.390896)'))) / (select extract(epoch from '2026-07-17 15:58:21'::timestamp) - extract(epoch from '2026-07-17 15:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
