 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54483 -3.637547)', '2026-07-18 18:23:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544825 -3.637549)'), GeomFromEWKT('SRID=4674;POINT (-38.54483 -3.637547)'))) / (select extract(epoch from '2026-07-18 18:23:32'::timestamp) - extract(epoch from '2026-07-18 18:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544825 -3.637549)'), GeomFromEWKT('SRID=4674;POINT (-38.54483 -3.637547)'))) / (select extract(epoch from '2026-07-18 18:23:32'::timestamp) - extract(epoch from '2026-07-18 18:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544853 -3.637541)', '2026-07-18 18:23:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54483 -3.637547)'), GeomFromEWKT('SRID=4674;POINT (-38.544853 -3.637541)'))) / (select extract(epoch from '2026-07-18 18:23:34'::timestamp) - extract(epoch from '2026-07-18 18:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54483 -3.637547)'), GeomFromEWKT('SRID=4674;POINT (-38.544853 -3.637541)'))) / (select extract(epoch from '2026-07-18 18:23:34'::timestamp) - extract(epoch from '2026-07-18 18:23: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'), 47391, 'SRID=4674;POINT (-38.544874 -3.637537)', '2026-07-18 18:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544853 -3.637541)'), GeomFromEWKT('SRID=4674;POINT (-38.544874 -3.637537)'))) / (select extract(epoch from '2026-07-18 18:23:36'::timestamp) - extract(epoch from '2026-07-18 18:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544853 -3.637541)'), GeomFromEWKT('SRID=4674;POINT (-38.544874 -3.637537)'))) / (select extract(epoch from '2026-07-18 18:23:36'::timestamp) - extract(epoch from '2026-07-18 18:23: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'), 47391, 'SRID=4674;POINT (-38.5449 -3.63752)', '2026-07-18 18:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544874 -3.637537)'), GeomFromEWKT('SRID=4674;POINT (-38.5449 -3.63752)'))) / (select extract(epoch from '2026-07-18 18:23:41'::timestamp) - extract(epoch from '2026-07-18 18:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544874 -3.637537)'), GeomFromEWKT('SRID=4674;POINT (-38.5449 -3.63752)'))) / (select extract(epoch from '2026-07-18 18:23:41'::timestamp) - extract(epoch from '2026-07-18 18:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544941 -3.637512)', '2026-07-18 18:23:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5449 -3.63752)'), GeomFromEWKT('SRID=4674;POINT (-38.544941 -3.637512)'))) / (select extract(epoch from '2026-07-18 18:23:46'::timestamp) - extract(epoch from '2026-07-18 18:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5449 -3.63752)'), GeomFromEWKT('SRID=4674;POINT (-38.544941 -3.637512)'))) / (select extract(epoch from '2026-07-18 18:23:46'::timestamp) - extract(epoch from '2026-07-18 18:23: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'), 47391, 'SRID=4674;POINT (-38.545019 -3.637513)', '2026-07-18 18:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544941 -3.637512)'), GeomFromEWKT('SRID=4674;POINT (-38.545019 -3.637513)'))) / (select extract(epoch from '2026-07-18 18:23:56'::timestamp) - extract(epoch from '2026-07-18 18:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544941 -3.637512)'), GeomFromEWKT('SRID=4674;POINT (-38.545019 -3.637513)'))) / (select extract(epoch from '2026-07-18 18:23:56'::timestamp) - extract(epoch from '2026-07-18 18:23: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'), 47391, 'SRID=4674;POINT (-38.545083 -3.63751)', '2026-07-18 18:24:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545019 -3.637513)'), GeomFromEWKT('SRID=4674;POINT (-38.545083 -3.63751)'))) / (select extract(epoch from '2026-07-18 18:24:04'::timestamp) - extract(epoch from '2026-07-18 18:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545019 -3.637513)'), GeomFromEWKT('SRID=4674;POINT (-38.545083 -3.63751)'))) / (select extract(epoch from '2026-07-18 18:24:04'::timestamp) - extract(epoch from '2026-07-18 18:23: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'), 47391, 'SRID=4674;POINT (-38.545148 -3.637519)', '2026-07-18 18:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545083 -3.63751)'), GeomFromEWKT('SRID=4674;POINT (-38.545148 -3.637519)'))) / (select extract(epoch from '2026-07-18 18:24:13'::timestamp) - extract(epoch from '2026-07-18 18:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545083 -3.63751)'), GeomFromEWKT('SRID=4674;POINT (-38.545148 -3.637519)'))) / (select extract(epoch from '2026-07-18 18:24:13'::timestamp) - extract(epoch from '2026-07-18 18:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545198 -3.637513)', '2026-07-18 18:24:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545148 -3.637519)'), GeomFromEWKT('SRID=4674;POINT (-38.545198 -3.637513)'))) / (select extract(epoch from '2026-07-18 18:24:21'::timestamp) - extract(epoch from '2026-07-18 18:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545148 -3.637519)'), GeomFromEWKT('SRID=4674;POINT (-38.545198 -3.637513)'))) / (select extract(epoch from '2026-07-18 18:24:21'::timestamp) - extract(epoch from '2026-07-18 18:24: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'), 47391, 'SRID=4674;POINT (-38.545234 -3.637503)', '2026-07-18 18:24:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545198 -3.637513)'), GeomFromEWKT('SRID=4674;POINT (-38.545234 -3.637503)'))) / (select extract(epoch from '2026-07-18 18:24:25'::timestamp) - extract(epoch from '2026-07-18 18:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545198 -3.637513)'), GeomFromEWKT('SRID=4674;POINT (-38.545234 -3.637503)'))) / (select extract(epoch from '2026-07-18 18:24:25'::timestamp) - extract(epoch from '2026-07-18 18:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545278 -3.63748)', '2026-07-18 18:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545234 -3.637503)'), GeomFromEWKT('SRID=4674;POINT (-38.545278 -3.63748)'))) / (select extract(epoch from '2026-07-18 18:24:32'::timestamp) - extract(epoch from '2026-07-18 18:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545234 -3.637503)'), GeomFromEWKT('SRID=4674;POINT (-38.545278 -3.63748)'))) / (select extract(epoch from '2026-07-18 18:24:32'::timestamp) - extract(epoch from '2026-07-18 18:24: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'), 47391, 'SRID=4674;POINT (-38.545348 -3.637475)', '2026-07-18 18:24:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545278 -3.63748)'), GeomFromEWKT('SRID=4674;POINT (-38.545348 -3.637475)'))) / (select extract(epoch from '2026-07-18 18:24:42'::timestamp) - extract(epoch from '2026-07-18 18:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545278 -3.63748)'), GeomFromEWKT('SRID=4674;POINT (-38.545348 -3.637475)'))) / (select extract(epoch from '2026-07-18 18:24:42'::timestamp) - extract(epoch from '2026-07-18 18:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545417 -3.637462)', '2026-07-18 18:24:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545348 -3.637475)'), GeomFromEWKT('SRID=4674;POINT (-38.545417 -3.637462)'))) / (select extract(epoch from '2026-07-18 18:24:52'::timestamp) - extract(epoch from '2026-07-18 18:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545348 -3.637475)'), GeomFromEWKT('SRID=4674;POINT (-38.545417 -3.637462)'))) / (select extract(epoch from '2026-07-18 18:24:52'::timestamp) - extract(epoch from '2026-07-18 18:24: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'), 47391, 'SRID=4674;POINT (-38.545485 -3.637456)', '2026-07-18 18:25:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545417 -3.637462)'), GeomFromEWKT('SRID=4674;POINT (-38.545485 -3.637456)'))) / (select extract(epoch from '2026-07-18 18:25:01'::timestamp) - extract(epoch from '2026-07-18 18:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545417 -3.637462)'), GeomFromEWKT('SRID=4674;POINT (-38.545485 -3.637456)'))) / (select extract(epoch from '2026-07-18 18:25:01'::timestamp) - extract(epoch from '2026-07-18 18:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545512 -3.637449)', '2026-07-18 18:25:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545485 -3.637456)'), GeomFromEWKT('SRID=4674;POINT (-38.545512 -3.637449)'))) / (select extract(epoch from '2026-07-18 18:25:04'::timestamp) - extract(epoch from '2026-07-18 18:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545485 -3.637456)'), GeomFromEWKT('SRID=4674;POINT (-38.545512 -3.637449)'))) / (select extract(epoch from '2026-07-18 18:25:04'::timestamp) - extract(epoch from '2026-07-18 18:25:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545526 -3.637447)', '2026-07-18 18:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545512 -3.637449)'), GeomFromEWKT('SRID=4674;POINT (-38.545526 -3.637447)'))) / (select extract(epoch from '2026-07-18 18:25:07'::timestamp) - extract(epoch from '2026-07-18 18:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545512 -3.637449)'), GeomFromEWKT('SRID=4674;POINT (-38.545526 -3.637447)'))) / (select extract(epoch from '2026-07-18 18:25:07'::timestamp) - extract(epoch from '2026-07-18 18:25: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'), 47391, 'SRID=4674;POINT (-38.545556 -3.637434)', '2026-07-18 18:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545526 -3.637447)'), GeomFromEWKT('SRID=4674;POINT (-38.545556 -3.637434)'))) / (select extract(epoch from '2026-07-18 18:25:14'::timestamp) - extract(epoch from '2026-07-18 18:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545526 -3.637447)'), GeomFromEWKT('SRID=4674;POINT (-38.545556 -3.637434)'))) / (select extract(epoch from '2026-07-18 18:25:14'::timestamp) - extract(epoch from '2026-07-18 18:25: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'), 47391, 'SRID=4674;POINT (-38.545599 -3.637405)', '2026-07-18 18:25:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545556 -3.637434)'), GeomFromEWKT('SRID=4674;POINT (-38.545599 -3.637405)'))) / (select extract(epoch from '2026-07-18 18:25:21'::timestamp) - extract(epoch from '2026-07-18 18:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545556 -3.637434)'), GeomFromEWKT('SRID=4674;POINT (-38.545599 -3.637405)'))) / (select extract(epoch from '2026-07-18 18:25:21'::timestamp) - extract(epoch from '2026-07-18 18:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545682 -3.637394)', '2026-07-18 18:25:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545599 -3.637405)'), GeomFromEWKT('SRID=4674;POINT (-38.545682 -3.637394)'))) / (select extract(epoch from '2026-07-18 18:25:32'::timestamp) - extract(epoch from '2026-07-18 18:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545599 -3.637405)'), GeomFromEWKT('SRID=4674;POINT (-38.545682 -3.637394)'))) / (select extract(epoch from '2026-07-18 18:25:32'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.545745 -3.637385)', '2026-07-18 18:25:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545682 -3.637394)'), GeomFromEWKT('SRID=4674;POINT (-38.545745 -3.637385)'))) / (select extract(epoch from '2026-07-18 18:25:42'::timestamp) - extract(epoch from '2026-07-18 18:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545682 -3.637394)'), GeomFromEWKT('SRID=4674;POINT (-38.545745 -3.637385)'))) / (select extract(epoch from '2026-07-18 18:25:42'::timestamp) - extract(epoch from '2026-07-18 18:25: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'), 47391, 'SRID=4674;POINT (-38.54579 -3.637382)', '2026-07-18 18:25:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545745 -3.637385)'), GeomFromEWKT('SRID=4674;POINT (-38.54579 -3.637382)'))) / (select extract(epoch from '2026-07-18 18:25:47'::timestamp) - extract(epoch from '2026-07-18 18:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545745 -3.637385)'), GeomFromEWKT('SRID=4674;POINT (-38.54579 -3.637382)'))) / (select extract(epoch from '2026-07-18 18:25:47'::timestamp) - extract(epoch from '2026-07-18 18:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545853 -3.637364)', '2026-07-18 18:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54579 -3.637382)'), GeomFromEWKT('SRID=4674;POINT (-38.545853 -3.637364)'))) / (select extract(epoch from '2026-07-18 18:25:57'::timestamp) - extract(epoch from '2026-07-18 18:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54579 -3.637382)'), GeomFromEWKT('SRID=4674;POINT (-38.545853 -3.637364)'))) / (select extract(epoch from '2026-07-18 18:25:57'::timestamp) - extract(epoch from '2026-07-18 18:25: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'), 47391, 'SRID=4674;POINT (-38.545866 -3.637366)', '2026-07-18 18:25:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545853 -3.637364)'), GeomFromEWKT('SRID=4674;POINT (-38.545866 -3.637366)'))) / (select extract(epoch from '2026-07-18 18:25:58'::timestamp) - extract(epoch from '2026-07-18 18:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545853 -3.637364)'), GeomFromEWKT('SRID=4674;POINT (-38.545866 -3.637366)'))) / (select extract(epoch from '2026-07-18 18:25:58'::timestamp) - extract(epoch from '2026-07-18 18:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545884 -3.637365)', '2026-07-18 18:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545866 -3.637366)'), GeomFromEWKT('SRID=4674;POINT (-38.545884 -3.637365)'))) / (select extract(epoch from '2026-07-18 18:26:01'::timestamp) - extract(epoch from '2026-07-18 18:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545866 -3.637366)'), GeomFromEWKT('SRID=4674;POINT (-38.545884 -3.637365)'))) / (select extract(epoch from '2026-07-18 18:26:01'::timestamp) - extract(epoch from '2026-07-18 18:25:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545893 -3.637362)', '2026-07-18 18:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545884 -3.637365)'), GeomFromEWKT('SRID=4674;POINT (-38.545893 -3.637362)'))) / (select extract(epoch from '2026-07-18 18:26:02'::timestamp) - extract(epoch from '2026-07-18 18:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545884 -3.637365)'), GeomFromEWKT('SRID=4674;POINT (-38.545893 -3.637362)'))) / (select extract(epoch from '2026-07-18 18:26:02'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.545927 -3.637361)', '2026-07-18 18:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545893 -3.637362)'), GeomFromEWKT('SRID=4674;POINT (-38.545927 -3.637361)'))) / (select extract(epoch from '2026-07-18 18:26:06'::timestamp) - extract(epoch from '2026-07-18 18:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545893 -3.637362)'), GeomFromEWKT('SRID=4674;POINT (-38.545927 -3.637361)'))) / (select extract(epoch from '2026-07-18 18:26:06'::timestamp) - extract(epoch from '2026-07-18 18:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545994 -3.637364)', '2026-07-18 18:26:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545927 -3.637361)'), GeomFromEWKT('SRID=4674;POINT (-38.545994 -3.637364)'))) / (select extract(epoch from '2026-07-18 18:26:14'::timestamp) - extract(epoch from '2026-07-18 18:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545927 -3.637361)'), GeomFromEWKT('SRID=4674;POINT (-38.545994 -3.637364)'))) / (select extract(epoch from '2026-07-18 18:26:14'::timestamp) - extract(epoch from '2026-07-18 18:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546059 -3.637352)', '2026-07-18 18:26:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545994 -3.637364)'), GeomFromEWKT('SRID=4674;POINT (-38.546059 -3.637352)'))) / (select extract(epoch from '2026-07-18 18:26:23'::timestamp) - extract(epoch from '2026-07-18 18:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545994 -3.637364)'), GeomFromEWKT('SRID=4674;POINT (-38.546059 -3.637352)'))) / (select extract(epoch from '2026-07-18 18:26:23'::timestamp) - extract(epoch from '2026-07-18 18:26:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546137 -3.637339)', '2026-07-18 18:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546059 -3.637352)'), GeomFromEWKT('SRID=4674;POINT (-38.546137 -3.637339)'))) / (select extract(epoch from '2026-07-18 18:26:33'::timestamp) - extract(epoch from '2026-07-18 18:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546059 -3.637352)'), GeomFromEWKT('SRID=4674;POINT (-38.546137 -3.637339)'))) / (select extract(epoch from '2026-07-18 18:26:33'::timestamp) - extract(epoch from '2026-07-18 18:26: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'), 47391, 'SRID=4674;POINT (-38.546147 -3.637338)', '2026-07-18 18:26:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546137 -3.637339)'), GeomFromEWKT('SRID=4674;POINT (-38.546147 -3.637338)'))) / (select extract(epoch from '2026-07-18 18:26:34'::timestamp) - extract(epoch from '2026-07-18 18:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546137 -3.637339)'), GeomFromEWKT('SRID=4674;POINT (-38.546147 -3.637338)'))) / (select extract(epoch from '2026-07-18 18:26:34'::timestamp) - extract(epoch from '2026-07-18 18:26:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54618 -3.637333)', '2026-07-18 18:26:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546147 -3.637338)'), GeomFromEWKT('SRID=4674;POINT (-38.54618 -3.637333)'))) / (select extract(epoch from '2026-07-18 18:26:38'::timestamp) - extract(epoch from '2026-07-18 18:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546147 -3.637338)'), GeomFromEWKT('SRID=4674;POINT (-38.54618 -3.637333)'))) / (select extract(epoch from '2026-07-18 18:26:38'::timestamp) - extract(epoch from '2026-07-18 18:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546257 -3.637319)', '2026-07-18 18:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54618 -3.637333)'), GeomFromEWKT('SRID=4674;POINT (-38.546257 -3.637319)'))) / (select extract(epoch from '2026-07-18 18:26:48'::timestamp) - extract(epoch from '2026-07-18 18:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54618 -3.637333)'), GeomFromEWKT('SRID=4674;POINT (-38.546257 -3.637319)'))) / (select extract(epoch from '2026-07-18 18:26:48'::timestamp) - extract(epoch from '2026-07-18 18:26: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'), 47391, 'SRID=4674;POINT (-38.546326 -3.637319)', '2026-07-18 18:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546257 -3.637319)'), GeomFromEWKT('SRID=4674;POINT (-38.546326 -3.637319)'))) / (select extract(epoch from '2026-07-18 18:26:56'::timestamp) - extract(epoch from '2026-07-18 18:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546257 -3.637319)'), GeomFromEWKT('SRID=4674;POINT (-38.546326 -3.637319)'))) / (select extract(epoch from '2026-07-18 18:26:56'::timestamp) - extract(epoch from '2026-07-18 18:26: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'), 47391, 'SRID=4674;POINT (-38.54636 -3.637316)', '2026-07-18 18:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546326 -3.637319)'), GeomFromEWKT('SRID=4674;POINT (-38.54636 -3.637316)'))) / (select extract(epoch from '2026-07-18 18:27:00'::timestamp) - extract(epoch from '2026-07-18 18:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546326 -3.637319)'), GeomFromEWKT('SRID=4674;POINT (-38.54636 -3.637316)'))) / (select extract(epoch from '2026-07-18 18:27:00'::timestamp) - extract(epoch from '2026-07-18 18:26: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'), 47391, 'SRID=4674;POINT (-38.546366 -3.637309)', '2026-07-18 18:27:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54636 -3.637316)'), GeomFromEWKT('SRID=4674;POINT (-38.546366 -3.637309)'))) / (select extract(epoch from '2026-07-18 18:27:01'::timestamp) - extract(epoch from '2026-07-18 18:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54636 -3.637316)'), GeomFromEWKT('SRID=4674;POINT (-38.546366 -3.637309)'))) / (select extract(epoch from '2026-07-18 18:27:01'::timestamp) - extract(epoch from '2026-07-18 18:27:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546431 -3.637294)', '2026-07-18 18:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546366 -3.637309)'), GeomFromEWKT('SRID=4674;POINT (-38.546431 -3.637294)'))) / (select extract(epoch from '2026-07-18 18:27:08'::timestamp) - extract(epoch from '2026-07-18 18:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546366 -3.637309)'), GeomFromEWKT('SRID=4674;POINT (-38.546431 -3.637294)'))) / (select extract(epoch from '2026-07-18 18:27:08'::timestamp) - extract(epoch from '2026-07-18 18:27:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546523 -3.637275)', '2026-07-18 18:27:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546431 -3.637294)'), GeomFromEWKT('SRID=4674;POINT (-38.546523 -3.637275)'))) / (select extract(epoch from '2026-07-18 18:27:17'::timestamp) - extract(epoch from '2026-07-18 18:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546431 -3.637294)'), GeomFromEWKT('SRID=4674;POINT (-38.546523 -3.637275)'))) / (select extract(epoch from '2026-07-18 18:27:17'::timestamp) - extract(epoch from '2026-07-18 18:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546569 -3.637267)', '2026-07-18 18:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546523 -3.637275)'), GeomFromEWKT('SRID=4674;POINT (-38.546569 -3.637267)'))) / (select extract(epoch from '2026-07-18 18:27:22'::timestamp) - extract(epoch from '2026-07-18 18:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546523 -3.637275)'), GeomFromEWKT('SRID=4674;POINT (-38.546569 -3.637267)'))) / (select extract(epoch from '2026-07-18 18:27:22'::timestamp) - extract(epoch from '2026-07-18 18:27: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'), 47391, 'SRID=4674;POINT (-38.546612 -3.637256)', '2026-07-18 18:27:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546569 -3.637267)'), GeomFromEWKT('SRID=4674;POINT (-38.546612 -3.637256)'))) / (select extract(epoch from '2026-07-18 18:27:25'::timestamp) - extract(epoch from '2026-07-18 18:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546569 -3.637267)'), GeomFromEWKT('SRID=4674;POINT (-38.546612 -3.637256)'))) / (select extract(epoch from '2026-07-18 18:27:25'::timestamp) - extract(epoch from '2026-07-18 18:27: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'), 47391, 'SRID=4674;POINT (-38.546627 -3.637257)', '2026-07-18 18:27:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546612 -3.637256)'), GeomFromEWKT('SRID=4674;POINT (-38.546627 -3.637257)'))) / (select extract(epoch from '2026-07-18 18:27:27'::timestamp) - extract(epoch from '2026-07-18 18:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546612 -3.637256)'), GeomFromEWKT('SRID=4674;POINT (-38.546627 -3.637257)'))) / (select extract(epoch from '2026-07-18 18:27:27'::timestamp) - extract(epoch from '2026-07-18 18:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546707 -3.637243)', '2026-07-18 18:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546627 -3.637257)'), GeomFromEWKT('SRID=4674;POINT (-38.546707 -3.637243)'))) / (select extract(epoch from '2026-07-18 18:27:34'::timestamp) - extract(epoch from '2026-07-18 18:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546627 -3.637257)'), GeomFromEWKT('SRID=4674;POINT (-38.546707 -3.637243)'))) / (select extract(epoch from '2026-07-18 18:27:34'::timestamp) - extract(epoch from '2026-07-18 18:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546784 -3.637222)', '2026-07-18 18:27:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546707 -3.637243)'), GeomFromEWKT('SRID=4674;POINT (-38.546784 -3.637222)'))) / (select extract(epoch from '2026-07-18 18:27:42'::timestamp) - extract(epoch from '2026-07-18 18:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546707 -3.637243)'), GeomFromEWKT('SRID=4674;POINT (-38.546784 -3.637222)'))) / (select extract(epoch from '2026-07-18 18:27:42'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546819 -3.63721)', '2026-07-18 18:27:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546784 -3.637222)'), GeomFromEWKT('SRID=4674;POINT (-38.546819 -3.63721)'))) / (select extract(epoch from '2026-07-18 18:27:46'::timestamp) - extract(epoch from '2026-07-18 18:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546784 -3.637222)'), GeomFromEWKT('SRID=4674;POINT (-38.546819 -3.63721)'))) / (select extract(epoch from '2026-07-18 18:27:46'::timestamp) - extract(epoch from '2026-07-18 18:27: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'), 47391, 'SRID=4674;POINT (-38.546827 -3.637215)', '2026-07-18 18:27:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546819 -3.63721)'), GeomFromEWKT('SRID=4674;POINT (-38.546827 -3.637215)'))) / (select extract(epoch from '2026-07-18 18:27:47'::timestamp) - extract(epoch from '2026-07-18 18:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546819 -3.63721)'), GeomFromEWKT('SRID=4674;POINT (-38.546827 -3.637215)'))) / (select extract(epoch from '2026-07-18 18:27:47'::timestamp) - extract(epoch from '2026-07-18 18:27: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'), 47391, 'SRID=4674;POINT (-38.546883 -3.637213)', '2026-07-18 18:27:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546827 -3.637215)'), GeomFromEWKT('SRID=4674;POINT (-38.546883 -3.637213)'))) / (select extract(epoch from '2026-07-18 18:27:53'::timestamp) - extract(epoch from '2026-07-18 18:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546827 -3.637215)'), GeomFromEWKT('SRID=4674;POINT (-38.546883 -3.637213)'))) / (select extract(epoch from '2026-07-18 18:27:53'::timestamp) - extract(epoch from '2026-07-18 18:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546893 -3.63721)', '2026-07-18 18:27:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546883 -3.637213)'), GeomFromEWKT('SRID=4674;POINT (-38.546893 -3.63721)'))) / (select extract(epoch from '2026-07-18 18:27:54'::timestamp) - extract(epoch from '2026-07-18 18:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546883 -3.637213)'), GeomFromEWKT('SRID=4674;POINT (-38.546893 -3.63721)'))) / (select extract(epoch from '2026-07-18 18:27:54'::timestamp) - extract(epoch from '2026-07-18 18:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546924 -3.637196)', '2026-07-18 18:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546893 -3.63721)'), GeomFromEWKT('SRID=4674;POINT (-38.546924 -3.637196)'))) / (select extract(epoch from '2026-07-18 18:27:58'::timestamp) - extract(epoch from '2026-07-18 18:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546893 -3.63721)'), GeomFromEWKT('SRID=4674;POINT (-38.546924 -3.637196)'))) / (select extract(epoch from '2026-07-18 18:27:58'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546976 -3.637193)', '2026-07-18 18:28:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546924 -3.637196)'), GeomFromEWKT('SRID=4674;POINT (-38.546976 -3.637193)'))) / (select extract(epoch from '2026-07-18 18:28:04'::timestamp) - extract(epoch from '2026-07-18 18:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546924 -3.637196)'), GeomFromEWKT('SRID=4674;POINT (-38.546976 -3.637193)'))) / (select extract(epoch from '2026-07-18 18:28:04'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.547033 -3.637171)', '2026-07-18 18:28:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546976 -3.637193)'), GeomFromEWKT('SRID=4674;POINT (-38.547033 -3.637171)'))) / (select extract(epoch from '2026-07-18 18:28:12'::timestamp) - extract(epoch from '2026-07-18 18:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546976 -3.637193)'), GeomFromEWKT('SRID=4674;POINT (-38.547033 -3.637171)'))) / (select extract(epoch from '2026-07-18 18:28:12'::timestamp) - extract(epoch from '2026-07-18 18:28: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'), 47391, 'SRID=4674;POINT (-38.547123 -3.63714)', '2026-07-18 18:28:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547033 -3.637171)'), GeomFromEWKT('SRID=4674;POINT (-38.547123 -3.63714)'))) / (select extract(epoch from '2026-07-18 18:28:23'::timestamp) - extract(epoch from '2026-07-18 18:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547033 -3.637171)'), GeomFromEWKT('SRID=4674;POINT (-38.547123 -3.63714)'))) / (select extract(epoch from '2026-07-18 18:28:23'::timestamp) - extract(epoch from '2026-07-18 18:28: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'), 47391, 'SRID=4674;POINT (-38.547214 -3.637117)', '2026-07-18 18:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547123 -3.63714)'), GeomFromEWKT('SRID=4674;POINT (-38.547214 -3.637117)'))) / (select extract(epoch from '2026-07-18 18:28:34'::timestamp) - extract(epoch from '2026-07-18 18:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547123 -3.63714)'), GeomFromEWKT('SRID=4674;POINT (-38.547214 -3.637117)'))) / (select extract(epoch from '2026-07-18 18:28:34'::timestamp) - extract(epoch from '2026-07-18 18:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547274 -3.637109)', '2026-07-18 18:28:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547214 -3.637117)'), GeomFromEWKT('SRID=4674;POINT (-38.547274 -3.637109)'))) / (select extract(epoch from '2026-07-18 18:28:42'::timestamp) - extract(epoch from '2026-07-18 18:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547214 -3.637117)'), GeomFromEWKT('SRID=4674;POINT (-38.547274 -3.637109)'))) / (select extract(epoch from '2026-07-18 18:28:42'::timestamp) - extract(epoch from '2026-07-18 18:28: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'), 47391, 'SRID=4674;POINT (-38.54734 -3.637086)', '2026-07-18 18:28:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547274 -3.637109)'), GeomFromEWKT('SRID=4674;POINT (-38.54734 -3.637086)'))) / (select extract(epoch from '2026-07-18 18:28:52'::timestamp) - extract(epoch from '2026-07-18 18:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547274 -3.637109)'), GeomFromEWKT('SRID=4674;POINT (-38.54734 -3.637086)'))) / (select extract(epoch from '2026-07-18 18:28:52'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.5474 -3.637073)', '2026-07-18 18:29:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54734 -3.637086)'), GeomFromEWKT('SRID=4674;POINT (-38.5474 -3.637073)'))) / (select extract(epoch from '2026-07-18 18:29:01'::timestamp) - extract(epoch from '2026-07-18 18:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54734 -3.637086)'), GeomFromEWKT('SRID=4674;POINT (-38.5474 -3.637073)'))) / (select extract(epoch from '2026-07-18 18:29:01'::timestamp) - extract(epoch from '2026-07-18 18:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54748 -3.637056)', '2026-07-18 18:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5474 -3.637073)'), GeomFromEWKT('SRID=4674;POINT (-38.54748 -3.637056)'))) / (select extract(epoch from '2026-07-18 18:29:10'::timestamp) - extract(epoch from '2026-07-18 18:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5474 -3.637073)'), GeomFromEWKT('SRID=4674;POINT (-38.54748 -3.637056)'))) / (select extract(epoch from '2026-07-18 18:29:10'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.547512 -3.637042)', '2026-07-18 18:29:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54748 -3.637056)'), GeomFromEWKT('SRID=4674;POINT (-38.547512 -3.637042)'))) / (select extract(epoch from '2026-07-18 18:29:15'::timestamp) - extract(epoch from '2026-07-18 18:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54748 -3.637056)'), GeomFromEWKT('SRID=4674;POINT (-38.547512 -3.637042)'))) / (select extract(epoch from '2026-07-18 18:29:15'::timestamp) - extract(epoch from '2026-07-18 18:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547614 -3.637026)', '2026-07-18 18:29:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547512 -3.637042)'), GeomFromEWKT('SRID=4674;POINT (-38.547614 -3.637026)'))) / (select extract(epoch from '2026-07-18 18:29:27'::timestamp) - extract(epoch from '2026-07-18 18:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547512 -3.637042)'), GeomFromEWKT('SRID=4674;POINT (-38.547614 -3.637026)'))) / (select extract(epoch from '2026-07-18 18:29:27'::timestamp) - extract(epoch from '2026-07-18 18:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547683 -3.637021)', '2026-07-18 18:29:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547614 -3.637026)'), GeomFromEWKT('SRID=4674;POINT (-38.547683 -3.637021)'))) / (select extract(epoch from '2026-07-18 18:29:36'::timestamp) - extract(epoch from '2026-07-18 18:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547614 -3.637026)'), GeomFromEWKT('SRID=4674;POINT (-38.547683 -3.637021)'))) / (select extract(epoch from '2026-07-18 18:29:36'::timestamp) - extract(epoch from '2026-07-18 18:29: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'), 47391, 'SRID=4674;POINT (-38.547746 -3.63701)', '2026-07-18 18:29:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547683 -3.637021)'), GeomFromEWKT('SRID=4674;POINT (-38.547746 -3.63701)'))) / (select extract(epoch from '2026-07-18 18:29:44'::timestamp) - extract(epoch from '2026-07-18 18:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547683 -3.637021)'), GeomFromEWKT('SRID=4674;POINT (-38.547746 -3.63701)'))) / (select extract(epoch from '2026-07-18 18:29:44'::timestamp) - extract(epoch from '2026-07-18 18:29: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'), 47391, 'SRID=4674;POINT (-38.547834 -3.636996)', '2026-07-18 18:29:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547746 -3.63701)'), GeomFromEWKT('SRID=4674;POINT (-38.547834 -3.636996)'))) / (select extract(epoch from '2026-07-18 18:29:54'::timestamp) - extract(epoch from '2026-07-18 18:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547746 -3.63701)'), GeomFromEWKT('SRID=4674;POINT (-38.547834 -3.636996)'))) / (select extract(epoch from '2026-07-18 18:29:54'::timestamp) - extract(epoch from '2026-07-18 18:29:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547952 -3.636979)', '2026-07-18 18:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547834 -3.636996)'), GeomFromEWKT('SRID=4674;POINT (-38.547952 -3.636979)'))) / (select extract(epoch from '2026-07-18 18:30:07'::timestamp) - extract(epoch from '2026-07-18 18:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547834 -3.636996)'), GeomFromEWKT('SRID=4674;POINT (-38.547952 -3.636979)'))) / (select extract(epoch from '2026-07-18 18:30:07'::timestamp) - extract(epoch from '2026-07-18 18:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548045 -3.636958)', '2026-07-18 18:30:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547952 -3.636979)'), GeomFromEWKT('SRID=4674;POINT (-38.548045 -3.636958)'))) / (select extract(epoch from '2026-07-18 18:30:19'::timestamp) - extract(epoch from '2026-07-18 18:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547952 -3.636979)'), GeomFromEWKT('SRID=4674;POINT (-38.548045 -3.636958)'))) / (select extract(epoch from '2026-07-18 18:30:19'::timestamp) - extract(epoch from '2026-07-18 18:30: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'), 47391, 'SRID=4674;POINT (-38.548155 -3.636933)', '2026-07-18 18:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548045 -3.636958)'), GeomFromEWKT('SRID=4674;POINT (-38.548155 -3.636933)'))) / (select extract(epoch from '2026-07-18 18:30:31'::timestamp) - extract(epoch from '2026-07-18 18:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548045 -3.636958)'), GeomFromEWKT('SRID=4674;POINT (-38.548155 -3.636933)'))) / (select extract(epoch from '2026-07-18 18:30:31'::timestamp) - extract(epoch from '2026-07-18 18:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548216 -3.636921)', '2026-07-18 18:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548155 -3.636933)'), GeomFromEWKT('SRID=4674;POINT (-38.548216 -3.636921)'))) / (select extract(epoch from '2026-07-18 18:30:37'::timestamp) - extract(epoch from '2026-07-18 18:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548155 -3.636933)'), GeomFromEWKT('SRID=4674;POINT (-38.548216 -3.636921)'))) / (select extract(epoch from '2026-07-18 18:30:37'::timestamp) - extract(epoch from '2026-07-18 18:30: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'), 47391, 'SRID=4674;POINT (-38.548278 -3.636917)', '2026-07-18 18:30:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548216 -3.636921)'), GeomFromEWKT('SRID=4674;POINT (-38.548278 -3.636917)'))) / (select extract(epoch from '2026-07-18 18:30:43'::timestamp) - extract(epoch from '2026-07-18 18:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548216 -3.636921)'), GeomFromEWKT('SRID=4674;POINT (-38.548278 -3.636917)'))) / (select extract(epoch from '2026-07-18 18:30:43'::timestamp) - extract(epoch from '2026-07-18 18:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548349 -3.636909)', '2026-07-18 18:30:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548278 -3.636917)'), GeomFromEWKT('SRID=4674;POINT (-38.548349 -3.636909)'))) / (select extract(epoch from '2026-07-18 18:30:50'::timestamp) - extract(epoch from '2026-07-18 18:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548278 -3.636917)'), GeomFromEWKT('SRID=4674;POINT (-38.548349 -3.636909)'))) / (select extract(epoch from '2026-07-18 18:30:50'::timestamp) - extract(epoch from '2026-07-18 18:30: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'), 47391, 'SRID=4674;POINT (-38.548414 -3.636895)', '2026-07-18 18:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548349 -3.636909)'), GeomFromEWKT('SRID=4674;POINT (-38.548414 -3.636895)'))) / (select extract(epoch from '2026-07-18 18:30:57'::timestamp) - extract(epoch from '2026-07-18 18:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548349 -3.636909)'), GeomFromEWKT('SRID=4674;POINT (-38.548414 -3.636895)'))) / (select extract(epoch from '2026-07-18 18:30:57'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.548475 -3.636887)', '2026-07-18 18:31:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548414 -3.636895)'), GeomFromEWKT('SRID=4674;POINT (-38.548475 -3.636887)'))) / (select extract(epoch from '2026-07-18 18:31:05'::timestamp) - extract(epoch from '2026-07-18 18:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548414 -3.636895)'), GeomFromEWKT('SRID=4674;POINT (-38.548475 -3.636887)'))) / (select extract(epoch from '2026-07-18 18:31:05'::timestamp) - extract(epoch from '2026-07-18 18:30: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'), 47391, 'SRID=4674;POINT (-38.548526 -3.636875)', '2026-07-18 18:31:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548475 -3.636887)'), GeomFromEWKT('SRID=4674;POINT (-38.548526 -3.636875)'))) / (select extract(epoch from '2026-07-18 18:31:11'::timestamp) - extract(epoch from '2026-07-18 18:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548475 -3.636887)'), GeomFromEWKT('SRID=4674;POINT (-38.548526 -3.636875)'))) / (select extract(epoch from '2026-07-18 18:31:11'::timestamp) - extract(epoch from '2026-07-18 18:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548588 -3.636843)', '2026-07-18 18:31:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548526 -3.636875)'), GeomFromEWKT('SRID=4674;POINT (-38.548588 -3.636843)'))) / (select extract(epoch from '2026-07-18 18:31:21'::timestamp) - extract(epoch from '2026-07-18 18:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548526 -3.636875)'), GeomFromEWKT('SRID=4674;POINT (-38.548588 -3.636843)'))) / (select extract(epoch from '2026-07-18 18:31:21'::timestamp) - extract(epoch from '2026-07-18 18:31: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'), 47391, 'SRID=4674;POINT (-38.548682 -3.63682)', '2026-07-18 18:31:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548588 -3.636843)'), GeomFromEWKT('SRID=4674;POINT (-38.548682 -3.63682)'))) / (select extract(epoch from '2026-07-18 18:31:32'::timestamp) - extract(epoch from '2026-07-18 18:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548588 -3.636843)'), GeomFromEWKT('SRID=4674;POINT (-38.548682 -3.63682)'))) / (select extract(epoch from '2026-07-18 18:31:32'::timestamp) - extract(epoch from '2026-07-18 18:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548771 -3.636804)', '2026-07-18 18:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548682 -3.63682)'), GeomFromEWKT('SRID=4674;POINT (-38.548771 -3.636804)'))) / (select extract(epoch from '2026-07-18 18:31:42'::timestamp) - extract(epoch from '2026-07-18 18:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548682 -3.63682)'), GeomFromEWKT('SRID=4674;POINT (-38.548771 -3.636804)'))) / (select extract(epoch from '2026-07-18 18:31:42'::timestamp) - extract(epoch from '2026-07-18 18:31: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'), 47391, 'SRID=4674;POINT (-38.548864 -3.636783)', '2026-07-18 18:31:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548771 -3.636804)'), GeomFromEWKT('SRID=4674;POINT (-38.548864 -3.636783)'))) / (select extract(epoch from '2026-07-18 18:31:52'::timestamp) - extract(epoch from '2026-07-18 18:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548771 -3.636804)'), GeomFromEWKT('SRID=4674;POINT (-38.548864 -3.636783)'))) / (select extract(epoch from '2026-07-18 18:31:52'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.548945 -3.636762)', '2026-07-18 18:32:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548864 -3.636783)'), GeomFromEWKT('SRID=4674;POINT (-38.548945 -3.636762)'))) / (select extract(epoch from '2026-07-18 18:32:01'::timestamp) - extract(epoch from '2026-07-18 18:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548864 -3.636783)'), GeomFromEWKT('SRID=4674;POINT (-38.548945 -3.636762)'))) / (select extract(epoch from '2026-07-18 18:32:01'::timestamp) - extract(epoch from '2026-07-18 18:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549009 -3.636741)', '2026-07-18 18:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548945 -3.636762)'), GeomFromEWKT('SRID=4674;POINT (-38.549009 -3.636741)'))) / (select extract(epoch from '2026-07-18 18:32:10'::timestamp) - extract(epoch from '2026-07-18 18:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548945 -3.636762)'), GeomFromEWKT('SRID=4674;POINT (-38.549009 -3.636741)'))) / (select extract(epoch from '2026-07-18 18:32:10'::timestamp) - extract(epoch from '2026-07-18 18:32: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'), 47391, 'SRID=4674;POINT (-38.549122 -3.636772)', '2026-07-18 18:32:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549009 -3.636741)'), GeomFromEWKT('SRID=4674;POINT (-38.549122 -3.636772)'))) / (select extract(epoch from '2026-07-18 18:32:20'::timestamp) - extract(epoch from '2026-07-18 18:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549009 -3.636741)'), GeomFromEWKT('SRID=4674;POINT (-38.549122 -3.636772)'))) / (select extract(epoch from '2026-07-18 18:32:20'::timestamp) - extract(epoch from '2026-07-18 18:32: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'), 47391, 'SRID=4674;POINT (-38.549207 -3.636815)', '2026-07-18 18:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549122 -3.636772)'), GeomFromEWKT('SRID=4674;POINT (-38.549207 -3.636815)'))) / (select extract(epoch from '2026-07-18 18:32:26'::timestamp) - extract(epoch from '2026-07-18 18:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549122 -3.636772)'), GeomFromEWKT('SRID=4674;POINT (-38.549207 -3.636815)'))) / (select extract(epoch from '2026-07-18 18:32:26'::timestamp) - extract(epoch from '2026-07-18 18:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549266 -3.636858)', '2026-07-18 18:32:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549207 -3.636815)'), GeomFromEWKT('SRID=4674;POINT (-38.549266 -3.636858)'))) / (select extract(epoch from '2026-07-18 18:32:30'::timestamp) - extract(epoch from '2026-07-18 18:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549207 -3.636815)'), GeomFromEWKT('SRID=4674;POINT (-38.549266 -3.636858)'))) / (select extract(epoch from '2026-07-18 18:32:30'::timestamp) - extract(epoch from '2026-07-18 18:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549283 -3.636865)', '2026-07-18 18:32:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549266 -3.636858)'), GeomFromEWKT('SRID=4674;POINT (-38.549283 -3.636865)'))) / (select extract(epoch from '2026-07-18 18:32:31'::timestamp) - extract(epoch from '2026-07-18 18:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549266 -3.636858)'), GeomFromEWKT('SRID=4674;POINT (-38.549283 -3.636865)'))) / (select extract(epoch from '2026-07-18 18:32:31'::timestamp) - extract(epoch from '2026-07-18 18:32: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'), 47391, 'SRID=4674;POINT (-38.549367 -3.636925)', '2026-07-18 18:32:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549283 -3.636865)'), GeomFromEWKT('SRID=4674;POINT (-38.549367 -3.636925)'))) / (select extract(epoch from '2026-07-18 18:32:37'::timestamp) - extract(epoch from '2026-07-18 18:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549283 -3.636865)'), GeomFromEWKT('SRID=4674;POINT (-38.549367 -3.636925)'))) / (select extract(epoch from '2026-07-18 18:32:37'::timestamp) - extract(epoch from '2026-07-18 18:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549461 -3.636993)', '2026-07-18 18:32:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549367 -3.636925)'), GeomFromEWKT('SRID=4674;POINT (-38.549461 -3.636993)'))) / (select extract(epoch from '2026-07-18 18:32:44'::timestamp) - extract(epoch from '2026-07-18 18:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549367 -3.636925)'), GeomFromEWKT('SRID=4674;POINT (-38.549461 -3.636993)'))) / (select extract(epoch from '2026-07-18 18:32:44'::timestamp) - extract(epoch from '2026-07-18 18:32: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'), 47391, 'SRID=4674;POINT (-38.549564 -3.637061)', '2026-07-18 18:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549461 -3.636993)'), GeomFromEWKT('SRID=4674;POINT (-38.549564 -3.637061)'))) / (select extract(epoch from '2026-07-18 18:32:52'::timestamp) - extract(epoch from '2026-07-18 18:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549461 -3.636993)'), GeomFromEWKT('SRID=4674;POINT (-38.549564 -3.637061)'))) / (select extract(epoch from '2026-07-18 18:32:52'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.549617 -3.637109)', '2026-07-18 18:32:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549564 -3.637061)'), GeomFromEWKT('SRID=4674;POINT (-38.549617 -3.637109)'))) / (select extract(epoch from '2026-07-18 18:32:57'::timestamp) - extract(epoch from '2026-07-18 18:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549564 -3.637061)'), GeomFromEWKT('SRID=4674;POINT (-38.549617 -3.637109)'))) / (select extract(epoch from '2026-07-18 18:32:57'::timestamp) - extract(epoch from '2026-07-18 18:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549661 -3.637165)', '2026-07-18 18:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549617 -3.637109)'), GeomFromEWKT('SRID=4674;POINT (-38.549661 -3.637165)'))) / (select extract(epoch from '2026-07-18 18:33:03'::timestamp) - extract(epoch from '2026-07-18 18:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549617 -3.637109)'), GeomFromEWKT('SRID=4674;POINT (-38.549661 -3.637165)'))) / (select extract(epoch from '2026-07-18 18:33:03'::timestamp) - extract(epoch from '2026-07-18 18:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549686 -3.637198)', '2026-07-18 18:33:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549661 -3.637165)'), GeomFromEWKT('SRID=4674;POINT (-38.549686 -3.637198)'))) / (select extract(epoch from '2026-07-18 18:33:07'::timestamp) - extract(epoch from '2026-07-18 18:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549661 -3.637165)'), GeomFromEWKT('SRID=4674;POINT (-38.549686 -3.637198)'))) / (select extract(epoch from '2026-07-18 18:33:07'::timestamp) - extract(epoch from '2026-07-18 18:33:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549723 -3.637237)', '2026-07-18 18:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549686 -3.637198)'), GeomFromEWKT('SRID=4674;POINT (-38.549723 -3.637237)'))) / (select extract(epoch from '2026-07-18 18:33:11'::timestamp) - extract(epoch from '2026-07-18 18:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549686 -3.637198)'), GeomFromEWKT('SRID=4674;POINT (-38.549723 -3.637237)'))) / (select extract(epoch from '2026-07-18 18:33:11'::timestamp) - extract(epoch from '2026-07-18 18:33: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'), 47391, 'SRID=4674;POINT (-38.549727 -3.637269)', '2026-07-18 18:33:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549723 -3.637237)'), GeomFromEWKT('SRID=4674;POINT (-38.549727 -3.637269)'))) / (select extract(epoch from '2026-07-18 18:33:16'::timestamp) - extract(epoch from '2026-07-18 18:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549723 -3.637237)'), GeomFromEWKT('SRID=4674;POINT (-38.549727 -3.637269)'))) / (select extract(epoch from '2026-07-18 18:33:16'::timestamp) - extract(epoch from '2026-07-18 18:33: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'), 47391, 'SRID=4674;POINT (-38.549752 -3.637348)', '2026-07-18 18:33:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549727 -3.637269)'), GeomFromEWKT('SRID=4674;POINT (-38.549752 -3.637348)'))) / (select extract(epoch from '2026-07-18 18:33:26'::timestamp) - extract(epoch from '2026-07-18 18:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549727 -3.637269)'), GeomFromEWKT('SRID=4674;POINT (-38.549752 -3.637348)'))) / (select extract(epoch from '2026-07-18 18:33:26'::timestamp) - extract(epoch from '2026-07-18 18:33: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'), 47391, 'SRID=4674;POINT (-38.549802 -3.63747)', '2026-07-18 18:33:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549752 -3.637348)'), GeomFromEWKT('SRID=4674;POINT (-38.549802 -3.63747)'))) / (select extract(epoch from '2026-07-18 18:33:37'::timestamp) - extract(epoch from '2026-07-18 18:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549752 -3.637348)'), GeomFromEWKT('SRID=4674;POINT (-38.549802 -3.63747)'))) / (select extract(epoch from '2026-07-18 18:33:37'::timestamp) - extract(epoch from '2026-07-18 18:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549826 -3.637545)', '2026-07-18 18:33:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549802 -3.63747)'), GeomFromEWKT('SRID=4674;POINT (-38.549826 -3.637545)'))) / (select extract(epoch from '2026-07-18 18:33:44'::timestamp) - extract(epoch from '2026-07-18 18:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549802 -3.63747)'), GeomFromEWKT('SRID=4674;POINT (-38.549826 -3.637545)'))) / (select extract(epoch from '2026-07-18 18:33:44'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.549859 -3.637609)', '2026-07-18 18:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549826 -3.637545)'), GeomFromEWKT('SRID=4674;POINT (-38.549859 -3.637609)'))) / (select extract(epoch from '2026-07-18 18:33:50'::timestamp) - extract(epoch from '2026-07-18 18:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549826 -3.637545)'), GeomFromEWKT('SRID=4674;POINT (-38.549859 -3.637609)'))) / (select extract(epoch from '2026-07-18 18:33:50'::timestamp) - extract(epoch from '2026-07-18 18:33: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'), 47391, 'SRID=4674;POINT (-38.549861 -3.637618)', '2026-07-18 18:33:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549859 -3.637609)'), GeomFromEWKT('SRID=4674;POINT (-38.549861 -3.637618)'))) / (select extract(epoch from '2026-07-18 18:33:51'::timestamp) - extract(epoch from '2026-07-18 18:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549859 -3.637609)'), GeomFromEWKT('SRID=4674;POINT (-38.549861 -3.637618)'))) / (select extract(epoch from '2026-07-18 18:33:51'::timestamp) - extract(epoch from '2026-07-18 18:33: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'), 47391, 'SRID=4674;POINT (-38.54988 -3.637669)', '2026-07-18 18:33:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549861 -3.637618)'), GeomFromEWKT('SRID=4674;POINT (-38.54988 -3.637669)'))) / (select extract(epoch from '2026-07-18 18:33:56'::timestamp) - extract(epoch from '2026-07-18 18:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549861 -3.637618)'), GeomFromEWKT('SRID=4674;POINT (-38.54988 -3.637669)'))) / (select extract(epoch from '2026-07-18 18:33:56'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.549907 -3.63773)', '2026-07-18 18:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54988 -3.637669)'), GeomFromEWKT('SRID=4674;POINT (-38.549907 -3.63773)'))) / (select extract(epoch from '2026-07-18 18:34:02'::timestamp) - extract(epoch from '2026-07-18 18:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54988 -3.637669)'), GeomFromEWKT('SRID=4674;POINT (-38.549907 -3.63773)'))) / (select extract(epoch from '2026-07-18 18:34:02'::timestamp) - extract(epoch from '2026-07-18 18:33: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'), 47391, 'SRID=4674;POINT (-38.549923 -3.637769)', '2026-07-18 18:34:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549907 -3.63773)'), GeomFromEWKT('SRID=4674;POINT (-38.549923 -3.637769)'))) / (select extract(epoch from '2026-07-18 18:34:05'::timestamp) - extract(epoch from '2026-07-18 18:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549907 -3.63773)'), GeomFromEWKT('SRID=4674;POINT (-38.549923 -3.637769)'))) / (select extract(epoch from '2026-07-18 18:34:05'::timestamp) - extract(epoch from '2026-07-18 18:34: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'), 47391, 'SRID=4674;POINT (-38.549925 -3.637784)', '2026-07-18 18:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549923 -3.637769)'), GeomFromEWKT('SRID=4674;POINT (-38.549925 -3.637784)'))) / (select extract(epoch from '2026-07-18 18:34:07'::timestamp) - extract(epoch from '2026-07-18 18:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549923 -3.637769)'), GeomFromEWKT('SRID=4674;POINT (-38.549925 -3.637784)'))) / (select extract(epoch from '2026-07-18 18:34:07'::timestamp) - extract(epoch from '2026-07-18 18:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549953 -3.637827)', '2026-07-18 18:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549925 -3.637784)'), GeomFromEWKT('SRID=4674;POINT (-38.549953 -3.637827)'))) / (select extract(epoch from '2026-07-18 18:34:12'::timestamp) - extract(epoch from '2026-07-18 18:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549925 -3.637784)'), GeomFromEWKT('SRID=4674;POINT (-38.549953 -3.637827)'))) / (select extract(epoch from '2026-07-18 18:34:12'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.549992 -3.637875)', '2026-07-18 18:34:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549953 -3.637827)'), GeomFromEWKT('SRID=4674;POINT (-38.549992 -3.637875)'))) / (select extract(epoch from '2026-07-18 18:34:18'::timestamp) - extract(epoch from '2026-07-18 18:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549953 -3.637827)'), GeomFromEWKT('SRID=4674;POINT (-38.549992 -3.637875)'))) / (select extract(epoch from '2026-07-18 18:34:18'::timestamp) - extract(epoch from '2026-07-18 18:34: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'), 47391, 'SRID=4674;POINT (-38.550031 -3.637922)', '2026-07-18 18:34:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549992 -3.637875)'), GeomFromEWKT('SRID=4674;POINT (-38.550031 -3.637922)'))) / (select extract(epoch from '2026-07-18 18:34:24'::timestamp) - extract(epoch from '2026-07-18 18:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549992 -3.637875)'), GeomFromEWKT('SRID=4674;POINT (-38.550031 -3.637922)'))) / (select extract(epoch from '2026-07-18 18:34:24'::timestamp) - extract(epoch from '2026-07-18 18:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.55007 -3.63797)', '2026-07-18 18:34:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550031 -3.637922)'), GeomFromEWKT('SRID=4674;POINT (-38.55007 -3.63797)'))) / (select extract(epoch from '2026-07-18 18:34:31'::timestamp) - extract(epoch from '2026-07-18 18:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550031 -3.637922)'), GeomFromEWKT('SRID=4674;POINT (-38.55007 -3.63797)'))) / (select extract(epoch from '2026-07-18 18:34:31'::timestamp) - extract(epoch from '2026-07-18 18:34: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'), 47391, 'SRID=4674;POINT (-38.550098 -3.638017)', '2026-07-18 18:34:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55007 -3.63797)'), GeomFromEWKT('SRID=4674;POINT (-38.550098 -3.638017)'))) / (select extract(epoch from '2026-07-18 18:34:37'::timestamp) - extract(epoch from '2026-07-18 18:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55007 -3.63797)'), GeomFromEWKT('SRID=4674;POINT (-38.550098 -3.638017)'))) / (select extract(epoch from '2026-07-18 18:34:37'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.55015 -3.638082)', '2026-07-18 18:34:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550098 -3.638017)'), GeomFromEWKT('SRID=4674;POINT (-38.55015 -3.638082)'))) / (select extract(epoch from '2026-07-18 18:34:44'::timestamp) - extract(epoch from '2026-07-18 18:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550098 -3.638017)'), GeomFromEWKT('SRID=4674;POINT (-38.55015 -3.638082)'))) / (select extract(epoch from '2026-07-18 18:34:44'::timestamp) - extract(epoch from '2026-07-18 18:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550188 -3.63816)', '2026-07-18 18:34:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55015 -3.638082)'), GeomFromEWKT('SRID=4674;POINT (-38.550188 -3.63816)'))) / (select extract(epoch from '2026-07-18 18:34:52'::timestamp) - extract(epoch from '2026-07-18 18:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55015 -3.638082)'), GeomFromEWKT('SRID=4674;POINT (-38.550188 -3.63816)'))) / (select extract(epoch from '2026-07-18 18:34:52'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550228 -3.638214)', '2026-07-18 18:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550188 -3.63816)'), GeomFromEWKT('SRID=4674;POINT (-38.550228 -3.638214)'))) / (select extract(epoch from '2026-07-18 18:34:58'::timestamp) - extract(epoch from '2026-07-18 18:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550188 -3.63816)'), GeomFromEWKT('SRID=4674;POINT (-38.550228 -3.638214)'))) / (select extract(epoch from '2026-07-18 18:34:58'::timestamp) - extract(epoch from '2026-07-18 18:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550246 -3.63823)', '2026-07-18 18:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550228 -3.638214)'), GeomFromEWKT('SRID=4674;POINT (-38.550246 -3.63823)'))) / (select extract(epoch from '2026-07-18 18:35:00'::timestamp) - extract(epoch from '2026-07-18 18:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550228 -3.638214)'), GeomFromEWKT('SRID=4674;POINT (-38.550246 -3.63823)'))) / (select extract(epoch from '2026-07-18 18:35:00'::timestamp) - extract(epoch from '2026-07-18 18:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550257 -3.638247)', '2026-07-18 18:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550246 -3.63823)'), GeomFromEWKT('SRID=4674;POINT (-38.550257 -3.638247)'))) / (select extract(epoch from '2026-07-18 18:35:02'::timestamp) - extract(epoch from '2026-07-18 18:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550246 -3.63823)'), GeomFromEWKT('SRID=4674;POINT (-38.550257 -3.638247)'))) / (select extract(epoch from '2026-07-18 18:35:02'::timestamp) - extract(epoch from '2026-07-18 18:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550265 -3.638253)', '2026-07-18 18:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550257 -3.638247)'), GeomFromEWKT('SRID=4674;POINT (-38.550265 -3.638253)'))) / (select extract(epoch from '2026-07-18 18:35:03'::timestamp) - extract(epoch from '2026-07-18 18:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550257 -3.638247)'), GeomFromEWKT('SRID=4674;POINT (-38.550265 -3.638253)'))) / (select extract(epoch from '2026-07-18 18:35:03'::timestamp) - extract(epoch from '2026-07-18 18:35: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'), 47391, 'SRID=4674;POINT (-38.550291 -3.638311)', '2026-07-18 18:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550265 -3.638253)'), GeomFromEWKT('SRID=4674;POINT (-38.550291 -3.638311)'))) / (select extract(epoch from '2026-07-18 18:35:10'::timestamp) - extract(epoch from '2026-07-18 18:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550265 -3.638253)'), GeomFromEWKT('SRID=4674;POINT (-38.550291 -3.638311)'))) / (select extract(epoch from '2026-07-18 18:35:10'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550311 -3.638373)', '2026-07-18 18:35:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550291 -3.638311)'), GeomFromEWKT('SRID=4674;POINT (-38.550311 -3.638373)'))) / (select extract(epoch from '2026-07-18 18:35:19'::timestamp) - extract(epoch from '2026-07-18 18:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550291 -3.638311)'), GeomFromEWKT('SRID=4674;POINT (-38.550311 -3.638373)'))) / (select extract(epoch from '2026-07-18 18:35:19'::timestamp) - extract(epoch from '2026-07-18 18:35: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'), 47391, 'SRID=4674;POINT (-38.550338 -3.638441)', '2026-07-18 18:35:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550311 -3.638373)'), GeomFromEWKT('SRID=4674;POINT (-38.550338 -3.638441)'))) / (select extract(epoch from '2026-07-18 18:35:27'::timestamp) - extract(epoch from '2026-07-18 18:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550311 -3.638373)'), GeomFromEWKT('SRID=4674;POINT (-38.550338 -3.638441)'))) / (select extract(epoch from '2026-07-18 18:35:27'::timestamp) - extract(epoch from '2026-07-18 18:35: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'), 47391, 'SRID=4674;POINT (-38.550336 -3.638459)', '2026-07-18 18:35:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550338 -3.638441)'), GeomFromEWKT('SRID=4674;POINT (-38.550336 -3.638459)'))) / (select extract(epoch from '2026-07-18 18:35:29'::timestamp) - extract(epoch from '2026-07-18 18:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550338 -3.638441)'), GeomFromEWKT('SRID=4674;POINT (-38.550336 -3.638459)'))) / (select extract(epoch from '2026-07-18 18:35:29'::timestamp) - extract(epoch from '2026-07-18 18:35: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'), 47391, 'SRID=4674;POINT (-38.550345 -3.638505)', '2026-07-18 18:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550336 -3.638459)'), GeomFromEWKT('SRID=4674;POINT (-38.550345 -3.638505)'))) / (select extract(epoch from '2026-07-18 18:35:33'::timestamp) - extract(epoch from '2026-07-18 18:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550336 -3.638459)'), GeomFromEWKT('SRID=4674;POINT (-38.550345 -3.638505)'))) / (select extract(epoch from '2026-07-18 18:35:33'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550333 -3.638546)', '2026-07-18 18:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550345 -3.638505)'), GeomFromEWKT('SRID=4674;POINT (-38.550333 -3.638546)'))) / (select extract(epoch from '2026-07-18 18:35:41'::timestamp) - extract(epoch from '2026-07-18 18:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550345 -3.638505)'), GeomFromEWKT('SRID=4674;POINT (-38.550333 -3.638546)'))) / (select extract(epoch from '2026-07-18 18:35:41'::timestamp) - extract(epoch from '2026-07-18 18:35: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'), 47391, 'SRID=4674;POINT (-38.550335 -3.638553)', '2026-07-18 18:35:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550333 -3.638546)'), GeomFromEWKT('SRID=4674;POINT (-38.550335 -3.638553)'))) / (select extract(epoch from '2026-07-18 18:35:44'::timestamp) - extract(epoch from '2026-07-18 18:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550333 -3.638546)'), GeomFromEWKT('SRID=4674;POINT (-38.550335 -3.638553)'))) / (select extract(epoch from '2026-07-18 18:35:44'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550332 -3.638565)', '2026-07-18 18:35:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550335 -3.638553)'), GeomFromEWKT('SRID=4674;POINT (-38.550332 -3.638565)'))) / (select extract(epoch from '2026-07-18 18:35:46'::timestamp) - extract(epoch from '2026-07-18 18:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550335 -3.638553)'), GeomFromEWKT('SRID=4674;POINT (-38.550332 -3.638565)'))) / (select extract(epoch from '2026-07-18 18:35:46'::timestamp) - extract(epoch from '2026-07-18 18:35: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'), 47391, 'SRID=4674;POINT (-38.550322 -3.638599)', '2026-07-18 18:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550332 -3.638565)'), GeomFromEWKT('SRID=4674;POINT (-38.550322 -3.638599)'))) / (select extract(epoch from '2026-07-18 18:35:51'::timestamp) - extract(epoch from '2026-07-18 18:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550332 -3.638565)'), GeomFromEWKT('SRID=4674;POINT (-38.550322 -3.638599)'))) / (select extract(epoch from '2026-07-18 18:35:51'::timestamp) - extract(epoch from '2026-07-18 18:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550322 -3.638604)', '2026-07-18 18:35:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550322 -3.638599)'), GeomFromEWKT('SRID=4674;POINT (-38.550322 -3.638604)'))) / (select extract(epoch from '2026-07-18 18:35:52'::timestamp) - extract(epoch from '2026-07-18 18:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550322 -3.638599)'), GeomFromEWKT('SRID=4674;POINT (-38.550322 -3.638604)'))) / (select extract(epoch from '2026-07-18 18:35:52'::timestamp) - extract(epoch from '2026-07-18 18:35: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'), 47391, 'SRID=4674;POINT (-38.550314 -3.638613)', '2026-07-18 18:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550322 -3.638604)'), GeomFromEWKT('SRID=4674;POINT (-38.550314 -3.638613)'))) / (select extract(epoch from '2026-07-18 18:35:54'::timestamp) - extract(epoch from '2026-07-18 18:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550322 -3.638604)'), GeomFromEWKT('SRID=4674;POINT (-38.550314 -3.638613)'))) / (select extract(epoch from '2026-07-18 18:35:54'::timestamp) - extract(epoch from '2026-07-18 18:35:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550307 -3.638632)', '2026-07-18 18:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550314 -3.638613)'), GeomFromEWKT('SRID=4674;POINT (-38.550307 -3.638632)'))) / (select extract(epoch from '2026-07-18 18:35:56'::timestamp) - extract(epoch from '2026-07-18 18:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550314 -3.638613)'), GeomFromEWKT('SRID=4674;POINT (-38.550307 -3.638632)'))) / (select extract(epoch from '2026-07-18 18:35:56'::timestamp) - extract(epoch from '2026-07-18 18:35: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'), 47391, 'SRID=4674;POINT (-38.550293 -3.638656)', '2026-07-18 18:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550307 -3.638632)'), GeomFromEWKT('SRID=4674;POINT (-38.550293 -3.638656)'))) / (select extract(epoch from '2026-07-18 18:36:05'::timestamp) - extract(epoch from '2026-07-18 18:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550307 -3.638632)'), GeomFromEWKT('SRID=4674;POINT (-38.550293 -3.638656)'))) / (select extract(epoch from '2026-07-18 18:36:05'::timestamp) - extract(epoch from '2026-07-18 18:35: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'), 47391, 'SRID=4674;POINT (-38.550281 -3.638688)', '2026-07-18 18:36:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550293 -3.638656)'), GeomFromEWKT('SRID=4674;POINT (-38.550281 -3.638688)'))) / (select extract(epoch from '2026-07-18 18:36:13'::timestamp) - extract(epoch from '2026-07-18 18:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550293 -3.638656)'), GeomFromEWKT('SRID=4674;POINT (-38.550281 -3.638688)'))) / (select extract(epoch from '2026-07-18 18:36:13'::timestamp) - extract(epoch from '2026-07-18 18:36: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'), 47391, 'SRID=4674;POINT (-38.550273 -3.638712)', '2026-07-18 18:36:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550281 -3.638688)'), GeomFromEWKT('SRID=4674;POINT (-38.550273 -3.638712)'))) / (select extract(epoch from '2026-07-18 18:36:19'::timestamp) - extract(epoch from '2026-07-18 18:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550281 -3.638688)'), GeomFromEWKT('SRID=4674;POINT (-38.550273 -3.638712)'))) / (select extract(epoch from '2026-07-18 18:36:19'::timestamp) - extract(epoch from '2026-07-18 18:36: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'), 47391, 'SRID=4674;POINT (-38.550265 -3.638734)', '2026-07-18 18:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550273 -3.638712)'), GeomFromEWKT('SRID=4674;POINT (-38.550265 -3.638734)'))) / (select extract(epoch from '2026-07-18 18:36:25'::timestamp) - extract(epoch from '2026-07-18 18:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550273 -3.638712)'), GeomFromEWKT('SRID=4674;POINT (-38.550265 -3.638734)'))) / (select extract(epoch from '2026-07-18 18:36:25'::timestamp) - extract(epoch from '2026-07-18 18:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550258 -3.638785)', '2026-07-18 18:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550265 -3.638734)'), GeomFromEWKT('SRID=4674;POINT (-38.550258 -3.638785)'))) / (select extract(epoch from '2026-07-18 18:36:34'::timestamp) - extract(epoch from '2026-07-18 18:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550265 -3.638734)'), GeomFromEWKT('SRID=4674;POINT (-38.550258 -3.638785)'))) / (select extract(epoch from '2026-07-18 18:36:34'::timestamp) - extract(epoch from '2026-07-18 18:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.55027 -3.638885)', '2026-07-18 18:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550258 -3.638785)'), GeomFromEWKT('SRID=4674;POINT (-38.55027 -3.638885)'))) / (select extract(epoch from '2026-07-18 18:36:44'::timestamp) - extract(epoch from '2026-07-18 18:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550258 -3.638785)'), GeomFromEWKT('SRID=4674;POINT (-38.55027 -3.638885)'))) / (select extract(epoch from '2026-07-18 18:36:44'::timestamp) - extract(epoch from '2026-07-18 18:36: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'), 47391, 'SRID=4674;POINT (-38.550289 -3.638953)', '2026-07-18 18:36:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55027 -3.638885)'), GeomFromEWKT('SRID=4674;POINT (-38.550289 -3.638953)'))) / (select extract(epoch from '2026-07-18 18:36:50'::timestamp) - extract(epoch from '2026-07-18 18:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55027 -3.638885)'), GeomFromEWKT('SRID=4674;POINT (-38.550289 -3.638953)'))) / (select extract(epoch from '2026-07-18 18:36:50'::timestamp) - extract(epoch from '2026-07-18 18:36: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'), 47391, 'SRID=4674;POINT (-38.550358 -3.639057)', '2026-07-18 18:36:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550289 -3.638953)'), GeomFromEWKT('SRID=4674;POINT (-38.550358 -3.639057)'))) / (select extract(epoch from '2026-07-18 18:36:59'::timestamp) - extract(epoch from '2026-07-18 18:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550289 -3.638953)'), GeomFromEWKT('SRID=4674;POINT (-38.550358 -3.639057)'))) / (select extract(epoch from '2026-07-18 18:36:59'::timestamp) - extract(epoch from '2026-07-18 18:36: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'), 47391, 'SRID=4674;POINT (-38.55041 -3.639119)', '2026-07-18 18:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550358 -3.639057)'), GeomFromEWKT('SRID=4674;POINT (-38.55041 -3.639119)'))) / (select extract(epoch from '2026-07-18 18:37:05'::timestamp) - extract(epoch from '2026-07-18 18:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550358 -3.639057)'), GeomFromEWKT('SRID=4674;POINT (-38.55041 -3.639119)'))) / (select extract(epoch from '2026-07-18 18:37:05'::timestamp) - extract(epoch from '2026-07-18 18:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550455 -3.639174)', '2026-07-18 18:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55041 -3.639119)'), GeomFromEWKT('SRID=4674;POINT (-38.550455 -3.639174)'))) / (select extract(epoch from '2026-07-18 18:37:10'::timestamp) - extract(epoch from '2026-07-18 18:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55041 -3.639119)'), GeomFromEWKT('SRID=4674;POINT (-38.550455 -3.639174)'))) / (select extract(epoch from '2026-07-18 18:37:10'::timestamp) - extract(epoch from '2026-07-18 18:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550512 -3.639221)', '2026-07-18 18:37:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550455 -3.639174)'), GeomFromEWKT('SRID=4674;POINT (-38.550512 -3.639221)'))) / (select extract(epoch from '2026-07-18 18:37:15'::timestamp) - extract(epoch from '2026-07-18 18:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550455 -3.639174)'), GeomFromEWKT('SRID=4674;POINT (-38.550512 -3.639221)'))) / (select extract(epoch from '2026-07-18 18:37:15'::timestamp) - extract(epoch from '2026-07-18 18:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.55058 -3.63928)', '2026-07-18 18:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550512 -3.639221)'), GeomFromEWKT('SRID=4674;POINT (-38.55058 -3.63928)'))) / (select extract(epoch from '2026-07-18 18:37:21'::timestamp) - extract(epoch from '2026-07-18 18:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550512 -3.639221)'), GeomFromEWKT('SRID=4674;POINT (-38.55058 -3.63928)'))) / (select extract(epoch from '2026-07-18 18:37:21'::timestamp) - extract(epoch from '2026-07-18 18:37: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'), 47391, 'SRID=4674;POINT (-38.550625 -3.639324)', '2026-07-18 18:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55058 -3.63928)'), GeomFromEWKT('SRID=4674;POINT (-38.550625 -3.639324)'))) / (select extract(epoch from '2026-07-18 18:37:26'::timestamp) - extract(epoch from '2026-07-18 18:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55058 -3.63928)'), GeomFromEWKT('SRID=4674;POINT (-38.550625 -3.639324)'))) / (select extract(epoch from '2026-07-18 18:37:26'::timestamp) - extract(epoch from '2026-07-18 18:37: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'), 47391, 'SRID=4674;POINT (-38.550678 -3.639394)', '2026-07-18 18:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550625 -3.639324)'), GeomFromEWKT('SRID=4674;POINT (-38.550678 -3.639394)'))) / (select extract(epoch from '2026-07-18 18:37:33'::timestamp) - extract(epoch from '2026-07-18 18:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550625 -3.639324)'), GeomFromEWKT('SRID=4674;POINT (-38.550678 -3.639394)'))) / (select extract(epoch from '2026-07-18 18:37:33'::timestamp) - extract(epoch from '2026-07-18 18:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550719 -3.639458)', '2026-07-18 18:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550678 -3.639394)'), GeomFromEWKT('SRID=4674;POINT (-38.550719 -3.639458)'))) / (select extract(epoch from '2026-07-18 18:37:39'::timestamp) - extract(epoch from '2026-07-18 18:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550678 -3.639394)'), GeomFromEWKT('SRID=4674;POINT (-38.550719 -3.639458)'))) / (select extract(epoch from '2026-07-18 18:37:39'::timestamp) - extract(epoch from '2026-07-18 18:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550753 -3.639524)', '2026-07-18 18:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550719 -3.639458)'), GeomFromEWKT('SRID=4674;POINT (-38.550753 -3.639524)'))) / (select extract(epoch from '2026-07-18 18:37:45'::timestamp) - extract(epoch from '2026-07-18 18:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550719 -3.639458)'), GeomFromEWKT('SRID=4674;POINT (-38.550753 -3.639524)'))) / (select extract(epoch from '2026-07-18 18:37:45'::timestamp) - extract(epoch from '2026-07-18 18:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550754 -3.639533)', '2026-07-18 18:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550753 -3.639524)'), GeomFromEWKT('SRID=4674;POINT (-38.550754 -3.639533)'))) / (select extract(epoch from '2026-07-18 18:37:46'::timestamp) - extract(epoch from '2026-07-18 18:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550753 -3.639524)'), GeomFromEWKT('SRID=4674;POINT (-38.550754 -3.639533)'))) / (select extract(epoch from '2026-07-18 18:37:46'::timestamp) - extract(epoch from '2026-07-18 18:37: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'), 47391, 'SRID=4674;POINT (-38.550778 -3.639582)', '2026-07-18 18:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550754 -3.639533)'), GeomFromEWKT('SRID=4674;POINT (-38.550778 -3.639582)'))) / (select extract(epoch from '2026-07-18 18:37:52'::timestamp) - extract(epoch from '2026-07-18 18:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550754 -3.639533)'), GeomFromEWKT('SRID=4674;POINT (-38.550778 -3.639582)'))) / (select extract(epoch from '2026-07-18 18:37:52'::timestamp) - extract(epoch from '2026-07-18 18:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550825 -3.639618)', '2026-07-18 18:37:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550778 -3.639582)'), GeomFromEWKT('SRID=4674;POINT (-38.550825 -3.639618)'))) / (select extract(epoch from '2026-07-18 18:37:58'::timestamp) - extract(epoch from '2026-07-18 18:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550778 -3.639582)'), GeomFromEWKT('SRID=4674;POINT (-38.550825 -3.639618)'))) / (select extract(epoch from '2026-07-18 18:37:58'::timestamp) - extract(epoch from '2026-07-18 18:37: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'), 47391, 'SRID=4674;POINT (-38.550822 -3.639634)', '2026-07-18 18:38:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550825 -3.639618)'), GeomFromEWKT('SRID=4674;POINT (-38.550822 -3.639634)'))) / (select extract(epoch from '2026-07-18 18:38:00'::timestamp) - extract(epoch from '2026-07-18 18:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550825 -3.639618)'), GeomFromEWKT('SRID=4674;POINT (-38.550822 -3.639634)'))) / (select extract(epoch from '2026-07-18 18:38:00'::timestamp) - extract(epoch from '2026-07-18 18:37: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'), 47391, 'SRID=4674;POINT (-38.550839 -3.63969)', '2026-07-18 18:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550822 -3.639634)'), GeomFromEWKT('SRID=4674;POINT (-38.550839 -3.63969)'))) / (select extract(epoch from '2026-07-18 18:38:06'::timestamp) - extract(epoch from '2026-07-18 18:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550822 -3.639634)'), GeomFromEWKT('SRID=4674;POINT (-38.550839 -3.63969)'))) / (select extract(epoch from '2026-07-18 18:38:06'::timestamp) - extract(epoch from '2026-07-18 18:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550861 -3.639751)', '2026-07-18 18:38:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550839 -3.63969)'), GeomFromEWKT('SRID=4674;POINT (-38.550861 -3.639751)'))) / (select extract(epoch from '2026-07-18 18:38:12'::timestamp) - extract(epoch from '2026-07-18 18:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550839 -3.63969)'), GeomFromEWKT('SRID=4674;POINT (-38.550861 -3.639751)'))) / (select extract(epoch from '2026-07-18 18:38:12'::timestamp) - extract(epoch from '2026-07-18 18:38: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'), 47391, 'SRID=4674;POINT (-38.55087 -3.6398)', '2026-07-18 18:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550861 -3.639751)'), GeomFromEWKT('SRID=4674;POINT (-38.55087 -3.6398)'))) / (select extract(epoch from '2026-07-18 18:38:17'::timestamp) - extract(epoch from '2026-07-18 18:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550861 -3.639751)'), GeomFromEWKT('SRID=4674;POINT (-38.55087 -3.6398)'))) / (select extract(epoch from '2026-07-18 18:38:17'::timestamp) - extract(epoch from '2026-07-18 18:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550888 -3.639862)', '2026-07-18 18:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55087 -3.6398)'), GeomFromEWKT('SRID=4674;POINT (-38.550888 -3.639862)'))) / (select extract(epoch from '2026-07-18 18:38:22'::timestamp) - extract(epoch from '2026-07-18 18:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55087 -3.6398)'), GeomFromEWKT('SRID=4674;POINT (-38.550888 -3.639862)'))) / (select extract(epoch from '2026-07-18 18:38:22'::timestamp) - extract(epoch from '2026-07-18 18:38: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'), 47391, 'SRID=4674;POINT (-38.550895 -3.639894)', '2026-07-18 18:38:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550888 -3.639862)'), GeomFromEWKT('SRID=4674;POINT (-38.550895 -3.639894)'))) / (select extract(epoch from '2026-07-18 18:38:25'::timestamp) - extract(epoch from '2026-07-18 18:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550888 -3.639862)'), GeomFromEWKT('SRID=4674;POINT (-38.550895 -3.639894)'))) / (select extract(epoch from '2026-07-18 18:38:25'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550923 -3.639962)', '2026-07-18 18:38:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550895 -3.639894)'), GeomFromEWKT('SRID=4674;POINT (-38.550923 -3.639962)'))) / (select extract(epoch from '2026-07-18 18:38:31'::timestamp) - extract(epoch from '2026-07-18 18:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550895 -3.639894)'), GeomFromEWKT('SRID=4674;POINT (-38.550923 -3.639962)'))) / (select extract(epoch from '2026-07-18 18:38:31'::timestamp) - extract(epoch from '2026-07-18 18:38:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550948 -3.640006)', '2026-07-18 18:38:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550923 -3.639962)'), GeomFromEWKT('SRID=4674;POINT (-38.550948 -3.640006)'))) / (select extract(epoch from '2026-07-18 18:38:35'::timestamp) - extract(epoch from '2026-07-18 18:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550923 -3.639962)'), GeomFromEWKT('SRID=4674;POINT (-38.550948 -3.640006)'))) / (select extract(epoch from '2026-07-18 18:38:35'::timestamp) - extract(epoch from '2026-07-18 18:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550946 -3.640017)', '2026-07-18 18:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550948 -3.640006)'), GeomFromEWKT('SRID=4674;POINT (-38.550946 -3.640017)'))) / (select extract(epoch from '2026-07-18 18:38:36'::timestamp) - extract(epoch from '2026-07-18 18:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550948 -3.640006)'), GeomFromEWKT('SRID=4674;POINT (-38.550946 -3.640017)'))) / (select extract(epoch from '2026-07-18 18:38:36'::timestamp) - extract(epoch from '2026-07-18 18:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550948 -3.640027)', '2026-07-18 18:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550946 -3.640017)'), GeomFromEWKT('SRID=4674;POINT (-38.550948 -3.640027)'))) / (select extract(epoch from '2026-07-18 18:38:37'::timestamp) - extract(epoch from '2026-07-18 18:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550946 -3.640017)'), GeomFromEWKT('SRID=4674;POINT (-38.550948 -3.640027)'))) / (select extract(epoch from '2026-07-18 18:38:37'::timestamp) - extract(epoch from '2026-07-18 18:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550965 -3.640081)', '2026-07-18 18:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550948 -3.640027)'), GeomFromEWKT('SRID=4674;POINT (-38.550965 -3.640081)'))) / (select extract(epoch from '2026-07-18 18:38:41'::timestamp) - extract(epoch from '2026-07-18 18:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550948 -3.640027)'), GeomFromEWKT('SRID=4674;POINT (-38.550965 -3.640081)'))) / (select extract(epoch from '2026-07-18 18:38:41'::timestamp) - extract(epoch from '2026-07-18 18:38: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'), 47391, 'SRID=4674;POINT (-38.55098 -3.640177)', '2026-07-18 18:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550965 -3.640081)'), GeomFromEWKT('SRID=4674;POINT (-38.55098 -3.640177)'))) / (select extract(epoch from '2026-07-18 18:38:47'::timestamp) - extract(epoch from '2026-07-18 18:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550965 -3.640081)'), GeomFromEWKT('SRID=4674;POINT (-38.55098 -3.640177)'))) / (select extract(epoch from '2026-07-18 18:38:47'::timestamp) - extract(epoch from '2026-07-18 18:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550994 -3.640263)', '2026-07-18 18:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55098 -3.640177)'), GeomFromEWKT('SRID=4674;POINT (-38.550994 -3.640263)'))) / (select extract(epoch from '2026-07-18 18:38:53'::timestamp) - extract(epoch from '2026-07-18 18:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55098 -3.640177)'), GeomFromEWKT('SRID=4674;POINT (-38.550994 -3.640263)'))) / (select extract(epoch from '2026-07-18 18:38:53'::timestamp) - extract(epoch from '2026-07-18 18:38:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.551008 -3.640334)', '2026-07-18 18:38:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550994 -3.640263)'), GeomFromEWKT('SRID=4674;POINT (-38.551008 -3.640334)'))) / (select extract(epoch from '2026-07-18 18:38:57'::timestamp) - extract(epoch from '2026-07-18 18:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550994 -3.640263)'), GeomFromEWKT('SRID=4674;POINT (-38.551008 -3.640334)'))) / (select extract(epoch from '2026-07-18 18:38:57'::timestamp) - extract(epoch from '2026-07-18 18:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.551002 -3.640364)', '2026-07-18 18:38:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.551008 -3.640334)'), GeomFromEWKT('SRID=4674;POINT (-38.551002 -3.640364)'))) / (select extract(epoch from '2026-07-18 18:38:59'::timestamp) - extract(epoch from '2026-07-18 18:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.551008 -3.640334)'), GeomFromEWKT('SRID=4674;POINT (-38.551002 -3.640364)'))) / (select extract(epoch from '2026-07-18 18:38:59'::timestamp) - extract(epoch from '2026-07-18 18:38:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.551 -3.640413)', '2026-07-18 18:39:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.551002 -3.640364)'), GeomFromEWKT('SRID=4674;POINT (-38.551 -3.640413)'))) / (select extract(epoch from '2026-07-18 18:39:02'::timestamp) - extract(epoch from '2026-07-18 18:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.551002 -3.640364)'), GeomFromEWKT('SRID=4674;POINT (-38.551 -3.640413)'))) / (select extract(epoch from '2026-07-18 18:39:02'::timestamp) - extract(epoch from '2026-07-18 18:38: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'), 47391, 'SRID=4674;POINT (-38.550974 -3.640463)', '2026-07-18 18:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.551 -3.640413)'), GeomFromEWKT('SRID=4674;POINT (-38.550974 -3.640463)'))) / (select extract(epoch from '2026-07-18 18:39:07'::timestamp) - extract(epoch from '2026-07-18 18:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.551 -3.640413)'), GeomFromEWKT('SRID=4674;POINT (-38.550974 -3.640463)'))) / (select extract(epoch from '2026-07-18 18:39:07'::timestamp) - extract(epoch from '2026-07-18 18:39: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'), 47391, 'SRID=4674;POINT (-38.550967 -3.640468)', '2026-07-18 18:39:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550974 -3.640463)'), GeomFromEWKT('SRID=4674;POINT (-38.550967 -3.640468)'))) / (select extract(epoch from '2026-07-18 18:39:08'::timestamp) - extract(epoch from '2026-07-18 18:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550974 -3.640463)'), GeomFromEWKT('SRID=4674;POINT (-38.550967 -3.640468)'))) / (select extract(epoch from '2026-07-18 18:39:08'::timestamp) - extract(epoch from '2026-07-18 18:39: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'), 47391, 'SRID=4674;POINT (-38.550934 -3.640517)', '2026-07-18 18:39:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550967 -3.640468)'), GeomFromEWKT('SRID=4674;POINT (-38.550934 -3.640517)'))) / (select extract(epoch from '2026-07-18 18:39:13'::timestamp) - extract(epoch from '2026-07-18 18:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550967 -3.640468)'), GeomFromEWKT('SRID=4674;POINT (-38.550934 -3.640517)'))) / (select extract(epoch from '2026-07-18 18:39:13'::timestamp) - extract(epoch from '2026-07-18 18:39: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'), 47391, 'SRID=4674;POINT (-38.550931 -3.640524)', '2026-07-18 18:39:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550934 -3.640517)'), GeomFromEWKT('SRID=4674;POINT (-38.550931 -3.640524)'))) / (select extract(epoch from '2026-07-18 18:39:14'::timestamp) - extract(epoch from '2026-07-18 18:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550934 -3.640517)'), GeomFromEWKT('SRID=4674;POINT (-38.550931 -3.640524)'))) / (select extract(epoch from '2026-07-18 18:39:14'::timestamp) - extract(epoch from '2026-07-18 18:39: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'), 47391, 'SRID=4674;POINT (-38.550923 -3.640548)', '2026-07-18 18:39:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550931 -3.640524)'), GeomFromEWKT('SRID=4674;POINT (-38.550923 -3.640548)'))) / (select extract(epoch from '2026-07-18 18:39:16'::timestamp) - extract(epoch from '2026-07-18 18:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550931 -3.640524)'), GeomFromEWKT('SRID=4674;POINT (-38.550923 -3.640548)'))) / (select extract(epoch from '2026-07-18 18:39:16'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550913 -3.640579)', '2026-07-18 18:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550923 -3.640548)'), GeomFromEWKT('SRID=4674;POINT (-38.550913 -3.640579)'))) / (select extract(epoch from '2026-07-18 18:39:18'::timestamp) - extract(epoch from '2026-07-18 18:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550923 -3.640548)'), GeomFromEWKT('SRID=4674;POINT (-38.550913 -3.640579)'))) / (select extract(epoch from '2026-07-18 18:39:18'::timestamp) - extract(epoch from '2026-07-18 18:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5509 -3.640625)', '2026-07-18 18:39:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550913 -3.640579)'), GeomFromEWKT('SRID=4674;POINT (-38.5509 -3.640625)'))) / (select extract(epoch from '2026-07-18 18:39:22'::timestamp) - extract(epoch from '2026-07-18 18:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550913 -3.640579)'), GeomFromEWKT('SRID=4674;POINT (-38.5509 -3.640625)'))) / (select extract(epoch from '2026-07-18 18:39:22'::timestamp) - extract(epoch from '2026-07-18 18:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.55089 -3.640659)', '2026-07-18 18:39:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5509 -3.640625)'), GeomFromEWKT('SRID=4674;POINT (-38.55089 -3.640659)'))) / (select extract(epoch from '2026-07-18 18:39:24'::timestamp) - extract(epoch from '2026-07-18 18:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5509 -3.640625)'), GeomFromEWKT('SRID=4674;POINT (-38.55089 -3.640659)'))) / (select extract(epoch from '2026-07-18 18:39:24'::timestamp) - extract(epoch from '2026-07-18 18:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550883 -3.640673)', '2026-07-18 18:39:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55089 -3.640659)'), GeomFromEWKT('SRID=4674;POINT (-38.550883 -3.640673)'))) / (select extract(epoch from '2026-07-18 18:39:26'::timestamp) - extract(epoch from '2026-07-18 18:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55089 -3.640659)'), GeomFromEWKT('SRID=4674;POINT (-38.550883 -3.640673)'))) / (select extract(epoch from '2026-07-18 18:39:26'::timestamp) - extract(epoch from '2026-07-18 18:39: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'), 47391, 'SRID=4674;POINT (-38.550862 -3.640707)', '2026-07-18 18:39:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550883 -3.640673)'), GeomFromEWKT('SRID=4674;POINT (-38.550862 -3.640707)'))) / (select extract(epoch from '2026-07-18 18:39:29'::timestamp) - extract(epoch from '2026-07-18 18:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550883 -3.640673)'), GeomFromEWKT('SRID=4674;POINT (-38.550862 -3.640707)'))) / (select extract(epoch from '2026-07-18 18:39:29'::timestamp) - extract(epoch from '2026-07-18 18:39: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'), 47391, 'SRID=4674;POINT (-38.550814 -3.640791)', '2026-07-18 18:39:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550862 -3.640707)'), GeomFromEWKT('SRID=4674;POINT (-38.550814 -3.640791)'))) / (select extract(epoch from '2026-07-18 18:39:35'::timestamp) - extract(epoch from '2026-07-18 18:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550862 -3.640707)'), GeomFromEWKT('SRID=4674;POINT (-38.550814 -3.640791)'))) / (select extract(epoch from '2026-07-18 18:39:35'::timestamp) - extract(epoch from '2026-07-18 18:39: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'), 47391, 'SRID=4674;POINT (-38.550759 -3.640878)', '2026-07-18 18:39:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550814 -3.640791)'), GeomFromEWKT('SRID=4674;POINT (-38.550759 -3.640878)'))) / (select extract(epoch from '2026-07-18 18:39:41'::timestamp) - extract(epoch from '2026-07-18 18:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550814 -3.640791)'), GeomFromEWKT('SRID=4674;POINT (-38.550759 -3.640878)'))) / (select extract(epoch from '2026-07-18 18:39:41'::timestamp) - extract(epoch from '2026-07-18 18:39: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'), 47391, 'SRID=4674;POINT (-38.550714 -3.64096)', '2026-07-18 18:39:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550759 -3.640878)'), GeomFromEWKT('SRID=4674;POINT (-38.550714 -3.64096)'))) / (select extract(epoch from '2026-07-18 18:39:48'::timestamp) - extract(epoch from '2026-07-18 18:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550759 -3.640878)'), GeomFromEWKT('SRID=4674;POINT (-38.550714 -3.64096)'))) / (select extract(epoch from '2026-07-18 18:39:48'::timestamp) - extract(epoch from '2026-07-18 18:39: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'), 47391, 'SRID=4674;POINT (-38.550675 -3.641031)', '2026-07-18 18:39:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550714 -3.64096)'), GeomFromEWKT('SRID=4674;POINT (-38.550675 -3.641031)'))) / (select extract(epoch from '2026-07-18 18:39:53'::timestamp) - extract(epoch from '2026-07-18 18:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550714 -3.64096)'), GeomFromEWKT('SRID=4674;POINT (-38.550675 -3.641031)'))) / (select extract(epoch from '2026-07-18 18:39:53'::timestamp) - extract(epoch from '2026-07-18 18:39:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550642 -3.641107)', '2026-07-18 18:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550675 -3.641031)'), GeomFromEWKT('SRID=4674;POINT (-38.550642 -3.641107)'))) / (select extract(epoch from '2026-07-18 18:39:59'::timestamp) - extract(epoch from '2026-07-18 18:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550675 -3.641031)'), GeomFromEWKT('SRID=4674;POINT (-38.550642 -3.641107)'))) / (select extract(epoch from '2026-07-18 18:39:59'::timestamp) - extract(epoch from '2026-07-18 18:39: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'), 47391, 'SRID=4674;POINT (-38.550625 -3.641152)', '2026-07-18 18:40:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550642 -3.641107)'), GeomFromEWKT('SRID=4674;POINT (-38.550625 -3.641152)'))) / (select extract(epoch from '2026-07-18 18:40:03'::timestamp) - extract(epoch from '2026-07-18 18:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550642 -3.641107)'), GeomFromEWKT('SRID=4674;POINT (-38.550625 -3.641152)'))) / (select extract(epoch from '2026-07-18 18:40:03'::timestamp) - extract(epoch from '2026-07-18 18:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550617 -3.641164)', '2026-07-18 18:40:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550625 -3.641152)'), GeomFromEWKT('SRID=4674;POINT (-38.550617 -3.641164)'))) / (select extract(epoch from '2026-07-18 18:40:04'::timestamp) - extract(epoch from '2026-07-18 18:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550625 -3.641152)'), GeomFromEWKT('SRID=4674;POINT (-38.550617 -3.641164)'))) / (select extract(epoch from '2026-07-18 18:40:04'::timestamp) - extract(epoch from '2026-07-18 18:40:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550581 -3.641241)', '2026-07-18 18:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550617 -3.641164)'), GeomFromEWKT('SRID=4674;POINT (-38.550581 -3.641241)'))) / (select extract(epoch from '2026-07-18 18:40:11'::timestamp) - extract(epoch from '2026-07-18 18:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550617 -3.641164)'), GeomFromEWKT('SRID=4674;POINT (-38.550581 -3.641241)'))) / (select extract(epoch from '2026-07-18 18:40:11'::timestamp) - extract(epoch from '2026-07-18 18:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550527 -3.641337)', '2026-07-18 18:40:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550581 -3.641241)'), GeomFromEWKT('SRID=4674;POINT (-38.550527 -3.641337)'))) / (select extract(epoch from '2026-07-18 18:40:18'::timestamp) - extract(epoch from '2026-07-18 18:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550581 -3.641241)'), GeomFromEWKT('SRID=4674;POINT (-38.550527 -3.641337)'))) / (select extract(epoch from '2026-07-18 18:40:18'::timestamp) - extract(epoch from '2026-07-18 18:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550503 -3.641365)', '2026-07-18 18:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550527 -3.641337)'), GeomFromEWKT('SRID=4674;POINT (-38.550503 -3.641365)'))) / (select extract(epoch from '2026-07-18 18:40:20'::timestamp) - extract(epoch from '2026-07-18 18:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550527 -3.641337)'), GeomFromEWKT('SRID=4674;POINT (-38.550503 -3.641365)'))) / (select extract(epoch from '2026-07-18 18:40:20'::timestamp) - extract(epoch from '2026-07-18 18:40: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'), 47391, 'SRID=4674;POINT (-38.550496 -3.641395)', '2026-07-18 18:40:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550503 -3.641365)'), GeomFromEWKT('SRID=4674;POINT (-38.550496 -3.641395)'))) / (select extract(epoch from '2026-07-18 18:40:22'::timestamp) - extract(epoch from '2026-07-18 18:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550503 -3.641365)'), GeomFromEWKT('SRID=4674;POINT (-38.550496 -3.641395)'))) / (select extract(epoch from '2026-07-18 18:40:22'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550476 -3.641436)', '2026-07-18 18:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550496 -3.641395)'), GeomFromEWKT('SRID=4674;POINT (-38.550476 -3.641436)'))) / (select extract(epoch from '2026-07-18 18:40:27'::timestamp) - extract(epoch from '2026-07-18 18:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550496 -3.641395)'), GeomFromEWKT('SRID=4674;POINT (-38.550476 -3.641436)'))) / (select extract(epoch from '2026-07-18 18:40:27'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550459 -3.641498)', '2026-07-18 18:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550476 -3.641436)'), GeomFromEWKT('SRID=4674;POINT (-38.550459 -3.641498)'))) / (select extract(epoch from '2026-07-18 18:40:33'::timestamp) - extract(epoch from '2026-07-18 18:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550476 -3.641436)'), GeomFromEWKT('SRID=4674;POINT (-38.550459 -3.641498)'))) / (select extract(epoch from '2026-07-18 18:40:33'::timestamp) - extract(epoch from '2026-07-18 18:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550434 -3.641599)', '2026-07-18 18:40:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550459 -3.641498)'), GeomFromEWKT('SRID=4674;POINT (-38.550434 -3.641599)'))) / (select extract(epoch from '2026-07-18 18:40:40'::timestamp) - extract(epoch from '2026-07-18 18:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550459 -3.641498)'), GeomFromEWKT('SRID=4674;POINT (-38.550434 -3.641599)'))) / (select extract(epoch from '2026-07-18 18:40:40'::timestamp) - extract(epoch from '2026-07-18 18:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550406 -3.641691)', '2026-07-18 18:40:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550434 -3.641599)'), GeomFromEWKT('SRID=4674;POINT (-38.550406 -3.641691)'))) / (select extract(epoch from '2026-07-18 18:40:47'::timestamp) - extract(epoch from '2026-07-18 18:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550434 -3.641599)'), GeomFromEWKT('SRID=4674;POINT (-38.550406 -3.641691)'))) / (select extract(epoch from '2026-07-18 18:40:47'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.55039 -3.641738)', '2026-07-18 18:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550406 -3.641691)'), GeomFromEWKT('SRID=4674;POINT (-38.55039 -3.641738)'))) / (select extract(epoch from '2026-07-18 18:40:51'::timestamp) - extract(epoch from '2026-07-18 18:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550406 -3.641691)'), GeomFromEWKT('SRID=4674;POINT (-38.55039 -3.641738)'))) / (select extract(epoch from '2026-07-18 18:40:51'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550375 -3.64176)', '2026-07-18 18:40:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55039 -3.641738)'), GeomFromEWKT('SRID=4674;POINT (-38.550375 -3.64176)'))) / (select extract(epoch from '2026-07-18 18:40:53'::timestamp) - extract(epoch from '2026-07-18 18:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55039 -3.641738)'), GeomFromEWKT('SRID=4674;POINT (-38.550375 -3.64176)'))) / (select extract(epoch from '2026-07-18 18:40:53'::timestamp) - extract(epoch from '2026-07-18 18:40: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'), 47391, 'SRID=4674;POINT (-38.550327 -3.641849)', '2026-07-18 18:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550375 -3.64176)'), GeomFromEWKT('SRID=4674;POINT (-38.550327 -3.641849)'))) / (select extract(epoch from '2026-07-18 18:41:00'::timestamp) - extract(epoch from '2026-07-18 18:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550375 -3.64176)'), GeomFromEWKT('SRID=4674;POINT (-38.550327 -3.641849)'))) / (select extract(epoch from '2026-07-18 18:41:00'::timestamp) - extract(epoch from '2026-07-18 18:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550274 -3.641961)', '2026-07-18 18:41:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550327 -3.641849)'), GeomFromEWKT('SRID=4674;POINT (-38.550274 -3.641961)'))) / (select extract(epoch from '2026-07-18 18:41:08'::timestamp) - extract(epoch from '2026-07-18 18:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550327 -3.641849)'), GeomFromEWKT('SRID=4674;POINT (-38.550274 -3.641961)'))) / (select extract(epoch from '2026-07-18 18:41:08'::timestamp) - extract(epoch from '2026-07-18 18:41: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'), 47391, 'SRID=4674;POINT (-38.550247 -3.642032)', '2026-07-18 18:41:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550274 -3.641961)'), GeomFromEWKT('SRID=4674;POINT (-38.550247 -3.642032)'))) / (select extract(epoch from '2026-07-18 18:41:13'::timestamp) - extract(epoch from '2026-07-18 18:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550274 -3.641961)'), GeomFromEWKT('SRID=4674;POINT (-38.550247 -3.642032)'))) / (select extract(epoch from '2026-07-18 18:41:13'::timestamp) - extract(epoch from '2026-07-18 18:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550237 -3.642043)', '2026-07-18 18:41:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550247 -3.642032)'), GeomFromEWKT('SRID=4674;POINT (-38.550237 -3.642043)'))) / (select extract(epoch from '2026-07-18 18:41:14'::timestamp) - extract(epoch from '2026-07-18 18:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550247 -3.642032)'), GeomFromEWKT('SRID=4674;POINT (-38.550237 -3.642043)'))) / (select extract(epoch from '2026-07-18 18:41:14'::timestamp) - extract(epoch from '2026-07-18 18:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550197 -3.642116)', '2026-07-18 18:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550237 -3.642043)'), GeomFromEWKT('SRID=4674;POINT (-38.550197 -3.642116)'))) / (select extract(epoch from '2026-07-18 18:41:20'::timestamp) - extract(epoch from '2026-07-18 18:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550237 -3.642043)'), GeomFromEWKT('SRID=4674;POINT (-38.550197 -3.642116)'))) / (select extract(epoch from '2026-07-18 18:41:20'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550184 -3.642146)', '2026-07-18 18:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550197 -3.642116)'), GeomFromEWKT('SRID=4674;POINT (-38.550184 -3.642146)'))) / (select extract(epoch from '2026-07-18 18:41:22'::timestamp) - extract(epoch from '2026-07-18 18:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550197 -3.642116)'), GeomFromEWKT('SRID=4674;POINT (-38.550184 -3.642146)'))) / (select extract(epoch from '2026-07-18 18:41:22'::timestamp) - extract(epoch from '2026-07-18 18:41: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'), 47391, 'SRID=4674;POINT (-38.550172 -3.642184)', '2026-07-18 18:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550184 -3.642146)'), GeomFromEWKT('SRID=4674;POINT (-38.550172 -3.642184)'))) / (select extract(epoch from '2026-07-18 18:41:25'::timestamp) - extract(epoch from '2026-07-18 18:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550184 -3.642146)'), GeomFromEWKT('SRID=4674;POINT (-38.550172 -3.642184)'))) / (select extract(epoch from '2026-07-18 18:41:25'::timestamp) - extract(epoch from '2026-07-18 18:41: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'), 47391, 'SRID=4674;POINT (-38.550114 -3.642283)', '2026-07-18 18:41:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550172 -3.642184)'), GeomFromEWKT('SRID=4674;POINT (-38.550114 -3.642283)'))) / (select extract(epoch from '2026-07-18 18:41:33'::timestamp) - extract(epoch from '2026-07-18 18:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550172 -3.642184)'), GeomFromEWKT('SRID=4674;POINT (-38.550114 -3.642283)'))) / (select extract(epoch from '2026-07-18 18:41:33'::timestamp) - extract(epoch from '2026-07-18 18:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.550057 -3.642376)', '2026-07-18 18:41:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550114 -3.642283)'), GeomFromEWKT('SRID=4674;POINT (-38.550057 -3.642376)'))) / (select extract(epoch from '2026-07-18 18:41:41'::timestamp) - extract(epoch from '2026-07-18 18:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550114 -3.642283)'), GeomFromEWKT('SRID=4674;POINT (-38.550057 -3.642376)'))) / (select extract(epoch from '2026-07-18 18:41:41'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.550024 -3.642469)', '2026-07-18 18:41:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550057 -3.642376)'), GeomFromEWKT('SRID=4674;POINT (-38.550024 -3.642469)'))) / (select extract(epoch from '2026-07-18 18:41:48'::timestamp) - extract(epoch from '2026-07-18 18:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550057 -3.642376)'), GeomFromEWKT('SRID=4674;POINT (-38.550024 -3.642469)'))) / (select extract(epoch from '2026-07-18 18:41:48'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.549965 -3.642543)', '2026-07-18 18:41:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550024 -3.642469)'), GeomFromEWKT('SRID=4674;POINT (-38.549965 -3.642543)'))) / (select extract(epoch from '2026-07-18 18:41:55'::timestamp) - extract(epoch from '2026-07-18 18:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.550024 -3.642469)'), GeomFromEWKT('SRID=4674;POINT (-38.549965 -3.642543)'))) / (select extract(epoch from '2026-07-18 18:41:55'::timestamp) - extract(epoch from '2026-07-18 18:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54993 -3.642571)', '2026-07-18 18:41:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549965 -3.642543)'), GeomFromEWKT('SRID=4674;POINT (-38.54993 -3.642571)'))) / (select extract(epoch from '2026-07-18 18:41:58'::timestamp) - extract(epoch from '2026-07-18 18:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549965 -3.642543)'), GeomFromEWKT('SRID=4674;POINT (-38.54993 -3.642571)'))) / (select extract(epoch from '2026-07-18 18:41:58'::timestamp) - extract(epoch from '2026-07-18 18:41: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'), 47391, 'SRID=4674;POINT (-38.54989 -3.642619)', '2026-07-18 18:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54993 -3.642571)'), GeomFromEWKT('SRID=4674;POINT (-38.54989 -3.642619)'))) / (select extract(epoch from '2026-07-18 18:42:02'::timestamp) - extract(epoch from '2026-07-18 18:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54993 -3.642571)'), GeomFromEWKT('SRID=4674;POINT (-38.54989 -3.642619)'))) / (select extract(epoch from '2026-07-18 18:42:02'::timestamp) - extract(epoch from '2026-07-18 18:41: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'), 47391, 'SRID=4674;POINT (-38.549846 -3.642696)', '2026-07-18 18:42:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54989 -3.642619)'), GeomFromEWKT('SRID=4674;POINT (-38.549846 -3.642696)'))) / (select extract(epoch from '2026-07-18 18:42:08'::timestamp) - extract(epoch from '2026-07-18 18:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54989 -3.642619)'), GeomFromEWKT('SRID=4674;POINT (-38.549846 -3.642696)'))) / (select extract(epoch from '2026-07-18 18:42:08'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.549794 -3.64278)', '2026-07-18 18:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549846 -3.642696)'), GeomFromEWKT('SRID=4674;POINT (-38.549794 -3.64278)'))) / (select extract(epoch from '2026-07-18 18:42:15'::timestamp) - extract(epoch from '2026-07-18 18:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549846 -3.642696)'), GeomFromEWKT('SRID=4674;POINT (-38.549794 -3.64278)'))) / (select extract(epoch from '2026-07-18 18:42:15'::timestamp) - extract(epoch from '2026-07-18 18:42: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'), 47391, 'SRID=4674;POINT (-38.549796 -3.642805)', '2026-07-18 18:42:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549794 -3.64278)'), GeomFromEWKT('SRID=4674;POINT (-38.549796 -3.642805)'))) / (select extract(epoch from '2026-07-18 18:42:17'::timestamp) - extract(epoch from '2026-07-18 18:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549794 -3.64278)'), GeomFromEWKT('SRID=4674;POINT (-38.549796 -3.642805)'))) / (select extract(epoch from '2026-07-18 18:42:17'::timestamp) - extract(epoch from '2026-07-18 18:42: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'), 47391, 'SRID=4674;POINT (-38.549784 -3.642836)', '2026-07-18 18:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549796 -3.642805)'), GeomFromEWKT('SRID=4674;POINT (-38.549784 -3.642836)'))) / (select extract(epoch from '2026-07-18 18:42:20'::timestamp) - extract(epoch from '2026-07-18 18:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549796 -3.642805)'), GeomFromEWKT('SRID=4674;POINT (-38.549784 -3.642836)'))) / (select extract(epoch from '2026-07-18 18:42:20'::timestamp) - extract(epoch from '2026-07-18 18:42: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'), 47391, 'SRID=4674;POINT (-38.549768 -3.642904)', '2026-07-18 18:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549784 -3.642836)'), GeomFromEWKT('SRID=4674;POINT (-38.549768 -3.642904)'))) / (select extract(epoch from '2026-07-18 18:42:26'::timestamp) - extract(epoch from '2026-07-18 18:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549784 -3.642836)'), GeomFromEWKT('SRID=4674;POINT (-38.549768 -3.642904)'))) / (select extract(epoch from '2026-07-18 18:42:26'::timestamp) - extract(epoch from '2026-07-18 18:42: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'), 47391, 'SRID=4674;POINT (-38.549745 -3.642985)', '2026-07-18 18:42:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549768 -3.642904)'), GeomFromEWKT('SRID=4674;POINT (-38.549745 -3.642985)'))) / (select extract(epoch from '2026-07-18 18:42:32'::timestamp) - extract(epoch from '2026-07-18 18:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549768 -3.642904)'), GeomFromEWKT('SRID=4674;POINT (-38.549745 -3.642985)'))) / (select extract(epoch from '2026-07-18 18:42:32'::timestamp) - extract(epoch from '2026-07-18 18:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549745 -3.643001)', '2026-07-18 18:42:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549745 -3.642985)'), GeomFromEWKT('SRID=4674;POINT (-38.549745 -3.643001)'))) / (select extract(epoch from '2026-07-18 18:42:33'::timestamp) - extract(epoch from '2026-07-18 18:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549745 -3.642985)'), GeomFromEWKT('SRID=4674;POINT (-38.549745 -3.643001)'))) / (select extract(epoch from '2026-07-18 18:42:33'::timestamp) - extract(epoch from '2026-07-18 18:42: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'), 47391, 'SRID=4674;POINT (-38.549711 -3.643064)', '2026-07-18 18:42:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549745 -3.643001)'), GeomFromEWKT('SRID=4674;POINT (-38.549711 -3.643064)'))) / (select extract(epoch from '2026-07-18 18:42:38'::timestamp) - extract(epoch from '2026-07-18 18:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549745 -3.643001)'), GeomFromEWKT('SRID=4674;POINT (-38.549711 -3.643064)'))) / (select extract(epoch from '2026-07-18 18:42:38'::timestamp) - extract(epoch from '2026-07-18 18:42: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'), 47391, 'SRID=4674;POINT (-38.549687 -3.643144)', '2026-07-18 18:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549711 -3.643064)'), GeomFromEWKT('SRID=4674;POINT (-38.549687 -3.643144)'))) / (select extract(epoch from '2026-07-18 18:42:44'::timestamp) - extract(epoch from '2026-07-18 18:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549711 -3.643064)'), GeomFromEWKT('SRID=4674;POINT (-38.549687 -3.643144)'))) / (select extract(epoch from '2026-07-18 18:42:44'::timestamp) - extract(epoch from '2026-07-18 18:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549654 -3.643221)', '2026-07-18 18:42:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549687 -3.643144)'), GeomFromEWKT('SRID=4674;POINT (-38.549654 -3.643221)'))) / (select extract(epoch from '2026-07-18 18:42:50'::timestamp) - extract(epoch from '2026-07-18 18:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549687 -3.643144)'), GeomFromEWKT('SRID=4674;POINT (-38.549654 -3.643221)'))) / (select extract(epoch from '2026-07-18 18:42:50'::timestamp) - extract(epoch from '2026-07-18 18:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549635 -3.643259)', '2026-07-18 18:42:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549654 -3.643221)'), GeomFromEWKT('SRID=4674;POINT (-38.549635 -3.643259)'))) / (select extract(epoch from '2026-07-18 18:42:53'::timestamp) - extract(epoch from '2026-07-18 18:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549654 -3.643221)'), GeomFromEWKT('SRID=4674;POINT (-38.549635 -3.643259)'))) / (select extract(epoch from '2026-07-18 18:42:53'::timestamp) - extract(epoch from '2026-07-18 18:42: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'), 47391, 'SRID=4674;POINT (-38.549613 -3.643296)', '2026-07-18 18:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549635 -3.643259)'), GeomFromEWKT('SRID=4674;POINT (-38.549613 -3.643296)'))) / (select extract(epoch from '2026-07-18 18:42:56'::timestamp) - extract(epoch from '2026-07-18 18:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549635 -3.643259)'), GeomFromEWKT('SRID=4674;POINT (-38.549613 -3.643296)'))) / (select extract(epoch from '2026-07-18 18:42:56'::timestamp) - extract(epoch from '2026-07-18 18:42: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'), 47391, 'SRID=4674;POINT (-38.549562 -3.643392)', '2026-07-18 18:43:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549613 -3.643296)'), GeomFromEWKT('SRID=4674;POINT (-38.549562 -3.643392)'))) / (select extract(epoch from '2026-07-18 18:43:03'::timestamp) - extract(epoch from '2026-07-18 18:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549613 -3.643296)'), GeomFromEWKT('SRID=4674;POINT (-38.549562 -3.643392)'))) / (select extract(epoch from '2026-07-18 18:43:03'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.549514 -3.643486)', '2026-07-18 18:43:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549562 -3.643392)'), GeomFromEWKT('SRID=4674;POINT (-38.549514 -3.643486)'))) / (select extract(epoch from '2026-07-18 18:43:11'::timestamp) - extract(epoch from '2026-07-18 18:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549562 -3.643392)'), GeomFromEWKT('SRID=4674;POINT (-38.549514 -3.643486)'))) / (select extract(epoch from '2026-07-18 18:43:11'::timestamp) - extract(epoch from '2026-07-18 18:43:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549472 -3.643579)', '2026-07-18 18:43:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549514 -3.643486)'), GeomFromEWKT('SRID=4674;POINT (-38.549472 -3.643579)'))) / (select extract(epoch from '2026-07-18 18:43:18'::timestamp) - extract(epoch from '2026-07-18 18:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549514 -3.643486)'), GeomFromEWKT('SRID=4674;POINT (-38.549472 -3.643579)'))) / (select extract(epoch from '2026-07-18 18:43:18'::timestamp) - extract(epoch from '2026-07-18 18:43: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'), 47391, 'SRID=4674;POINT (-38.549412 -3.643683)', '2026-07-18 18:43:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549472 -3.643579)'), GeomFromEWKT('SRID=4674;POINT (-38.549412 -3.643683)'))) / (select extract(epoch from '2026-07-18 18:43:25'::timestamp) - extract(epoch from '2026-07-18 18:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549472 -3.643579)'), GeomFromEWKT('SRID=4674;POINT (-38.549412 -3.643683)'))) / (select extract(epoch from '2026-07-18 18:43:25'::timestamp) - extract(epoch from '2026-07-18 18:43:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549368 -3.643762)', '2026-07-18 18:43:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549412 -3.643683)'), GeomFromEWKT('SRID=4674;POINT (-38.549368 -3.643762)'))) / (select extract(epoch from '2026-07-18 18:43:31'::timestamp) - extract(epoch from '2026-07-18 18:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549412 -3.643683)'), GeomFromEWKT('SRID=4674;POINT (-38.549368 -3.643762)'))) / (select extract(epoch from '2026-07-18 18:43:31'::timestamp) - extract(epoch from '2026-07-18 18:43:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549306 -3.643843)', '2026-07-18 18:43:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549368 -3.643762)'), GeomFromEWKT('SRID=4674;POINT (-38.549306 -3.643843)'))) / (select extract(epoch from '2026-07-18 18:43:38'::timestamp) - extract(epoch from '2026-07-18 18:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549368 -3.643762)'), GeomFromEWKT('SRID=4674;POINT (-38.549306 -3.643843)'))) / (select extract(epoch from '2026-07-18 18:43:38'::timestamp) - extract(epoch from '2026-07-18 18:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.549234 -3.643948)', '2026-07-18 18:43:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549306 -3.643843)'), GeomFromEWKT('SRID=4674;POINT (-38.549234 -3.643948)'))) / (select extract(epoch from '2026-07-18 18:43:47'::timestamp) - extract(epoch from '2026-07-18 18:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549306 -3.643843)'), GeomFromEWKT('SRID=4674;POINT (-38.549234 -3.643948)'))) / (select extract(epoch from '2026-07-18 18:43:47'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.549172 -3.644039)', '2026-07-18 18:43:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549234 -3.643948)'), GeomFromEWKT('SRID=4674;POINT (-38.549172 -3.644039)'))) / (select extract(epoch from '2026-07-18 18:43:55'::timestamp) - extract(epoch from '2026-07-18 18:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549234 -3.643948)'), GeomFromEWKT('SRID=4674;POINT (-38.549172 -3.644039)'))) / (select extract(epoch from '2026-07-18 18:43:55'::timestamp) - extract(epoch from '2026-07-18 18:43: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'), 47391, 'SRID=4674;POINT (-38.549137 -3.644098)', '2026-07-18 18:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549172 -3.644039)'), GeomFromEWKT('SRID=4674;POINT (-38.549137 -3.644098)'))) / (select extract(epoch from '2026-07-18 18:44:01'::timestamp) - extract(epoch from '2026-07-18 18:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549172 -3.644039)'), GeomFromEWKT('SRID=4674;POINT (-38.549137 -3.644098)'))) / (select extract(epoch from '2026-07-18 18:44:01'::timestamp) - extract(epoch from '2026-07-18 18:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54907 -3.644193)', '2026-07-18 18:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549137 -3.644098)'), GeomFromEWKT('SRID=4674;POINT (-38.54907 -3.644193)'))) / (select extract(epoch from '2026-07-18 18:44:09'::timestamp) - extract(epoch from '2026-07-18 18:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549137 -3.644098)'), GeomFromEWKT('SRID=4674;POINT (-38.54907 -3.644193)'))) / (select extract(epoch from '2026-07-18 18:44:09'::timestamp) - extract(epoch from '2026-07-18 18:44: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'), 47391, 'SRID=4674;POINT (-38.549037 -3.644269)', '2026-07-18 18:44:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54907 -3.644193)'), GeomFromEWKT('SRID=4674;POINT (-38.549037 -3.644269)'))) / (select extract(epoch from '2026-07-18 18:44:15'::timestamp) - extract(epoch from '2026-07-18 18:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54907 -3.644193)'), GeomFromEWKT('SRID=4674;POINT (-38.549037 -3.644269)'))) / (select extract(epoch from '2026-07-18 18:44:15'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.549007 -3.644341)', '2026-07-18 18:44:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549037 -3.644269)'), GeomFromEWKT('SRID=4674;POINT (-38.549007 -3.644341)'))) / (select extract(epoch from '2026-07-18 18:44:21'::timestamp) - extract(epoch from '2026-07-18 18:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549037 -3.644269)'), GeomFromEWKT('SRID=4674;POINT (-38.549007 -3.644341)'))) / (select extract(epoch from '2026-07-18 18:44:21'::timestamp) - extract(epoch from '2026-07-18 18:44:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548972 -3.644427)', '2026-07-18 18:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549007 -3.644341)'), GeomFromEWKT('SRID=4674;POINT (-38.548972 -3.644427)'))) / (select extract(epoch from '2026-07-18 18:44:27'::timestamp) - extract(epoch from '2026-07-18 18:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.549007 -3.644341)'), GeomFromEWKT('SRID=4674;POINT (-38.548972 -3.644427)'))) / (select extract(epoch from '2026-07-18 18:44:27'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.548913 -3.644538)', '2026-07-18 18:44:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548972 -3.644427)'), GeomFromEWKT('SRID=4674;POINT (-38.548913 -3.644538)'))) / (select extract(epoch from '2026-07-18 18:44:35'::timestamp) - extract(epoch from '2026-07-18 18:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548972 -3.644427)'), GeomFromEWKT('SRID=4674;POINT (-38.548913 -3.644538)'))) / (select extract(epoch from '2026-07-18 18:44:35'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.548863 -3.644651)', '2026-07-18 18:44:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548913 -3.644538)'), GeomFromEWKT('SRID=4674;POINT (-38.548863 -3.644651)'))) / (select extract(epoch from '2026-07-18 18:44:43'::timestamp) - extract(epoch from '2026-07-18 18:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548913 -3.644538)'), GeomFromEWKT('SRID=4674;POINT (-38.548863 -3.644651)'))) / (select extract(epoch from '2026-07-18 18:44:43'::timestamp) - extract(epoch from '2026-07-18 18:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548818 -3.644783)', '2026-07-18 18:44:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548863 -3.644651)'), GeomFromEWKT('SRID=4674;POINT (-38.548818 -3.644783)'))) / (select extract(epoch from '2026-07-18 18:44:53'::timestamp) - extract(epoch from '2026-07-18 18:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548863 -3.644651)'), GeomFromEWKT('SRID=4674;POINT (-38.548818 -3.644783)'))) / (select extract(epoch from '2026-07-18 18:44:53'::timestamp) - extract(epoch from '2026-07-18 18:44:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54881 -3.644796)', '2026-07-18 18:44:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548818 -3.644783)'), GeomFromEWKT('SRID=4674;POINT (-38.54881 -3.644796)'))) / (select extract(epoch from '2026-07-18 18:44:54'::timestamp) - extract(epoch from '2026-07-18 18:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548818 -3.644783)'), GeomFromEWKT('SRID=4674;POINT (-38.54881 -3.644796)'))) / (select extract(epoch from '2026-07-18 18:44:54'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.548787 -3.644851)', '2026-07-18 18:44:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54881 -3.644796)'), GeomFromEWKT('SRID=4674;POINT (-38.548787 -3.644851)'))) / (select extract(epoch from '2026-07-18 18:44:58'::timestamp) - extract(epoch from '2026-07-18 18:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54881 -3.644796)'), GeomFromEWKT('SRID=4674;POINT (-38.548787 -3.644851)'))) / (select extract(epoch from '2026-07-18 18:44:58'::timestamp) - extract(epoch from '2026-07-18 18:44: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'), 47391, 'SRID=4674;POINT (-38.548744 -3.644944)', '2026-07-18 18:45:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548787 -3.644851)'), GeomFromEWKT('SRID=4674;POINT (-38.548744 -3.644944)'))) / (select extract(epoch from '2026-07-18 18:45:05'::timestamp) - extract(epoch from '2026-07-18 18:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548787 -3.644851)'), GeomFromEWKT('SRID=4674;POINT (-38.548744 -3.644944)'))) / (select extract(epoch from '2026-07-18 18:45:05'::timestamp) - extract(epoch from '2026-07-18 18:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548741 -3.644958)', '2026-07-18 18:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548744 -3.644944)'), GeomFromEWKT('SRID=4674;POINT (-38.548741 -3.644958)'))) / (select extract(epoch from '2026-07-18 18:45:06'::timestamp) - extract(epoch from '2026-07-18 18:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548744 -3.644944)'), GeomFromEWKT('SRID=4674;POINT (-38.548741 -3.644958)'))) / (select extract(epoch from '2026-07-18 18:45:06'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.548732 -3.645011)', '2026-07-18 18:45:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548741 -3.644958)'), GeomFromEWKT('SRID=4674;POINT (-38.548732 -3.645011)'))) / (select extract(epoch from '2026-07-18 18:45:10'::timestamp) - extract(epoch from '2026-07-18 18:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548741 -3.644958)'), GeomFromEWKT('SRID=4674;POINT (-38.548732 -3.645011)'))) / (select extract(epoch from '2026-07-18 18:45:10'::timestamp) - extract(epoch from '2026-07-18 18:45: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'), 47391, 'SRID=4674;POINT (-38.548713 -3.645077)', '2026-07-18 18:45:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548732 -3.645011)'), GeomFromEWKT('SRID=4674;POINT (-38.548713 -3.645077)'))) / (select extract(epoch from '2026-07-18 18:45:16'::timestamp) - extract(epoch from '2026-07-18 18:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548732 -3.645011)'), GeomFromEWKT('SRID=4674;POINT (-38.548713 -3.645077)'))) / (select extract(epoch from '2026-07-18 18:45:16'::timestamp) - extract(epoch from '2026-07-18 18:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548705 -3.645116)', '2026-07-18 18:45:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548713 -3.645077)'), GeomFromEWKT('SRID=4674;POINT (-38.548705 -3.645116)'))) / (select extract(epoch from '2026-07-18 18:45:19'::timestamp) - extract(epoch from '2026-07-18 18:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548713 -3.645077)'), GeomFromEWKT('SRID=4674;POINT (-38.548705 -3.645116)'))) / (select extract(epoch from '2026-07-18 18:45:19'::timestamp) - extract(epoch from '2026-07-18 18:45: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'), 47391, 'SRID=4674;POINT (-38.548698 -3.645152)', '2026-07-18 18:45:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548705 -3.645116)'), GeomFromEWKT('SRID=4674;POINT (-38.548698 -3.645152)'))) / (select extract(epoch from '2026-07-18 18:45:22'::timestamp) - extract(epoch from '2026-07-18 18:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548705 -3.645116)'), GeomFromEWKT('SRID=4674;POINT (-38.548698 -3.645152)'))) / (select extract(epoch from '2026-07-18 18:45:22'::timestamp) - extract(epoch from '2026-07-18 18:45: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'), 47391, 'SRID=4674;POINT (-38.548694 -3.645164)', '2026-07-18 18:45:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548698 -3.645152)'), GeomFromEWKT('SRID=4674;POINT (-38.548694 -3.645164)'))) / (select extract(epoch from '2026-07-18 18:45:23'::timestamp) - extract(epoch from '2026-07-18 18:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548698 -3.645152)'), GeomFromEWKT('SRID=4674;POINT (-38.548694 -3.645164)'))) / (select extract(epoch from '2026-07-18 18:45:23'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.548686 -3.645235)', '2026-07-18 18:45:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548694 -3.645164)'), GeomFromEWKT('SRID=4674;POINT (-38.548686 -3.645235)'))) / (select extract(epoch from '2026-07-18 18:45:28'::timestamp) - extract(epoch from '2026-07-18 18:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548694 -3.645164)'), GeomFromEWKT('SRID=4674;POINT (-38.548686 -3.645235)'))) / (select extract(epoch from '2026-07-18 18:45:28'::timestamp) - extract(epoch from '2026-07-18 18:45: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'), 47391, 'SRID=4674;POINT (-38.548675 -3.645326)', '2026-07-18 18:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548686 -3.645235)'), GeomFromEWKT('SRID=4674;POINT (-38.548675 -3.645326)'))) / (select extract(epoch from '2026-07-18 18:45:34'::timestamp) - extract(epoch from '2026-07-18 18:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548686 -3.645235)'), GeomFromEWKT('SRID=4674;POINT (-38.548675 -3.645326)'))) / (select extract(epoch from '2026-07-18 18:45:34'::timestamp) - extract(epoch from '2026-07-18 18:45:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54865 -3.645416)', '2026-07-18 18:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548675 -3.645326)'), GeomFromEWKT('SRID=4674;POINT (-38.54865 -3.645416)'))) / (select extract(epoch from '2026-07-18 18:45:41'::timestamp) - extract(epoch from '2026-07-18 18:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548675 -3.645326)'), GeomFromEWKT('SRID=4674;POINT (-38.54865 -3.645416)'))) / (select extract(epoch from '2026-07-18 18:45:41'::timestamp) - extract(epoch from '2026-07-18 18:45: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'), 47391, 'SRID=4674;POINT (-38.548638 -3.645485)', '2026-07-18 18:45:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54865 -3.645416)'), GeomFromEWKT('SRID=4674;POINT (-38.548638 -3.645485)'))) / (select extract(epoch from '2026-07-18 18:45:46'::timestamp) - extract(epoch from '2026-07-18 18:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54865 -3.645416)'), GeomFromEWKT('SRID=4674;POINT (-38.548638 -3.645485)'))) / (select extract(epoch from '2026-07-18 18:45:46'::timestamp) - extract(epoch from '2026-07-18 18:45: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'), 47391, 'SRID=4674;POINT (-38.548585 -3.645586)', '2026-07-18 18:45:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548638 -3.645485)'), GeomFromEWKT('SRID=4674;POINT (-38.548585 -3.645586)'))) / (select extract(epoch from '2026-07-18 18:45:54'::timestamp) - extract(epoch from '2026-07-18 18:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548638 -3.645485)'), GeomFromEWKT('SRID=4674;POINT (-38.548585 -3.645586)'))) / (select extract(epoch from '2026-07-18 18:45:54'::timestamp) - extract(epoch from '2026-07-18 18:45: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'), 47391, 'SRID=4674;POINT (-38.548513 -3.645728)', '2026-07-18 18:46:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548585 -3.645586)'), GeomFromEWKT('SRID=4674;POINT (-38.548513 -3.645728)'))) / (select extract(epoch from '2026-07-18 18:46:04'::timestamp) - extract(epoch from '2026-07-18 18:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548585 -3.645586)'), GeomFromEWKT('SRID=4674;POINT (-38.548513 -3.645728)'))) / (select extract(epoch from '2026-07-18 18:46:04'::timestamp) - extract(epoch from '2026-07-18 18:45: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'), 47391, 'SRID=4674;POINT (-38.548463 -3.645812)', '2026-07-18 18:46:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548513 -3.645728)'), GeomFromEWKT('SRID=4674;POINT (-38.548463 -3.645812)'))) / (select extract(epoch from '2026-07-18 18:46:11'::timestamp) - extract(epoch from '2026-07-18 18:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548513 -3.645728)'), GeomFromEWKT('SRID=4674;POINT (-38.548463 -3.645812)'))) / (select extract(epoch from '2026-07-18 18:46:11'::timestamp) - extract(epoch from '2026-07-18 18:46: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'), 47391, 'SRID=4674;POINT (-38.54843 -3.645918)', '2026-07-18 18:46:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548463 -3.645812)'), GeomFromEWKT('SRID=4674;POINT (-38.54843 -3.645918)'))) / (select extract(epoch from '2026-07-18 18:46:19'::timestamp) - extract(epoch from '2026-07-18 18:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548463 -3.645812)'), GeomFromEWKT('SRID=4674;POINT (-38.54843 -3.645918)'))) / (select extract(epoch from '2026-07-18 18:46:19'::timestamp) - extract(epoch from '2026-07-18 18:46: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'), 47391, 'SRID=4674;POINT (-38.548424 -3.645949)', '2026-07-18 18:46:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54843 -3.645918)'), GeomFromEWKT('SRID=4674;POINT (-38.548424 -3.645949)'))) / (select extract(epoch from '2026-07-18 18:46:22'::timestamp) - extract(epoch from '2026-07-18 18:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54843 -3.645918)'), GeomFromEWKT('SRID=4674;POINT (-38.548424 -3.645949)'))) / (select extract(epoch from '2026-07-18 18:46:22'::timestamp) - extract(epoch from '2026-07-18 18:46: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'), 47391, 'SRID=4674;POINT (-38.54841 -3.645984)', '2026-07-18 18:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548424 -3.645949)'), GeomFromEWKT('SRID=4674;POINT (-38.54841 -3.645984)'))) / (select extract(epoch from '2026-07-18 18:46:25'::timestamp) - extract(epoch from '2026-07-18 18:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548424 -3.645949)'), GeomFromEWKT('SRID=4674;POINT (-38.54841 -3.645984)'))) / (select extract(epoch from '2026-07-18 18:46:25'::timestamp) - extract(epoch from '2026-07-18 18:46: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'), 47391, 'SRID=4674;POINT (-38.548392 -3.646067)', '2026-07-18 18:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54841 -3.645984)'), GeomFromEWKT('SRID=4674;POINT (-38.548392 -3.646067)'))) / (select extract(epoch from '2026-07-18 18:46:32'::timestamp) - extract(epoch from '2026-07-18 18:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54841 -3.645984)'), GeomFromEWKT('SRID=4674;POINT (-38.548392 -3.646067)'))) / (select extract(epoch from '2026-07-18 18:46:32'::timestamp) - extract(epoch from '2026-07-18 18:46: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'), 47391, 'SRID=4674;POINT (-38.548365 -3.646147)', '2026-07-18 18:46:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548392 -3.646067)'), GeomFromEWKT('SRID=4674;POINT (-38.548365 -3.646147)'))) / (select extract(epoch from '2026-07-18 18:46:38'::timestamp) - extract(epoch from '2026-07-18 18:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548392 -3.646067)'), GeomFromEWKT('SRID=4674;POINT (-38.548365 -3.646147)'))) / (select extract(epoch from '2026-07-18 18:46:38'::timestamp) - extract(epoch from '2026-07-18 18:46:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548358 -3.646221)', '2026-07-18 18:46:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548365 -3.646147)'), GeomFromEWKT('SRID=4674;POINT (-38.548358 -3.646221)'))) / (select extract(epoch from '2026-07-18 18:46:43'::timestamp) - extract(epoch from '2026-07-18 18:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548365 -3.646147)'), GeomFromEWKT('SRID=4674;POINT (-38.548358 -3.646221)'))) / (select extract(epoch from '2026-07-18 18:46:43'::timestamp) - extract(epoch from '2026-07-18 18:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548353 -3.646235)', '2026-07-18 18:46:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548358 -3.646221)'), GeomFromEWKT('SRID=4674;POINT (-38.548353 -3.646235)'))) / (select extract(epoch from '2026-07-18 18:46:44'::timestamp) - extract(epoch from '2026-07-18 18:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548358 -3.646221)'), GeomFromEWKT('SRID=4674;POINT (-38.548353 -3.646235)'))) / (select extract(epoch from '2026-07-18 18:46:44'::timestamp) - extract(epoch from '2026-07-18 18:46: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'), 47391, 'SRID=4674;POINT (-38.548342 -3.646327)', '2026-07-18 18:46:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548353 -3.646235)'), GeomFromEWKT('SRID=4674;POINT (-38.548342 -3.646327)'))) / (select extract(epoch from '2026-07-18 18:46:51'::timestamp) - extract(epoch from '2026-07-18 18:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548353 -3.646235)'), GeomFromEWKT('SRID=4674;POINT (-38.548342 -3.646327)'))) / (select extract(epoch from '2026-07-18 18:46:51'::timestamp) - extract(epoch from '2026-07-18 18:46: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'), 47391, 'SRID=4674;POINT (-38.54833 -3.646406)', '2026-07-18 18:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548342 -3.646327)'), GeomFromEWKT('SRID=4674;POINT (-38.54833 -3.646406)'))) / (select extract(epoch from '2026-07-18 18:46:58'::timestamp) - extract(epoch from '2026-07-18 18:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548342 -3.646327)'), GeomFromEWKT('SRID=4674;POINT (-38.54833 -3.646406)'))) / (select extract(epoch from '2026-07-18 18:46:58'::timestamp) - extract(epoch from '2026-07-18 18:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54831 -3.646525)', '2026-07-18 18:47:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54833 -3.646406)'), GeomFromEWKT('SRID=4674;POINT (-38.54831 -3.646525)'))) / (select extract(epoch from '2026-07-18 18:47:07'::timestamp) - extract(epoch from '2026-07-18 18:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54833 -3.646406)'), GeomFromEWKT('SRID=4674;POINT (-38.54831 -3.646525)'))) / (select extract(epoch from '2026-07-18 18:47:07'::timestamp) - extract(epoch from '2026-07-18 18:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548301 -3.646551)', '2026-07-18 18:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54831 -3.646525)'), GeomFromEWKT('SRID=4674;POINT (-38.548301 -3.646551)'))) / (select extract(epoch from '2026-07-18 18:47:09'::timestamp) - extract(epoch from '2026-07-18 18:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54831 -3.646525)'), GeomFromEWKT('SRID=4674;POINT (-38.548301 -3.646551)'))) / (select extract(epoch from '2026-07-18 18:47:09'::timestamp) - extract(epoch from '2026-07-18 18:47: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'), 47391, 'SRID=4674;POINT (-38.548287 -3.646607)', '2026-07-18 18:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548301 -3.646551)'), GeomFromEWKT('SRID=4674;POINT (-38.548287 -3.646607)'))) / (select extract(epoch from '2026-07-18 18:47:13'::timestamp) - extract(epoch from '2026-07-18 18:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548301 -3.646551)'), GeomFromEWKT('SRID=4674;POINT (-38.548287 -3.646607)'))) / (select extract(epoch from '2026-07-18 18:47:13'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.548226 -3.646688)', '2026-07-18 18:47:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548287 -3.646607)'), GeomFromEWKT('SRID=4674;POINT (-38.548226 -3.646688)'))) / (select extract(epoch from '2026-07-18 18:47:20'::timestamp) - extract(epoch from '2026-07-18 18:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548287 -3.646607)'), GeomFromEWKT('SRID=4674;POINT (-38.548226 -3.646688)'))) / (select extract(epoch from '2026-07-18 18:47:20'::timestamp) - extract(epoch from '2026-07-18 18:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548172 -3.646718)', '2026-07-18 18:47:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548226 -3.646688)'), GeomFromEWKT('SRID=4674;POINT (-38.548172 -3.646718)'))) / (select extract(epoch from '2026-07-18 18:47:26'::timestamp) - extract(epoch from '2026-07-18 18:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548226 -3.646688)'), GeomFromEWKT('SRID=4674;POINT (-38.548172 -3.646718)'))) / (select extract(epoch from '2026-07-18 18:47:26'::timestamp) - extract(epoch from '2026-07-18 18:47:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548115 -3.646722)', '2026-07-18 18:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548172 -3.646718)'), GeomFromEWKT('SRID=4674;POINT (-38.548115 -3.646722)'))) / (select extract(epoch from '2026-07-18 18:47:32'::timestamp) - extract(epoch from '2026-07-18 18:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548172 -3.646718)'), GeomFromEWKT('SRID=4674;POINT (-38.548115 -3.646722)'))) / (select extract(epoch from '2026-07-18 18:47:32'::timestamp) - extract(epoch from '2026-07-18 18:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.548037 -3.646746)', '2026-07-18 18:47:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548115 -3.646722)'), GeomFromEWKT('SRID=4674;POINT (-38.548037 -3.646746)'))) / (select extract(epoch from '2026-07-18 18:47:39'::timestamp) - extract(epoch from '2026-07-18 18:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548115 -3.646722)'), GeomFromEWKT('SRID=4674;POINT (-38.548037 -3.646746)'))) / (select extract(epoch from '2026-07-18 18:47:39'::timestamp) - extract(epoch from '2026-07-18 18:47: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'), 47391, 'SRID=4674;POINT (-38.547995 -3.646771)', '2026-07-18 18:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548037 -3.646746)'), GeomFromEWKT('SRID=4674;POINT (-38.547995 -3.646771)'))) / (select extract(epoch from '2026-07-18 18:47:43'::timestamp) - extract(epoch from '2026-07-18 18:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.548037 -3.646746)'), GeomFromEWKT('SRID=4674;POINT (-38.547995 -3.646771)'))) / (select extract(epoch from '2026-07-18 18:47:43'::timestamp) - extract(epoch from '2026-07-18 18:47: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'), 47391, 'SRID=4674;POINT (-38.547969 -3.646784)', '2026-07-18 18:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547995 -3.646771)'), GeomFromEWKT('SRID=4674;POINT (-38.547969 -3.646784)'))) / (select extract(epoch from '2026-07-18 18:47:46'::timestamp) - extract(epoch from '2026-07-18 18:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547995 -3.646771)'), GeomFromEWKT('SRID=4674;POINT (-38.547969 -3.646784)'))) / (select extract(epoch from '2026-07-18 18:47:46'::timestamp) - extract(epoch from '2026-07-18 18:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547957 -3.64679)', '2026-07-18 18:47:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547969 -3.646784)'), GeomFromEWKT('SRID=4674;POINT (-38.547957 -3.64679)'))) / (select extract(epoch from '2026-07-18 18:47:47'::timestamp) - extract(epoch from '2026-07-18 18:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547969 -3.646784)'), GeomFromEWKT('SRID=4674;POINT (-38.547957 -3.64679)'))) / (select extract(epoch from '2026-07-18 18:47:47'::timestamp) - extract(epoch from '2026-07-18 18:47: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'), 47391, 'SRID=4674;POINT (-38.547902 -3.646808)', '2026-07-18 18:47:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547957 -3.64679)'), GeomFromEWKT('SRID=4674;POINT (-38.547902 -3.646808)'))) / (select extract(epoch from '2026-07-18 18:47:52'::timestamp) - extract(epoch from '2026-07-18 18:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547957 -3.64679)'), GeomFromEWKT('SRID=4674;POINT (-38.547902 -3.646808)'))) / (select extract(epoch from '2026-07-18 18:47:52'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.547848 -3.646843)', '2026-07-18 18:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547902 -3.646808)'), GeomFromEWKT('SRID=4674;POINT (-38.547848 -3.646843)'))) / (select extract(epoch from '2026-07-18 18:47:58'::timestamp) - extract(epoch from '2026-07-18 18:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547902 -3.646808)'), GeomFromEWKT('SRID=4674;POINT (-38.547848 -3.646843)'))) / (select extract(epoch from '2026-07-18 18:47:58'::timestamp) - extract(epoch from '2026-07-18 18:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547802 -3.646918)', '2026-07-18 18:48:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547848 -3.646843)'), GeomFromEWKT('SRID=4674;POINT (-38.547802 -3.646918)'))) / (select extract(epoch from '2026-07-18 18:48:05'::timestamp) - extract(epoch from '2026-07-18 18:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547848 -3.646843)'), GeomFromEWKT('SRID=4674;POINT (-38.547802 -3.646918)'))) / (select extract(epoch from '2026-07-18 18:48:05'::timestamp) - extract(epoch from '2026-07-18 18:47: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'), 47391, 'SRID=4674;POINT (-38.547756 -3.647014)', '2026-07-18 18:48:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547802 -3.646918)'), GeomFromEWKT('SRID=4674;POINT (-38.547756 -3.647014)'))) / (select extract(epoch from '2026-07-18 18:48:13'::timestamp) - extract(epoch from '2026-07-18 18:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547802 -3.646918)'), GeomFromEWKT('SRID=4674;POINT (-38.547756 -3.647014)'))) / (select extract(epoch from '2026-07-18 18:48:13'::timestamp) - extract(epoch from '2026-07-18 18:48: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'), 47391, 'SRID=4674;POINT (-38.547703 -3.647129)', '2026-07-18 18:48:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547756 -3.647014)'), GeomFromEWKT('SRID=4674;POINT (-38.547703 -3.647129)'))) / (select extract(epoch from '2026-07-18 18:48:22'::timestamp) - extract(epoch from '2026-07-18 18:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547756 -3.647014)'), GeomFromEWKT('SRID=4674;POINT (-38.547703 -3.647129)'))) / (select extract(epoch from '2026-07-18 18:48:22'::timestamp) - extract(epoch from '2026-07-18 18:48: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'), 47391, 'SRID=4674;POINT (-38.547659 -3.647213)', '2026-07-18 18:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547703 -3.647129)'), GeomFromEWKT('SRID=4674;POINT (-38.547659 -3.647213)'))) / (select extract(epoch from '2026-07-18 18:48:29'::timestamp) - extract(epoch from '2026-07-18 18:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547703 -3.647129)'), GeomFromEWKT('SRID=4674;POINT (-38.547659 -3.647213)'))) / (select extract(epoch from '2026-07-18 18:48:29'::timestamp) - extract(epoch from '2026-07-18 18:48: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'), 47391, 'SRID=4674;POINT (-38.547618 -3.647314)', '2026-07-18 18:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547659 -3.647213)'), GeomFromEWKT('SRID=4674;POINT (-38.547618 -3.647314)'))) / (select extract(epoch from '2026-07-18 18:48:36'::timestamp) - extract(epoch from '2026-07-18 18:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547659 -3.647213)'), GeomFromEWKT('SRID=4674;POINT (-38.547618 -3.647314)'))) / (select extract(epoch from '2026-07-18 18:48:36'::timestamp) - extract(epoch from '2026-07-18 18:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547591 -3.647418)', '2026-07-18 18:48:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547618 -3.647314)'), GeomFromEWKT('SRID=4674;POINT (-38.547591 -3.647418)'))) / (select extract(epoch from '2026-07-18 18:48:43'::timestamp) - extract(epoch from '2026-07-18 18:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547618 -3.647314)'), GeomFromEWKT('SRID=4674;POINT (-38.547591 -3.647418)'))) / (select extract(epoch from '2026-07-18 18:48:43'::timestamp) - extract(epoch from '2026-07-18 18:48: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'), 47391, 'SRID=4674;POINT (-38.54757 -3.647487)', '2026-07-18 18:48:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547591 -3.647418)'), GeomFromEWKT('SRID=4674;POINT (-38.54757 -3.647487)'))) / (select extract(epoch from '2026-07-18 18:48:49'::timestamp) - extract(epoch from '2026-07-18 18:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547591 -3.647418)'), GeomFromEWKT('SRID=4674;POINT (-38.54757 -3.647487)'))) / (select extract(epoch from '2026-07-18 18:48:49'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.547572 -3.647504)', '2026-07-18 18:48:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54757 -3.647487)'), GeomFromEWKT('SRID=4674;POINT (-38.547572 -3.647504)'))) / (select extract(epoch from '2026-07-18 18:48:50'::timestamp) - extract(epoch from '2026-07-18 18:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54757 -3.647487)'), GeomFromEWKT('SRID=4674;POINT (-38.547572 -3.647504)'))) / (select extract(epoch from '2026-07-18 18:48:50'::timestamp) - extract(epoch from '2026-07-18 18:48: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'), 47391, 'SRID=4674;POINT (-38.547557 -3.647552)', '2026-07-18 18:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547572 -3.647504)'), GeomFromEWKT('SRID=4674;POINT (-38.547557 -3.647552)'))) / (select extract(epoch from '2026-07-18 18:48:54'::timestamp) - extract(epoch from '2026-07-18 18:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547572 -3.647504)'), GeomFromEWKT('SRID=4674;POINT (-38.547557 -3.647552)'))) / (select extract(epoch from '2026-07-18 18:48:54'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.547546 -3.647593)', '2026-07-18 18:48:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547557 -3.647552)'), GeomFromEWKT('SRID=4674;POINT (-38.547546 -3.647593)'))) / (select extract(epoch from '2026-07-18 18:48:58'::timestamp) - extract(epoch from '2026-07-18 18:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547557 -3.647552)'), GeomFromEWKT('SRID=4674;POINT (-38.547546 -3.647593)'))) / (select extract(epoch from '2026-07-18 18:48:58'::timestamp) - extract(epoch from '2026-07-18 18:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547531 -3.647613)', '2026-07-18 18:49:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547546 -3.647593)'), GeomFromEWKT('SRID=4674;POINT (-38.547531 -3.647613)'))) / (select extract(epoch from '2026-07-18 18:49:00'::timestamp) - extract(epoch from '2026-07-18 18:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547546 -3.647593)'), GeomFromEWKT('SRID=4674;POINT (-38.547531 -3.647613)'))) / (select extract(epoch from '2026-07-18 18:49:00'::timestamp) - extract(epoch from '2026-07-18 18:48: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'), 47391, 'SRID=4674;POINT (-38.54748 -3.647695)', '2026-07-18 18:49:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547531 -3.647613)'), GeomFromEWKT('SRID=4674;POINT (-38.54748 -3.647695)'))) / (select extract(epoch from '2026-07-18 18:49:08'::timestamp) - extract(epoch from '2026-07-18 18:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547531 -3.647613)'), GeomFromEWKT('SRID=4674;POINT (-38.54748 -3.647695)'))) / (select extract(epoch from '2026-07-18 18:49:08'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.547467 -3.647715)', '2026-07-18 18:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54748 -3.647695)'), GeomFromEWKT('SRID=4674;POINT (-38.547467 -3.647715)'))) / (select extract(epoch from '2026-07-18 18:49:10'::timestamp) - extract(epoch from '2026-07-18 18:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54748 -3.647695)'), GeomFromEWKT('SRID=4674;POINT (-38.547467 -3.647715)'))) / (select extract(epoch from '2026-07-18 18:49:10'::timestamp) - extract(epoch from '2026-07-18 18:49: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'), 47391, 'SRID=4674;POINT (-38.547464 -3.647746)', '2026-07-18 18:49:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547467 -3.647715)'), GeomFromEWKT('SRID=4674;POINT (-38.547464 -3.647746)'))) / (select extract(epoch from '2026-07-18 18:49:13'::timestamp) - extract(epoch from '2026-07-18 18:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547467 -3.647715)'), GeomFromEWKT('SRID=4674;POINT (-38.547464 -3.647746)'))) / (select extract(epoch from '2026-07-18 18:49:13'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.547462 -3.647758)', '2026-07-18 18:49:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547464 -3.647746)'), GeomFromEWKT('SRID=4674;POINT (-38.547462 -3.647758)'))) / (select extract(epoch from '2026-07-18 18:49:14'::timestamp) - extract(epoch from '2026-07-18 18:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547464 -3.647746)'), GeomFromEWKT('SRID=4674;POINT (-38.547462 -3.647758)'))) / (select extract(epoch from '2026-07-18 18:49:14'::timestamp) - extract(epoch from '2026-07-18 18:49:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547448 -3.64783)', '2026-07-18 18:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547462 -3.647758)'), GeomFromEWKT('SRID=4674;POINT (-38.547448 -3.64783)'))) / (select extract(epoch from '2026-07-18 18:49:19'::timestamp) - extract(epoch from '2026-07-18 18:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547462 -3.647758)'), GeomFromEWKT('SRID=4674;POINT (-38.547448 -3.64783)'))) / (select extract(epoch from '2026-07-18 18:49:19'::timestamp) - extract(epoch from '2026-07-18 18:49: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'), 47391, 'SRID=4674;POINT (-38.547431 -3.647913)', '2026-07-18 18:49:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547448 -3.64783)'), GeomFromEWKT('SRID=4674;POINT (-38.547431 -3.647913)'))) / (select extract(epoch from '2026-07-18 18:49:25'::timestamp) - extract(epoch from '2026-07-18 18:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547448 -3.64783)'), GeomFromEWKT('SRID=4674;POINT (-38.547431 -3.647913)'))) / (select extract(epoch from '2026-07-18 18:49:25'::timestamp) - extract(epoch from '2026-07-18 18:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547399 -3.647996)', '2026-07-18 18:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547431 -3.647913)'), GeomFromEWKT('SRID=4674;POINT (-38.547399 -3.647996)'))) / (select extract(epoch from '2026-07-18 18:49:31'::timestamp) - extract(epoch from '2026-07-18 18:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547431 -3.647913)'), GeomFromEWKT('SRID=4674;POINT (-38.547399 -3.647996)'))) / (select extract(epoch from '2026-07-18 18:49:31'::timestamp) - extract(epoch from '2026-07-18 18:49:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547376 -3.648079)', '2026-07-18 18:49:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547399 -3.647996)'), GeomFromEWKT('SRID=4674;POINT (-38.547376 -3.648079)'))) / (select extract(epoch from '2026-07-18 18:49:37'::timestamp) - extract(epoch from '2026-07-18 18:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547399 -3.647996)'), GeomFromEWKT('SRID=4674;POINT (-38.547376 -3.648079)'))) / (select extract(epoch from '2026-07-18 18:49:37'::timestamp) - extract(epoch from '2026-07-18 18:49: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'), 47391, 'SRID=4674;POINT (-38.547341 -3.648148)', '2026-07-18 18:49:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547376 -3.648079)'), GeomFromEWKT('SRID=4674;POINT (-38.547341 -3.648148)'))) / (select extract(epoch from '2026-07-18 18:49:43'::timestamp) - extract(epoch from '2026-07-18 18:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547376 -3.648079)'), GeomFromEWKT('SRID=4674;POINT (-38.547341 -3.648148)'))) / (select extract(epoch from '2026-07-18 18:49:43'::timestamp) - extract(epoch from '2026-07-18 18:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547274 -3.648258)', '2026-07-18 18:49:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547341 -3.648148)'), GeomFromEWKT('SRID=4674;POINT (-38.547274 -3.648258)'))) / (select extract(epoch from '2026-07-18 18:49:51'::timestamp) - extract(epoch from '2026-07-18 18:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547341 -3.648148)'), GeomFromEWKT('SRID=4674;POINT (-38.547274 -3.648258)'))) / (select extract(epoch from '2026-07-18 18:49:51'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.54723 -3.648339)', '2026-07-18 18:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547274 -3.648258)'), GeomFromEWKT('SRID=4674;POINT (-38.54723 -3.648339)'))) / (select extract(epoch from '2026-07-18 18:49:57'::timestamp) - extract(epoch from '2026-07-18 18:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547274 -3.648258)'), GeomFromEWKT('SRID=4674;POINT (-38.54723 -3.648339)'))) / (select extract(epoch from '2026-07-18 18:49:57'::timestamp) - extract(epoch from '2026-07-18 18:49: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'), 47391, 'SRID=4674;POINT (-38.547185 -3.648405)', '2026-07-18 18:50:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54723 -3.648339)'), GeomFromEWKT('SRID=4674;POINT (-38.547185 -3.648405)'))) / (select extract(epoch from '2026-07-18 18:50:03'::timestamp) - extract(epoch from '2026-07-18 18:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54723 -3.648339)'), GeomFromEWKT('SRID=4674;POINT (-38.547185 -3.648405)'))) / (select extract(epoch from '2026-07-18 18:50:03'::timestamp) - extract(epoch from '2026-07-18 18:49:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.547112 -3.648506)', '2026-07-18 18:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547185 -3.648405)'), GeomFromEWKT('SRID=4674;POINT (-38.547112 -3.648506)'))) / (select extract(epoch from '2026-07-18 18:50:11'::timestamp) - extract(epoch from '2026-07-18 18:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547185 -3.648405)'), GeomFromEWKT('SRID=4674;POINT (-38.547112 -3.648506)'))) / (select extract(epoch from '2026-07-18 18:50:11'::timestamp) - extract(epoch from '2026-07-18 18:50: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'), 47391, 'SRID=4674;POINT (-38.547067 -3.648576)', '2026-07-18 18:50:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547112 -3.648506)'), GeomFromEWKT('SRID=4674;POINT (-38.547067 -3.648576)'))) / (select extract(epoch from '2026-07-18 18:50:18'::timestamp) - extract(epoch from '2026-07-18 18:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547112 -3.648506)'), GeomFromEWKT('SRID=4674;POINT (-38.547067 -3.648576)'))) / (select extract(epoch from '2026-07-18 18:50:18'::timestamp) - extract(epoch from '2026-07-18 18:50: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'), 47391, 'SRID=4674;POINT (-38.547011 -3.648685)', '2026-07-18 18:50:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547067 -3.648576)'), GeomFromEWKT('SRID=4674;POINT (-38.547011 -3.648685)'))) / (select extract(epoch from '2026-07-18 18:50:27'::timestamp) - extract(epoch from '2026-07-18 18:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547067 -3.648576)'), GeomFromEWKT('SRID=4674;POINT (-38.547011 -3.648685)'))) / (select extract(epoch from '2026-07-18 18:50:27'::timestamp) - extract(epoch from '2026-07-18 18:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546925 -3.648769)', '2026-07-18 18:50:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547011 -3.648685)'), GeomFromEWKT('SRID=4674;POINT (-38.546925 -3.648769)'))) / (select extract(epoch from '2026-07-18 18:50:36'::timestamp) - extract(epoch from '2026-07-18 18:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.547011 -3.648685)'), GeomFromEWKT('SRID=4674;POINT (-38.546925 -3.648769)'))) / (select extract(epoch from '2026-07-18 18:50:36'::timestamp) - extract(epoch from '2026-07-18 18:50: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'), 47391, 'SRID=4674;POINT (-38.546877 -3.648825)', '2026-07-18 18:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546925 -3.648769)'), GeomFromEWKT('SRID=4674;POINT (-38.546877 -3.648825)'))) / (select extract(epoch from '2026-07-18 18:50:41'::timestamp) - extract(epoch from '2026-07-18 18:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546925 -3.648769)'), GeomFromEWKT('SRID=4674;POINT (-38.546877 -3.648825)'))) / (select extract(epoch from '2026-07-18 18:50:41'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546827 -3.648908)', '2026-07-18 18:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546877 -3.648825)'), GeomFromEWKT('SRID=4674;POINT (-38.546827 -3.648908)'))) / (select extract(epoch from '2026-07-18 18:50:47'::timestamp) - extract(epoch from '2026-07-18 18:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546877 -3.648825)'), GeomFromEWKT('SRID=4674;POINT (-38.546827 -3.648908)'))) / (select extract(epoch from '2026-07-18 18:50:47'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546743 -3.64901)', '2026-07-18 18:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546827 -3.648908)'), GeomFromEWKT('SRID=4674;POINT (-38.546743 -3.64901)'))) / (select extract(epoch from '2026-07-18 18:50:54'::timestamp) - extract(epoch from '2026-07-18 18:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546827 -3.648908)'), GeomFromEWKT('SRID=4674;POINT (-38.546743 -3.64901)'))) / (select extract(epoch from '2026-07-18 18:50:54'::timestamp) - extract(epoch from '2026-07-18 18:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546701 -3.649067)', '2026-07-18 18:50:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546743 -3.64901)'), GeomFromEWKT('SRID=4674;POINT (-38.546701 -3.649067)'))) / (select extract(epoch from '2026-07-18 18:50:59'::timestamp) - extract(epoch from '2026-07-18 18:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546743 -3.64901)'), GeomFromEWKT('SRID=4674;POINT (-38.546701 -3.649067)'))) / (select extract(epoch from '2026-07-18 18:50:59'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546691 -3.649093)', '2026-07-18 18:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546701 -3.649067)'), GeomFromEWKT('SRID=4674;POINT (-38.546691 -3.649093)'))) / (select extract(epoch from '2026-07-18 18:51:01'::timestamp) - extract(epoch from '2026-07-18 18:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546701 -3.649067)'), GeomFromEWKT('SRID=4674;POINT (-38.546691 -3.649093)'))) / (select extract(epoch from '2026-07-18 18:51:01'::timestamp) - extract(epoch from '2026-07-18 18:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546672 -3.649118)', '2026-07-18 18:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546691 -3.649093)'), GeomFromEWKT('SRID=4674;POINT (-38.546672 -3.649118)'))) / (select extract(epoch from '2026-07-18 18:51:04'::timestamp) - extract(epoch from '2026-07-18 18:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546691 -3.649093)'), GeomFromEWKT('SRID=4674;POINT (-38.546672 -3.649118)'))) / (select extract(epoch from '2026-07-18 18:51:04'::timestamp) - extract(epoch from '2026-07-18 18:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546642 -3.64919)', '2026-07-18 18:51:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546672 -3.649118)'), GeomFromEWKT('SRID=4674;POINT (-38.546642 -3.64919)'))) / (select extract(epoch from '2026-07-18 18:51:11'::timestamp) - extract(epoch from '2026-07-18 18:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546672 -3.649118)'), GeomFromEWKT('SRID=4674;POINT (-38.546642 -3.64919)'))) / (select extract(epoch from '2026-07-18 18:51:11'::timestamp) - extract(epoch from '2026-07-18 18:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546617 -3.649269)', '2026-07-18 18:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546642 -3.64919)'), GeomFromEWKT('SRID=4674;POINT (-38.546617 -3.649269)'))) / (select extract(epoch from '2026-07-18 18:51:18'::timestamp) - extract(epoch from '2026-07-18 18:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546642 -3.64919)'), GeomFromEWKT('SRID=4674;POINT (-38.546617 -3.649269)'))) / (select extract(epoch from '2026-07-18 18:51:18'::timestamp) - extract(epoch from '2026-07-18 18:51: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'), 47391, 'SRID=4674;POINT (-38.546612 -3.649278)', '2026-07-18 18:51:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546617 -3.649269)'), GeomFromEWKT('SRID=4674;POINT (-38.546612 -3.649278)'))) / (select extract(epoch from '2026-07-18 18:51:19'::timestamp) - extract(epoch from '2026-07-18 18:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546617 -3.649269)'), GeomFromEWKT('SRID=4674;POINT (-38.546612 -3.649278)'))) / (select extract(epoch from '2026-07-18 18:51:19'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546604 -3.649298)', '2026-07-18 18:51:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546612 -3.649278)'), GeomFromEWKT('SRID=4674;POINT (-38.546604 -3.649298)'))) / (select extract(epoch from '2026-07-18 18:51:21'::timestamp) - extract(epoch from '2026-07-18 18:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546612 -3.649278)'), GeomFromEWKT('SRID=4674;POINT (-38.546604 -3.649298)'))) / (select extract(epoch from '2026-07-18 18:51:21'::timestamp) - extract(epoch from '2026-07-18 18:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546602 -3.649325)', '2026-07-18 18:51:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546604 -3.649298)'), GeomFromEWKT('SRID=4674;POINT (-38.546602 -3.649325)'))) / (select extract(epoch from '2026-07-18 18:51:23'::timestamp) - extract(epoch from '2026-07-18 18:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546604 -3.649298)'), GeomFromEWKT('SRID=4674;POINT (-38.546602 -3.649325)'))) / (select extract(epoch from '2026-07-18 18:51:23'::timestamp) - extract(epoch from '2026-07-18 18:51: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'), 47391, 'SRID=4674;POINT (-38.546586 -3.649365)', '2026-07-18 18:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546602 -3.649325)'), GeomFromEWKT('SRID=4674;POINT (-38.546586 -3.649365)'))) / (select extract(epoch from '2026-07-18 18:51:26'::timestamp) - extract(epoch from '2026-07-18 18:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546602 -3.649325)'), GeomFromEWKT('SRID=4674;POINT (-38.546586 -3.649365)'))) / (select extract(epoch from '2026-07-18 18:51:26'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546579 -3.649394)', '2026-07-18 18:51:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546586 -3.649365)'), GeomFromEWKT('SRID=4674;POINT (-38.546579 -3.649394)'))) / (select extract(epoch from '2026-07-18 18:51:28'::timestamp) - extract(epoch from '2026-07-18 18:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546586 -3.649365)'), GeomFromEWKT('SRID=4674;POINT (-38.546579 -3.649394)'))) / (select extract(epoch from '2026-07-18 18:51:28'::timestamp) - extract(epoch from '2026-07-18 18:51:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546546 -3.649486)', '2026-07-18 18:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546579 -3.649394)'), GeomFromEWKT('SRID=4674;POINT (-38.546546 -3.649486)'))) / (select extract(epoch from '2026-07-18 18:51:34'::timestamp) - extract(epoch from '2026-07-18 18:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546579 -3.649394)'), GeomFromEWKT('SRID=4674;POINT (-38.546546 -3.649486)'))) / (select extract(epoch from '2026-07-18 18:51:34'::timestamp) - extract(epoch from '2026-07-18 18:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546502 -3.649604)', '2026-07-18 18:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546546 -3.649486)'), GeomFromEWKT('SRID=4674;POINT (-38.546502 -3.649604)'))) / (select extract(epoch from '2026-07-18 18:51:42'::timestamp) - extract(epoch from '2026-07-18 18:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546546 -3.649486)'), GeomFromEWKT('SRID=4674;POINT (-38.546502 -3.649604)'))) / (select extract(epoch from '2026-07-18 18:51:42'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546459 -3.649706)', '2026-07-18 18:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546502 -3.649604)'), GeomFromEWKT('SRID=4674;POINT (-38.546459 -3.649706)'))) / (select extract(epoch from '2026-07-18 18:51:50'::timestamp) - extract(epoch from '2026-07-18 18:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546502 -3.649604)'), GeomFromEWKT('SRID=4674;POINT (-38.546459 -3.649706)'))) / (select extract(epoch from '2026-07-18 18:51:50'::timestamp) - extract(epoch from '2026-07-18 18:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546384 -3.649811)', '2026-07-18 18:51:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546459 -3.649706)'), GeomFromEWKT('SRID=4674;POINT (-38.546384 -3.649811)'))) / (select extract(epoch from '2026-07-18 18:51:59'::timestamp) - extract(epoch from '2026-07-18 18:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546459 -3.649706)'), GeomFromEWKT('SRID=4674;POINT (-38.546384 -3.649811)'))) / (select extract(epoch from '2026-07-18 18:51:59'::timestamp) - extract(epoch from '2026-07-18 18:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546372 -3.649827)', '2026-07-18 18:52:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546384 -3.649811)'), GeomFromEWKT('SRID=4674;POINT (-38.546372 -3.649827)'))) / (select extract(epoch from '2026-07-18 18:52:01'::timestamp) - extract(epoch from '2026-07-18 18:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546384 -3.649811)'), GeomFromEWKT('SRID=4674;POINT (-38.546372 -3.649827)'))) / (select extract(epoch from '2026-07-18 18:52:01'::timestamp) - extract(epoch from '2026-07-18 18:51: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'), 47391, 'SRID=4674;POINT (-38.546346 -3.649865)', '2026-07-18 18:52:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546372 -3.649827)'), GeomFromEWKT('SRID=4674;POINT (-38.546346 -3.649865)'))) / (select extract(epoch from '2026-07-18 18:52:05'::timestamp) - extract(epoch from '2026-07-18 18:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546372 -3.649827)'), GeomFromEWKT('SRID=4674;POINT (-38.546346 -3.649865)'))) / (select extract(epoch from '2026-07-18 18:52:05'::timestamp) - extract(epoch from '2026-07-18 18:52: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'), 47391, 'SRID=4674;POINT (-38.546332 -3.649885)', '2026-07-18 18:52:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546346 -3.649865)'), GeomFromEWKT('SRID=4674;POINT (-38.546332 -3.649885)'))) / (select extract(epoch from '2026-07-18 18:52:07'::timestamp) - extract(epoch from '2026-07-18 18:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546346 -3.649865)'), GeomFromEWKT('SRID=4674;POINT (-38.546332 -3.649885)'))) / (select extract(epoch from '2026-07-18 18:52:07'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546323 -3.649909)', '2026-07-18 18:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546332 -3.649885)'), GeomFromEWKT('SRID=4674;POINT (-38.546323 -3.649909)'))) / (select extract(epoch from '2026-07-18 18:52:09'::timestamp) - extract(epoch from '2026-07-18 18:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546332 -3.649885)'), GeomFromEWKT('SRID=4674;POINT (-38.546323 -3.649909)'))) / (select extract(epoch from '2026-07-18 18:52:09'::timestamp) - extract(epoch from '2026-07-18 18:52: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'), 47391, 'SRID=4674;POINT (-38.546313 -3.649918)', '2026-07-18 18:52:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546323 -3.649909)'), GeomFromEWKT('SRID=4674;POINT (-38.546313 -3.649918)'))) / (select extract(epoch from '2026-07-18 18:52:10'::timestamp) - extract(epoch from '2026-07-18 18:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546323 -3.649909)'), GeomFromEWKT('SRID=4674;POINT (-38.546313 -3.649918)'))) / (select extract(epoch from '2026-07-18 18:52:10'::timestamp) - extract(epoch from '2026-07-18 18:52: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'), 47391, 'SRID=4674;POINT (-38.546295 -3.649951)', '2026-07-18 18:52:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546313 -3.649918)'), GeomFromEWKT('SRID=4674;POINT (-38.546295 -3.649951)'))) / (select extract(epoch from '2026-07-18 18:52:13'::timestamp) - extract(epoch from '2026-07-18 18:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546313 -3.649918)'), GeomFromEWKT('SRID=4674;POINT (-38.546295 -3.649951)'))) / (select extract(epoch from '2026-07-18 18:52:13'::timestamp) - extract(epoch from '2026-07-18 18:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546279 -3.649984)', '2026-07-18 18:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546295 -3.649951)'), GeomFromEWKT('SRID=4674;POINT (-38.546279 -3.649984)'))) / (select extract(epoch from '2026-07-18 18:52:16'::timestamp) - extract(epoch from '2026-07-18 18:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546295 -3.649951)'), GeomFromEWKT('SRID=4674;POINT (-38.546279 -3.649984)'))) / (select extract(epoch from '2026-07-18 18:52:16'::timestamp) - extract(epoch from '2026-07-18 18:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.546225 -3.650055)', '2026-07-18 18:52:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546279 -3.649984)'), GeomFromEWKT('SRID=4674;POINT (-38.546225 -3.650055)'))) / (select extract(epoch from '2026-07-18 18:52:23'::timestamp) - extract(epoch from '2026-07-18 18:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546279 -3.649984)'), GeomFromEWKT('SRID=4674;POINT (-38.546225 -3.650055)'))) / (select extract(epoch from '2026-07-18 18:52:23'::timestamp) - extract(epoch from '2026-07-18 18:52: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'), 47391, 'SRID=4674;POINT (-38.546162 -3.650138)', '2026-07-18 18:52:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546225 -3.650055)'), GeomFromEWKT('SRID=4674;POINT (-38.546162 -3.650138)'))) / (select extract(epoch from '2026-07-18 18:52:30'::timestamp) - extract(epoch from '2026-07-18 18:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546225 -3.650055)'), GeomFromEWKT('SRID=4674;POINT (-38.546162 -3.650138)'))) / (select extract(epoch from '2026-07-18 18:52:30'::timestamp) - extract(epoch from '2026-07-18 18:52: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'), 47391, 'SRID=4674;POINT (-38.546087 -3.650208)', '2026-07-18 18:52:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546162 -3.650138)'), GeomFromEWKT('SRID=4674;POINT (-38.546087 -3.650208)'))) / (select extract(epoch from '2026-07-18 18:52:37'::timestamp) - extract(epoch from '2026-07-18 18:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546162 -3.650138)'), GeomFromEWKT('SRID=4674;POINT (-38.546087 -3.650208)'))) / (select extract(epoch from '2026-07-18 18:52:37'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546046 -3.65029)', '2026-07-18 18:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546087 -3.650208)'), GeomFromEWKT('SRID=4674;POINT (-38.546046 -3.65029)'))) / (select extract(epoch from '2026-07-18 18:52:44'::timestamp) - extract(epoch from '2026-07-18 18:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546087 -3.650208)'), GeomFromEWKT('SRID=4674;POINT (-38.546046 -3.65029)'))) / (select extract(epoch from '2026-07-18 18:52:44'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.546016 -3.650361)', '2026-07-18 18:52:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546046 -3.65029)'), GeomFromEWKT('SRID=4674;POINT (-38.546016 -3.650361)'))) / (select extract(epoch from '2026-07-18 18:52:50'::timestamp) - extract(epoch from '2026-07-18 18:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546046 -3.65029)'), GeomFromEWKT('SRID=4674;POINT (-38.546016 -3.650361)'))) / (select extract(epoch from '2026-07-18 18:52:50'::timestamp) - extract(epoch from '2026-07-18 18:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545993 -3.650477)', '2026-07-18 18:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546016 -3.650361)'), GeomFromEWKT('SRID=4674;POINT (-38.545993 -3.650477)'))) / (select extract(epoch from '2026-07-18 18:52:58'::timestamp) - extract(epoch from '2026-07-18 18:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.546016 -3.650361)'), GeomFromEWKT('SRID=4674;POINT (-38.545993 -3.650477)'))) / (select extract(epoch from '2026-07-18 18:52:58'::timestamp) - extract(epoch from '2026-07-18 18:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545968 -3.650576)', '2026-07-18 18:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545993 -3.650477)'), GeomFromEWKT('SRID=4674;POINT (-38.545968 -3.650576)'))) / (select extract(epoch from '2026-07-18 18:53:05'::timestamp) - extract(epoch from '2026-07-18 18:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545993 -3.650477)'), GeomFromEWKT('SRID=4674;POINT (-38.545968 -3.650576)'))) / (select extract(epoch from '2026-07-18 18:53:05'::timestamp) - extract(epoch from '2026-07-18 18:52: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'), 47391, 'SRID=4674;POINT (-38.545939 -3.650654)', '2026-07-18 18:53:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545968 -3.650576)'), GeomFromEWKT('SRID=4674;POINT (-38.545939 -3.650654)'))) / (select extract(epoch from '2026-07-18 18:53:10'::timestamp) - extract(epoch from '2026-07-18 18:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545968 -3.650576)'), GeomFromEWKT('SRID=4674;POINT (-38.545939 -3.650654)'))) / (select extract(epoch from '2026-07-18 18:53:10'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.545874 -3.65074)', '2026-07-18 18:53:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545939 -3.650654)'), GeomFromEWKT('SRID=4674;POINT (-38.545874 -3.65074)'))) / (select extract(epoch from '2026-07-18 18:53:17'::timestamp) - extract(epoch from '2026-07-18 18:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545939 -3.650654)'), GeomFromEWKT('SRID=4674;POINT (-38.545874 -3.65074)'))) / (select extract(epoch from '2026-07-18 18:53:17'::timestamp) - extract(epoch from '2026-07-18 18:53: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'), 47391, 'SRID=4674;POINT (-38.545859 -3.650761)', '2026-07-18 18:53:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545874 -3.65074)'), GeomFromEWKT('SRID=4674;POINT (-38.545859 -3.650761)'))) / (select extract(epoch from '2026-07-18 18:53:19'::timestamp) - extract(epoch from '2026-07-18 18:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545874 -3.65074)'), GeomFromEWKT('SRID=4674;POINT (-38.545859 -3.650761)'))) / (select extract(epoch from '2026-07-18 18:53:19'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.545829 -3.650824)', '2026-07-18 18:53:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545859 -3.650761)'), GeomFromEWKT('SRID=4674;POINT (-38.545829 -3.650824)'))) / (select extract(epoch from '2026-07-18 18:53:24'::timestamp) - extract(epoch from '2026-07-18 18:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545859 -3.650761)'), GeomFromEWKT('SRID=4674;POINT (-38.545829 -3.650824)'))) / (select extract(epoch from '2026-07-18 18:53:24'::timestamp) - extract(epoch from '2026-07-18 18:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545824 -3.650834)', '2026-07-18 18:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545829 -3.650824)'), GeomFromEWKT('SRID=4674;POINT (-38.545824 -3.650834)'))) / (select extract(epoch from '2026-07-18 18:53:25'::timestamp) - extract(epoch from '2026-07-18 18:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545829 -3.650824)'), GeomFromEWKT('SRID=4674;POINT (-38.545824 -3.650834)'))) / (select extract(epoch from '2026-07-18 18:53:25'::timestamp) - extract(epoch from '2026-07-18 18:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545787 -3.650919)', '2026-07-18 18:53:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545824 -3.650834)'), GeomFromEWKT('SRID=4674;POINT (-38.545787 -3.650919)'))) / (select extract(epoch from '2026-07-18 18:53:31'::timestamp) - extract(epoch from '2026-07-18 18:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545824 -3.650834)'), GeomFromEWKT('SRID=4674;POINT (-38.545787 -3.650919)'))) / (select extract(epoch from '2026-07-18 18:53:31'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.545751 -3.651008)', '2026-07-18 18:53:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545787 -3.650919)'), GeomFromEWKT('SRID=4674;POINT (-38.545751 -3.651008)'))) / (select extract(epoch from '2026-07-18 18:53:38'::timestamp) - extract(epoch from '2026-07-18 18:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545787 -3.650919)'), GeomFromEWKT('SRID=4674;POINT (-38.545751 -3.651008)'))) / (select extract(epoch from '2026-07-18 18:53:38'::timestamp) - extract(epoch from '2026-07-18 18:53: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'), 47391, 'SRID=4674;POINT (-38.545706 -3.651077)', '2026-07-18 18:53:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545751 -3.651008)'), GeomFromEWKT('SRID=4674;POINT (-38.545706 -3.651077)'))) / (select extract(epoch from '2026-07-18 18:53:44'::timestamp) - extract(epoch from '2026-07-18 18:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545751 -3.651008)'), GeomFromEWKT('SRID=4674;POINT (-38.545706 -3.651077)'))) / (select extract(epoch from '2026-07-18 18:53:44'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.545679 -3.651147)', '2026-07-18 18:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545706 -3.651077)'), GeomFromEWKT('SRID=4674;POINT (-38.545679 -3.651147)'))) / (select extract(epoch from '2026-07-18 18:53:49'::timestamp) - extract(epoch from '2026-07-18 18:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545706 -3.651077)'), GeomFromEWKT('SRID=4674;POINT (-38.545679 -3.651147)'))) / (select extract(epoch from '2026-07-18 18:53:49'::timestamp) - extract(epoch from '2026-07-18 18:53: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'), 47391, 'SRID=4674;POINT (-38.545673 -3.65116)', '2026-07-18 18:53:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545679 -3.651147)'), GeomFromEWKT('SRID=4674;POINT (-38.545673 -3.65116)'))) / (select extract(epoch from '2026-07-18 18:53:50'::timestamp) - extract(epoch from '2026-07-18 18:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545679 -3.651147)'), GeomFromEWKT('SRID=4674;POINT (-38.545673 -3.65116)'))) / (select extract(epoch from '2026-07-18 18:53:50'::timestamp) - extract(epoch from '2026-07-18 18:53: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'), 47391, 'SRID=4674;POINT (-38.545652 -3.651209)', '2026-07-18 18:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545673 -3.65116)'), GeomFromEWKT('SRID=4674;POINT (-38.545652 -3.651209)'))) / (select extract(epoch from '2026-07-18 18:53:54'::timestamp) - extract(epoch from '2026-07-18 18:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545673 -3.65116)'), GeomFromEWKT('SRID=4674;POINT (-38.545652 -3.651209)'))) / (select extract(epoch from '2026-07-18 18:53:54'::timestamp) - extract(epoch from '2026-07-18 18:53:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545605 -3.651271)', '2026-07-18 18:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545652 -3.651209)'), GeomFromEWKT('SRID=4674;POINT (-38.545605 -3.651271)'))) / (select extract(epoch from '2026-07-18 18:54:00'::timestamp) - extract(epoch from '2026-07-18 18:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545652 -3.651209)'), GeomFromEWKT('SRID=4674;POINT (-38.545605 -3.651271)'))) / (select extract(epoch from '2026-07-18 18:54:00'::timestamp) - extract(epoch from '2026-07-18 18:53: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'), 47391, 'SRID=4674;POINT (-38.545554 -3.651366)', '2026-07-18 18:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545605 -3.651271)'), GeomFromEWKT('SRID=4674;POINT (-38.545554 -3.651366)'))) / (select extract(epoch from '2026-07-18 18:54:07'::timestamp) - extract(epoch from '2026-07-18 18:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545605 -3.651271)'), GeomFromEWKT('SRID=4674;POINT (-38.545554 -3.651366)'))) / (select extract(epoch from '2026-07-18 18:54:07'::timestamp) - extract(epoch from '2026-07-18 18:54: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'), 47391, 'SRID=4674;POINT (-38.5455 -3.651451)', '2026-07-18 18:54:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545554 -3.651366)'), GeomFromEWKT('SRID=4674;POINT (-38.5455 -3.651451)'))) / (select extract(epoch from '2026-07-18 18:54:13'::timestamp) - extract(epoch from '2026-07-18 18:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545554 -3.651366)'), GeomFromEWKT('SRID=4674;POINT (-38.5455 -3.651451)'))) / (select extract(epoch from '2026-07-18 18:54:13'::timestamp) - extract(epoch from '2026-07-18 18:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545439 -3.651548)', '2026-07-18 18:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5455 -3.651451)'), GeomFromEWKT('SRID=4674;POINT (-38.545439 -3.651548)'))) / (select extract(epoch from '2026-07-18 18:54:20'::timestamp) - extract(epoch from '2026-07-18 18:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5455 -3.651451)'), GeomFromEWKT('SRID=4674;POINT (-38.545439 -3.651548)'))) / (select extract(epoch from '2026-07-18 18:54:20'::timestamp) - extract(epoch from '2026-07-18 18:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545364 -3.651661)', '2026-07-18 18:54:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545439 -3.651548)'), GeomFromEWKT('SRID=4674;POINT (-38.545364 -3.651661)'))) / (select extract(epoch from '2026-07-18 18:54:28'::timestamp) - extract(epoch from '2026-07-18 18:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545439 -3.651548)'), GeomFromEWKT('SRID=4674;POINT (-38.545364 -3.651661)'))) / (select extract(epoch from '2026-07-18 18:54:28'::timestamp) - extract(epoch from '2026-07-18 18:54: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'), 47391, 'SRID=4674;POINT (-38.5453 -3.651749)', '2026-07-18 18:54:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545364 -3.651661)'), GeomFromEWKT('SRID=4674;POINT (-38.5453 -3.651749)'))) / (select extract(epoch from '2026-07-18 18:54:35'::timestamp) - extract(epoch from '2026-07-18 18:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545364 -3.651661)'), GeomFromEWKT('SRID=4674;POINT (-38.5453 -3.651749)'))) / (select extract(epoch from '2026-07-18 18:54:35'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.545241 -3.651814)', '2026-07-18 18:54:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5453 -3.651749)'), GeomFromEWKT('SRID=4674;POINT (-38.545241 -3.651814)'))) / (select extract(epoch from '2026-07-18 18:54:41'::timestamp) - extract(epoch from '2026-07-18 18:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5453 -3.651749)'), GeomFromEWKT('SRID=4674;POINT (-38.545241 -3.651814)'))) / (select extract(epoch from '2026-07-18 18:54:41'::timestamp) - extract(epoch from '2026-07-18 18:54: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'), 47391, 'SRID=4674;POINT (-38.5452 -3.651876)', '2026-07-18 18:54:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545241 -3.651814)'), GeomFromEWKT('SRID=4674;POINT (-38.5452 -3.651876)'))) / (select extract(epoch from '2026-07-18 18:54:47'::timestamp) - extract(epoch from '2026-07-18 18:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545241 -3.651814)'), GeomFromEWKT('SRID=4674;POINT (-38.5452 -3.651876)'))) / (select extract(epoch from '2026-07-18 18:54:47'::timestamp) - extract(epoch from '2026-07-18 18:54: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'), 47391, 'SRID=4674;POINT (-38.545129 -3.651984)', '2026-07-18 18:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5452 -3.651876)'), GeomFromEWKT('SRID=4674;POINT (-38.545129 -3.651984)'))) / (select extract(epoch from '2026-07-18 18:54:55'::timestamp) - extract(epoch from '2026-07-18 18:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5452 -3.651876)'), GeomFromEWKT('SRID=4674;POINT (-38.545129 -3.651984)'))) / (select extract(epoch from '2026-07-18 18:54:55'::timestamp) - extract(epoch from '2026-07-18 18:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545073 -3.652056)', '2026-07-18 18:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545129 -3.651984)'), GeomFromEWKT('SRID=4674;POINT (-38.545073 -3.652056)'))) / (select extract(epoch from '2026-07-18 18:55:01'::timestamp) - extract(epoch from '2026-07-18 18:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545129 -3.651984)'), GeomFromEWKT('SRID=4674;POINT (-38.545073 -3.652056)'))) / (select extract(epoch from '2026-07-18 18:55:01'::timestamp) - extract(epoch from '2026-07-18 18:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.545047 -3.652157)', '2026-07-18 18:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545073 -3.652056)'), GeomFromEWKT('SRID=4674;POINT (-38.545047 -3.652157)'))) / (select extract(epoch from '2026-07-18 18:55:08'::timestamp) - extract(epoch from '2026-07-18 18:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545073 -3.652056)'), GeomFromEWKT('SRID=4674;POINT (-38.545047 -3.652157)'))) / (select extract(epoch from '2026-07-18 18:55:08'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.544994 -3.652272)', '2026-07-18 18:55:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545047 -3.652157)'), GeomFromEWKT('SRID=4674;POINT (-38.544994 -3.652272)'))) / (select extract(epoch from '2026-07-18 18:55:16'::timestamp) - extract(epoch from '2026-07-18 18:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.545047 -3.652157)'), GeomFromEWKT('SRID=4674;POINT (-38.544994 -3.652272)'))) / (select extract(epoch from '2026-07-18 18:55:16'::timestamp) - extract(epoch from '2026-07-18 18:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54495 -3.652361)', '2026-07-18 18:55:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544994 -3.652272)'), GeomFromEWKT('SRID=4674;POINT (-38.54495 -3.652361)'))) / (select extract(epoch from '2026-07-18 18:55:23'::timestamp) - extract(epoch from '2026-07-18 18:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544994 -3.652272)'), GeomFromEWKT('SRID=4674;POINT (-38.54495 -3.652361)'))) / (select extract(epoch from '2026-07-18 18:55:23'::timestamp) - extract(epoch from '2026-07-18 18:55: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'), 47391, 'SRID=4674;POINT (-38.544894 -3.652427)', '2026-07-18 18:55:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54495 -3.652361)'), GeomFromEWKT('SRID=4674;POINT (-38.544894 -3.652427)'))) / (select extract(epoch from '2026-07-18 18:55:30'::timestamp) - extract(epoch from '2026-07-18 18:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54495 -3.652361)'), GeomFromEWKT('SRID=4674;POINT (-38.544894 -3.652427)'))) / (select extract(epoch from '2026-07-18 18:55:30'::timestamp) - extract(epoch from '2026-07-18 18:55: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'), 47391, 'SRID=4674;POINT (-38.544857 -3.652497)', '2026-07-18 18:55:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544894 -3.652427)'), GeomFromEWKT('SRID=4674;POINT (-38.544857 -3.652497)'))) / (select extract(epoch from '2026-07-18 18:55:37'::timestamp) - extract(epoch from '2026-07-18 18:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544894 -3.652427)'), GeomFromEWKT('SRID=4674;POINT (-38.544857 -3.652497)'))) / (select extract(epoch from '2026-07-18 18:55:37'::timestamp) - extract(epoch from '2026-07-18 18:55: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'), 47391, 'SRID=4674;POINT (-38.544815 -3.652585)', '2026-07-18 18:55:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544857 -3.652497)'), GeomFromEWKT('SRID=4674;POINT (-38.544815 -3.652585)'))) / (select extract(epoch from '2026-07-18 18:55:44'::timestamp) - extract(epoch from '2026-07-18 18:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544857 -3.652497)'), GeomFromEWKT('SRID=4674;POINT (-38.544815 -3.652585)'))) / (select extract(epoch from '2026-07-18 18:55:44'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.544796 -3.65262)', '2026-07-18 18:55:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544815 -3.652585)'), GeomFromEWKT('SRID=4674;POINT (-38.544796 -3.65262)'))) / (select extract(epoch from '2026-07-18 18:55:48'::timestamp) - extract(epoch from '2026-07-18 18:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544815 -3.652585)'), GeomFromEWKT('SRID=4674;POINT (-38.544796 -3.65262)'))) / (select extract(epoch from '2026-07-18 18:55:48'::timestamp) - extract(epoch from '2026-07-18 18:55: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'), 47391, 'SRID=4674;POINT (-38.544788 -3.65264)', '2026-07-18 18:55:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544796 -3.65262)'), GeomFromEWKT('SRID=4674;POINT (-38.544788 -3.65264)'))) / (select extract(epoch from '2026-07-18 18:55:50'::timestamp) - extract(epoch from '2026-07-18 18:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544796 -3.65262)'), GeomFromEWKT('SRID=4674;POINT (-38.544788 -3.65264)'))) / (select extract(epoch from '2026-07-18 18:55:50'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.544764 -3.65267)', '2026-07-18 18:55:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544788 -3.65264)'), GeomFromEWKT('SRID=4674;POINT (-38.544764 -3.65267)'))) / (select extract(epoch from '2026-07-18 18:55:53'::timestamp) - extract(epoch from '2026-07-18 18:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544788 -3.65264)'), GeomFromEWKT('SRID=4674;POINT (-38.544764 -3.65267)'))) / (select extract(epoch from '2026-07-18 18:55:53'::timestamp) - extract(epoch from '2026-07-18 18:55:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544757 -3.652702)', '2026-07-18 18:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544764 -3.65267)'), GeomFromEWKT('SRID=4674;POINT (-38.544757 -3.652702)'))) / (select extract(epoch from '2026-07-18 18:55:56'::timestamp) - extract(epoch from '2026-07-18 18:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544764 -3.65267)'), GeomFromEWKT('SRID=4674;POINT (-38.544757 -3.652702)'))) / (select extract(epoch from '2026-07-18 18:55:56'::timestamp) - extract(epoch from '2026-07-18 18:55: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'), 47391, 'SRID=4674;POINT (-38.544742 -3.652728)', '2026-07-18 18:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544757 -3.652702)'), GeomFromEWKT('SRID=4674;POINT (-38.544742 -3.652728)'))) / (select extract(epoch from '2026-07-18 18:55:59'::timestamp) - extract(epoch from '2026-07-18 18:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544757 -3.652702)'), GeomFromEWKT('SRID=4674;POINT (-38.544742 -3.652728)'))) / (select extract(epoch from '2026-07-18 18:55:59'::timestamp) - extract(epoch from '2026-07-18 18:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544729 -3.652788)', '2026-07-18 18:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544742 -3.652728)'), GeomFromEWKT('SRID=4674;POINT (-38.544729 -3.652788)'))) / (select extract(epoch from '2026-07-18 18:56:03'::timestamp) - extract(epoch from '2026-07-18 18:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544742 -3.652728)'), GeomFromEWKT('SRID=4674;POINT (-38.544729 -3.652788)'))) / (select extract(epoch from '2026-07-18 18:56:03'::timestamp) - extract(epoch from '2026-07-18 18:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544688 -3.652945)', '2026-07-18 18:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544729 -3.652788)'), GeomFromEWKT('SRID=4674;POINT (-38.544688 -3.652945)'))) / (select extract(epoch from '2026-07-18 18:56:13'::timestamp) - extract(epoch from '2026-07-18 18:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544729 -3.652788)'), GeomFromEWKT('SRID=4674;POINT (-38.544688 -3.652945)'))) / (select extract(epoch from '2026-07-18 18:56:13'::timestamp) - extract(epoch from '2026-07-18 18:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544649 -3.653058)', '2026-07-18 18:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544688 -3.652945)'), GeomFromEWKT('SRID=4674;POINT (-38.544649 -3.653058)'))) / (select extract(epoch from '2026-07-18 18:56:21'::timestamp) - extract(epoch from '2026-07-18 18:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544688 -3.652945)'), GeomFromEWKT('SRID=4674;POINT (-38.544649 -3.653058)'))) / (select extract(epoch from '2026-07-18 18:56:21'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.544617 -3.65313)', '2026-07-18 18:56:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544649 -3.653058)'), GeomFromEWKT('SRID=4674;POINT (-38.544617 -3.65313)'))) / (select extract(epoch from '2026-07-18 18:56:27'::timestamp) - extract(epoch from '2026-07-18 18:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544649 -3.653058)'), GeomFromEWKT('SRID=4674;POINT (-38.544617 -3.65313)'))) / (select extract(epoch from '2026-07-18 18:56:27'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.544583 -3.653227)', '2026-07-18 18:56:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544617 -3.65313)'), GeomFromEWKT('SRID=4674;POINT (-38.544583 -3.653227)'))) / (select extract(epoch from '2026-07-18 18:56:35'::timestamp) - extract(epoch from '2026-07-18 18:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544617 -3.65313)'), GeomFromEWKT('SRID=4674;POINT (-38.544583 -3.653227)'))) / (select extract(epoch from '2026-07-18 18:56:35'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.54458 -3.653236)', '2026-07-18 18:56:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544583 -3.653227)'), GeomFromEWKT('SRID=4674;POINT (-38.54458 -3.653236)'))) / (select extract(epoch from '2026-07-18 18:56:36'::timestamp) - extract(epoch from '2026-07-18 18:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544583 -3.653227)'), GeomFromEWKT('SRID=4674;POINT (-38.54458 -3.653236)'))) / (select extract(epoch from '2026-07-18 18:56:36'::timestamp) - extract(epoch from '2026-07-18 18:56: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'), 47391, 'SRID=4674;POINT (-38.544559 -3.653295)', '2026-07-18 18:56:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54458 -3.653236)'), GeomFromEWKT('SRID=4674;POINT (-38.544559 -3.653295)'))) / (select extract(epoch from '2026-07-18 18:56:41'::timestamp) - extract(epoch from '2026-07-18 18:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54458 -3.653236)'), GeomFromEWKT('SRID=4674;POINT (-38.544559 -3.653295)'))) / (select extract(epoch from '2026-07-18 18:56:41'::timestamp) - extract(epoch from '2026-07-18 18:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544526 -3.653387)', '2026-07-18 18:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544559 -3.653295)'), GeomFromEWKT('SRID=4674;POINT (-38.544526 -3.653387)'))) / (select extract(epoch from '2026-07-18 18:56:48'::timestamp) - extract(epoch from '2026-07-18 18:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544559 -3.653295)'), GeomFromEWKT('SRID=4674;POINT (-38.544526 -3.653387)'))) / (select extract(epoch from '2026-07-18 18:56:48'::timestamp) - extract(epoch from '2026-07-18 18:56: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'), 47391, 'SRID=4674;POINT (-38.544483 -3.653467)', '2026-07-18 18:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544526 -3.653387)'), GeomFromEWKT('SRID=4674;POINT (-38.544483 -3.653467)'))) / (select extract(epoch from '2026-07-18 18:56:55'::timestamp) - extract(epoch from '2026-07-18 18:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544526 -3.653387)'), GeomFromEWKT('SRID=4674;POINT (-38.544483 -3.653467)'))) / (select extract(epoch from '2026-07-18 18:56:55'::timestamp) - extract(epoch from '2026-07-18 18:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544435 -3.653546)', '2026-07-18 18:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544483 -3.653467)'), GeomFromEWKT('SRID=4674;POINT (-38.544435 -3.653546)'))) / (select extract(epoch from '2026-07-18 18:57:02'::timestamp) - extract(epoch from '2026-07-18 18:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544483 -3.653467)'), GeomFromEWKT('SRID=4674;POINT (-38.544435 -3.653546)'))) / (select extract(epoch from '2026-07-18 18:57:02'::timestamp) - extract(epoch from '2026-07-18 18:56: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'), 47391, 'SRID=4674;POINT (-38.544381 -3.653638)', '2026-07-18 18:57:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544435 -3.653546)'), GeomFromEWKT('SRID=4674;POINT (-38.544381 -3.653638)'))) / (select extract(epoch from '2026-07-18 18:57:10'::timestamp) - extract(epoch from '2026-07-18 18:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544435 -3.653546)'), GeomFromEWKT('SRID=4674;POINT (-38.544381 -3.653638)'))) / (select extract(epoch from '2026-07-18 18:57:10'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.544352 -3.653741)', '2026-07-18 18:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544381 -3.653638)'), GeomFromEWKT('SRID=4674;POINT (-38.544352 -3.653741)'))) / (select extract(epoch from '2026-07-18 18:57:17'::timestamp) - extract(epoch from '2026-07-18 18:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544381 -3.653638)'), GeomFromEWKT('SRID=4674;POINT (-38.544352 -3.653741)'))) / (select extract(epoch from '2026-07-18 18:57:17'::timestamp) - extract(epoch from '2026-07-18 18:57: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'), 47391, 'SRID=4674;POINT (-38.544315 -3.653831)', '2026-07-18 18:57:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544352 -3.653741)'), GeomFromEWKT('SRID=4674;POINT (-38.544315 -3.653831)'))) / (select extract(epoch from '2026-07-18 18:57:24'::timestamp) - extract(epoch from '2026-07-18 18:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544352 -3.653741)'), GeomFromEWKT('SRID=4674;POINT (-38.544315 -3.653831)'))) / (select extract(epoch from '2026-07-18 18:57:24'::timestamp) - extract(epoch from '2026-07-18 18:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544273 -3.653948)', '2026-07-18 18:57:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544315 -3.653831)'), GeomFromEWKT('SRID=4674;POINT (-38.544273 -3.653948)'))) / (select extract(epoch from '2026-07-18 18:57:32'::timestamp) - extract(epoch from '2026-07-18 18:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544315 -3.653831)'), GeomFromEWKT('SRID=4674;POINT (-38.544273 -3.653948)'))) / (select extract(epoch from '2026-07-18 18:57:32'::timestamp) - extract(epoch from '2026-07-18 18:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544227 -3.654035)', '2026-07-18 18:57:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544273 -3.653948)'), GeomFromEWKT('SRID=4674;POINT (-38.544227 -3.654035)'))) / (select extract(epoch from '2026-07-18 18:57:39'::timestamp) - extract(epoch from '2026-07-18 18:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544273 -3.653948)'), GeomFromEWKT('SRID=4674;POINT (-38.544227 -3.654035)'))) / (select extract(epoch from '2026-07-18 18:57:39'::timestamp) - extract(epoch from '2026-07-18 18:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.544179 -3.654113)', '2026-07-18 18:57:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544227 -3.654035)'), GeomFromEWKT('SRID=4674;POINT (-38.544179 -3.654113)'))) / (select extract(epoch from '2026-07-18 18:57:45'::timestamp) - extract(epoch from '2026-07-18 18:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544227 -3.654035)'), GeomFromEWKT('SRID=4674;POINT (-38.544179 -3.654113)'))) / (select extract(epoch from '2026-07-18 18:57:45'::timestamp) - extract(epoch from '2026-07-18 18:57: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'), 47391, 'SRID=4674;POINT (-38.544126 -3.654187)', '2026-07-18 18:57:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544179 -3.654113)'), GeomFromEWKT('SRID=4674;POINT (-38.544126 -3.654187)'))) / (select extract(epoch from '2026-07-18 18:57:51'::timestamp) - extract(epoch from '2026-07-18 18:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544179 -3.654113)'), GeomFromEWKT('SRID=4674;POINT (-38.544126 -3.654187)'))) / (select extract(epoch from '2026-07-18 18:57:51'::timestamp) - extract(epoch from '2026-07-18 18:57: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'), 47391, 'SRID=4674;POINT (-38.54406 -3.654293)', '2026-07-18 18:57:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544126 -3.654187)'), GeomFromEWKT('SRID=4674;POINT (-38.54406 -3.654293)'))) / (select extract(epoch from '2026-07-18 18:57:59'::timestamp) - extract(epoch from '2026-07-18 18:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544126 -3.654187)'), GeomFromEWKT('SRID=4674;POINT (-38.54406 -3.654293)'))) / (select extract(epoch from '2026-07-18 18:57:59'::timestamp) - extract(epoch from '2026-07-18 18:57: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'), 47391, 'SRID=4674;POINT (-38.544016 -3.654381)', '2026-07-18 18:58:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54406 -3.654293)'), GeomFromEWKT('SRID=4674;POINT (-38.544016 -3.654381)'))) / (select extract(epoch from '2026-07-18 18:58:06'::timestamp) - extract(epoch from '2026-07-18 18:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54406 -3.654293)'), GeomFromEWKT('SRID=4674;POINT (-38.544016 -3.654381)'))) / (select extract(epoch from '2026-07-18 18:58:06'::timestamp) - extract(epoch from '2026-07-18 18:57: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'), 47391, 'SRID=4674;POINT (-38.543971 -3.654464)', '2026-07-18 18:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544016 -3.654381)'), GeomFromEWKT('SRID=4674;POINT (-38.543971 -3.654464)'))) / (select extract(epoch from '2026-07-18 18:58:13'::timestamp) - extract(epoch from '2026-07-18 18:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.544016 -3.654381)'), GeomFromEWKT('SRID=4674;POINT (-38.543971 -3.654464)'))) / (select extract(epoch from '2026-07-18 18:58:13'::timestamp) - extract(epoch from '2026-07-18 18:58: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'), 47391, 'SRID=4674;POINT (-38.543931 -3.654564)', '2026-07-18 18:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543971 -3.654464)'), GeomFromEWKT('SRID=4674;POINT (-38.543931 -3.654564)'))) / (select extract(epoch from '2026-07-18 18:58:21'::timestamp) - extract(epoch from '2026-07-18 18:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543971 -3.654464)'), GeomFromEWKT('SRID=4674;POINT (-38.543931 -3.654564)'))) / (select extract(epoch from '2026-07-18 18:58:21'::timestamp) - extract(epoch from '2026-07-18 18:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543924 -3.654574)', '2026-07-18 18:58:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543931 -3.654564)'), GeomFromEWKT('SRID=4674;POINT (-38.543924 -3.654574)'))) / (select extract(epoch from '2026-07-18 18:58:22'::timestamp) - extract(epoch from '2026-07-18 18:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543931 -3.654564)'), GeomFromEWKT('SRID=4674;POINT (-38.543924 -3.654574)'))) / (select extract(epoch from '2026-07-18 18:58:22'::timestamp) - extract(epoch from '2026-07-18 18:58: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'), 47391, 'SRID=4674;POINT (-38.543882 -3.654643)', '2026-07-18 18:58:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543924 -3.654574)'), GeomFromEWKT('SRID=4674;POINT (-38.543882 -3.654643)'))) / (select extract(epoch from '2026-07-18 18:58:28'::timestamp) - extract(epoch from '2026-07-18 18:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543924 -3.654574)'), GeomFromEWKT('SRID=4674;POINT (-38.543882 -3.654643)'))) / (select extract(epoch from '2026-07-18 18:58:28'::timestamp) - extract(epoch from '2026-07-18 18:58: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'), 47391, 'SRID=4674;POINT (-38.543825 -3.654703)', '2026-07-18 18:58:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543882 -3.654643)'), GeomFromEWKT('SRID=4674;POINT (-38.543825 -3.654703)'))) / (select extract(epoch from '2026-07-18 18:58:34'::timestamp) - extract(epoch from '2026-07-18 18:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543882 -3.654643)'), GeomFromEWKT('SRID=4674;POINT (-38.543825 -3.654703)'))) / (select extract(epoch from '2026-07-18 18:58:34'::timestamp) - extract(epoch from '2026-07-18 18:58:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543753 -3.654765)', '2026-07-18 18:58:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543825 -3.654703)'), GeomFromEWKT('SRID=4674;POINT (-38.543753 -3.654765)'))) / (select extract(epoch from '2026-07-18 18:58:41'::timestamp) - extract(epoch from '2026-07-18 18:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543825 -3.654703)'), GeomFromEWKT('SRID=4674;POINT (-38.543753 -3.654765)'))) / (select extract(epoch from '2026-07-18 18:58:41'::timestamp) - extract(epoch from '2026-07-18 18:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543709 -3.654826)', '2026-07-18 18:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543753 -3.654765)'), GeomFromEWKT('SRID=4674;POINT (-38.543709 -3.654826)'))) / (select extract(epoch from '2026-07-18 18:58:47'::timestamp) - extract(epoch from '2026-07-18 18:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543753 -3.654765)'), GeomFromEWKT('SRID=4674;POINT (-38.543709 -3.654826)'))) / (select extract(epoch from '2026-07-18 18:58:47'::timestamp) - extract(epoch from '2026-07-18 18: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'), 47391, 'SRID=4674;POINT (-38.543649 -3.654902)', '2026-07-18 18:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543709 -3.654826)'), GeomFromEWKT('SRID=4674;POINT (-38.543649 -3.654902)'))) / (select extract(epoch from '2026-07-18 18:58:54'::timestamp) - extract(epoch from '2026-07-18 18:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543709 -3.654826)'), GeomFromEWKT('SRID=4674;POINT (-38.543649 -3.654902)'))) / (select extract(epoch from '2026-07-18 18:58:54'::timestamp) - extract(epoch from '2026-07-18 18:58: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'), 47391, 'SRID=4674;POINT (-38.543593 -3.654969)', '2026-07-18 18:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543649 -3.654902)'), GeomFromEWKT('SRID=4674;POINT (-38.543593 -3.654969)'))) / (select extract(epoch from '2026-07-18 18:59:01'::timestamp) - extract(epoch from '2026-07-18 18:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543649 -3.654902)'), GeomFromEWKT('SRID=4674;POINT (-38.543593 -3.654969)'))) / (select extract(epoch from '2026-07-18 18:59:01'::timestamp) - extract(epoch from '2026-07-18 18:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543566 -3.654994)', '2026-07-18 18:59:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543593 -3.654969)'), GeomFromEWKT('SRID=4674;POINT (-38.543566 -3.654994)'))) / (select extract(epoch from '2026-07-18 18:59:04'::timestamp) - extract(epoch from '2026-07-18 18:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543593 -3.654969)'), GeomFromEWKT('SRID=4674;POINT (-38.543566 -3.654994)'))) / (select extract(epoch from '2026-07-18 18:59:04'::timestamp) - extract(epoch from '2026-07-18 18:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543542 -3.655025)', '2026-07-18 18:59:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543566 -3.654994)'), GeomFromEWKT('SRID=4674;POINT (-38.543542 -3.655025)'))) / (select extract(epoch from '2026-07-18 18:59:07'::timestamp) - extract(epoch from '2026-07-18 18:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543566 -3.654994)'), GeomFromEWKT('SRID=4674;POINT (-38.543542 -3.655025)'))) / (select extract(epoch from '2026-07-18 18:59:07'::timestamp) - extract(epoch from '2026-07-18 18:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543498 -3.655079)', '2026-07-18 18:59:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543542 -3.655025)'), GeomFromEWKT('SRID=4674;POINT (-38.543498 -3.655079)'))) / (select extract(epoch from '2026-07-18 18:59:13'::timestamp) - extract(epoch from '2026-07-18 18:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543542 -3.655025)'), GeomFromEWKT('SRID=4674;POINT (-38.543498 -3.655079)'))) / (select extract(epoch from '2026-07-18 18:59:13'::timestamp) - extract(epoch from '2026-07-18 18:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543474 -3.655101)', '2026-07-18 18:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543498 -3.655079)'), GeomFromEWKT('SRID=4674;POINT (-38.543474 -3.655101)'))) / (select extract(epoch from '2026-07-18 18:59:16'::timestamp) - extract(epoch from '2026-07-18 18:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543498 -3.655079)'), GeomFromEWKT('SRID=4674;POINT (-38.543474 -3.655101)'))) / (select extract(epoch from '2026-07-18 18:59:16'::timestamp) - extract(epoch from '2026-07-18 18:59: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'), 47391, 'SRID=4674;POINT (-38.543441 -3.655132)', '2026-07-18 18:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543474 -3.655101)'), GeomFromEWKT('SRID=4674;POINT (-38.543441 -3.655132)'))) / (select extract(epoch from '2026-07-18 18:59:20'::timestamp) - extract(epoch from '2026-07-18 18:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543474 -3.655101)'), GeomFromEWKT('SRID=4674;POINT (-38.543441 -3.655132)'))) / (select extract(epoch from '2026-07-18 18:59:20'::timestamp) - extract(epoch from '2026-07-18 18:59: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'), 47391, 'SRID=4674;POINT (-38.543365 -3.655212)', '2026-07-18 18:59:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543441 -3.655132)'), GeomFromEWKT('SRID=4674;POINT (-38.543365 -3.655212)'))) / (select extract(epoch from '2026-07-18 18:59:28'::timestamp) - extract(epoch from '2026-07-18 18:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543441 -3.655132)'), GeomFromEWKT('SRID=4674;POINT (-38.543365 -3.655212)'))) / (select extract(epoch from '2026-07-18 18:59:28'::timestamp) - extract(epoch from '2026-07-18 18:59: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'), 47391, 'SRID=4674;POINT (-38.543272 -3.655291)', '2026-07-18 18:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543365 -3.655212)'), GeomFromEWKT('SRID=4674;POINT (-38.543272 -3.655291)'))) / (select extract(epoch from '2026-07-18 18:59:36'::timestamp) - extract(epoch from '2026-07-18 18:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543365 -3.655212)'), GeomFromEWKT('SRID=4674;POINT (-38.543272 -3.655291)'))) / (select extract(epoch from '2026-07-18 18:59:36'::timestamp) - extract(epoch from '2026-07-18 18:59:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543265 -3.655302)', '2026-07-18 18:59:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543272 -3.655291)'), GeomFromEWKT('SRID=4674;POINT (-38.543265 -3.655302)'))) / (select extract(epoch from '2026-07-18 18:59:37'::timestamp) - extract(epoch from '2026-07-18 18:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543272 -3.655291)'), GeomFromEWKT('SRID=4674;POINT (-38.543265 -3.655302)'))) / (select extract(epoch from '2026-07-18 18:59:37'::timestamp) - extract(epoch from '2026-07-18 18:59: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'), 47391, 'SRID=4674;POINT (-38.543233 -3.65535)', '2026-07-18 18:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543265 -3.655302)'), GeomFromEWKT('SRID=4674;POINT (-38.543233 -3.65535)'))) / (select extract(epoch from '2026-07-18 18:59:41'::timestamp) - extract(epoch from '2026-07-18 18:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543265 -3.655302)'), GeomFromEWKT('SRID=4674;POINT (-38.543233 -3.65535)'))) / (select extract(epoch from '2026-07-18 18:59:41'::timestamp) - extract(epoch from '2026-07-18 18:59: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'), 47391, 'SRID=4674;POINT (-38.543229 -3.655367)', '2026-07-18 18:59:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543233 -3.65535)'), GeomFromEWKT('SRID=4674;POINT (-38.543229 -3.655367)'))) / (select extract(epoch from '2026-07-18 18:59:42'::timestamp) - extract(epoch from '2026-07-18 18:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543233 -3.65535)'), GeomFromEWKT('SRID=4674;POINT (-38.543229 -3.655367)'))) / (select extract(epoch from '2026-07-18 18:59:42'::timestamp) - extract(epoch from '2026-07-18 18:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543214 -3.655426)', '2026-07-18 18:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543229 -3.655367)'), GeomFromEWKT('SRID=4674;POINT (-38.543214 -3.655426)'))) / (select extract(epoch from '2026-07-18 18:59:46'::timestamp) - extract(epoch from '2026-07-18 18:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543229 -3.655367)'), GeomFromEWKT('SRID=4674;POINT (-38.543214 -3.655426)'))) / (select extract(epoch from '2026-07-18 18:59:46'::timestamp) - extract(epoch from '2026-07-18 18:59: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'), 47391, 'SRID=4674;POINT (-38.543159 -3.655536)', '2026-07-18 18:59:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543214 -3.655426)'), GeomFromEWKT('SRID=4674;POINT (-38.543159 -3.655536)'))) / (select extract(epoch from '2026-07-18 18:59:54'::timestamp) - extract(epoch from '2026-07-18 18:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543214 -3.655426)'), GeomFromEWKT('SRID=4674;POINT (-38.543159 -3.655536)'))) / (select extract(epoch from '2026-07-18 18:59:54'::timestamp) - extract(epoch from '2026-07-18 18:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543111 -3.655604)', '2026-07-18 19:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543159 -3.655536)'), GeomFromEWKT('SRID=4674;POINT (-38.543111 -3.655604)'))) / (select extract(epoch from '2026-07-18 19:00:00'::timestamp) - extract(epoch from '2026-07-18 18:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543159 -3.655536)'), GeomFromEWKT('SRID=4674;POINT (-38.543111 -3.655604)'))) / (select extract(epoch from '2026-07-18 19:00:00'::timestamp) - extract(epoch from '2026-07-18 18:59:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.543063 -3.655683)', '2026-07-18 19:00:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543111 -3.655604)'), GeomFromEWKT('SRID=4674;POINT (-38.543063 -3.655683)'))) / (select extract(epoch from '2026-07-18 19:00:07'::timestamp) - extract(epoch from '2026-07-18 19:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543111 -3.655604)'), GeomFromEWKT('SRID=4674;POINT (-38.543063 -3.655683)'))) / (select extract(epoch from '2026-07-18 19:00:07'::timestamp) - extract(epoch from '2026-07-18 19:00: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'), 47391, 'SRID=4674;POINT (-38.543008 -3.655774)', '2026-07-18 19:00:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543063 -3.655683)'), GeomFromEWKT('SRID=4674;POINT (-38.543008 -3.655774)'))) / (select extract(epoch from '2026-07-18 19:00:15'::timestamp) - extract(epoch from '2026-07-18 19:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543063 -3.655683)'), GeomFromEWKT('SRID=4674;POINT (-38.543008 -3.655774)'))) / (select extract(epoch from '2026-07-18 19:00:15'::timestamp) - extract(epoch from '2026-07-18 19:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542982 -3.655815)', '2026-07-18 19:00:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543008 -3.655774)'), GeomFromEWKT('SRID=4674;POINT (-38.542982 -3.655815)'))) / (select extract(epoch from '2026-07-18 19:00:18'::timestamp) - extract(epoch from '2026-07-18 19:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.543008 -3.655774)'), GeomFromEWKT('SRID=4674;POINT (-38.542982 -3.655815)'))) / (select extract(epoch from '2026-07-18 19:00:18'::timestamp) - extract(epoch from '2026-07-18 19:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542957 -3.655844)', '2026-07-18 19:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542982 -3.655815)'), GeomFromEWKT('SRID=4674;POINT (-38.542957 -3.655844)'))) / (select extract(epoch from '2026-07-18 19:00:21'::timestamp) - extract(epoch from '2026-07-18 19:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542982 -3.655815)'), GeomFromEWKT('SRID=4674;POINT (-38.542957 -3.655844)'))) / (select extract(epoch from '2026-07-18 19:00:21'::timestamp) - extract(epoch from '2026-07-18 19:00: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'), 47391, 'SRID=4674;POINT (-38.542926 -3.655934)', '2026-07-18 19:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542957 -3.655844)'), GeomFromEWKT('SRID=4674;POINT (-38.542926 -3.655934)'))) / (select extract(epoch from '2026-07-18 19:00:28'::timestamp) - extract(epoch from '2026-07-18 19:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542957 -3.655844)'), GeomFromEWKT('SRID=4674;POINT (-38.542926 -3.655934)'))) / (select extract(epoch from '2026-07-18 19:00:28'::timestamp) - extract(epoch from '2026-07-18 19:00: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'), 47391, 'SRID=4674;POINT (-38.542891 -3.656048)', '2026-07-18 19:00:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542926 -3.655934)'), GeomFromEWKT('SRID=4674;POINT (-38.542891 -3.656048)'))) / (select extract(epoch from '2026-07-18 19:00:36'::timestamp) - extract(epoch from '2026-07-18 19:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542926 -3.655934)'), GeomFromEWKT('SRID=4674;POINT (-38.542891 -3.656048)'))) / (select extract(epoch from '2026-07-18 19:00:36'::timestamp) - extract(epoch from '2026-07-18 19:00: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'), 47391, 'SRID=4674;POINT (-38.542884 -3.656081)', '2026-07-18 19:00:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542891 -3.656048)'), GeomFromEWKT('SRID=4674;POINT (-38.542884 -3.656081)'))) / (select extract(epoch from '2026-07-18 19:00:39'::timestamp) - extract(epoch from '2026-07-18 19:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542891 -3.656048)'), GeomFromEWKT('SRID=4674;POINT (-38.542884 -3.656081)'))) / (select extract(epoch from '2026-07-18 19:00:39'::timestamp) - extract(epoch from '2026-07-18 19:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542866 -3.656119)', '2026-07-18 19:00:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542884 -3.656081)'), GeomFromEWKT('SRID=4674;POINT (-38.542866 -3.656119)'))) / (select extract(epoch from '2026-07-18 19:00:42'::timestamp) - extract(epoch from '2026-07-18 19:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542884 -3.656081)'), GeomFromEWKT('SRID=4674;POINT (-38.542866 -3.656119)'))) / (select extract(epoch from '2026-07-18 19:00:42'::timestamp) - extract(epoch from '2026-07-18 19:00:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542845 -3.656145)', '2026-07-18 19:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542866 -3.656119)'), GeomFromEWKT('SRID=4674;POINT (-38.542845 -3.656145)'))) / (select extract(epoch from '2026-07-18 19:00:45'::timestamp) - extract(epoch from '2026-07-18 19:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542866 -3.656119)'), GeomFromEWKT('SRID=4674;POINT (-38.542845 -3.656145)'))) / (select extract(epoch from '2026-07-18 19:00:45'::timestamp) - extract(epoch from '2026-07-18 19:00: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'), 47391, 'SRID=4674;POINT (-38.542824 -3.656165)', '2026-07-18 19:00:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542845 -3.656145)'), GeomFromEWKT('SRID=4674;POINT (-38.542824 -3.656165)'))) / (select extract(epoch from '2026-07-18 19:00:47'::timestamp) - extract(epoch from '2026-07-18 19:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542845 -3.656145)'), GeomFromEWKT('SRID=4674;POINT (-38.542824 -3.656165)'))) / (select extract(epoch from '2026-07-18 19:00:47'::timestamp) - extract(epoch from '2026-07-18 19:00: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'), 47391, 'SRID=4674;POINT (-38.542818 -3.656175)', '2026-07-18 19:00:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542824 -3.656165)'), GeomFromEWKT('SRID=4674;POINT (-38.542818 -3.656175)'))) / (select extract(epoch from '2026-07-18 19:00:48'::timestamp) - extract(epoch from '2026-07-18 19:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542824 -3.656165)'), GeomFromEWKT('SRID=4674;POINT (-38.542818 -3.656175)'))) / (select extract(epoch from '2026-07-18 19:00:48'::timestamp) - extract(epoch from '2026-07-18 19:00: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'), 47391, 'SRID=4674;POINT (-38.542769 -3.656223)', '2026-07-18 19:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542818 -3.656175)'), GeomFromEWKT('SRID=4674;POINT (-38.542769 -3.656223)'))) / (select extract(epoch from '2026-07-18 19:00:54'::timestamp) - extract(epoch from '2026-07-18 19:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542818 -3.656175)'), GeomFromEWKT('SRID=4674;POINT (-38.542769 -3.656223)'))) / (select extract(epoch from '2026-07-18 19:00:54'::timestamp) - extract(epoch from '2026-07-18 19:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542764 -3.656232)', '2026-07-18 19:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542769 -3.656223)'), GeomFromEWKT('SRID=4674;POINT (-38.542764 -3.656232)'))) / (select extract(epoch from '2026-07-18 19:00:55'::timestamp) - extract(epoch from '2026-07-18 19:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542769 -3.656223)'), GeomFromEWKT('SRID=4674;POINT (-38.542764 -3.656232)'))) / (select extract(epoch from '2026-07-18 19:00:55'::timestamp) - extract(epoch from '2026-07-18 19:00: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'), 47391, 'SRID=4674;POINT (-38.542728 -3.65627)', '2026-07-18 19:00:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542764 -3.656232)'), GeomFromEWKT('SRID=4674;POINT (-38.542728 -3.65627)'))) / (select extract(epoch from '2026-07-18 19:00:59'::timestamp) - extract(epoch from '2026-07-18 19:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542764 -3.656232)'), GeomFromEWKT('SRID=4674;POINT (-38.542728 -3.65627)'))) / (select extract(epoch from '2026-07-18 19:00:59'::timestamp) - extract(epoch from '2026-07-18 19:00: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'), 47391, 'SRID=4674;POINT (-38.542721 -3.65629)', '2026-07-18 19:01:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542728 -3.65627)'), GeomFromEWKT('SRID=4674;POINT (-38.542721 -3.65629)'))) / (select extract(epoch from '2026-07-18 19:01:01'::timestamp) - extract(epoch from '2026-07-18 19:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542728 -3.65627)'), GeomFromEWKT('SRID=4674;POINT (-38.542721 -3.65629)'))) / (select extract(epoch from '2026-07-18 19:01:01'::timestamp) - extract(epoch from '2026-07-18 19:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542698 -3.656352)', '2026-07-18 19:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542721 -3.65629)'), GeomFromEWKT('SRID=4674;POINT (-38.542698 -3.656352)'))) / (select extract(epoch from '2026-07-18 19:01:08'::timestamp) - extract(epoch from '2026-07-18 19:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542721 -3.65629)'), GeomFromEWKT('SRID=4674;POINT (-38.542698 -3.656352)'))) / (select extract(epoch from '2026-07-18 19:01:08'::timestamp) - extract(epoch from '2026-07-18 19:01: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'), 47391, 'SRID=4674;POINT (-38.542648 -3.656433)', '2026-07-18 19:01:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542698 -3.656352)'), GeomFromEWKT('SRID=4674;POINT (-38.542648 -3.656433)'))) / (select extract(epoch from '2026-07-18 19:01:16'::timestamp) - extract(epoch from '2026-07-18 19:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542698 -3.656352)'), GeomFromEWKT('SRID=4674;POINT (-38.542648 -3.656433)'))) / (select extract(epoch from '2026-07-18 19:01:16'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.54262 -3.656517)', '2026-07-18 19:01:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542648 -3.656433)'), GeomFromEWKT('SRID=4674;POINT (-38.54262 -3.656517)'))) / (select extract(epoch from '2026-07-18 19:01:23'::timestamp) - extract(epoch from '2026-07-18 19:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542648 -3.656433)'), GeomFromEWKT('SRID=4674;POINT (-38.54262 -3.656517)'))) / (select extract(epoch from '2026-07-18 19:01:23'::timestamp) - extract(epoch from '2026-07-18 19:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542586 -3.656632)', '2026-07-18 19:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54262 -3.656517)'), GeomFromEWKT('SRID=4674;POINT (-38.542586 -3.656632)'))) / (select extract(epoch from '2026-07-18 19:01:33'::timestamp) - extract(epoch from '2026-07-18 19:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54262 -3.656517)'), GeomFromEWKT('SRID=4674;POINT (-38.542586 -3.656632)'))) / (select extract(epoch from '2026-07-18 19:01:33'::timestamp) - extract(epoch from '2026-07-18 19:01: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'), 47391, 'SRID=4674;POINT (-38.542568 -3.656662)', '2026-07-18 19:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542586 -3.656632)'), GeomFromEWKT('SRID=4674;POINT (-38.542568 -3.656662)'))) / (select extract(epoch from '2026-07-18 19:01:35'::timestamp) - extract(epoch from '2026-07-18 19:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542586 -3.656632)'), GeomFromEWKT('SRID=4674;POINT (-38.542568 -3.656662)'))) / (select extract(epoch from '2026-07-18 19:01:35'::timestamp) - extract(epoch from '2026-07-18 19:01: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'), 47391, 'SRID=4674;POINT (-38.542515 -3.656749)', '2026-07-18 19:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542568 -3.656662)'), GeomFromEWKT('SRID=4674;POINT (-38.542515 -3.656749)'))) / (select extract(epoch from '2026-07-18 19:01:42'::timestamp) - extract(epoch from '2026-07-18 19:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542568 -3.656662)'), GeomFromEWKT('SRID=4674;POINT (-38.542515 -3.656749)'))) / (select extract(epoch from '2026-07-18 19:01:42'::timestamp) - extract(epoch from '2026-07-18 19:01:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542485 -3.65683)', '2026-07-18 19:01:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542515 -3.656749)'), GeomFromEWKT('SRID=4674;POINT (-38.542485 -3.65683)'))) / (select extract(epoch from '2026-07-18 19:01:49'::timestamp) - extract(epoch from '2026-07-18 19:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542515 -3.656749)'), GeomFromEWKT('SRID=4674;POINT (-38.542485 -3.65683)'))) / (select extract(epoch from '2026-07-18 19:01:49'::timestamp) - extract(epoch from '2026-07-18 19:01: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'), 47391, 'SRID=4674;POINT (-38.54244 -3.656899)', '2026-07-18 19:01:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542485 -3.65683)'), GeomFromEWKT('SRID=4674;POINT (-38.54244 -3.656899)'))) / (select extract(epoch from '2026-07-18 19:01:55'::timestamp) - extract(epoch from '2026-07-18 19:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542485 -3.65683)'), GeomFromEWKT('SRID=4674;POINT (-38.54244 -3.656899)'))) / (select extract(epoch from '2026-07-18 19:01:55'::timestamp) - extract(epoch from '2026-07-18 19:01: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'), 47391, 'SRID=4674;POINT (-38.542365 -3.656987)', '2026-07-18 19:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54244 -3.656899)'), GeomFromEWKT('SRID=4674;POINT (-38.542365 -3.656987)'))) / (select extract(epoch from '2026-07-18 19:02:02'::timestamp) - extract(epoch from '2026-07-18 19:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54244 -3.656899)'), GeomFromEWKT('SRID=4674;POINT (-38.542365 -3.656987)'))) / (select extract(epoch from '2026-07-18 19:02:02'::timestamp) - extract(epoch from '2026-07-18 19:01: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'), 47391, 'SRID=4674;POINT (-38.54235 -3.657024)', '2026-07-18 19:02:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542365 -3.656987)'), GeomFromEWKT('SRID=4674;POINT (-38.54235 -3.657024)'))) / (select extract(epoch from '2026-07-18 19:02:05'::timestamp) - extract(epoch from '2026-07-18 19:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542365 -3.656987)'), GeomFromEWKT('SRID=4674;POINT (-38.54235 -3.657024)'))) / (select extract(epoch from '2026-07-18 19:02:05'::timestamp) - extract(epoch from '2026-07-18 19:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542329 -3.657047)', '2026-07-18 19:02:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54235 -3.657024)'), GeomFromEWKT('SRID=4674;POINT (-38.542329 -3.657047)'))) / (select extract(epoch from '2026-07-18 19:02:07'::timestamp) - extract(epoch from '2026-07-18 19:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54235 -3.657024)'), GeomFromEWKT('SRID=4674;POINT (-38.542329 -3.657047)'))) / (select extract(epoch from '2026-07-18 19:02:07'::timestamp) - extract(epoch from '2026-07-18 19:02: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'), 47391, 'SRID=4674;POINT (-38.542326 -3.657056)', '2026-07-18 19:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542329 -3.657047)'), GeomFromEWKT('SRID=4674;POINT (-38.542326 -3.657056)'))) / (select extract(epoch from '2026-07-18 19:02:08'::timestamp) - extract(epoch from '2026-07-18 19:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542329 -3.657047)'), GeomFromEWKT('SRID=4674;POINT (-38.542326 -3.657056)'))) / (select extract(epoch from '2026-07-18 19:02:08'::timestamp) - extract(epoch from '2026-07-18 19:02: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'), 47391, 'SRID=4674;POINT (-38.542303 -3.65711)', '2026-07-18 19:02:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542326 -3.657056)'), GeomFromEWKT('SRID=4674;POINT (-38.542303 -3.65711)'))) / (select extract(epoch from '2026-07-18 19:02:12'::timestamp) - extract(epoch from '2026-07-18 19:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542326 -3.657056)'), GeomFromEWKT('SRID=4674;POINT (-38.542303 -3.65711)'))) / (select extract(epoch from '2026-07-18 19:02:12'::timestamp) - extract(epoch from '2026-07-18 19:02: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'), 47391, 'SRID=4674;POINT (-38.542262 -3.657181)', '2026-07-18 19:02:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542303 -3.65711)'), GeomFromEWKT('SRID=4674;POINT (-38.542262 -3.657181)'))) / (select extract(epoch from '2026-07-18 19:02:18'::timestamp) - extract(epoch from '2026-07-18 19:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542303 -3.65711)'), GeomFromEWKT('SRID=4674;POINT (-38.542262 -3.657181)'))) / (select extract(epoch from '2026-07-18 19:02:18'::timestamp) - extract(epoch from '2026-07-18 19:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542214 -3.657276)', '2026-07-18 19:02:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542262 -3.657181)'), GeomFromEWKT('SRID=4674;POINT (-38.542214 -3.657276)'))) / (select extract(epoch from '2026-07-18 19:02:25'::timestamp) - extract(epoch from '2026-07-18 19:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542262 -3.657181)'), GeomFromEWKT('SRID=4674;POINT (-38.542214 -3.657276)'))) / (select extract(epoch from '2026-07-18 19:02:25'::timestamp) - extract(epoch from '2026-07-18 19:02:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542143 -3.657358)', '2026-07-18 19:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542214 -3.657276)'), GeomFromEWKT('SRID=4674;POINT (-38.542143 -3.657358)'))) / (select extract(epoch from '2026-07-18 19:02:32'::timestamp) - extract(epoch from '2026-07-18 19:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542214 -3.657276)'), GeomFromEWKT('SRID=4674;POINT (-38.542143 -3.657358)'))) / (select extract(epoch from '2026-07-18 19:02:32'::timestamp) - extract(epoch from '2026-07-18 19:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.542062 -3.657453)', '2026-07-18 19:02:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542143 -3.657358)'), GeomFromEWKT('SRID=4674;POINT (-38.542062 -3.657453)'))) / (select extract(epoch from '2026-07-18 19:02:41'::timestamp) - extract(epoch from '2026-07-18 19:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542143 -3.657358)'), GeomFromEWKT('SRID=4674;POINT (-38.542062 -3.657453)'))) / (select extract(epoch from '2026-07-18 19:02:41'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.54206 -3.657466)', '2026-07-18 19:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542062 -3.657453)'), GeomFromEWKT('SRID=4674;POINT (-38.54206 -3.657466)'))) / (select extract(epoch from '2026-07-18 19:02:42'::timestamp) - extract(epoch from '2026-07-18 19:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542062 -3.657453)'), GeomFromEWKT('SRID=4674;POINT (-38.54206 -3.657466)'))) / (select extract(epoch from '2026-07-18 19:02:42'::timestamp) - extract(epoch from '2026-07-18 19:02: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'), 47391, 'SRID=4674;POINT (-38.542001 -3.657547)', '2026-07-18 19:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54206 -3.657466)'), GeomFromEWKT('SRID=4674;POINT (-38.542001 -3.657547)'))) / (select extract(epoch from '2026-07-18 19:02:48'::timestamp) - extract(epoch from '2026-07-18 19:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54206 -3.657466)'), GeomFromEWKT('SRID=4674;POINT (-38.542001 -3.657547)'))) / (select extract(epoch from '2026-07-18 19:02:48'::timestamp) - extract(epoch from '2026-07-18 19:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541948 -3.657642)', '2026-07-18 19:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542001 -3.657547)'), GeomFromEWKT('SRID=4674;POINT (-38.541948 -3.657642)'))) / (select extract(epoch from '2026-07-18 19:02:55'::timestamp) - extract(epoch from '2026-07-18 19:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.542001 -3.657547)'), GeomFromEWKT('SRID=4674;POINT (-38.541948 -3.657642)'))) / (select extract(epoch from '2026-07-18 19:02:55'::timestamp) - extract(epoch from '2026-07-18 19:02: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'), 47391, 'SRID=4674;POINT (-38.541894 -3.657734)', '2026-07-18 19:03:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541948 -3.657642)'), GeomFromEWKT('SRID=4674;POINT (-38.541894 -3.657734)'))) / (select extract(epoch from '2026-07-18 19:03:02'::timestamp) - extract(epoch from '2026-07-18 19:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541948 -3.657642)'), GeomFromEWKT('SRID=4674;POINT (-38.541894 -3.657734)'))) / (select extract(epoch from '2026-07-18 19:03:02'::timestamp) - extract(epoch from '2026-07-18 19:02: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'), 47391, 'SRID=4674;POINT (-38.541836 -3.657809)', '2026-07-18 19:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541894 -3.657734)'), GeomFromEWKT('SRID=4674;POINT (-38.541836 -3.657809)'))) / (select extract(epoch from '2026-07-18 19:03:08'::timestamp) - extract(epoch from '2026-07-18 19:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541894 -3.657734)'), GeomFromEWKT('SRID=4674;POINT (-38.541836 -3.657809)'))) / (select extract(epoch from '2026-07-18 19:03:08'::timestamp) - extract(epoch from '2026-07-18 19:03: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'), 47391, 'SRID=4674;POINT (-38.541757 -3.657905)', '2026-07-18 19:03:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541836 -3.657809)'), GeomFromEWKT('SRID=4674;POINT (-38.541757 -3.657905)'))) / (select extract(epoch from '2026-07-18 19:03:16'::timestamp) - extract(epoch from '2026-07-18 19:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541836 -3.657809)'), GeomFromEWKT('SRID=4674;POINT (-38.541757 -3.657905)'))) / (select extract(epoch from '2026-07-18 19:03:16'::timestamp) - extract(epoch from '2026-07-18 19:03: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'), 47391, 'SRID=4674;POINT (-38.541697 -3.657974)', '2026-07-18 19:03:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541757 -3.657905)'), GeomFromEWKT('SRID=4674;POINT (-38.541697 -3.657974)'))) / (select extract(epoch from '2026-07-18 19:03:22'::timestamp) - extract(epoch from '2026-07-18 19:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541757 -3.657905)'), GeomFromEWKT('SRID=4674;POINT (-38.541697 -3.657974)'))) / (select extract(epoch from '2026-07-18 19:03:22'::timestamp) - extract(epoch from '2026-07-18 19:03: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'), 47391, 'SRID=4674;POINT (-38.541693 -3.657988)', '2026-07-18 19:03:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541697 -3.657974)'), GeomFromEWKT('SRID=4674;POINT (-38.541693 -3.657988)'))) / (select extract(epoch from '2026-07-18 19:03:23'::timestamp) - extract(epoch from '2026-07-18 19:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541697 -3.657974)'), GeomFromEWKT('SRID=4674;POINT (-38.541693 -3.657988)'))) / (select extract(epoch from '2026-07-18 19:03:23'::timestamp) - extract(epoch from '2026-07-18 19:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541633 -3.658047)', '2026-07-18 19:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541693 -3.657988)'), GeomFromEWKT('SRID=4674;POINT (-38.541633 -3.658047)'))) / (select extract(epoch from '2026-07-18 19:03:29'::timestamp) - extract(epoch from '2026-07-18 19:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541693 -3.657988)'), GeomFromEWKT('SRID=4674;POINT (-38.541633 -3.658047)'))) / (select extract(epoch from '2026-07-18 19:03:29'::timestamp) - extract(epoch from '2026-07-18 19:03: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'), 47391, 'SRID=4674;POINT (-38.541579 -3.658129)', '2026-07-18 19:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541633 -3.658047)'), GeomFromEWKT('SRID=4674;POINT (-38.541579 -3.658129)'))) / (select extract(epoch from '2026-07-18 19:03:35'::timestamp) - extract(epoch from '2026-07-18 19:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541633 -3.658047)'), GeomFromEWKT('SRID=4674;POINT (-38.541579 -3.658129)'))) / (select extract(epoch from '2026-07-18 19:03:35'::timestamp) - extract(epoch from '2026-07-18 19:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541499 -3.65824)', '2026-07-18 19:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541579 -3.658129)'), GeomFromEWKT('SRID=4674;POINT (-38.541499 -3.65824)'))) / (select extract(epoch from '2026-07-18 19:03:43'::timestamp) - extract(epoch from '2026-07-18 19:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541579 -3.658129)'), GeomFromEWKT('SRID=4674;POINT (-38.541499 -3.65824)'))) / (select extract(epoch from '2026-07-18 19:03:43'::timestamp) - extract(epoch from '2026-07-18 19:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541456 -3.658317)', '2026-07-18 19:03:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541499 -3.65824)'), GeomFromEWKT('SRID=4674;POINT (-38.541456 -3.658317)'))) / (select extract(epoch from '2026-07-18 19:03:49'::timestamp) - extract(epoch from '2026-07-18 19:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541499 -3.65824)'), GeomFromEWKT('SRID=4674;POINT (-38.541456 -3.658317)'))) / (select extract(epoch from '2026-07-18 19:03:49'::timestamp) - extract(epoch from '2026-07-18 19:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54142 -3.658385)', '2026-07-18 19:03:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541456 -3.658317)'), GeomFromEWKT('SRID=4674;POINT (-38.54142 -3.658385)'))) / (select extract(epoch from '2026-07-18 19:03:55'::timestamp) - extract(epoch from '2026-07-18 19:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541456 -3.658317)'), GeomFromEWKT('SRID=4674;POINT (-38.54142 -3.658385)'))) / (select extract(epoch from '2026-07-18 19:03:55'::timestamp) - extract(epoch from '2026-07-18 19:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54135 -3.658473)', '2026-07-18 19:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54142 -3.658385)'), GeomFromEWKT('SRID=4674;POINT (-38.54135 -3.658473)'))) / (select extract(epoch from '2026-07-18 19:04:03'::timestamp) - extract(epoch from '2026-07-18 19:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54142 -3.658385)'), GeomFromEWKT('SRID=4674;POINT (-38.54135 -3.658473)'))) / (select extract(epoch from '2026-07-18 19:04:03'::timestamp) - extract(epoch from '2026-07-18 19:03: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'), 47391, 'SRID=4674;POINT (-38.541313 -3.65852)', '2026-07-18 19:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54135 -3.658473)'), GeomFromEWKT('SRID=4674;POINT (-38.541313 -3.65852)'))) / (select extract(epoch from '2026-07-18 19:04:07'::timestamp) - extract(epoch from '2026-07-18 19:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54135 -3.658473)'), GeomFromEWKT('SRID=4674;POINT (-38.541313 -3.65852)'))) / (select extract(epoch from '2026-07-18 19:04:07'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541309 -3.658533)', '2026-07-18 19:04:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541313 -3.65852)'), GeomFromEWKT('SRID=4674;POINT (-38.541309 -3.658533)'))) / (select extract(epoch from '2026-07-18 19:04:08'::timestamp) - extract(epoch from '2026-07-18 19:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541313 -3.65852)'), GeomFromEWKT('SRID=4674;POINT (-38.541309 -3.658533)'))) / (select extract(epoch from '2026-07-18 19:04:08'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541279 -3.658584)', '2026-07-18 19:04:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541309 -3.658533)'), GeomFromEWKT('SRID=4674;POINT (-38.541279 -3.658584)'))) / (select extract(epoch from '2026-07-18 19:04:13'::timestamp) - extract(epoch from '2026-07-18 19:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541309 -3.658533)'), GeomFromEWKT('SRID=4674;POINT (-38.541279 -3.658584)'))) / (select extract(epoch from '2026-07-18 19:04:13'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541282 -3.658595)', '2026-07-18 19:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541279 -3.658584)'), GeomFromEWKT('SRID=4674;POINT (-38.541282 -3.658595)'))) / (select extract(epoch from '2026-07-18 19:04:14'::timestamp) - extract(epoch from '2026-07-18 19:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541279 -3.658584)'), GeomFromEWKT('SRID=4674;POINT (-38.541282 -3.658595)'))) / (select extract(epoch from '2026-07-18 19:04:14'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541282 -3.658606)', '2026-07-18 19:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541282 -3.658595)'), GeomFromEWKT('SRID=4674;POINT (-38.541282 -3.658606)'))) / (select extract(epoch from '2026-07-18 19:04:15'::timestamp) - extract(epoch from '2026-07-18 19:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541282 -3.658595)'), GeomFromEWKT('SRID=4674;POINT (-38.541282 -3.658606)'))) / (select extract(epoch from '2026-07-18 19:04:15'::timestamp) - extract(epoch from '2026-07-18 19:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.54127 -3.658628)', '2026-07-18 19:04:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541282 -3.658606)'), GeomFromEWKT('SRID=4674;POINT (-38.54127 -3.658628)'))) / (select extract(epoch from '2026-07-18 19:04:17'::timestamp) - extract(epoch from '2026-07-18 19:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541282 -3.658606)'), GeomFromEWKT('SRID=4674;POINT (-38.54127 -3.658628)'))) / (select extract(epoch from '2026-07-18 19:04:17'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541264 -3.658654)', '2026-07-18 19:04:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54127 -3.658628)'), GeomFromEWKT('SRID=4674;POINT (-38.541264 -3.658654)'))) / (select extract(epoch from '2026-07-18 19:04:19'::timestamp) - extract(epoch from '2026-07-18 19:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54127 -3.658628)'), GeomFromEWKT('SRID=4674;POINT (-38.541264 -3.658654)'))) / (select extract(epoch from '2026-07-18 19:04:19'::timestamp) - extract(epoch from '2026-07-18 19:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541262 -3.65866)', '2026-07-18 19:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541264 -3.658654)'), GeomFromEWKT('SRID=4674;POINT (-38.541262 -3.65866)'))) / (select extract(epoch from '2026-07-18 19:04:20'::timestamp) - extract(epoch from '2026-07-18 19:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541264 -3.658654)'), GeomFromEWKT('SRID=4674;POINT (-38.541262 -3.65866)'))) / (select extract(epoch from '2026-07-18 19:04:20'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541238 -3.658686)', '2026-07-18 19:04:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541262 -3.65866)'), GeomFromEWKT('SRID=4674;POINT (-38.541238 -3.658686)'))) / (select extract(epoch from '2026-07-18 19:04:23'::timestamp) - extract(epoch from '2026-07-18 19:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541262 -3.65866)'), GeomFromEWKT('SRID=4674;POINT (-38.541238 -3.658686)'))) / (select extract(epoch from '2026-07-18 19:04:23'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541238 -3.658696)', '2026-07-18 19:04:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541238 -3.658686)'), GeomFromEWKT('SRID=4674;POINT (-38.541238 -3.658696)'))) / (select extract(epoch from '2026-07-18 19:04:24'::timestamp) - extract(epoch from '2026-07-18 19:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541238 -3.658686)'), GeomFromEWKT('SRID=4674;POINT (-38.541238 -3.658696)'))) / (select extract(epoch from '2026-07-18 19:04:24'::timestamp) - extract(epoch from '2026-07-18 19:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541225 -3.658773)', '2026-07-18 19:04:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541238 -3.658696)'), GeomFromEWKT('SRID=4674;POINT (-38.541225 -3.658773)'))) / (select extract(epoch from '2026-07-18 19:04:31'::timestamp) - extract(epoch from '2026-07-18 19:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541238 -3.658696)'), GeomFromEWKT('SRID=4674;POINT (-38.541225 -3.658773)'))) / (select extract(epoch from '2026-07-18 19:04:31'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541203 -3.658844)', '2026-07-18 19:04:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541225 -3.658773)'), GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.658844)'))) / (select extract(epoch from '2026-07-18 19:04:37'::timestamp) - extract(epoch from '2026-07-18 19:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541225 -3.658773)'), GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.658844)'))) / (select extract(epoch from '2026-07-18 19:04:37'::timestamp) - extract(epoch from '2026-07-18 19:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541203 -3.65886)', '2026-07-18 19:04:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.658844)'), GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.65886)'))) / (select extract(epoch from '2026-07-18 19:04:38'::timestamp) - extract(epoch from '2026-07-18 19:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.658844)'), GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.65886)'))) / (select extract(epoch from '2026-07-18 19:04:38'::timestamp) - extract(epoch from '2026-07-18 19:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541203 -3.658894)', '2026-07-18 19:04:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.65886)'), GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.658894)'))) / (select extract(epoch from '2026-07-18 19:04:40'::timestamp) - extract(epoch from '2026-07-18 19:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.65886)'), GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.658894)'))) / (select extract(epoch from '2026-07-18 19:04:40'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541181 -3.658939)', '2026-07-18 19:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.658894)'), GeomFromEWKT('SRID=4674;POINT (-38.541181 -3.658939)'))) / (select extract(epoch from '2026-07-18 19:04:44'::timestamp) - extract(epoch from '2026-07-18 19:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541203 -3.658894)'), GeomFromEWKT('SRID=4674;POINT (-38.541181 -3.658939)'))) / (select extract(epoch from '2026-07-18 19:04:44'::timestamp) - extract(epoch from '2026-07-18 19:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541143 -3.65902)', '2026-07-18 19:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541181 -3.658939)'), GeomFromEWKT('SRID=4674;POINT (-38.541143 -3.65902)'))) / (select extract(epoch from '2026-07-18 19:04:52'::timestamp) - extract(epoch from '2026-07-18 19:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541181 -3.658939)'), GeomFromEWKT('SRID=4674;POINT (-38.541143 -3.65902)'))) / (select extract(epoch from '2026-07-18 19:04:52'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541116 -3.659087)', '2026-07-18 19:04:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541143 -3.65902)'), GeomFromEWKT('SRID=4674;POINT (-38.541116 -3.659087)'))) / (select extract(epoch from '2026-07-18 19:04:57'::timestamp) - extract(epoch from '2026-07-18 19:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541143 -3.65902)'), GeomFromEWKT('SRID=4674;POINT (-38.541116 -3.659087)'))) / (select extract(epoch from '2026-07-18 19:04:57'::timestamp) - extract(epoch from '2026-07-18 19:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541112 -3.659096)', '2026-07-18 19:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541116 -3.659087)'), GeomFromEWKT('SRID=4674;POINT (-38.541112 -3.659096)'))) / (select extract(epoch from '2026-07-18 19:04:58'::timestamp) - extract(epoch from '2026-07-18 19:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541116 -3.659087)'), GeomFromEWKT('SRID=4674;POINT (-38.541112 -3.659096)'))) / (select extract(epoch from '2026-07-18 19:04:58'::timestamp) - extract(epoch from '2026-07-18 19:04: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'), 47391, 'SRID=4674;POINT (-38.541088 -3.659177)', '2026-07-18 19:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541112 -3.659096)'), GeomFromEWKT('SRID=4674;POINT (-38.541088 -3.659177)'))) / (select extract(epoch from '2026-07-18 19:05:04'::timestamp) - extract(epoch from '2026-07-18 19:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541112 -3.659096)'), GeomFromEWKT('SRID=4674;POINT (-38.541088 -3.659177)'))) / (select extract(epoch from '2026-07-18 19:05:04'::timestamp) - extract(epoch from '2026-07-18 19:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.541052 -3.65928)', '2026-07-18 19:05:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541088 -3.659177)'), GeomFromEWKT('SRID=4674;POINT (-38.541052 -3.65928)'))) / (select extract(epoch from '2026-07-18 19:05:11'::timestamp) - extract(epoch from '2026-07-18 19:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541088 -3.659177)'), GeomFromEWKT('SRID=4674;POINT (-38.541052 -3.65928)'))) / (select extract(epoch from '2026-07-18 19:05:11'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.540974 -3.659378)', '2026-07-18 19:05:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541052 -3.65928)'), GeomFromEWKT('SRID=4674;POINT (-38.540974 -3.659378)'))) / (select extract(epoch from '2026-07-18 19:05:18'::timestamp) - extract(epoch from '2026-07-18 19:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.541052 -3.65928)'), GeomFromEWKT('SRID=4674;POINT (-38.540974 -3.659378)'))) / (select extract(epoch from '2026-07-18 19:05:18'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.540913 -3.659453)', '2026-07-18 19:05:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540974 -3.659378)'), GeomFromEWKT('SRID=4674;POINT (-38.540913 -3.659453)'))) / (select extract(epoch from '2026-07-18 19:05:24'::timestamp) - extract(epoch from '2026-07-18 19:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540974 -3.659378)'), GeomFromEWKT('SRID=4674;POINT (-38.540913 -3.659453)'))) / (select extract(epoch from '2026-07-18 19:05:24'::timestamp) - extract(epoch from '2026-07-18 19:05:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540868 -3.659526)', '2026-07-18 19:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540913 -3.659453)'), GeomFromEWKT('SRID=4674;POINT (-38.540868 -3.659526)'))) / (select extract(epoch from '2026-07-18 19:05:30'::timestamp) - extract(epoch from '2026-07-18 19:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540913 -3.659453)'), GeomFromEWKT('SRID=4674;POINT (-38.540868 -3.659526)'))) / (select extract(epoch from '2026-07-18 19:05:30'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.540822 -3.659611)', '2026-07-18 19:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540868 -3.659526)'), GeomFromEWKT('SRID=4674;POINT (-38.540822 -3.659611)'))) / (select extract(epoch from '2026-07-18 19:05:37'::timestamp) - extract(epoch from '2026-07-18 19:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540868 -3.659526)'), GeomFromEWKT('SRID=4674;POINT (-38.540822 -3.659611)'))) / (select extract(epoch from '2026-07-18 19:05:37'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.540821 -3.659625)', '2026-07-18 19:05:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540822 -3.659611)'), GeomFromEWKT('SRID=4674;POINT (-38.540821 -3.659625)'))) / (select extract(epoch from '2026-07-18 19:05:38'::timestamp) - extract(epoch from '2026-07-18 19:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540822 -3.659611)'), GeomFromEWKT('SRID=4674;POINT (-38.540821 -3.659625)'))) / (select extract(epoch from '2026-07-18 19:05:38'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.54081 -3.659647)', '2026-07-18 19:05:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540821 -3.659625)'), GeomFromEWKT('SRID=4674;POINT (-38.54081 -3.659647)'))) / (select extract(epoch from '2026-07-18 19:05:40'::timestamp) - extract(epoch from '2026-07-18 19:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540821 -3.659625)'), GeomFromEWKT('SRID=4674;POINT (-38.54081 -3.659647)'))) / (select extract(epoch from '2026-07-18 19:05:40'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.54079 -3.65967)', '2026-07-18 19:05:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54081 -3.659647)'), GeomFromEWKT('SRID=4674;POINT (-38.54079 -3.65967)'))) / (select extract(epoch from '2026-07-18 19:05:43'::timestamp) - extract(epoch from '2026-07-18 19:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54081 -3.659647)'), GeomFromEWKT('SRID=4674;POINT (-38.54079 -3.65967)'))) / (select extract(epoch from '2026-07-18 19:05:43'::timestamp) - extract(epoch from '2026-07-18 19:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540789 -3.659696)', '2026-07-18 19:05:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54079 -3.65967)'), GeomFromEWKT('SRID=4674;POINT (-38.540789 -3.659696)'))) / (select extract(epoch from '2026-07-18 19:05:45'::timestamp) - extract(epoch from '2026-07-18 19:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54079 -3.65967)'), GeomFromEWKT('SRID=4674;POINT (-38.540789 -3.659696)'))) / (select extract(epoch from '2026-07-18 19:05:45'::timestamp) - extract(epoch from '2026-07-18 19:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540777 -3.659732)', '2026-07-18 19:05:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540789 -3.659696)'), GeomFromEWKT('SRID=4674;POINT (-38.540777 -3.659732)'))) / (select extract(epoch from '2026-07-18 19:05:48'::timestamp) - extract(epoch from '2026-07-18 19:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540789 -3.659696)'), GeomFromEWKT('SRID=4674;POINT (-38.540777 -3.659732)'))) / (select extract(epoch from '2026-07-18 19:05:48'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.540776 -3.659756)', '2026-07-18 19:05:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540777 -3.659732)'), GeomFromEWKT('SRID=4674;POINT (-38.540776 -3.659756)'))) / (select extract(epoch from '2026-07-18 19:05:50'::timestamp) - extract(epoch from '2026-07-18 19:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540777 -3.659732)'), GeomFromEWKT('SRID=4674;POINT (-38.540776 -3.659756)'))) / (select extract(epoch from '2026-07-18 19:05:50'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.540775 -3.659785)', '2026-07-18 19:05:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540776 -3.659756)'), GeomFromEWKT('SRID=4674;POINT (-38.540775 -3.659785)'))) / (select extract(epoch from '2026-07-18 19:05:52'::timestamp) - extract(epoch from '2026-07-18 19:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540776 -3.659756)'), GeomFromEWKT('SRID=4674;POINT (-38.540775 -3.659785)'))) / (select extract(epoch from '2026-07-18 19:05:52'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.540766 -3.659795)', '2026-07-18 19:05:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540775 -3.659785)'), GeomFromEWKT('SRID=4674;POINT (-38.540766 -3.659795)'))) / (select extract(epoch from '2026-07-18 19:05:53'::timestamp) - extract(epoch from '2026-07-18 19:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540775 -3.659785)'), GeomFromEWKT('SRID=4674;POINT (-38.540766 -3.659795)'))) / (select extract(epoch from '2026-07-18 19:05:53'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.540721 -3.659888)', '2026-07-18 19:06:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540766 -3.659795)'), GeomFromEWKT('SRID=4674;POINT (-38.540721 -3.659888)'))) / (select extract(epoch from '2026-07-18 19:06:00'::timestamp) - extract(epoch from '2026-07-18 19:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540766 -3.659795)'), GeomFromEWKT('SRID=4674;POINT (-38.540721 -3.659888)'))) / (select extract(epoch from '2026-07-18 19:06:00'::timestamp) - extract(epoch from '2026-07-18 19:05: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'), 47391, 'SRID=4674;POINT (-38.540692 -3.659969)', '2026-07-18 19:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540721 -3.659888)'), GeomFromEWKT('SRID=4674;POINT (-38.540692 -3.659969)'))) / (select extract(epoch from '2026-07-18 19:06:06'::timestamp) - extract(epoch from '2026-07-18 19:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540721 -3.659888)'), GeomFromEWKT('SRID=4674;POINT (-38.540692 -3.659969)'))) / (select extract(epoch from '2026-07-18 19:06:06'::timestamp) - extract(epoch from '2026-07-18 19:06: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'), 47391, 'SRID=4674;POINT (-38.540665 -3.660056)', '2026-07-18 19:06:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540692 -3.659969)'), GeomFromEWKT('SRID=4674;POINT (-38.540665 -3.660056)'))) / (select extract(epoch from '2026-07-18 19:06:12'::timestamp) - extract(epoch from '2026-07-18 19:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540692 -3.659969)'), GeomFromEWKT('SRID=4674;POINT (-38.540665 -3.660056)'))) / (select extract(epoch from '2026-07-18 19:06:12'::timestamp) - extract(epoch from '2026-07-18 19:06: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'), 47391, 'SRID=4674;POINT (-38.540665 -3.660082)', '2026-07-18 19:06:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540665 -3.660056)'), GeomFromEWKT('SRID=4674;POINT (-38.540665 -3.660082)'))) / (select extract(epoch from '2026-07-18 19:06:14'::timestamp) - extract(epoch from '2026-07-18 19:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540665 -3.660056)'), GeomFromEWKT('SRID=4674;POINT (-38.540665 -3.660082)'))) / (select extract(epoch from '2026-07-18 19:06:14'::timestamp) - extract(epoch from '2026-07-18 19:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540626 -3.660184)', '2026-07-18 19:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540665 -3.660082)'), GeomFromEWKT('SRID=4674;POINT (-38.540626 -3.660184)'))) / (select extract(epoch from '2026-07-18 19:06:21'::timestamp) - extract(epoch from '2026-07-18 19:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540665 -3.660082)'), GeomFromEWKT('SRID=4674;POINT (-38.540626 -3.660184)'))) / (select extract(epoch from '2026-07-18 19:06:21'::timestamp) - extract(epoch from '2026-07-18 19:06:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
