 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699249 -2.672198)', '2026-07-24 09:51:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699245 -2.672176)'), GeomFromEWKT('SRID=4674;POINT (-39.699249 -2.672198)'))) / (select extract(epoch from '2026-07-24 09:51:13'::timestamp) - extract(epoch from '2026-07-24 09:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699245 -2.672176)'), GeomFromEWKT('SRID=4674;POINT (-39.699249 -2.672198)'))) / (select extract(epoch from '2026-07-24 09:51:13'::timestamp) - extract(epoch from '2026-07-24 09:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699264 -2.672324)', '2026-07-24 09:51:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699249 -2.672198)'), GeomFromEWKT('SRID=4674;POINT (-39.699264 -2.672324)'))) / (select extract(epoch from '2026-07-24 09:51:18'::timestamp) - extract(epoch from '2026-07-24 09:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699249 -2.672198)'), GeomFromEWKT('SRID=4674;POINT (-39.699264 -2.672324)'))) / (select extract(epoch from '2026-07-24 09:51:18'::timestamp) - extract(epoch from '2026-07-24 09:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699314 -2.672455)', '2026-07-24 09:51:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699264 -2.672324)'), GeomFromEWKT('SRID=4674;POINT (-39.699314 -2.672455)'))) / (select extract(epoch from '2026-07-24 09:51:24'::timestamp) - extract(epoch from '2026-07-24 09:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699264 -2.672324)'), GeomFromEWKT('SRID=4674;POINT (-39.699314 -2.672455)'))) / (select extract(epoch from '2026-07-24 09:51:24'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.699381 -2.67251)', '2026-07-24 09:51:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699314 -2.672455)'), GeomFromEWKT('SRID=4674;POINT (-39.699381 -2.67251)'))) / (select extract(epoch from '2026-07-24 09:51:29'::timestamp) - extract(epoch from '2026-07-24 09:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699314 -2.672455)'), GeomFromEWKT('SRID=4674;POINT (-39.699381 -2.67251)'))) / (select extract(epoch from '2026-07-24 09:51:29'::timestamp) - extract(epoch from '2026-07-24 09:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699483 -2.672506)', '2026-07-24 09:51:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699381 -2.67251)'), GeomFromEWKT('SRID=4674;POINT (-39.699483 -2.672506)'))) / (select extract(epoch from '2026-07-24 09:51:35'::timestamp) - extract(epoch from '2026-07-24 09:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699381 -2.67251)'), GeomFromEWKT('SRID=4674;POINT (-39.699483 -2.672506)'))) / (select extract(epoch from '2026-07-24 09:51:35'::timestamp) - extract(epoch from '2026-07-24 09:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69955 -2.67245)', '2026-07-24 09:51:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699483 -2.672506)'), GeomFromEWKT('SRID=4674;POINT (-39.69955 -2.67245)'))) / (select extract(epoch from '2026-07-24 09:51:42'::timestamp) - extract(epoch from '2026-07-24 09:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699483 -2.672506)'), GeomFromEWKT('SRID=4674;POINT (-39.69955 -2.67245)'))) / (select extract(epoch from '2026-07-24 09:51:42'::timestamp) - extract(epoch from '2026-07-24 09:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699565 -2.672437)', '2026-07-24 09:51:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69955 -2.67245)'), GeomFromEWKT('SRID=4674;POINT (-39.699565 -2.672437)'))) / (select extract(epoch from '2026-07-24 09:51:44'::timestamp) - extract(epoch from '2026-07-24 09:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69955 -2.67245)'), GeomFromEWKT('SRID=4674;POINT (-39.699565 -2.672437)'))) / (select extract(epoch from '2026-07-24 09:51:44'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.699579 -2.672422)', '2026-07-24 09:51:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699565 -2.672437)'), GeomFromEWKT('SRID=4674;POINT (-39.699579 -2.672422)'))) / (select extract(epoch from '2026-07-24 09:51:47'::timestamp) - extract(epoch from '2026-07-24 09:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699565 -2.672437)'), GeomFromEWKT('SRID=4674;POINT (-39.699579 -2.672422)'))) / (select extract(epoch from '2026-07-24 09:51:47'::timestamp) - extract(epoch from '2026-07-24 09:51: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'), 47870, 'SRID=4674;POINT (-39.699621 -2.672388)', '2026-07-24 09:51:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699579 -2.672422)'), GeomFromEWKT('SRID=4674;POINT (-39.699621 -2.672388)'))) / (select extract(epoch from '2026-07-24 09:51:58'::timestamp) - extract(epoch from '2026-07-24 09:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699579 -2.672422)'), GeomFromEWKT('SRID=4674;POINT (-39.699621 -2.672388)'))) / (select extract(epoch from '2026-07-24 09:51:58'::timestamp) - extract(epoch from '2026-07-24 09:51: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'), 47870, 'SRID=4674;POINT (-39.699642 -2.672363)', '2026-07-24 09:52:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699621 -2.672388)'), GeomFromEWKT('SRID=4674;POINT (-39.699642 -2.672363)'))) / (select extract(epoch from '2026-07-24 09:52:04'::timestamp) - extract(epoch from '2026-07-24 09:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699621 -2.672388)'), GeomFromEWKT('SRID=4674;POINT (-39.699642 -2.672363)'))) / (select extract(epoch from '2026-07-24 09:52:04'::timestamp) - extract(epoch from '2026-07-24 09:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699668 -2.672343)', '2026-07-24 09:52:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699642 -2.672363)'), GeomFromEWKT('SRID=4674;POINT (-39.699668 -2.672343)'))) / (select extract(epoch from '2026-07-24 09:52:13'::timestamp) - extract(epoch from '2026-07-24 09:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699642 -2.672363)'), GeomFromEWKT('SRID=4674;POINT (-39.699668 -2.672343)'))) / (select extract(epoch from '2026-07-24 09:52:13'::timestamp) - extract(epoch from '2026-07-24 09:52:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699693 -2.67233)', '2026-07-24 09:52:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699668 -2.672343)'), GeomFromEWKT('SRID=4674;POINT (-39.699693 -2.67233)'))) / (select extract(epoch from '2026-07-24 09:52:20'::timestamp) - extract(epoch from '2026-07-24 09:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699668 -2.672343)'), GeomFromEWKT('SRID=4674;POINT (-39.699693 -2.67233)'))) / (select extract(epoch from '2026-07-24 09:52:20'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.69972 -2.672315)', '2026-07-24 09:52:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699693 -2.67233)'), GeomFromEWKT('SRID=4674;POINT (-39.69972 -2.672315)'))) / (select extract(epoch from '2026-07-24 09:52:26'::timestamp) - extract(epoch from '2026-07-24 09:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699693 -2.67233)'), GeomFromEWKT('SRID=4674;POINT (-39.69972 -2.672315)'))) / (select extract(epoch from '2026-07-24 09:52:26'::timestamp) - extract(epoch from '2026-07-24 09:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699746 -2.672304)', '2026-07-24 09:52:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69972 -2.672315)'), GeomFromEWKT('SRID=4674;POINT (-39.699746 -2.672304)'))) / (select extract(epoch from '2026-07-24 09:52:34'::timestamp) - extract(epoch from '2026-07-24 09:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69972 -2.672315)'), GeomFromEWKT('SRID=4674;POINT (-39.699746 -2.672304)'))) / (select extract(epoch from '2026-07-24 09:52:34'::timestamp) - extract(epoch from '2026-07-24 09:52: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'), 47870, 'SRID=4674;POINT (-39.699785 -2.672297)', '2026-07-24 09:52:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699746 -2.672304)'), GeomFromEWKT('SRID=4674;POINT (-39.699785 -2.672297)'))) / (select extract(epoch from '2026-07-24 09:52:39'::timestamp) - extract(epoch from '2026-07-24 09:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699746 -2.672304)'), GeomFromEWKT('SRID=4674;POINT (-39.699785 -2.672297)'))) / (select extract(epoch from '2026-07-24 09:52:39'::timestamp) - extract(epoch from '2026-07-24 09:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699809 -2.672279)', '2026-07-24 09:52:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699785 -2.672297)'), GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.672279)'))) / (select extract(epoch from '2026-07-24 09:52:47'::timestamp) - extract(epoch from '2026-07-24 09:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699785 -2.672297)'), GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.672279)'))) / (select extract(epoch from '2026-07-24 09:52:47'::timestamp) - extract(epoch from '2026-07-24 09:52:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699809 -2.672258)', '2026-07-24 09:52:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.672279)'), GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.672258)'))) / (select extract(epoch from '2026-07-24 09:52:54'::timestamp) - extract(epoch from '2026-07-24 09:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.672279)'), GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.672258)'))) / (select extract(epoch from '2026-07-24 09:52:54'::timestamp) - extract(epoch from '2026-07-24 09:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699821 -2.672252)', '2026-07-24 09:53:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.672258)'), GeomFromEWKT('SRID=4674;POINT (-39.699821 -2.672252)'))) / (select extract(epoch from '2026-07-24 09:53:01'::timestamp) - extract(epoch from '2026-07-24 09:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.672258)'), GeomFromEWKT('SRID=4674;POINT (-39.699821 -2.672252)'))) / (select extract(epoch from '2026-07-24 09:53:01'::timestamp) - extract(epoch from '2026-07-24 09:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699841 -2.672243)', '2026-07-24 09:53:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699821 -2.672252)'), GeomFromEWKT('SRID=4674;POINT (-39.699841 -2.672243)'))) / (select extract(epoch from '2026-07-24 09:53:09'::timestamp) - extract(epoch from '2026-07-24 09:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699821 -2.672252)'), GeomFromEWKT('SRID=4674;POINT (-39.699841 -2.672243)'))) / (select extract(epoch from '2026-07-24 09:53:09'::timestamp) - extract(epoch from '2026-07-24 09:53: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'), 47870, 'SRID=4674;POINT (-39.699865 -2.672232)', '2026-07-24 09:53:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699841 -2.672243)'), GeomFromEWKT('SRID=4674;POINT (-39.699865 -2.672232)'))) / (select extract(epoch from '2026-07-24 09:53:16'::timestamp) - extract(epoch from '2026-07-24 09:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699841 -2.672243)'), GeomFromEWKT('SRID=4674;POINT (-39.699865 -2.672232)'))) / (select extract(epoch from '2026-07-24 09:53:16'::timestamp) - extract(epoch from '2026-07-24 09:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699907 -2.672225)', '2026-07-24 09:53:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699865 -2.672232)'), GeomFromEWKT('SRID=4674;POINT (-39.699907 -2.672225)'))) / (select extract(epoch from '2026-07-24 09:53:23'::timestamp) - extract(epoch from '2026-07-24 09:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699865 -2.672232)'), GeomFromEWKT('SRID=4674;POINT (-39.699907 -2.672225)'))) / (select extract(epoch from '2026-07-24 09:53:23'::timestamp) - extract(epoch from '2026-07-24 09:53: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'), 47870, 'SRID=4674;POINT (-39.699943 -2.672217)', '2026-07-24 09:53:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699907 -2.672225)'), GeomFromEWKT('SRID=4674;POINT (-39.699943 -2.672217)'))) / (select extract(epoch from '2026-07-24 09:53:31'::timestamp) - extract(epoch from '2026-07-24 09:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699907 -2.672225)'), GeomFromEWKT('SRID=4674;POINT (-39.699943 -2.672217)'))) / (select extract(epoch from '2026-07-24 09:53:31'::timestamp) - extract(epoch from '2026-07-24 09:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699944 -2.672201)', '2026-07-24 09:53:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699943 -2.672217)'), GeomFromEWKT('SRID=4674;POINT (-39.699944 -2.672201)'))) / (select extract(epoch from '2026-07-24 09:53:38'::timestamp) - extract(epoch from '2026-07-24 09:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699943 -2.672217)'), GeomFromEWKT('SRID=4674;POINT (-39.699944 -2.672201)'))) / (select extract(epoch from '2026-07-24 09:53:38'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.69994 -2.67219)', '2026-07-24 09:53:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699944 -2.672201)'), GeomFromEWKT('SRID=4674;POINT (-39.69994 -2.67219)'))) / (select extract(epoch from '2026-07-24 09:53:45'::timestamp) - extract(epoch from '2026-07-24 09:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699944 -2.672201)'), GeomFromEWKT('SRID=4674;POINT (-39.69994 -2.67219)'))) / (select extract(epoch from '2026-07-24 09:53:45'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.699938 -2.672177)', '2026-07-24 09:53:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69994 -2.67219)'), GeomFromEWKT('SRID=4674;POINT (-39.699938 -2.672177)'))) / (select extract(epoch from '2026-07-24 09:53:54'::timestamp) - extract(epoch from '2026-07-24 09:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69994 -2.67219)'), GeomFromEWKT('SRID=4674;POINT (-39.699938 -2.672177)'))) / (select extract(epoch from '2026-07-24 09:53:54'::timestamp) - extract(epoch from '2026-07-24 09:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699965 -2.672175)', '2026-07-24 09:54:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699938 -2.672177)'), GeomFromEWKT('SRID=4674;POINT (-39.699965 -2.672175)'))) / (select extract(epoch from '2026-07-24 09:54:02'::timestamp) - extract(epoch from '2026-07-24 09:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699938 -2.672177)'), GeomFromEWKT('SRID=4674;POINT (-39.699965 -2.672175)'))) / (select extract(epoch from '2026-07-24 09:54:02'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.699971 -2.67218)', '2026-07-24 09:54:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699965 -2.672175)'), GeomFromEWKT('SRID=4674;POINT (-39.699971 -2.67218)'))) / (select extract(epoch from '2026-07-24 09:54:11'::timestamp) - extract(epoch from '2026-07-24 09:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699965 -2.672175)'), GeomFromEWKT('SRID=4674;POINT (-39.699971 -2.67218)'))) / (select extract(epoch from '2026-07-24 09:54:11'::timestamp) - extract(epoch from '2026-07-24 09:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699958 -2.672202)', '2026-07-24 09:54:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699971 -2.67218)'), GeomFromEWKT('SRID=4674;POINT (-39.699958 -2.672202)'))) / (select extract(epoch from '2026-07-24 09:54:16'::timestamp) - extract(epoch from '2026-07-24 09:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699971 -2.67218)'), GeomFromEWKT('SRID=4674;POINT (-39.699958 -2.672202)'))) / (select extract(epoch from '2026-07-24 09:54:16'::timestamp) - extract(epoch from '2026-07-24 09:54: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'), 47870, 'SRID=4674;POINT (-39.699919 -2.672281)', '2026-07-24 09:54:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699958 -2.672202)'), GeomFromEWKT('SRID=4674;POINT (-39.699919 -2.672281)'))) / (select extract(epoch from '2026-07-24 09:54:23'::timestamp) - extract(epoch from '2026-07-24 09:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699958 -2.672202)'), GeomFromEWKT('SRID=4674;POINT (-39.699919 -2.672281)'))) / (select extract(epoch from '2026-07-24 09:54:23'::timestamp) - extract(epoch from '2026-07-24 09:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699903 -2.672307)', '2026-07-24 09:54:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699919 -2.672281)'), GeomFromEWKT('SRID=4674;POINT (-39.699903 -2.672307)'))) / (select extract(epoch from '2026-07-24 09:54:25'::timestamp) - extract(epoch from '2026-07-24 09:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699919 -2.672281)'), GeomFromEWKT('SRID=4674;POINT (-39.699903 -2.672307)'))) / (select extract(epoch from '2026-07-24 09:54:25'::timestamp) - extract(epoch from '2026-07-24 09:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69986 -2.672352)', '2026-07-24 09:54:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699903 -2.672307)'), GeomFromEWKT('SRID=4674;POINT (-39.69986 -2.672352)'))) / (select extract(epoch from '2026-07-24 09:54:28'::timestamp) - extract(epoch from '2026-07-24 09:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699903 -2.672307)'), GeomFromEWKT('SRID=4674;POINT (-39.69986 -2.672352)'))) / (select extract(epoch from '2026-07-24 09:54:28'::timestamp) - extract(epoch from '2026-07-24 09:54: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'), 47870, 'SRID=4674;POINT (-39.699801 -2.672435)', '2026-07-24 09:54:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69986 -2.672352)'), GeomFromEWKT('SRID=4674;POINT (-39.699801 -2.672435)'))) / (select extract(epoch from '2026-07-24 09:54:33'::timestamp) - extract(epoch from '2026-07-24 09:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69986 -2.672352)'), GeomFromEWKT('SRID=4674;POINT (-39.699801 -2.672435)'))) / (select extract(epoch from '2026-07-24 09:54:33'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.699748 -2.672506)', '2026-07-24 09:54:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699801 -2.672435)'), GeomFromEWKT('SRID=4674;POINT (-39.699748 -2.672506)'))) / (select extract(epoch from '2026-07-24 09:54:37'::timestamp) - extract(epoch from '2026-07-24 09:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699801 -2.672435)'), GeomFromEWKT('SRID=4674;POINT (-39.699748 -2.672506)'))) / (select extract(epoch from '2026-07-24 09:54:37'::timestamp) - extract(epoch from '2026-07-24 09:54: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'), 47870, 'SRID=4674;POINT (-39.699691 -2.672598)', '2026-07-24 09:54:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699748 -2.672506)'), GeomFromEWKT('SRID=4674;POINT (-39.699691 -2.672598)'))) / (select extract(epoch from '2026-07-24 09:54:42'::timestamp) - extract(epoch from '2026-07-24 09:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699748 -2.672506)'), GeomFromEWKT('SRID=4674;POINT (-39.699691 -2.672598)'))) / (select extract(epoch from '2026-07-24 09:54:42'::timestamp) - extract(epoch from '2026-07-24 09:54: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'), 47870, 'SRID=4674;POINT (-39.699656 -2.672726)', '2026-07-24 09:54:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699691 -2.672598)'), GeomFromEWKT('SRID=4674;POINT (-39.699656 -2.672726)'))) / (select extract(epoch from '2026-07-24 09:54:48'::timestamp) - extract(epoch from '2026-07-24 09:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699691 -2.672598)'), GeomFromEWKT('SRID=4674;POINT (-39.699656 -2.672726)'))) / (select extract(epoch from '2026-07-24 09:54:48'::timestamp) - extract(epoch from '2026-07-24 09:54: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'), 47870, 'SRID=4674;POINT (-39.699653 -2.672847)', '2026-07-24 09:54:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699656 -2.672726)'), GeomFromEWKT('SRID=4674;POINT (-39.699653 -2.672847)'))) / (select extract(epoch from '2026-07-24 09:54:53'::timestamp) - extract(epoch from '2026-07-24 09:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699656 -2.672726)'), GeomFromEWKT('SRID=4674;POINT (-39.699653 -2.672847)'))) / (select extract(epoch from '2026-07-24 09:54:53'::timestamp) - extract(epoch from '2026-07-24 09:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699682 -2.672959)', '2026-07-24 09:54:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699653 -2.672847)'), GeomFromEWKT('SRID=4674;POINT (-39.699682 -2.672959)'))) / (select extract(epoch from '2026-07-24 09:54:58'::timestamp) - extract(epoch from '2026-07-24 09:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699653 -2.672847)'), GeomFromEWKT('SRID=4674;POINT (-39.699682 -2.672959)'))) / (select extract(epoch from '2026-07-24 09:54:58'::timestamp) - extract(epoch from '2026-07-24 09:54:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69973 -2.673093)', '2026-07-24 09:55:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699682 -2.672959)'), GeomFromEWKT('SRID=4674;POINT (-39.69973 -2.673093)'))) / (select extract(epoch from '2026-07-24 09:55:04'::timestamp) - extract(epoch from '2026-07-24 09:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699682 -2.672959)'), GeomFromEWKT('SRID=4674;POINT (-39.69973 -2.673093)'))) / (select extract(epoch from '2026-07-24 09:55:04'::timestamp) - extract(epoch from '2026-07-24 09:54: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'), 47870, 'SRID=4674;POINT (-39.699754 -2.673207)', '2026-07-24 09:55:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69973 -2.673093)'), GeomFromEWKT('SRID=4674;POINT (-39.699754 -2.673207)'))) / (select extract(epoch from '2026-07-24 09:55:09'::timestamp) - extract(epoch from '2026-07-24 09:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69973 -2.673093)'), GeomFromEWKT('SRID=4674;POINT (-39.699754 -2.673207)'))) / (select extract(epoch from '2026-07-24 09:55:09'::timestamp) - extract(epoch from '2026-07-24 09:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699783 -2.673316)', '2026-07-24 09:55:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699754 -2.673207)'), GeomFromEWKT('SRID=4674;POINT (-39.699783 -2.673316)'))) / (select extract(epoch from '2026-07-24 09:55:14'::timestamp) - extract(epoch from '2026-07-24 09:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699754 -2.673207)'), GeomFromEWKT('SRID=4674;POINT (-39.699783 -2.673316)'))) / (select extract(epoch from '2026-07-24 09:55:14'::timestamp) - extract(epoch from '2026-07-24 09:55: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'), 47870, 'SRID=4674;POINT (-39.699829 -2.673406)', '2026-07-24 09:55:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699783 -2.673316)'), GeomFromEWKT('SRID=4674;POINT (-39.699829 -2.673406)'))) / (select extract(epoch from '2026-07-24 09:55:19'::timestamp) - extract(epoch from '2026-07-24 09:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699783 -2.673316)'), GeomFromEWKT('SRID=4674;POINT (-39.699829 -2.673406)'))) / (select extract(epoch from '2026-07-24 09:55:19'::timestamp) - extract(epoch from '2026-07-24 09:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699912 -2.673464)', '2026-07-24 09:55:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699829 -2.673406)'), GeomFromEWKT('SRID=4674;POINT (-39.699912 -2.673464)'))) / (select extract(epoch from '2026-07-24 09:55:26'::timestamp) - extract(epoch from '2026-07-24 09:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699829 -2.673406)'), GeomFromEWKT('SRID=4674;POINT (-39.699912 -2.673464)'))) / (select extract(epoch from '2026-07-24 09:55:26'::timestamp) - extract(epoch from '2026-07-24 09:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699976 -2.673474)', '2026-07-24 09:55:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699912 -2.673464)'), GeomFromEWKT('SRID=4674;POINT (-39.699976 -2.673474)'))) / (select extract(epoch from '2026-07-24 09:55:30'::timestamp) - extract(epoch from '2026-07-24 09:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699912 -2.673464)'), GeomFromEWKT('SRID=4674;POINT (-39.699976 -2.673474)'))) / (select extract(epoch from '2026-07-24 09:55:30'::timestamp) - extract(epoch from '2026-07-24 09:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699985 -2.67347)', '2026-07-24 09:55:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699976 -2.673474)'), GeomFromEWKT('SRID=4674;POINT (-39.699985 -2.67347)'))) / (select extract(epoch from '2026-07-24 09:55:31'::timestamp) - extract(epoch from '2026-07-24 09:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699976 -2.673474)'), GeomFromEWKT('SRID=4674;POINT (-39.699985 -2.67347)'))) / (select extract(epoch from '2026-07-24 09:55:31'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.700063 -2.673459)', '2026-07-24 09:55:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699985 -2.67347)'), GeomFromEWKT('SRID=4674;POINT (-39.700063 -2.673459)'))) / (select extract(epoch from '2026-07-24 09:55:36'::timestamp) - extract(epoch from '2026-07-24 09:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699985 -2.67347)'), GeomFromEWKT('SRID=4674;POINT (-39.700063 -2.673459)'))) / (select extract(epoch from '2026-07-24 09:55:36'::timestamp) - extract(epoch from '2026-07-24 09:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700113 -2.673418)', '2026-07-24 09:55:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700063 -2.673459)'), GeomFromEWKT('SRID=4674;POINT (-39.700113 -2.673418)'))) / (select extract(epoch from '2026-07-24 09:55:41'::timestamp) - extract(epoch from '2026-07-24 09:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700063 -2.673459)'), GeomFromEWKT('SRID=4674;POINT (-39.700113 -2.673418)'))) / (select extract(epoch from '2026-07-24 09:55:41'::timestamp) - extract(epoch from '2026-07-24 09:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700119 -2.673408)', '2026-07-24 09:55:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700113 -2.673418)'), GeomFromEWKT('SRID=4674;POINT (-39.700119 -2.673408)'))) / (select extract(epoch from '2026-07-24 09:55:42'::timestamp) - extract(epoch from '2026-07-24 09:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700113 -2.673418)'), GeomFromEWKT('SRID=4674;POINT (-39.700119 -2.673408)'))) / (select extract(epoch from '2026-07-24 09:55:42'::timestamp) - extract(epoch from '2026-07-24 09:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700145 -2.673366)', '2026-07-24 09:55:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700119 -2.673408)'), GeomFromEWKT('SRID=4674;POINT (-39.700145 -2.673366)'))) / (select extract(epoch from '2026-07-24 09:55:49'::timestamp) - extract(epoch from '2026-07-24 09:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700119 -2.673408)'), GeomFromEWKT('SRID=4674;POINT (-39.700145 -2.673366)'))) / (select extract(epoch from '2026-07-24 09:55:49'::timestamp) - extract(epoch from '2026-07-24 09:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70016 -2.673329)', '2026-07-24 09:55:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700145 -2.673366)'), GeomFromEWKT('SRID=4674;POINT (-39.70016 -2.673329)'))) / (select extract(epoch from '2026-07-24 09:55:58'::timestamp) - extract(epoch from '2026-07-24 09:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700145 -2.673366)'), GeomFromEWKT('SRID=4674;POINT (-39.70016 -2.673329)'))) / (select extract(epoch from '2026-07-24 09:55:58'::timestamp) - extract(epoch from '2026-07-24 09:55: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'), 47870, 'SRID=4674;POINT (-39.70016 -2.673304)', '2026-07-24 09:56:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70016 -2.673329)'), GeomFromEWKT('SRID=4674;POINT (-39.70016 -2.673304)'))) / (select extract(epoch from '2026-07-24 09:56:04'::timestamp) - extract(epoch from '2026-07-24 09:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70016 -2.673329)'), GeomFromEWKT('SRID=4674;POINT (-39.70016 -2.673304)'))) / (select extract(epoch from '2026-07-24 09:56:04'::timestamp) - extract(epoch from '2026-07-24 09:55:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700167 -2.673287)', '2026-07-24 09:56:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70016 -2.673304)'), GeomFromEWKT('SRID=4674;POINT (-39.700167 -2.673287)'))) / (select extract(epoch from '2026-07-24 09:56:10'::timestamp) - extract(epoch from '2026-07-24 09:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70016 -2.673304)'), GeomFromEWKT('SRID=4674;POINT (-39.700167 -2.673287)'))) / (select extract(epoch from '2026-07-24 09:56:10'::timestamp) - extract(epoch from '2026-07-24 09:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700179 -2.67326)', '2026-07-24 09:56:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700167 -2.673287)'), GeomFromEWKT('SRID=4674;POINT (-39.700179 -2.67326)'))) / (select extract(epoch from '2026-07-24 09:56:17'::timestamp) - extract(epoch from '2026-07-24 09:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700167 -2.673287)'), GeomFromEWKT('SRID=4674;POINT (-39.700179 -2.67326)'))) / (select extract(epoch from '2026-07-24 09:56:17'::timestamp) - extract(epoch from '2026-07-24 09:56: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'), 47870, 'SRID=4674;POINT (-39.700202 -2.673233)', '2026-07-24 09:56:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700179 -2.67326)'), GeomFromEWKT('SRID=4674;POINT (-39.700202 -2.673233)'))) / (select extract(epoch from '2026-07-24 09:56:25'::timestamp) - extract(epoch from '2026-07-24 09:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700179 -2.67326)'), GeomFromEWKT('SRID=4674;POINT (-39.700202 -2.673233)'))) / (select extract(epoch from '2026-07-24 09:56:25'::timestamp) - extract(epoch from '2026-07-24 09:56: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'), 47870, 'SRID=4674;POINT (-39.700223 -2.673222)', '2026-07-24 09:56:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700202 -2.673233)'), GeomFromEWKT('SRID=4674;POINT (-39.700223 -2.673222)'))) / (select extract(epoch from '2026-07-24 09:56:32'::timestamp) - extract(epoch from '2026-07-24 09:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700202 -2.673233)'), GeomFromEWKT('SRID=4674;POINT (-39.700223 -2.673222)'))) / (select extract(epoch from '2026-07-24 09:56:32'::timestamp) - extract(epoch from '2026-07-24 09:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700224 -2.673201)', '2026-07-24 09:56:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700223 -2.673222)'), GeomFromEWKT('SRID=4674;POINT (-39.700224 -2.673201)'))) / (select extract(epoch from '2026-07-24 09:56:38'::timestamp) - extract(epoch from '2026-07-24 09:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700223 -2.673222)'), GeomFromEWKT('SRID=4674;POINT (-39.700224 -2.673201)'))) / (select extract(epoch from '2026-07-24 09:56:38'::timestamp) - extract(epoch from '2026-07-24 09:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700233 -2.673175)', '2026-07-24 09:56:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700224 -2.673201)'), GeomFromEWKT('SRID=4674;POINT (-39.700233 -2.673175)'))) / (select extract(epoch from '2026-07-24 09:56:46'::timestamp) - extract(epoch from '2026-07-24 09:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700224 -2.673201)'), GeomFromEWKT('SRID=4674;POINT (-39.700233 -2.673175)'))) / (select extract(epoch from '2026-07-24 09:56:46'::timestamp) - extract(epoch from '2026-07-24 09:56: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'), 47870, 'SRID=4674;POINT (-39.700247 -2.673162)', '2026-07-24 09:56:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700233 -2.673175)'), GeomFromEWKT('SRID=4674;POINT (-39.700247 -2.673162)'))) / (select extract(epoch from '2026-07-24 09:56:53'::timestamp) - extract(epoch from '2026-07-24 09:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700233 -2.673175)'), GeomFromEWKT('SRID=4674;POINT (-39.700247 -2.673162)'))) / (select extract(epoch from '2026-07-24 09:56:53'::timestamp) - extract(epoch from '2026-07-24 09:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700259 -2.673152)', '2026-07-24 09:56:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700247 -2.673162)'), GeomFromEWKT('SRID=4674;POINT (-39.700259 -2.673152)'))) / (select extract(epoch from '2026-07-24 09:56:59'::timestamp) - extract(epoch from '2026-07-24 09:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700247 -2.673162)'), GeomFromEWKT('SRID=4674;POINT (-39.700259 -2.673152)'))) / (select extract(epoch from '2026-07-24 09:56:59'::timestamp) - extract(epoch from '2026-07-24 09:56: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'), 47870, 'SRID=4674;POINT (-39.70023 -2.673144)', '2026-07-24 09:57:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700259 -2.673152)'), GeomFromEWKT('SRID=4674;POINT (-39.70023 -2.673144)'))) / (select extract(epoch from '2026-07-24 09:57:09'::timestamp) - extract(epoch from '2026-07-24 09:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700259 -2.673152)'), GeomFromEWKT('SRID=4674;POINT (-39.70023 -2.673144)'))) / (select extract(epoch from '2026-07-24 09:57:09'::timestamp) - extract(epoch from '2026-07-24 09:56: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'), 47870, 'SRID=4674;POINT (-39.700204 -2.673162)', '2026-07-24 09:57:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70023 -2.673144)'), GeomFromEWKT('SRID=4674;POINT (-39.700204 -2.673162)'))) / (select extract(epoch from '2026-07-24 09:57:12'::timestamp) - extract(epoch from '2026-07-24 09:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70023 -2.673144)'), GeomFromEWKT('SRID=4674;POINT (-39.700204 -2.673162)'))) / (select extract(epoch from '2026-07-24 09:57:12'::timestamp) - extract(epoch from '2026-07-24 09:57:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70018 -2.673189)', '2026-07-24 09:57:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700204 -2.673162)'), GeomFromEWKT('SRID=4674;POINT (-39.70018 -2.673189)'))) / (select extract(epoch from '2026-07-24 09:57:15'::timestamp) - extract(epoch from '2026-07-24 09:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700204 -2.673162)'), GeomFromEWKT('SRID=4674;POINT (-39.70018 -2.673189)'))) / (select extract(epoch from '2026-07-24 09:57:15'::timestamp) - extract(epoch from '2026-07-24 09:57: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'), 47870, 'SRID=4674;POINT (-39.700139 -2.673287)', '2026-07-24 09:57:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70018 -2.673189)'), GeomFromEWKT('SRID=4674;POINT (-39.700139 -2.673287)'))) / (select extract(epoch from '2026-07-24 09:57:21'::timestamp) - extract(epoch from '2026-07-24 09:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70018 -2.673189)'), GeomFromEWKT('SRID=4674;POINT (-39.700139 -2.673287)'))) / (select extract(epoch from '2026-07-24 09:57:21'::timestamp) - extract(epoch from '2026-07-24 09:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70015 -2.673435)', '2026-07-24 09:57:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700139 -2.673287)'), GeomFromEWKT('SRID=4674;POINT (-39.70015 -2.673435)'))) / (select extract(epoch from '2026-07-24 09:57:28'::timestamp) - extract(epoch from '2026-07-24 09:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700139 -2.673287)'), GeomFromEWKT('SRID=4674;POINT (-39.70015 -2.673435)'))) / (select extract(epoch from '2026-07-24 09:57:28'::timestamp) - extract(epoch from '2026-07-24 09:57: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'), 47870, 'SRID=4674;POINT (-39.700178 -2.673599)', '2026-07-24 09:57:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70015 -2.673435)'), GeomFromEWKT('SRID=4674;POINT (-39.700178 -2.673599)'))) / (select extract(epoch from '2026-07-24 09:57:35'::timestamp) - extract(epoch from '2026-07-24 09:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70015 -2.673435)'), GeomFromEWKT('SRID=4674;POINT (-39.700178 -2.673599)'))) / (select extract(epoch from '2026-07-24 09:57:35'::timestamp) - extract(epoch from '2026-07-24 09:57: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'), 47870, 'SRID=4674;POINT (-39.700212 -2.673743)', '2026-07-24 09:57:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700178 -2.673599)'), GeomFromEWKT('SRID=4674;POINT (-39.700212 -2.673743)'))) / (select extract(epoch from '2026-07-24 09:57:41'::timestamp) - extract(epoch from '2026-07-24 09:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700178 -2.673599)'), GeomFromEWKT('SRID=4674;POINT (-39.700212 -2.673743)'))) / (select extract(epoch from '2026-07-24 09:57:41'::timestamp) - extract(epoch from '2026-07-24 09:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700237 -2.673876)', '2026-07-24 09:57:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700212 -2.673743)'), GeomFromEWKT('SRID=4674;POINT (-39.700237 -2.673876)'))) / (select extract(epoch from '2026-07-24 09:57:47'::timestamp) - extract(epoch from '2026-07-24 09:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700212 -2.673743)'), GeomFromEWKT('SRID=4674;POINT (-39.700237 -2.673876)'))) / (select extract(epoch from '2026-07-24 09:57:47'::timestamp) - extract(epoch from '2026-07-24 09:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700242 -2.673899)', '2026-07-24 09:57:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700237 -2.673876)'), GeomFromEWKT('SRID=4674;POINT (-39.700242 -2.673899)'))) / (select extract(epoch from '2026-07-24 09:57:48'::timestamp) - extract(epoch from '2026-07-24 09:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700237 -2.673876)'), GeomFromEWKT('SRID=4674;POINT (-39.700242 -2.673899)'))) / (select extract(epoch from '2026-07-24 09:57:48'::timestamp) - extract(epoch from '2026-07-24 09:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70025 -2.673966)', '2026-07-24 09:57:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700242 -2.673899)'), GeomFromEWKT('SRID=4674;POINT (-39.70025 -2.673966)'))) / (select extract(epoch from '2026-07-24 09:57:51'::timestamp) - extract(epoch from '2026-07-24 09:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700242 -2.673899)'), GeomFromEWKT('SRID=4674;POINT (-39.70025 -2.673966)'))) / (select extract(epoch from '2026-07-24 09:57:51'::timestamp) - extract(epoch from '2026-07-24 09:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700272 -2.674079)', '2026-07-24 09:57:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70025 -2.673966)'), GeomFromEWKT('SRID=4674;POINT (-39.700272 -2.674079)'))) / (select extract(epoch from '2026-07-24 09:57:56'::timestamp) - extract(epoch from '2026-07-24 09:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70025 -2.673966)'), GeomFromEWKT('SRID=4674;POINT (-39.700272 -2.674079)'))) / (select extract(epoch from '2026-07-24 09:57:56'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.700318 -2.674217)', '2026-07-24 09:58:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700272 -2.674079)'), GeomFromEWKT('SRID=4674;POINT (-39.700318 -2.674217)'))) / (select extract(epoch from '2026-07-24 09:58:02'::timestamp) - extract(epoch from '2026-07-24 09:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700272 -2.674079)'), GeomFromEWKT('SRID=4674;POINT (-39.700318 -2.674217)'))) / (select extract(epoch from '2026-07-24 09:58:02'::timestamp) - extract(epoch from '2026-07-24 09:57: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'), 47870, 'SRID=4674;POINT (-39.700372 -2.6744)', '2026-07-24 09:58:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700318 -2.674217)'), GeomFromEWKT('SRID=4674;POINT (-39.700372 -2.6744)'))) / (select extract(epoch from '2026-07-24 09:58:10'::timestamp) - extract(epoch from '2026-07-24 09:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700318 -2.674217)'), GeomFromEWKT('SRID=4674;POINT (-39.700372 -2.6744)'))) / (select extract(epoch from '2026-07-24 09:58:10'::timestamp) - extract(epoch from '2026-07-24 09:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700402 -2.674509)', '2026-07-24 09:58:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700372 -2.6744)'), GeomFromEWKT('SRID=4674;POINT (-39.700402 -2.674509)'))) / (select extract(epoch from '2026-07-24 09:58:15'::timestamp) - extract(epoch from '2026-07-24 09:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700372 -2.6744)'), GeomFromEWKT('SRID=4674;POINT (-39.700402 -2.674509)'))) / (select extract(epoch from '2026-07-24 09:58:15'::timestamp) - extract(epoch from '2026-07-24 09:58: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'), 47870, 'SRID=4674;POINT (-39.700417 -2.674575)', '2026-07-24 09:58:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700402 -2.674509)'), GeomFromEWKT('SRID=4674;POINT (-39.700417 -2.674575)'))) / (select extract(epoch from '2026-07-24 09:58:20'::timestamp) - extract(epoch from '2026-07-24 09:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700402 -2.674509)'), GeomFromEWKT('SRID=4674;POINT (-39.700417 -2.674575)'))) / (select extract(epoch from '2026-07-24 09:58:20'::timestamp) - extract(epoch from '2026-07-24 09:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70043 -2.674609)', '2026-07-24 09:58:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700417 -2.674575)'), GeomFromEWKT('SRID=4674;POINT (-39.70043 -2.674609)'))) / (select extract(epoch from '2026-07-24 09:58:26'::timestamp) - extract(epoch from '2026-07-24 09:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700417 -2.674575)'), GeomFromEWKT('SRID=4674;POINT (-39.70043 -2.674609)'))) / (select extract(epoch from '2026-07-24 09:58:26'::timestamp) - extract(epoch from '2026-07-24 09:58: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'), 47870, 'SRID=4674;POINT (-39.700426 -2.674619)', '2026-07-24 09:58:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70043 -2.674609)'), GeomFromEWKT('SRID=4674;POINT (-39.700426 -2.674619)'))) / (select extract(epoch from '2026-07-24 09:58:32'::timestamp) - extract(epoch from '2026-07-24 09:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70043 -2.674609)'), GeomFromEWKT('SRID=4674;POINT (-39.700426 -2.674619)'))) / (select extract(epoch from '2026-07-24 09:58:32'::timestamp) - extract(epoch from '2026-07-24 09:58: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'), 47870, 'SRID=4674;POINT (-39.700416 -2.67458)', '2026-07-24 09:58:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700426 -2.674619)'), GeomFromEWKT('SRID=4674;POINT (-39.700416 -2.67458)'))) / (select extract(epoch from '2026-07-24 09:58:39'::timestamp) - extract(epoch from '2026-07-24 09:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700426 -2.674619)'), GeomFromEWKT('SRID=4674;POINT (-39.700416 -2.67458)'))) / (select extract(epoch from '2026-07-24 09:58:39'::timestamp) - extract(epoch from '2026-07-24 09:58: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'), 47870, 'SRID=4674;POINT (-39.700434 -2.674524)', '2026-07-24 09:58:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700416 -2.67458)'), GeomFromEWKT('SRID=4674;POINT (-39.700434 -2.674524)'))) / (select extract(epoch from '2026-07-24 09:58:45'::timestamp) - extract(epoch from '2026-07-24 09:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700416 -2.67458)'), GeomFromEWKT('SRID=4674;POINT (-39.700434 -2.674524)'))) / (select extract(epoch from '2026-07-24 09:58:45'::timestamp) - extract(epoch from '2026-07-24 09:58: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'), 47870, 'SRID=4674;POINT (-39.700445 -2.674505)', '2026-07-24 09:58:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700434 -2.674524)'), GeomFromEWKT('SRID=4674;POINT (-39.700445 -2.674505)'))) / (select extract(epoch from '2026-07-24 09:58:47'::timestamp) - extract(epoch from '2026-07-24 09:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700434 -2.674524)'), GeomFromEWKT('SRID=4674;POINT (-39.700445 -2.674505)'))) / (select extract(epoch from '2026-07-24 09:58:47'::timestamp) - extract(epoch from '2026-07-24 09:58:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70046 -2.674486)', '2026-07-24 09:58:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700445 -2.674505)'), GeomFromEWKT('SRID=4674;POINT (-39.70046 -2.674486)'))) / (select extract(epoch from '2026-07-24 09:58:49'::timestamp) - extract(epoch from '2026-07-24 09:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700445 -2.674505)'), GeomFromEWKT('SRID=4674;POINT (-39.70046 -2.674486)'))) / (select extract(epoch from '2026-07-24 09:58:49'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.700463 -2.674476)', '2026-07-24 09:58:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70046 -2.674486)'), GeomFromEWKT('SRID=4674;POINT (-39.700463 -2.674476)'))) / (select extract(epoch from '2026-07-24 09:58:50'::timestamp) - extract(epoch from '2026-07-24 09:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70046 -2.674486)'), GeomFromEWKT('SRID=4674;POINT (-39.700463 -2.674476)'))) / (select extract(epoch from '2026-07-24 09:58:50'::timestamp) - extract(epoch from '2026-07-24 09:58: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'), 47870, 'SRID=4674;POINT (-39.700468 -2.674466)', '2026-07-24 09:58:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700463 -2.674476)'), GeomFromEWKT('SRID=4674;POINT (-39.700468 -2.674466)'))) / (select extract(epoch from '2026-07-24 09:58:51'::timestamp) - extract(epoch from '2026-07-24 09:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700463 -2.674476)'), GeomFromEWKT('SRID=4674;POINT (-39.700468 -2.674466)'))) / (select extract(epoch from '2026-07-24 09:58:51'::timestamp) - extract(epoch from '2026-07-24 09:58: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'), 47870, 'SRID=4674;POINT (-39.700477 -2.674447)', '2026-07-24 09:58:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700468 -2.674466)'), GeomFromEWKT('SRID=4674;POINT (-39.700477 -2.674447)'))) / (select extract(epoch from '2026-07-24 09:58:53'::timestamp) - extract(epoch from '2026-07-24 09:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700468 -2.674466)'), GeomFromEWKT('SRID=4674;POINT (-39.700477 -2.674447)'))) / (select extract(epoch from '2026-07-24 09:58:53'::timestamp) - extract(epoch from '2026-07-24 09:58: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'), 47870, 'SRID=4674;POINT (-39.700489 -2.674429)', '2026-07-24 09:58:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700477 -2.674447)'), GeomFromEWKT('SRID=4674;POINT (-39.700489 -2.674429)'))) / (select extract(epoch from '2026-07-24 09:58:55'::timestamp) - extract(epoch from '2026-07-24 09:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700477 -2.674447)'), GeomFromEWKT('SRID=4674;POINT (-39.700489 -2.674429)'))) / (select extract(epoch from '2026-07-24 09:58:55'::timestamp) - extract(epoch from '2026-07-24 09:58: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'), 47870, 'SRID=4674;POINT (-39.700495 -2.674421)', '2026-07-24 09:58:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700489 -2.674429)'), GeomFromEWKT('SRID=4674;POINT (-39.700495 -2.674421)'))) / (select extract(epoch from '2026-07-24 09:58:56'::timestamp) - extract(epoch from '2026-07-24 09:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700489 -2.674429)'), GeomFromEWKT('SRID=4674;POINT (-39.700495 -2.674421)'))) / (select extract(epoch from '2026-07-24 09:58:56'::timestamp) - extract(epoch from '2026-07-24 09:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700506 -2.674391)', '2026-07-24 09:58:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700495 -2.674421)'), GeomFromEWKT('SRID=4674;POINT (-39.700506 -2.674391)'))) / (select extract(epoch from '2026-07-24 09:58:59'::timestamp) - extract(epoch from '2026-07-24 09:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700495 -2.674421)'), GeomFromEWKT('SRID=4674;POINT (-39.700506 -2.674391)'))) / (select extract(epoch from '2026-07-24 09:58:59'::timestamp) - extract(epoch from '2026-07-24 09:58:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700513 -2.674384)', '2026-07-24 09:59:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700506 -2.674391)'), GeomFromEWKT('SRID=4674;POINT (-39.700513 -2.674384)'))) / (select extract(epoch from '2026-07-24 09:59:00'::timestamp) - extract(epoch from '2026-07-24 09:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700506 -2.674391)'), GeomFromEWKT('SRID=4674;POINT (-39.700513 -2.674384)'))) / (select extract(epoch from '2026-07-24 09:59:00'::timestamp) - extract(epoch from '2026-07-24 09:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700555 -2.674348)', '2026-07-24 09:59:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700513 -2.674384)'), GeomFromEWKT('SRID=4674;POINT (-39.700555 -2.674348)'))) / (select extract(epoch from '2026-07-24 09:59:09'::timestamp) - extract(epoch from '2026-07-24 09:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700513 -2.674384)'), GeomFromEWKT('SRID=4674;POINT (-39.700555 -2.674348)'))) / (select extract(epoch from '2026-07-24 09:59:09'::timestamp) - extract(epoch from '2026-07-24 09:59: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'), 47870, 'SRID=4674;POINT (-39.700598 -2.674319)', '2026-07-24 09:59:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700555 -2.674348)'), GeomFromEWKT('SRID=4674;POINT (-39.700598 -2.674319)'))) / (select extract(epoch from '2026-07-24 09:59:18'::timestamp) - extract(epoch from '2026-07-24 09:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700555 -2.674348)'), GeomFromEWKT('SRID=4674;POINT (-39.700598 -2.674319)'))) / (select extract(epoch from '2026-07-24 09:59:18'::timestamp) - extract(epoch from '2026-07-24 09:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700654 -2.67429)', '2026-07-24 09:59:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700598 -2.674319)'), GeomFromEWKT('SRID=4674;POINT (-39.700654 -2.67429)'))) / (select extract(epoch from '2026-07-24 09:59:27'::timestamp) - extract(epoch from '2026-07-24 09:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700598 -2.674319)'), GeomFromEWKT('SRID=4674;POINT (-39.700654 -2.67429)'))) / (select extract(epoch from '2026-07-24 09:59:27'::timestamp) - extract(epoch from '2026-07-24 09:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700696 -2.67426)', '2026-07-24 09:59:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700654 -2.67429)'), GeomFromEWKT('SRID=4674;POINT (-39.700696 -2.67426)'))) / (select extract(epoch from '2026-07-24 09:59:34'::timestamp) - extract(epoch from '2026-07-24 09:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700654 -2.67429)'), GeomFromEWKT('SRID=4674;POINT (-39.700696 -2.67426)'))) / (select extract(epoch from '2026-07-24 09:59:34'::timestamp) - extract(epoch from '2026-07-24 09:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700714 -2.674242)', '2026-07-24 09:59:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700696 -2.67426)'), GeomFromEWKT('SRID=4674;POINT (-39.700714 -2.674242)'))) / (select extract(epoch from '2026-07-24 09:59:41'::timestamp) - extract(epoch from '2026-07-24 09:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700696 -2.67426)'), GeomFromEWKT('SRID=4674;POINT (-39.700714 -2.674242)'))) / (select extract(epoch from '2026-07-24 09:59:41'::timestamp) - extract(epoch from '2026-07-24 09:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700722 -2.674247)', '2026-07-24 09:59:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700714 -2.674242)'), GeomFromEWKT('SRID=4674;POINT (-39.700722 -2.674247)'))) / (select extract(epoch from '2026-07-24 09:59:48'::timestamp) - extract(epoch from '2026-07-24 09:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700714 -2.674242)'), GeomFromEWKT('SRID=4674;POINT (-39.700722 -2.674247)'))) / (select extract(epoch from '2026-07-24 09:59:48'::timestamp) - extract(epoch from '2026-07-24 09: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'), 47870, 'SRID=4674;POINT (-39.70075 -2.674243)', '2026-07-24 10:00:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700722 -2.674247)'), GeomFromEWKT('SRID=4674;POINT (-39.70075 -2.674243)'))) / (select extract(epoch from '2026-07-24 10:00:01'::timestamp) - extract(epoch from '2026-07-24 09:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700722 -2.674247)'), GeomFromEWKT('SRID=4674;POINT (-39.70075 -2.674243)'))) / (select extract(epoch from '2026-07-24 10:00:01'::timestamp) - extract(epoch from '2026-07-24 09:59: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'), 47870, 'SRID=4674;POINT (-39.700779 -2.674229)', '2026-07-24 10:00:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70075 -2.674243)'), GeomFromEWKT('SRID=4674;POINT (-39.700779 -2.674229)'))) / (select extract(epoch from '2026-07-24 10:00:07'::timestamp) - extract(epoch from '2026-07-24 10:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70075 -2.674243)'), GeomFromEWKT('SRID=4674;POINT (-39.700779 -2.674229)'))) / (select extract(epoch from '2026-07-24 10:00:07'::timestamp) - extract(epoch from '2026-07-24 10:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700806 -2.674206)', '2026-07-24 10:00:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700779 -2.674229)'), GeomFromEWKT('SRID=4674;POINT (-39.700806 -2.674206)'))) / (select extract(epoch from '2026-07-24 10:00:14'::timestamp) - extract(epoch from '2026-07-24 10:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700779 -2.674229)'), GeomFromEWKT('SRID=4674;POINT (-39.700806 -2.674206)'))) / (select extract(epoch from '2026-07-24 10:00:14'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.700843 -2.674188)', '2026-07-24 10:00:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700806 -2.674206)'), GeomFromEWKT('SRID=4674;POINT (-39.700843 -2.674188)'))) / (select extract(epoch from '2026-07-24 10:00:21'::timestamp) - extract(epoch from '2026-07-24 10:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700806 -2.674206)'), GeomFromEWKT('SRID=4674;POINT (-39.700843 -2.674188)'))) / (select extract(epoch from '2026-07-24 10:00:21'::timestamp) - extract(epoch from '2026-07-24 10:00:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700837 -2.674149)', '2026-07-24 10:00:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700843 -2.674188)'), GeomFromEWKT('SRID=4674;POINT (-39.700837 -2.674149)'))) / (select extract(epoch from '2026-07-24 10:00:28'::timestamp) - extract(epoch from '2026-07-24 10:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700843 -2.674188)'), GeomFromEWKT('SRID=4674;POINT (-39.700837 -2.674149)'))) / (select extract(epoch from '2026-07-24 10:00:28'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.700833 -2.674114)', '2026-07-24 10:00:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700837 -2.674149)'), GeomFromEWKT('SRID=4674;POINT (-39.700833 -2.674114)'))) / (select extract(epoch from '2026-07-24 10:00:35'::timestamp) - extract(epoch from '2026-07-24 10:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700837 -2.674149)'), GeomFromEWKT('SRID=4674;POINT (-39.700833 -2.674114)'))) / (select extract(epoch from '2026-07-24 10:00:35'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.700834 -2.6741)', '2026-07-24 10:00:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700833 -2.674114)'), GeomFromEWKT('SRID=4674;POINT (-39.700834 -2.6741)'))) / (select extract(epoch from '2026-07-24 10:00:40'::timestamp) - extract(epoch from '2026-07-24 10:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700833 -2.674114)'), GeomFromEWKT('SRID=4674;POINT (-39.700834 -2.6741)'))) / (select extract(epoch from '2026-07-24 10:00:40'::timestamp) - extract(epoch from '2026-07-24 10:00: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'), 47870, 'SRID=4674;POINT (-39.700845 -2.674086)', '2026-07-24 10:00:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700834 -2.6741)'), GeomFromEWKT('SRID=4674;POINT (-39.700845 -2.674086)'))) / (select extract(epoch from '2026-07-24 10:00:46'::timestamp) - extract(epoch from '2026-07-24 10:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700834 -2.6741)'), GeomFromEWKT('SRID=4674;POINT (-39.700845 -2.674086)'))) / (select extract(epoch from '2026-07-24 10:00:46'::timestamp) - extract(epoch from '2026-07-24 10:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700876 -2.674081)', '2026-07-24 10:00:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700845 -2.674086)'), GeomFromEWKT('SRID=4674;POINT (-39.700876 -2.674081)'))) / (select extract(epoch from '2026-07-24 10:00:53'::timestamp) - extract(epoch from '2026-07-24 10:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700845 -2.674086)'), GeomFromEWKT('SRID=4674;POINT (-39.700876 -2.674081)'))) / (select extract(epoch from '2026-07-24 10:00:53'::timestamp) - extract(epoch from '2026-07-24 10:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700907 -2.674064)', '2026-07-24 10:00:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700876 -2.674081)'), GeomFromEWKT('SRID=4674;POINT (-39.700907 -2.674064)'))) / (select extract(epoch from '2026-07-24 10:00:59'::timestamp) - extract(epoch from '2026-07-24 10:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700876 -2.674081)'), GeomFromEWKT('SRID=4674;POINT (-39.700907 -2.674064)'))) / (select extract(epoch from '2026-07-24 10:00:59'::timestamp) - extract(epoch from '2026-07-24 10:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700929 -2.674054)', '2026-07-24 10:01:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700907 -2.674064)'), GeomFromEWKT('SRID=4674;POINT (-39.700929 -2.674054)'))) / (select extract(epoch from '2026-07-24 10:01:08'::timestamp) - extract(epoch from '2026-07-24 10:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700907 -2.674064)'), GeomFromEWKT('SRID=4674;POINT (-39.700929 -2.674054)'))) / (select extract(epoch from '2026-07-24 10:01:08'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.700932 -2.674047)', '2026-07-24 10:01:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700929 -2.674054)'), GeomFromEWKT('SRID=4674;POINT (-39.700932 -2.674047)'))) / (select extract(epoch from '2026-07-24 10:01:10'::timestamp) - extract(epoch from '2026-07-24 10:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700929 -2.674054)'), GeomFromEWKT('SRID=4674;POINT (-39.700932 -2.674047)'))) / (select extract(epoch from '2026-07-24 10:01:10'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.70096 -2.674042)', '2026-07-24 10:01:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700932 -2.674047)'), GeomFromEWKT('SRID=4674;POINT (-39.70096 -2.674042)'))) / (select extract(epoch from '2026-07-24 10:01:14'::timestamp) - extract(epoch from '2026-07-24 10:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700932 -2.674047)'), GeomFromEWKT('SRID=4674;POINT (-39.70096 -2.674042)'))) / (select extract(epoch from '2026-07-24 10:01:14'::timestamp) - extract(epoch from '2026-07-24 10:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700968 -2.674034)', '2026-07-24 10:01:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70096 -2.674042)'), GeomFromEWKT('SRID=4674;POINT (-39.700968 -2.674034)'))) / (select extract(epoch from '2026-07-24 10:01:22'::timestamp) - extract(epoch from '2026-07-24 10:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70096 -2.674042)'), GeomFromEWKT('SRID=4674;POINT (-39.700968 -2.674034)'))) / (select extract(epoch from '2026-07-24 10:01:22'::timestamp) - extract(epoch from '2026-07-24 10:01: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'), 47870, 'SRID=4674;POINT (-39.700979 -2.674037)', '2026-07-24 10:01:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700968 -2.674034)'), GeomFromEWKT('SRID=4674;POINT (-39.700979 -2.674037)'))) / (select extract(epoch from '2026-07-24 10:01:29'::timestamp) - extract(epoch from '2026-07-24 10:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700968 -2.674034)'), GeomFromEWKT('SRID=4674;POINT (-39.700979 -2.674037)'))) / (select extract(epoch from '2026-07-24 10:01:29'::timestamp) - extract(epoch from '2026-07-24 10:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701 -2.67404)', '2026-07-24 10:01:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700979 -2.674037)'), GeomFromEWKT('SRID=4674;POINT (-39.701 -2.67404)'))) / (select extract(epoch from '2026-07-24 10:01:37'::timestamp) - extract(epoch from '2026-07-24 10:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700979 -2.674037)'), GeomFromEWKT('SRID=4674;POINT (-39.701 -2.67404)'))) / (select extract(epoch from '2026-07-24 10:01:37'::timestamp) - extract(epoch from '2026-07-24 10:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701036 -2.674025)', '2026-07-24 10:01:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701 -2.67404)'), GeomFromEWKT('SRID=4674;POINT (-39.701036 -2.674025)'))) / (select extract(epoch from '2026-07-24 10:01:45'::timestamp) - extract(epoch from '2026-07-24 10:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701 -2.67404)'), GeomFromEWKT('SRID=4674;POINT (-39.701036 -2.674025)'))) / (select extract(epoch from '2026-07-24 10:01:45'::timestamp) - extract(epoch from '2026-07-24 10:01:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701052 -2.674026)', '2026-07-24 10:01:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701036 -2.674025)'), GeomFromEWKT('SRID=4674;POINT (-39.701052 -2.674026)'))) / (select extract(epoch from '2026-07-24 10:01:54'::timestamp) - extract(epoch from '2026-07-24 10:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701036 -2.674025)'), GeomFromEWKT('SRID=4674;POINT (-39.701052 -2.674026)'))) / (select extract(epoch from '2026-07-24 10:01:54'::timestamp) - extract(epoch from '2026-07-24 10:01: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'), 47870, 'SRID=4674;POINT (-39.701056 -2.67403)', '2026-07-24 10:01:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701052 -2.674026)'), GeomFromEWKT('SRID=4674;POINT (-39.701056 -2.67403)'))) / (select extract(epoch from '2026-07-24 10:01:59'::timestamp) - extract(epoch from '2026-07-24 10:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701052 -2.674026)'), GeomFromEWKT('SRID=4674;POINT (-39.701056 -2.67403)'))) / (select extract(epoch from '2026-07-24 10:01:59'::timestamp) - extract(epoch from '2026-07-24 10:01:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701064 -2.67404)', '2026-07-24 10:02:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701056 -2.67403)'), GeomFromEWKT('SRID=4674;POINT (-39.701064 -2.67404)'))) / (select extract(epoch from '2026-07-24 10:02:10'::timestamp) - extract(epoch from '2026-07-24 10:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701056 -2.67403)'), GeomFromEWKT('SRID=4674;POINT (-39.701064 -2.67404)'))) / (select extract(epoch from '2026-07-24 10:02:10'::timestamp) - extract(epoch from '2026-07-24 10:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701065 -2.674047)', '2026-07-24 10:02:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701064 -2.67404)'), GeomFromEWKT('SRID=4674;POINT (-39.701065 -2.674047)'))) / (select extract(epoch from '2026-07-24 10:02:16'::timestamp) - extract(epoch from '2026-07-24 10:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701064 -2.67404)'), GeomFromEWKT('SRID=4674;POINT (-39.701065 -2.674047)'))) / (select extract(epoch from '2026-07-24 10:02:16'::timestamp) - extract(epoch from '2026-07-24 10:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701048 -2.674046)', '2026-07-24 10:02:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701065 -2.674047)'), GeomFromEWKT('SRID=4674;POINT (-39.701048 -2.674046)'))) / (select extract(epoch from '2026-07-24 10:02:22'::timestamp) - extract(epoch from '2026-07-24 10:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701065 -2.674047)'), GeomFromEWKT('SRID=4674;POINT (-39.701048 -2.674046)'))) / (select extract(epoch from '2026-07-24 10:02:22'::timestamp) - extract(epoch from '2026-07-24 10:02:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700993 -2.674046)', '2026-07-24 10:02:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701048 -2.674046)'), GeomFromEWKT('SRID=4674;POINT (-39.700993 -2.674046)'))) / (select extract(epoch from '2026-07-24 10:02:28'::timestamp) - extract(epoch from '2026-07-24 10:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701048 -2.674046)'), GeomFromEWKT('SRID=4674;POINT (-39.700993 -2.674046)'))) / (select extract(epoch from '2026-07-24 10:02:28'::timestamp) - extract(epoch from '2026-07-24 10:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700985 -2.67405)', '2026-07-24 10:02:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700993 -2.674046)'), GeomFromEWKT('SRID=4674;POINT (-39.700985 -2.67405)'))) / (select extract(epoch from '2026-07-24 10:02:29'::timestamp) - extract(epoch from '2026-07-24 10:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700993 -2.674046)'), GeomFromEWKT('SRID=4674;POINT (-39.700985 -2.67405)'))) / (select extract(epoch from '2026-07-24 10:02:29'::timestamp) - extract(epoch from '2026-07-24 10:02:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700947 -2.674048)', '2026-07-24 10:02:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700985 -2.67405)'), GeomFromEWKT('SRID=4674;POINT (-39.700947 -2.674048)'))) / (select extract(epoch from '2026-07-24 10:02:35'::timestamp) - extract(epoch from '2026-07-24 10:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700985 -2.67405)'), GeomFromEWKT('SRID=4674;POINT (-39.700947 -2.674048)'))) / (select extract(epoch from '2026-07-24 10:02:35'::timestamp) - extract(epoch from '2026-07-24 10:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700903 -2.67405)', '2026-07-24 10:02:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700947 -2.674048)'), GeomFromEWKT('SRID=4674;POINT (-39.700903 -2.67405)'))) / (select extract(epoch from '2026-07-24 10:02:43'::timestamp) - extract(epoch from '2026-07-24 10:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700947 -2.674048)'), GeomFromEWKT('SRID=4674;POINT (-39.700903 -2.67405)'))) / (select extract(epoch from '2026-07-24 10:02:43'::timestamp) - extract(epoch from '2026-07-24 10:02: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'), 47870, 'SRID=4674;POINT (-39.700905 -2.674041)', '2026-07-24 10:02:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700903 -2.67405)'), GeomFromEWKT('SRID=4674;POINT (-39.700905 -2.674041)'))) / (select extract(epoch from '2026-07-24 10:02:53'::timestamp) - extract(epoch from '2026-07-24 10:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700903 -2.67405)'), GeomFromEWKT('SRID=4674;POINT (-39.700905 -2.674041)'))) / (select extract(epoch from '2026-07-24 10:02:53'::timestamp) - extract(epoch from '2026-07-24 10:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700927 -2.674028)', '2026-07-24 10:03:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700905 -2.674041)'), GeomFromEWKT('SRID=4674;POINT (-39.700927 -2.674028)'))) / (select extract(epoch from '2026-07-24 10:03:01'::timestamp) - extract(epoch from '2026-07-24 10:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700905 -2.674041)'), GeomFromEWKT('SRID=4674;POINT (-39.700927 -2.674028)'))) / (select extract(epoch from '2026-07-24 10:03:01'::timestamp) - extract(epoch from '2026-07-24 10:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700942 -2.674016)', '2026-07-24 10:03:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700927 -2.674028)'), GeomFromEWKT('SRID=4674;POINT (-39.700942 -2.674016)'))) / (select extract(epoch from '2026-07-24 10:03:10'::timestamp) - extract(epoch from '2026-07-24 10:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700927 -2.674028)'), GeomFromEWKT('SRID=4674;POINT (-39.700942 -2.674016)'))) / (select extract(epoch from '2026-07-24 10:03:10'::timestamp) - extract(epoch from '2026-07-24 10:03: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'), 47870, 'SRID=4674;POINT (-39.700964 -2.674023)', '2026-07-24 10:03:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700942 -2.674016)'), GeomFromEWKT('SRID=4674;POINT (-39.700964 -2.674023)'))) / (select extract(epoch from '2026-07-24 10:03:16'::timestamp) - extract(epoch from '2026-07-24 10:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700942 -2.674016)'), GeomFromEWKT('SRID=4674;POINT (-39.700964 -2.674023)'))) / (select extract(epoch from '2026-07-24 10:03:16'::timestamp) - extract(epoch from '2026-07-24 10:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700992 -2.674007)', '2026-07-24 10:03:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700964 -2.674023)'), GeomFromEWKT('SRID=4674;POINT (-39.700992 -2.674007)'))) / (select extract(epoch from '2026-07-24 10:03:25'::timestamp) - extract(epoch from '2026-07-24 10:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700964 -2.674023)'), GeomFromEWKT('SRID=4674;POINT (-39.700992 -2.674007)'))) / (select extract(epoch from '2026-07-24 10:03:25'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.701005 -2.673996)', '2026-07-24 10:03:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700992 -2.674007)'), GeomFromEWKT('SRID=4674;POINT (-39.701005 -2.673996)'))) / (select extract(epoch from '2026-07-24 10:03:33'::timestamp) - extract(epoch from '2026-07-24 10:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700992 -2.674007)'), GeomFromEWKT('SRID=4674;POINT (-39.701005 -2.673996)'))) / (select extract(epoch from '2026-07-24 10:03:33'::timestamp) - extract(epoch from '2026-07-24 10:03: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'), 47870, 'SRID=4674;POINT (-39.700986 -2.673996)', '2026-07-24 10:03:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701005 -2.673996)'), GeomFromEWKT('SRID=4674;POINT (-39.700986 -2.673996)'))) / (select extract(epoch from '2026-07-24 10:03:39'::timestamp) - extract(epoch from '2026-07-24 10:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701005 -2.673996)'), GeomFromEWKT('SRID=4674;POINT (-39.700986 -2.673996)'))) / (select extract(epoch from '2026-07-24 10:03:39'::timestamp) - extract(epoch from '2026-07-24 10:03: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'), 47870, 'SRID=4674;POINT (-39.70098 -2.674003)', '2026-07-24 10:03:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700986 -2.673996)'), GeomFromEWKT('SRID=4674;POINT (-39.70098 -2.674003)'))) / (select extract(epoch from '2026-07-24 10:03:40'::timestamp) - extract(epoch from '2026-07-24 10:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700986 -2.673996)'), GeomFromEWKT('SRID=4674;POINT (-39.70098 -2.674003)'))) / (select extract(epoch from '2026-07-24 10:03:40'::timestamp) - extract(epoch from '2026-07-24 10:03: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'), 47870, 'SRID=4674;POINT (-39.700946 -2.674053)', '2026-07-24 10:03:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70098 -2.674003)'), GeomFromEWKT('SRID=4674;POINT (-39.700946 -2.674053)'))) / (select extract(epoch from '2026-07-24 10:03:46'::timestamp) - extract(epoch from '2026-07-24 10:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70098 -2.674003)'), GeomFromEWKT('SRID=4674;POINT (-39.700946 -2.674053)'))) / (select extract(epoch from '2026-07-24 10:03:46'::timestamp) - extract(epoch from '2026-07-24 10:03: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'), 47870, 'SRID=4674;POINT (-39.700943 -2.674147)', '2026-07-24 10:03:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700946 -2.674053)'), GeomFromEWKT('SRID=4674;POINT (-39.700943 -2.674147)'))) / (select extract(epoch from '2026-07-24 10:03:52'::timestamp) - extract(epoch from '2026-07-24 10:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700946 -2.674053)'), GeomFromEWKT('SRID=4674;POINT (-39.700943 -2.674147)'))) / (select extract(epoch from '2026-07-24 10:03:52'::timestamp) - extract(epoch from '2026-07-24 10:03: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'), 47870, 'SRID=4674;POINT (-39.70097 -2.674246)', '2026-07-24 10:03:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700943 -2.674147)'), GeomFromEWKT('SRID=4674;POINT (-39.70097 -2.674246)'))) / (select extract(epoch from '2026-07-24 10:03:57'::timestamp) - extract(epoch from '2026-07-24 10:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700943 -2.674147)'), GeomFromEWKT('SRID=4674;POINT (-39.70097 -2.674246)'))) / (select extract(epoch from '2026-07-24 10:03:57'::timestamp) - extract(epoch from '2026-07-24 10:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701015 -2.674376)', '2026-07-24 10:04:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70097 -2.674246)'), GeomFromEWKT('SRID=4674;POINT (-39.701015 -2.674376)'))) / (select extract(epoch from '2026-07-24 10:04:03'::timestamp) - extract(epoch from '2026-07-24 10:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70097 -2.674246)'), GeomFromEWKT('SRID=4674;POINT (-39.701015 -2.674376)'))) / (select extract(epoch from '2026-07-24 10:04:03'::timestamp) - extract(epoch from '2026-07-24 10:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701079 -2.674504)', '2026-07-24 10:04:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701015 -2.674376)'), GeomFromEWKT('SRID=4674;POINT (-39.701079 -2.674504)'))) / (select extract(epoch from '2026-07-24 10:04:09'::timestamp) - extract(epoch from '2026-07-24 10:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701015 -2.674376)'), GeomFromEWKT('SRID=4674;POINT (-39.701079 -2.674504)'))) / (select extract(epoch from '2026-07-24 10:04:09'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.701144 -2.67464)', '2026-07-24 10:04:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701079 -2.674504)'), GeomFromEWKT('SRID=4674;POINT (-39.701144 -2.67464)'))) / (select extract(epoch from '2026-07-24 10:04:15'::timestamp) - extract(epoch from '2026-07-24 10:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701079 -2.674504)'), GeomFromEWKT('SRID=4674;POINT (-39.701144 -2.67464)'))) / (select extract(epoch from '2026-07-24 10:04:15'::timestamp) - extract(epoch from '2026-07-24 10:04: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'), 47870, 'SRID=4674;POINT (-39.701195 -2.674787)', '2026-07-24 10:04:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701144 -2.67464)'), GeomFromEWKT('SRID=4674;POINT (-39.701195 -2.674787)'))) / (select extract(epoch from '2026-07-24 10:04:22'::timestamp) - extract(epoch from '2026-07-24 10:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701144 -2.67464)'), GeomFromEWKT('SRID=4674;POINT (-39.701195 -2.674787)'))) / (select extract(epoch from '2026-07-24 10:04:22'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.701228 -2.674939)', '2026-07-24 10:04:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701195 -2.674787)'), GeomFromEWKT('SRID=4674;POINT (-39.701228 -2.674939)'))) / (select extract(epoch from '2026-07-24 10:04:29'::timestamp) - extract(epoch from '2026-07-24 10:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701195 -2.674787)'), GeomFromEWKT('SRID=4674;POINT (-39.701228 -2.674939)'))) / (select extract(epoch from '2026-07-24 10:04:29'::timestamp) - extract(epoch from '2026-07-24 10:04: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'), 47870, 'SRID=4674;POINT (-39.701226 -2.675064)', '2026-07-24 10:04:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701228 -2.674939)'), GeomFromEWKT('SRID=4674;POINT (-39.701226 -2.675064)'))) / (select extract(epoch from '2026-07-24 10:04:35'::timestamp) - extract(epoch from '2026-07-24 10:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701228 -2.674939)'), GeomFromEWKT('SRID=4674;POINT (-39.701226 -2.675064)'))) / (select extract(epoch from '2026-07-24 10:04:35'::timestamp) - extract(epoch from '2026-07-24 10:04: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'), 47870, 'SRID=4674;POINT (-39.701221 -2.67508)', '2026-07-24 10:04:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701226 -2.675064)'), GeomFromEWKT('SRID=4674;POINT (-39.701221 -2.67508)'))) / (select extract(epoch from '2026-07-24 10:04:36'::timestamp) - extract(epoch from '2026-07-24 10:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701226 -2.675064)'), GeomFromEWKT('SRID=4674;POINT (-39.701221 -2.67508)'))) / (select extract(epoch from '2026-07-24 10:04:36'::timestamp) - extract(epoch from '2026-07-24 10:04: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'), 47870, 'SRID=4674;POINT (-39.701186 -2.675116)', '2026-07-24 10:04:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701221 -2.67508)'), GeomFromEWKT('SRID=4674;POINT (-39.701186 -2.675116)'))) / (select extract(epoch from '2026-07-24 10:04:40'::timestamp) - extract(epoch from '2026-07-24 10:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701221 -2.67508)'), GeomFromEWKT('SRID=4674;POINT (-39.701186 -2.675116)'))) / (select extract(epoch from '2026-07-24 10:04:40'::timestamp) - extract(epoch from '2026-07-24 10:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701128 -2.67512)', '2026-07-24 10:04:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701186 -2.675116)'), GeomFromEWKT('SRID=4674;POINT (-39.701128 -2.67512)'))) / (select extract(epoch from '2026-07-24 10:04:48'::timestamp) - extract(epoch from '2026-07-24 10:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701186 -2.675116)'), GeomFromEWKT('SRID=4674;POINT (-39.701128 -2.67512)'))) / (select extract(epoch from '2026-07-24 10:04:48'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.701113 -2.675101)', '2026-07-24 10:04:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701128 -2.67512)'), GeomFromEWKT('SRID=4674;POINT (-39.701113 -2.675101)'))) / (select extract(epoch from '2026-07-24 10:04:55'::timestamp) - extract(epoch from '2026-07-24 10:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701128 -2.67512)'), GeomFromEWKT('SRID=4674;POINT (-39.701113 -2.675101)'))) / (select extract(epoch from '2026-07-24 10:04:55'::timestamp) - extract(epoch from '2026-07-24 10:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701101 -2.675083)', '2026-07-24 10:05:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701113 -2.675101)'), GeomFromEWKT('SRID=4674;POINT (-39.701101 -2.675083)'))) / (select extract(epoch from '2026-07-24 10:05:01'::timestamp) - extract(epoch from '2026-07-24 10:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701113 -2.675101)'), GeomFromEWKT('SRID=4674;POINT (-39.701101 -2.675083)'))) / (select extract(epoch from '2026-07-24 10:05:01'::timestamp) - extract(epoch from '2026-07-24 10:04: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'), 47870, 'SRID=4674;POINT (-39.701107 -2.67506)', '2026-07-24 10:05:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701101 -2.675083)'), GeomFromEWKT('SRID=4674;POINT (-39.701107 -2.67506)'))) / (select extract(epoch from '2026-07-24 10:05:07'::timestamp) - extract(epoch from '2026-07-24 10:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701101 -2.675083)'), GeomFromEWKT('SRID=4674;POINT (-39.701107 -2.67506)'))) / (select extract(epoch from '2026-07-24 10:05:07'::timestamp) - extract(epoch from '2026-07-24 10:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70112 -2.675046)', '2026-07-24 10:05:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701107 -2.67506)'), GeomFromEWKT('SRID=4674;POINT (-39.70112 -2.675046)'))) / (select extract(epoch from '2026-07-24 10:05:13'::timestamp) - extract(epoch from '2026-07-24 10:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701107 -2.67506)'), GeomFromEWKT('SRID=4674;POINT (-39.70112 -2.675046)'))) / (select extract(epoch from '2026-07-24 10:05:13'::timestamp) - extract(epoch from '2026-07-24 10:05:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701151 -2.675032)', '2026-07-24 10:05:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70112 -2.675046)'), GeomFromEWKT('SRID=4674;POINT (-39.701151 -2.675032)'))) / (select extract(epoch from '2026-07-24 10:05:19'::timestamp) - extract(epoch from '2026-07-24 10:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70112 -2.675046)'), GeomFromEWKT('SRID=4674;POINT (-39.701151 -2.675032)'))) / (select extract(epoch from '2026-07-24 10:05:19'::timestamp) - extract(epoch from '2026-07-24 10:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701159 -2.675028)', '2026-07-24 10:05:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701151 -2.675032)'), GeomFromEWKT('SRID=4674;POINT (-39.701159 -2.675028)'))) / (select extract(epoch from '2026-07-24 10:05:20'::timestamp) - extract(epoch from '2026-07-24 10:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701151 -2.675032)'), GeomFromEWKT('SRID=4674;POINT (-39.701159 -2.675028)'))) / (select extract(epoch from '2026-07-24 10:05:20'::timestamp) - extract(epoch from '2026-07-24 10:05: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'), 47870, 'SRID=4674;POINT (-39.701175 -2.67502)', '2026-07-24 10:05:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701159 -2.675028)'), GeomFromEWKT('SRID=4674;POINT (-39.701175 -2.67502)'))) / (select extract(epoch from '2026-07-24 10:05:23'::timestamp) - extract(epoch from '2026-07-24 10:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701159 -2.675028)'), GeomFromEWKT('SRID=4674;POINT (-39.701175 -2.67502)'))) / (select extract(epoch from '2026-07-24 10:05:23'::timestamp) - extract(epoch from '2026-07-24 10:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701223 -2.675001)', '2026-07-24 10:05:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701175 -2.67502)'), GeomFromEWKT('SRID=4674;POINT (-39.701223 -2.675001)'))) / (select extract(epoch from '2026-07-24 10:05:32'::timestamp) - extract(epoch from '2026-07-24 10:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701175 -2.67502)'), GeomFromEWKT('SRID=4674;POINT (-39.701223 -2.675001)'))) / (select extract(epoch from '2026-07-24 10:05:32'::timestamp) - extract(epoch from '2026-07-24 10:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701268 -2.674979)', '2026-07-24 10:05:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701223 -2.675001)'), GeomFromEWKT('SRID=4674;POINT (-39.701268 -2.674979)'))) / (select extract(epoch from '2026-07-24 10:05:40'::timestamp) - extract(epoch from '2026-07-24 10:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701223 -2.675001)'), GeomFromEWKT('SRID=4674;POINT (-39.701268 -2.674979)'))) / (select extract(epoch from '2026-07-24 10:05:40'::timestamp) - extract(epoch from '2026-07-24 10:05: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'), 47870, 'SRID=4674;POINT (-39.701296 -2.674945)', '2026-07-24 10:05:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701268 -2.674979)'), GeomFromEWKT('SRID=4674;POINT (-39.701296 -2.674945)'))) / (select extract(epoch from '2026-07-24 10:05:50'::timestamp) - extract(epoch from '2026-07-24 10:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701268 -2.674979)'), GeomFromEWKT('SRID=4674;POINT (-39.701296 -2.674945)'))) / (select extract(epoch from '2026-07-24 10:05:50'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.701306 -2.674927)', '2026-07-24 10:05:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701296 -2.674945)'), GeomFromEWKT('SRID=4674;POINT (-39.701306 -2.674927)'))) / (select extract(epoch from '2026-07-24 10:05:57'::timestamp) - extract(epoch from '2026-07-24 10:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701296 -2.674945)'), GeomFromEWKT('SRID=4674;POINT (-39.701306 -2.674927)'))) / (select extract(epoch from '2026-07-24 10:05:57'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.70131 -2.674907)', '2026-07-24 10:06:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701306 -2.674927)'), GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.674907)'))) / (select extract(epoch from '2026-07-24 10:06:05'::timestamp) - extract(epoch from '2026-07-24 10:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701306 -2.674927)'), GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.674907)'))) / (select extract(epoch from '2026-07-24 10:06:05'::timestamp) - extract(epoch from '2026-07-24 10:05: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'), 47870, 'SRID=4674;POINT (-39.701328 -2.674885)', '2026-07-24 10:06:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.674907)'), GeomFromEWKT('SRID=4674;POINT (-39.701328 -2.674885)'))) / (select extract(epoch from '2026-07-24 10:06:12'::timestamp) - extract(epoch from '2026-07-24 10:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.674907)'), GeomFromEWKT('SRID=4674;POINT (-39.701328 -2.674885)'))) / (select extract(epoch from '2026-07-24 10:06:12'::timestamp) - extract(epoch from '2026-07-24 10:06: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'), 47870, 'SRID=4674;POINT (-39.701352 -2.674863)', '2026-07-24 10:06:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701328 -2.674885)'), GeomFromEWKT('SRID=4674;POINT (-39.701352 -2.674863)'))) / (select extract(epoch from '2026-07-24 10:06:19'::timestamp) - extract(epoch from '2026-07-24 10:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701328 -2.674885)'), GeomFromEWKT('SRID=4674;POINT (-39.701352 -2.674863)'))) / (select extract(epoch from '2026-07-24 10:06:19'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.701376 -2.674845)', '2026-07-24 10:06:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701352 -2.674863)'), GeomFromEWKT('SRID=4674;POINT (-39.701376 -2.674845)'))) / (select extract(epoch from '2026-07-24 10:06:26'::timestamp) - extract(epoch from '2026-07-24 10:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701352 -2.674863)'), GeomFromEWKT('SRID=4674;POINT (-39.701376 -2.674845)'))) / (select extract(epoch from '2026-07-24 10:06:26'::timestamp) - extract(epoch from '2026-07-24 10:06:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701373 -2.674838)', '2026-07-24 10:06:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701376 -2.674845)'), GeomFromEWKT('SRID=4674;POINT (-39.701373 -2.674838)'))) / (select extract(epoch from '2026-07-24 10:06:30'::timestamp) - extract(epoch from '2026-07-24 10:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701376 -2.674845)'), GeomFromEWKT('SRID=4674;POINT (-39.701373 -2.674838)'))) / (select extract(epoch from '2026-07-24 10:06:30'::timestamp) - extract(epoch from '2026-07-24 10:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701366 -2.674818)', '2026-07-24 10:06:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701373 -2.674838)'), GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.674818)'))) / (select extract(epoch from '2026-07-24 10:06:37'::timestamp) - extract(epoch from '2026-07-24 10:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701373 -2.674838)'), GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.674818)'))) / (select extract(epoch from '2026-07-24 10:06:37'::timestamp) - extract(epoch from '2026-07-24 10:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701366 -2.674783)', '2026-07-24 10:06:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.674818)'), GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.674783)'))) / (select extract(epoch from '2026-07-24 10:06:45'::timestamp) - extract(epoch from '2026-07-24 10:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.674818)'), GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.674783)'))) / (select extract(epoch from '2026-07-24 10:06:45'::timestamp) - extract(epoch from '2026-07-24 10:06: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'), 47870, 'SRID=4674;POINT (-39.701369 -2.674753)', '2026-07-24 10:06:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.674783)'), GeomFromEWKT('SRID=4674;POINT (-39.701369 -2.674753)'))) / (select extract(epoch from '2026-07-24 10:06:51'::timestamp) - extract(epoch from '2026-07-24 10:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701366 -2.674783)'), GeomFromEWKT('SRID=4674;POINT (-39.701369 -2.674753)'))) / (select extract(epoch from '2026-07-24 10:06:51'::timestamp) - extract(epoch from '2026-07-24 10:06: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'), 47870, 'SRID=4674;POINT (-39.701343 -2.674725)', '2026-07-24 10:07:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701369 -2.674753)'), GeomFromEWKT('SRID=4674;POINT (-39.701343 -2.674725)'))) / (select extract(epoch from '2026-07-24 10:07:00'::timestamp) - extract(epoch from '2026-07-24 10:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701369 -2.674753)'), GeomFromEWKT('SRID=4674;POINT (-39.701343 -2.674725)'))) / (select extract(epoch from '2026-07-24 10:07:00'::timestamp) - extract(epoch from '2026-07-24 10:06: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'), 47870, 'SRID=4674;POINT (-39.701332 -2.674721)', '2026-07-24 10:07:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701343 -2.674725)'), GeomFromEWKT('SRID=4674;POINT (-39.701332 -2.674721)'))) / (select extract(epoch from '2026-07-24 10:07:07'::timestamp) - extract(epoch from '2026-07-24 10:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701343 -2.674725)'), GeomFromEWKT('SRID=4674;POINT (-39.701332 -2.674721)'))) / (select extract(epoch from '2026-07-24 10:07:07'::timestamp) - extract(epoch from '2026-07-24 10:07:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701336 -2.67472)', '2026-07-24 10:07:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701332 -2.674721)'), GeomFromEWKT('SRID=4674;POINT (-39.701336 -2.67472)'))) / (select extract(epoch from '2026-07-24 10:07:15'::timestamp) - extract(epoch from '2026-07-24 10:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701332 -2.674721)'), GeomFromEWKT('SRID=4674;POINT (-39.701336 -2.67472)'))) / (select extract(epoch from '2026-07-24 10:07:15'::timestamp) - extract(epoch from '2026-07-24 10:07: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'), 47870, 'SRID=4674;POINT (-39.701319 -2.674717)', '2026-07-24 10:07:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701336 -2.67472)'), GeomFromEWKT('SRID=4674;POINT (-39.701319 -2.674717)'))) / (select extract(epoch from '2026-07-24 10:07:27'::timestamp) - extract(epoch from '2026-07-24 10:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701336 -2.67472)'), GeomFromEWKT('SRID=4674;POINT (-39.701319 -2.674717)'))) / (select extract(epoch from '2026-07-24 10:07:27'::timestamp) - extract(epoch from '2026-07-24 10:07: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'), 47870, 'SRID=4674;POINT (-39.701328 -2.674715)', '2026-07-24 10:07:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701319 -2.674717)'), GeomFromEWKT('SRID=4674;POINT (-39.701328 -2.674715)'))) / (select extract(epoch from '2026-07-24 10:07:34'::timestamp) - extract(epoch from '2026-07-24 10:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701319 -2.674717)'), GeomFromEWKT('SRID=4674;POINT (-39.701328 -2.674715)'))) / (select extract(epoch from '2026-07-24 10:07:34'::timestamp) - extract(epoch from '2026-07-24 10:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701339 -2.674711)', '2026-07-24 10:07:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701328 -2.674715)'), GeomFromEWKT('SRID=4674;POINT (-39.701339 -2.674711)'))) / (select extract(epoch from '2026-07-24 10:07:43'::timestamp) - extract(epoch from '2026-07-24 10:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701328 -2.674715)'), GeomFromEWKT('SRID=4674;POINT (-39.701339 -2.674711)'))) / (select extract(epoch from '2026-07-24 10:07:43'::timestamp) - extract(epoch from '2026-07-24 10:07: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'), 47870, 'SRID=4674;POINT (-39.701362 -2.674706)', '2026-07-24 10:07:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701339 -2.674711)'), GeomFromEWKT('SRID=4674;POINT (-39.701362 -2.674706)'))) / (select extract(epoch from '2026-07-24 10:07:50'::timestamp) - extract(epoch from '2026-07-24 10:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701339 -2.674711)'), GeomFromEWKT('SRID=4674;POINT (-39.701362 -2.674706)'))) / (select extract(epoch from '2026-07-24 10:07:50'::timestamp) - extract(epoch from '2026-07-24 10:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701381 -2.674695)', '2026-07-24 10:07:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701362 -2.674706)'), GeomFromEWKT('SRID=4674;POINT (-39.701381 -2.674695)'))) / (select extract(epoch from '2026-07-24 10:07:57'::timestamp) - extract(epoch from '2026-07-24 10:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701362 -2.674706)'), GeomFromEWKT('SRID=4674;POINT (-39.701381 -2.674695)'))) / (select extract(epoch from '2026-07-24 10:07:57'::timestamp) - extract(epoch from '2026-07-24 10:07: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'), 47870, 'SRID=4674;POINT (-39.701402 -2.674686)', '2026-07-24 10:08:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701381 -2.674695)'), GeomFromEWKT('SRID=4674;POINT (-39.701402 -2.674686)'))) / (select extract(epoch from '2026-07-24 10:08:03'::timestamp) - extract(epoch from '2026-07-24 10:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701381 -2.674695)'), GeomFromEWKT('SRID=4674;POINT (-39.701402 -2.674686)'))) / (select extract(epoch from '2026-07-24 10:08:03'::timestamp) - extract(epoch from '2026-07-24 10:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701428 -2.674696)', '2026-07-24 10:08:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701402 -2.674686)'), GeomFromEWKT('SRID=4674;POINT (-39.701428 -2.674696)'))) / (select extract(epoch from '2026-07-24 10:08:08'::timestamp) - extract(epoch from '2026-07-24 10:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701402 -2.674686)'), GeomFromEWKT('SRID=4674;POINT (-39.701428 -2.674696)'))) / (select extract(epoch from '2026-07-24 10:08:08'::timestamp) - extract(epoch from '2026-07-24 10:08: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'), 47870, 'SRID=4674;POINT (-39.701436 -2.674705)', '2026-07-24 10:08:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701428 -2.674696)'), GeomFromEWKT('SRID=4674;POINT (-39.701436 -2.674705)'))) / (select extract(epoch from '2026-07-24 10:08:12'::timestamp) - extract(epoch from '2026-07-24 10:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701428 -2.674696)'), GeomFromEWKT('SRID=4674;POINT (-39.701436 -2.674705)'))) / (select extract(epoch from '2026-07-24 10:08:12'::timestamp) - extract(epoch from '2026-07-24 10:08: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'), 47870, 'SRID=4674;POINT (-39.701428 -2.674712)', '2026-07-24 10:08:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701436 -2.674705)'), GeomFromEWKT('SRID=4674;POINT (-39.701428 -2.674712)'))) / (select extract(epoch from '2026-07-24 10:08:13'::timestamp) - extract(epoch from '2026-07-24 10:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701436 -2.674705)'), GeomFromEWKT('SRID=4674;POINT (-39.701428 -2.674712)'))) / (select extract(epoch from '2026-07-24 10:08:13'::timestamp) - extract(epoch from '2026-07-24 10:08:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701418 -2.674758)', '2026-07-24 10:08:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701428 -2.674712)'), GeomFromEWKT('SRID=4674;POINT (-39.701418 -2.674758)'))) / (select extract(epoch from '2026-07-24 10:08:18'::timestamp) - extract(epoch from '2026-07-24 10:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701428 -2.674712)'), GeomFromEWKT('SRID=4674;POINT (-39.701418 -2.674758)'))) / (select extract(epoch from '2026-07-24 10:08:18'::timestamp) - extract(epoch from '2026-07-24 10:08: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'), 47870, 'SRID=4674;POINT (-39.701409 -2.674878)', '2026-07-24 10:08:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701418 -2.674758)'), GeomFromEWKT('SRID=4674;POINT (-39.701409 -2.674878)'))) / (select extract(epoch from '2026-07-24 10:08:26'::timestamp) - extract(epoch from '2026-07-24 10:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701418 -2.674758)'), GeomFromEWKT('SRID=4674;POINT (-39.701409 -2.674878)'))) / (select extract(epoch from '2026-07-24 10:08:26'::timestamp) - extract(epoch from '2026-07-24 10:08: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'), 47870, 'SRID=4674;POINT (-39.701415 -2.674986)', '2026-07-24 10:08:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701409 -2.674878)'), GeomFromEWKT('SRID=4674;POINT (-39.701415 -2.674986)'))) / (select extract(epoch from '2026-07-24 10:08:32'::timestamp) - extract(epoch from '2026-07-24 10:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701409 -2.674878)'), GeomFromEWKT('SRID=4674;POINT (-39.701415 -2.674986)'))) / (select extract(epoch from '2026-07-24 10:08:32'::timestamp) - extract(epoch from '2026-07-24 10:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70145 -2.675136)', '2026-07-24 10:08:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701415 -2.674986)'), GeomFromEWKT('SRID=4674;POINT (-39.70145 -2.675136)'))) / (select extract(epoch from '2026-07-24 10:08:39'::timestamp) - extract(epoch from '2026-07-24 10:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701415 -2.674986)'), GeomFromEWKT('SRID=4674;POINT (-39.70145 -2.675136)'))) / (select extract(epoch from '2026-07-24 10:08:39'::timestamp) - extract(epoch from '2026-07-24 10:08: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'), 47870, 'SRID=4674;POINT (-39.701517 -2.675285)', '2026-07-24 10:08:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70145 -2.675136)'), GeomFromEWKT('SRID=4674;POINT (-39.701517 -2.675285)'))) / (select extract(epoch from '2026-07-24 10:08:46'::timestamp) - extract(epoch from '2026-07-24 10:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70145 -2.675136)'), GeomFromEWKT('SRID=4674;POINT (-39.701517 -2.675285)'))) / (select extract(epoch from '2026-07-24 10:08:46'::timestamp) - extract(epoch from '2026-07-24 10:08: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'), 47870, 'SRID=4674;POINT (-39.701618 -2.675453)', '2026-07-24 10:08:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701517 -2.675285)'), GeomFromEWKT('SRID=4674;POINT (-39.701618 -2.675453)'))) / (select extract(epoch from '2026-07-24 10:08:54'::timestamp) - extract(epoch from '2026-07-24 10:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701517 -2.675285)'), GeomFromEWKT('SRID=4674;POINT (-39.701618 -2.675453)'))) / (select extract(epoch from '2026-07-24 10:08:54'::timestamp) - extract(epoch from '2026-07-24 10:08: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'), 47870, 'SRID=4674;POINT (-39.701717 -2.675589)', '2026-07-24 10:09:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701618 -2.675453)'), GeomFromEWKT('SRID=4674;POINT (-39.701717 -2.675589)'))) / (select extract(epoch from '2026-07-24 10:09:01'::timestamp) - extract(epoch from '2026-07-24 10:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701618 -2.675453)'), GeomFromEWKT('SRID=4674;POINT (-39.701717 -2.675589)'))) / (select extract(epoch from '2026-07-24 10:09:01'::timestamp) - extract(epoch from '2026-07-24 10:08: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'), 47870, 'SRID=4674;POINT (-39.701808 -2.675731)', '2026-07-24 10:09:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701717 -2.675589)'), GeomFromEWKT('SRID=4674;POINT (-39.701808 -2.675731)'))) / (select extract(epoch from '2026-07-24 10:09:08'::timestamp) - extract(epoch from '2026-07-24 10:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701717 -2.675589)'), GeomFromEWKT('SRID=4674;POINT (-39.701808 -2.675731)'))) / (select extract(epoch from '2026-07-24 10:09:08'::timestamp) - extract(epoch from '2026-07-24 10:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701872 -2.675863)', '2026-07-24 10:09:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701808 -2.675731)'), GeomFromEWKT('SRID=4674;POINT (-39.701872 -2.675863)'))) / (select extract(epoch from '2026-07-24 10:09:15'::timestamp) - extract(epoch from '2026-07-24 10:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701808 -2.675731)'), GeomFromEWKT('SRID=4674;POINT (-39.701872 -2.675863)'))) / (select extract(epoch from '2026-07-24 10:09:15'::timestamp) - extract(epoch from '2026-07-24 10:09: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'), 47870, 'SRID=4674;POINT (-39.701871 -2.675928)', '2026-07-24 10:09:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701872 -2.675863)'), GeomFromEWKT('SRID=4674;POINT (-39.701871 -2.675928)'))) / (select extract(epoch from '2026-07-24 10:09:21'::timestamp) - extract(epoch from '2026-07-24 10:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701872 -2.675863)'), GeomFromEWKT('SRID=4674;POINT (-39.701871 -2.675928)'))) / (select extract(epoch from '2026-07-24 10:09:21'::timestamp) - extract(epoch from '2026-07-24 10:09: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'), 47870, 'SRID=4674;POINT (-39.701866 -2.67595)', '2026-07-24 10:09:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701871 -2.675928)'), GeomFromEWKT('SRID=4674;POINT (-39.701866 -2.67595)'))) / (select extract(epoch from '2026-07-24 10:09:27'::timestamp) - extract(epoch from '2026-07-24 10:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701871 -2.675928)'), GeomFromEWKT('SRID=4674;POINT (-39.701866 -2.67595)'))) / (select extract(epoch from '2026-07-24 10:09:27'::timestamp) - extract(epoch from '2026-07-24 10:09: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'), 47870, 'SRID=4674;POINT (-39.701879 -2.675944)', '2026-07-24 10:09:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701866 -2.67595)'), GeomFromEWKT('SRID=4674;POINT (-39.701879 -2.675944)'))) / (select extract(epoch from '2026-07-24 10:09:35'::timestamp) - extract(epoch from '2026-07-24 10:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701866 -2.67595)'), GeomFromEWKT('SRID=4674;POINT (-39.701879 -2.675944)'))) / (select extract(epoch from '2026-07-24 10:09:35'::timestamp) - extract(epoch from '2026-07-24 10:09: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'), 47870, 'SRID=4674;POINT (-39.701902 -2.675925)', '2026-07-24 10:09:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701879 -2.675944)'), GeomFromEWKT('SRID=4674;POINT (-39.701902 -2.675925)'))) / (select extract(epoch from '2026-07-24 10:09:42'::timestamp) - extract(epoch from '2026-07-24 10:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701879 -2.675944)'), GeomFromEWKT('SRID=4674;POINT (-39.701902 -2.675925)'))) / (select extract(epoch from '2026-07-24 10:09:42'::timestamp) - extract(epoch from '2026-07-24 10:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701933 -2.675915)', '2026-07-24 10:09:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701902 -2.675925)'), GeomFromEWKT('SRID=4674;POINT (-39.701933 -2.675915)'))) / (select extract(epoch from '2026-07-24 10:09:48'::timestamp) - extract(epoch from '2026-07-24 10:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701902 -2.675925)'), GeomFromEWKT('SRID=4674;POINT (-39.701933 -2.675915)'))) / (select extract(epoch from '2026-07-24 10:09:48'::timestamp) - extract(epoch from '2026-07-24 10:09: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'), 47870, 'SRID=4674;POINT (-39.701975 -2.675899)', '2026-07-24 10:09:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701933 -2.675915)'), GeomFromEWKT('SRID=4674;POINT (-39.701975 -2.675899)'))) / (select extract(epoch from '2026-07-24 10:09:53'::timestamp) - extract(epoch from '2026-07-24 10:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701933 -2.675915)'), GeomFromEWKT('SRID=4674;POINT (-39.701975 -2.675899)'))) / (select extract(epoch from '2026-07-24 10:09:53'::timestamp) - extract(epoch from '2026-07-24 10:09: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'), 47870, 'SRID=4674;POINT (-39.702011 -2.675879)', '2026-07-24 10:10:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701975 -2.675899)'), GeomFromEWKT('SRID=4674;POINT (-39.702011 -2.675879)'))) / (select extract(epoch from '2026-07-24 10:10:00'::timestamp) - extract(epoch from '2026-07-24 10:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701975 -2.675899)'), GeomFromEWKT('SRID=4674;POINT (-39.702011 -2.675879)'))) / (select extract(epoch from '2026-07-24 10:10:00'::timestamp) - extract(epoch from '2026-07-24 10:09: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'), 47870, 'SRID=4674;POINT (-39.70202 -2.675877)', '2026-07-24 10:10:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702011 -2.675879)'), GeomFromEWKT('SRID=4674;POINT (-39.70202 -2.675877)'))) / (select extract(epoch from '2026-07-24 10:10:02'::timestamp) - extract(epoch from '2026-07-24 10:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702011 -2.675879)'), GeomFromEWKT('SRID=4674;POINT (-39.70202 -2.675877)'))) / (select extract(epoch from '2026-07-24 10:10:02'::timestamp) - extract(epoch from '2026-07-24 10:10: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'), 47870, 'SRID=4674;POINT (-39.702042 -2.675875)', '2026-07-24 10:10:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70202 -2.675877)'), GeomFromEWKT('SRID=4674;POINT (-39.702042 -2.675875)'))) / (select extract(epoch from '2026-07-24 10:10:06'::timestamp) - extract(epoch from '2026-07-24 10:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70202 -2.675877)'), GeomFromEWKT('SRID=4674;POINT (-39.702042 -2.675875)'))) / (select extract(epoch from '2026-07-24 10:10:06'::timestamp) - extract(epoch from '2026-07-24 10:10: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'), 47870, 'SRID=4674;POINT (-39.702105 -2.675853)', '2026-07-24 10:10:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702042 -2.675875)'), GeomFromEWKT('SRID=4674;POINT (-39.702105 -2.675853)'))) / (select extract(epoch from '2026-07-24 10:10:14'::timestamp) - extract(epoch from '2026-07-24 10:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702042 -2.675875)'), GeomFromEWKT('SRID=4674;POINT (-39.702105 -2.675853)'))) / (select extract(epoch from '2026-07-24 10:10:14'::timestamp) - extract(epoch from '2026-07-24 10:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702113 -2.675851)', '2026-07-24 10:10:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702105 -2.675853)'), GeomFromEWKT('SRID=4674;POINT (-39.702113 -2.675851)'))) / (select extract(epoch from '2026-07-24 10:10:15'::timestamp) - extract(epoch from '2026-07-24 10:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702105 -2.675853)'), GeomFromEWKT('SRID=4674;POINT (-39.702113 -2.675851)'))) / (select extract(epoch from '2026-07-24 10:10:15'::timestamp) - extract(epoch from '2026-07-24 10:10: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'), 47870, 'SRID=4674;POINT (-39.702135 -2.67584)', '2026-07-24 10:10:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702113 -2.675851)'), GeomFromEWKT('SRID=4674;POINT (-39.702135 -2.67584)'))) / (select extract(epoch from '2026-07-24 10:10:20'::timestamp) - extract(epoch from '2026-07-24 10:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702113 -2.675851)'), GeomFromEWKT('SRID=4674;POINT (-39.702135 -2.67584)'))) / (select extract(epoch from '2026-07-24 10:10:20'::timestamp) - extract(epoch from '2026-07-24 10:10: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'), 47870, 'SRID=4674;POINT (-39.70216 -2.675831)', '2026-07-24 10:10:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702135 -2.67584)'), GeomFromEWKT('SRID=4674;POINT (-39.70216 -2.675831)'))) / (select extract(epoch from '2026-07-24 10:10:24'::timestamp) - extract(epoch from '2026-07-24 10:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702135 -2.67584)'), GeomFromEWKT('SRID=4674;POINT (-39.70216 -2.675831)'))) / (select extract(epoch from '2026-07-24 10:10:24'::timestamp) - extract(epoch from '2026-07-24 10:10: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'), 47870, 'SRID=4674;POINT (-39.702178 -2.675811)', '2026-07-24 10:10:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70216 -2.675831)'), GeomFromEWKT('SRID=4674;POINT (-39.702178 -2.675811)'))) / (select extract(epoch from '2026-07-24 10:10:31'::timestamp) - extract(epoch from '2026-07-24 10:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70216 -2.675831)'), GeomFromEWKT('SRID=4674;POINT (-39.702178 -2.675811)'))) / (select extract(epoch from '2026-07-24 10:10:31'::timestamp) - extract(epoch from '2026-07-24 10:10: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'), 47870, 'SRID=4674;POINT (-39.702174 -2.675775)', '2026-07-24 10:10:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702178 -2.675811)'), GeomFromEWKT('SRID=4674;POINT (-39.702174 -2.675775)'))) / (select extract(epoch from '2026-07-24 10:10:41'::timestamp) - extract(epoch from '2026-07-24 10:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702178 -2.675811)'), GeomFromEWKT('SRID=4674;POINT (-39.702174 -2.675775)'))) / (select extract(epoch from '2026-07-24 10:10:41'::timestamp) - extract(epoch from '2026-07-24 10:10: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'), 47870, 'SRID=4674;POINT (-39.702185 -2.675759)', '2026-07-24 10:10:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702174 -2.675775)'), GeomFromEWKT('SRID=4674;POINT (-39.702185 -2.675759)'))) / (select extract(epoch from '2026-07-24 10:10:48'::timestamp) - extract(epoch from '2026-07-24 10:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702174 -2.675775)'), GeomFromEWKT('SRID=4674;POINT (-39.702185 -2.675759)'))) / (select extract(epoch from '2026-07-24 10:10:48'::timestamp) - extract(epoch from '2026-07-24 10:10: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'), 47870, 'SRID=4674;POINT (-39.702214 -2.675736)', '2026-07-24 10:10:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702185 -2.675759)'), GeomFromEWKT('SRID=4674;POINT (-39.702214 -2.675736)'))) / (select extract(epoch from '2026-07-24 10:10:55'::timestamp) - extract(epoch from '2026-07-24 10:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702185 -2.675759)'), GeomFromEWKT('SRID=4674;POINT (-39.702214 -2.675736)'))) / (select extract(epoch from '2026-07-24 10:10:55'::timestamp) - extract(epoch from '2026-07-24 10:10: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'), 47870, 'SRID=4674;POINT (-39.702223 -2.675716)', '2026-07-24 10:10:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702214 -2.675736)'), GeomFromEWKT('SRID=4674;POINT (-39.702223 -2.675716)'))) / (select extract(epoch from '2026-07-24 10:10:59'::timestamp) - extract(epoch from '2026-07-24 10:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702214 -2.675736)'), GeomFromEWKT('SRID=4674;POINT (-39.702223 -2.675716)'))) / (select extract(epoch from '2026-07-24 10:10:59'::timestamp) - extract(epoch from '2026-07-24 10:10: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'), 47870, 'SRID=4674;POINT (-39.702225 -2.675696)', '2026-07-24 10:11:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702223 -2.675716)'), GeomFromEWKT('SRID=4674;POINT (-39.702225 -2.675696)'))) / (select extract(epoch from '2026-07-24 10:11:06'::timestamp) - extract(epoch from '2026-07-24 10:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702223 -2.675716)'), GeomFromEWKT('SRID=4674;POINT (-39.702225 -2.675696)'))) / (select extract(epoch from '2026-07-24 10:11:06'::timestamp) - extract(epoch from '2026-07-24 10:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702219 -2.675686)', '2026-07-24 10:11:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702225 -2.675696)'), GeomFromEWKT('SRID=4674;POINT (-39.702219 -2.675686)'))) / (select extract(epoch from '2026-07-24 10:11:12'::timestamp) - extract(epoch from '2026-07-24 10:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702225 -2.675696)'), GeomFromEWKT('SRID=4674;POINT (-39.702219 -2.675686)'))) / (select extract(epoch from '2026-07-24 10:11:12'::timestamp) - extract(epoch from '2026-07-24 10:11: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'), 47870, 'SRID=4674;POINT (-39.702219 -2.675674)', '2026-07-24 10:11:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702219 -2.675686)'), GeomFromEWKT('SRID=4674;POINT (-39.702219 -2.675674)'))) / (select extract(epoch from '2026-07-24 10:11:20'::timestamp) - extract(epoch from '2026-07-24 10:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702219 -2.675686)'), GeomFromEWKT('SRID=4674;POINT (-39.702219 -2.675674)'))) / (select extract(epoch from '2026-07-24 10:11:20'::timestamp) - extract(epoch from '2026-07-24 10:11: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'), 47870, 'SRID=4674;POINT (-39.702203 -2.675661)', '2026-07-24 10:11:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702219 -2.675674)'), GeomFromEWKT('SRID=4674;POINT (-39.702203 -2.675661)'))) / (select extract(epoch from '2026-07-24 10:11:27'::timestamp) - extract(epoch from '2026-07-24 10:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702219 -2.675674)'), GeomFromEWKT('SRID=4674;POINT (-39.702203 -2.675661)'))) / (select extract(epoch from '2026-07-24 10:11:27'::timestamp) - extract(epoch from '2026-07-24 10:11: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'), 47870, 'SRID=4674;POINT (-39.702194 -2.67566)', '2026-07-24 10:11:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702203 -2.675661)'), GeomFromEWKT('SRID=4674;POINT (-39.702194 -2.67566)'))) / (select extract(epoch from '2026-07-24 10:11:29'::timestamp) - extract(epoch from '2026-07-24 10:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702203 -2.675661)'), GeomFromEWKT('SRID=4674;POINT (-39.702194 -2.67566)'))) / (select extract(epoch from '2026-07-24 10:11:29'::timestamp) - extract(epoch from '2026-07-24 10:11: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'), 47870, 'SRID=4674;POINT (-39.702178 -2.675662)', '2026-07-24 10:11:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702194 -2.67566)'), GeomFromEWKT('SRID=4674;POINT (-39.702178 -2.675662)'))) / (select extract(epoch from '2026-07-24 10:11:32'::timestamp) - extract(epoch from '2026-07-24 10:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702194 -2.67566)'), GeomFromEWKT('SRID=4674;POINT (-39.702178 -2.675662)'))) / (select extract(epoch from '2026-07-24 10:11:32'::timestamp) - extract(epoch from '2026-07-24 10:11: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'), 47870, 'SRID=4674;POINT (-39.702157 -2.675655)', '2026-07-24 10:11:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702178 -2.675662)'), GeomFromEWKT('SRID=4674;POINT (-39.702157 -2.675655)'))) / (select extract(epoch from '2026-07-24 10:11:37'::timestamp) - extract(epoch from '2026-07-24 10:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702178 -2.675662)'), GeomFromEWKT('SRID=4674;POINT (-39.702157 -2.675655)'))) / (select extract(epoch from '2026-07-24 10:11:37'::timestamp) - extract(epoch from '2026-07-24 10:11: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'), 47870, 'SRID=4674;POINT (-39.702163 -2.675646)', '2026-07-24 10:11:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702157 -2.675655)'), GeomFromEWKT('SRID=4674;POINT (-39.702163 -2.675646)'))) / (select extract(epoch from '2026-07-24 10:11:44'::timestamp) - extract(epoch from '2026-07-24 10:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702157 -2.675655)'), GeomFromEWKT('SRID=4674;POINT (-39.702163 -2.675646)'))) / (select extract(epoch from '2026-07-24 10:11:44'::timestamp) - extract(epoch from '2026-07-24 10:11: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'), 47870, 'SRID=4674;POINT (-39.70218 -2.675629)', '2026-07-24 10:11:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702163 -2.675646)'), GeomFromEWKT('SRID=4674;POINT (-39.70218 -2.675629)'))) / (select extract(epoch from '2026-07-24 10:11:51'::timestamp) - extract(epoch from '2026-07-24 10:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702163 -2.675646)'), GeomFromEWKT('SRID=4674;POINT (-39.70218 -2.675629)'))) / (select extract(epoch from '2026-07-24 10:11:51'::timestamp) - extract(epoch from '2026-07-24 10:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702203 -2.675606)', '2026-07-24 10:12:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70218 -2.675629)'), GeomFromEWKT('SRID=4674;POINT (-39.702203 -2.675606)'))) / (select extract(epoch from '2026-07-24 10:12:00'::timestamp) - extract(epoch from '2026-07-24 10:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70218 -2.675629)'), GeomFromEWKT('SRID=4674;POINT (-39.702203 -2.675606)'))) / (select extract(epoch from '2026-07-24 10:12:00'::timestamp) - extract(epoch from '2026-07-24 10:11: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'), 47870, 'SRID=4674;POINT (-39.702181 -2.675614)', '2026-07-24 10:12:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702203 -2.675606)'), GeomFromEWKT('SRID=4674;POINT (-39.702181 -2.675614)'))) / (select extract(epoch from '2026-07-24 10:12:10'::timestamp) - extract(epoch from '2026-07-24 10:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702203 -2.675606)'), GeomFromEWKT('SRID=4674;POINT (-39.702181 -2.675614)'))) / (select extract(epoch from '2026-07-24 10:12:10'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.702177 -2.675623)', '2026-07-24 10:12:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702181 -2.675614)'), GeomFromEWKT('SRID=4674;POINT (-39.702177 -2.675623)'))) / (select extract(epoch from '2026-07-24 10:12:11'::timestamp) - extract(epoch from '2026-07-24 10:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702181 -2.675614)'), GeomFromEWKT('SRID=4674;POINT (-39.702177 -2.675623)'))) / (select extract(epoch from '2026-07-24 10:12:11'::timestamp) - extract(epoch from '2026-07-24 10:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702164 -2.67565)', '2026-07-24 10:12:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702177 -2.675623)'), GeomFromEWKT('SRID=4674;POINT (-39.702164 -2.67565)'))) / (select extract(epoch from '2026-07-24 10:12:14'::timestamp) - extract(epoch from '2026-07-24 10:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702177 -2.675623)'), GeomFromEWKT('SRID=4674;POINT (-39.702164 -2.67565)'))) / (select extract(epoch from '2026-07-24 10:12:14'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.702143 -2.675714)', '2026-07-24 10:12:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702164 -2.67565)'), GeomFromEWKT('SRID=4674;POINT (-39.702143 -2.675714)'))) / (select extract(epoch from '2026-07-24 10:12:19'::timestamp) - extract(epoch from '2026-07-24 10:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702164 -2.67565)'), GeomFromEWKT('SRID=4674;POINT (-39.702143 -2.675714)'))) / (select extract(epoch from '2026-07-24 10:12:19'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.702146 -2.675729)', '2026-07-24 10:12:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702143 -2.675714)'), GeomFromEWKT('SRID=4674;POINT (-39.702146 -2.675729)'))) / (select extract(epoch from '2026-07-24 10:12:20'::timestamp) - extract(epoch from '2026-07-24 10:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702143 -2.675714)'), GeomFromEWKT('SRID=4674;POINT (-39.702146 -2.675729)'))) / (select extract(epoch from '2026-07-24 10:12:20'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.702136 -2.675835)', '2026-07-24 10:12:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702146 -2.675729)'), GeomFromEWKT('SRID=4674;POINT (-39.702136 -2.675835)'))) / (select extract(epoch from '2026-07-24 10:12:26'::timestamp) - extract(epoch from '2026-07-24 10:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702146 -2.675729)'), GeomFromEWKT('SRID=4674;POINT (-39.702136 -2.675835)'))) / (select extract(epoch from '2026-07-24 10:12:26'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.702133 -2.675974)', '2026-07-24 10:12:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702136 -2.675835)'), GeomFromEWKT('SRID=4674;POINT (-39.702133 -2.675974)'))) / (select extract(epoch from '2026-07-24 10:12:33'::timestamp) - extract(epoch from '2026-07-24 10:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702136 -2.675835)'), GeomFromEWKT('SRID=4674;POINT (-39.702133 -2.675974)'))) / (select extract(epoch from '2026-07-24 10:12:33'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.702145 -2.676073)', '2026-07-24 10:12:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702133 -2.675974)'), GeomFromEWKT('SRID=4674;POINT (-39.702145 -2.676073)'))) / (select extract(epoch from '2026-07-24 10:12:38'::timestamp) - extract(epoch from '2026-07-24 10:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702133 -2.675974)'), GeomFromEWKT('SRID=4674;POINT (-39.702145 -2.676073)'))) / (select extract(epoch from '2026-07-24 10:12:38'::timestamp) - extract(epoch from '2026-07-24 10:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702176 -2.676165)', '2026-07-24 10:12:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702145 -2.676073)'), GeomFromEWKT('SRID=4674;POINT (-39.702176 -2.676165)'))) / (select extract(epoch from '2026-07-24 10:12:42'::timestamp) - extract(epoch from '2026-07-24 10:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702145 -2.676073)'), GeomFromEWKT('SRID=4674;POINT (-39.702176 -2.676165)'))) / (select extract(epoch from '2026-07-24 10:12:42'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.70219 -2.676185)', '2026-07-24 10:12:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702176 -2.676165)'), GeomFromEWKT('SRID=4674;POINT (-39.70219 -2.676185)'))) / (select extract(epoch from '2026-07-24 10:12:43'::timestamp) - extract(epoch from '2026-07-24 10:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702176 -2.676165)'), GeomFromEWKT('SRID=4674;POINT (-39.70219 -2.676185)'))) / (select extract(epoch from '2026-07-24 10:12:43'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.702232 -2.676269)', '2026-07-24 10:12:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70219 -2.676185)'), GeomFromEWKT('SRID=4674;POINT (-39.702232 -2.676269)'))) / (select extract(epoch from '2026-07-24 10:12:47'::timestamp) - extract(epoch from '2026-07-24 10:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70219 -2.676185)'), GeomFromEWKT('SRID=4674;POINT (-39.702232 -2.676269)'))) / (select extract(epoch from '2026-07-24 10:12:47'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.702299 -2.676396)', '2026-07-24 10:12:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702232 -2.676269)'), GeomFromEWKT('SRID=4674;POINT (-39.702299 -2.676396)'))) / (select extract(epoch from '2026-07-24 10:12:53'::timestamp) - extract(epoch from '2026-07-24 10:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702232 -2.676269)'), GeomFromEWKT('SRID=4674;POINT (-39.702299 -2.676396)'))) / (select extract(epoch from '2026-07-24 10:12:53'::timestamp) - extract(epoch from '2026-07-24 10:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702337 -2.676511)', '2026-07-24 10:12:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702299 -2.676396)'), GeomFromEWKT('SRID=4674;POINT (-39.702337 -2.676511)'))) / (select extract(epoch from '2026-07-24 10:12:58'::timestamp) - extract(epoch from '2026-07-24 10:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702299 -2.676396)'), GeomFromEWKT('SRID=4674;POINT (-39.702337 -2.676511)'))) / (select extract(epoch from '2026-07-24 10:12:58'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.702371 -2.676648)', '2026-07-24 10:13:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702337 -2.676511)'), GeomFromEWKT('SRID=4674;POINT (-39.702371 -2.676648)'))) / (select extract(epoch from '2026-07-24 10:13:04'::timestamp) - extract(epoch from '2026-07-24 10:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702337 -2.676511)'), GeomFromEWKT('SRID=4674;POINT (-39.702371 -2.676648)'))) / (select extract(epoch from '2026-07-24 10:13:04'::timestamp) - extract(epoch from '2026-07-24 10:12: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'), 47870, 'SRID=4674;POINT (-39.702417 -2.676769)', '2026-07-24 10:13:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702371 -2.676648)'), GeomFromEWKT('SRID=4674;POINT (-39.702417 -2.676769)'))) / (select extract(epoch from '2026-07-24 10:13:10'::timestamp) - extract(epoch from '2026-07-24 10:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702371 -2.676648)'), GeomFromEWKT('SRID=4674;POINT (-39.702417 -2.676769)'))) / (select extract(epoch from '2026-07-24 10:13:10'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.702478 -2.67684)', '2026-07-24 10:13:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702417 -2.676769)'), GeomFromEWKT('SRID=4674;POINT (-39.702478 -2.67684)'))) / (select extract(epoch from '2026-07-24 10:13:15'::timestamp) - extract(epoch from '2026-07-24 10:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702417 -2.676769)'), GeomFromEWKT('SRID=4674;POINT (-39.702478 -2.67684)'))) / (select extract(epoch from '2026-07-24 10:13:15'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.702554 -2.676876)', '2026-07-24 10:13:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702478 -2.67684)'), GeomFromEWKT('SRID=4674;POINT (-39.702554 -2.676876)'))) / (select extract(epoch from '2026-07-24 10:13:20'::timestamp) - extract(epoch from '2026-07-24 10:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702478 -2.67684)'), GeomFromEWKT('SRID=4674;POINT (-39.702554 -2.676876)'))) / (select extract(epoch from '2026-07-24 10:13:20'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.702617 -2.67688)', '2026-07-24 10:13:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702554 -2.676876)'), GeomFromEWKT('SRID=4674;POINT (-39.702617 -2.67688)'))) / (select extract(epoch from '2026-07-24 10:13:24'::timestamp) - extract(epoch from '2026-07-24 10:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702554 -2.676876)'), GeomFromEWKT('SRID=4674;POINT (-39.702617 -2.67688)'))) / (select extract(epoch from '2026-07-24 10:13:24'::timestamp) - extract(epoch from '2026-07-24 10:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702646 -2.676876)', '2026-07-24 10:13:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702617 -2.67688)'), GeomFromEWKT('SRID=4674;POINT (-39.702646 -2.676876)'))) / (select extract(epoch from '2026-07-24 10:13:26'::timestamp) - extract(epoch from '2026-07-24 10:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702617 -2.67688)'), GeomFromEWKT('SRID=4674;POINT (-39.702646 -2.676876)'))) / (select extract(epoch from '2026-07-24 10:13:26'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.702722 -2.676824)', '2026-07-24 10:13:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702646 -2.676876)'), GeomFromEWKT('SRID=4674;POINT (-39.702722 -2.676824)'))) / (select extract(epoch from '2026-07-24 10:13:33'::timestamp) - extract(epoch from '2026-07-24 10:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702646 -2.676876)'), GeomFromEWKT('SRID=4674;POINT (-39.702722 -2.676824)'))) / (select extract(epoch from '2026-07-24 10:13:33'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.702735 -2.676805)', '2026-07-24 10:13:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702722 -2.676824)'), GeomFromEWKT('SRID=4674;POINT (-39.702735 -2.676805)'))) / (select extract(epoch from '2026-07-24 10:13:35'::timestamp) - extract(epoch from '2026-07-24 10:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702722 -2.676824)'), GeomFromEWKT('SRID=4674;POINT (-39.702735 -2.676805)'))) / (select extract(epoch from '2026-07-24 10:13:35'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.70275 -2.676789)', '2026-07-24 10:13:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702735 -2.676805)'), GeomFromEWKT('SRID=4674;POINT (-39.70275 -2.676789)'))) / (select extract(epoch from '2026-07-24 10:13:37'::timestamp) - extract(epoch from '2026-07-24 10:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702735 -2.676805)'), GeomFromEWKT('SRID=4674;POINT (-39.70275 -2.676789)'))) / (select extract(epoch from '2026-07-24 10:13:37'::timestamp) - extract(epoch from '2026-07-24 10:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702752 -2.676784)', '2026-07-24 10:13:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70275 -2.676789)'), GeomFromEWKT('SRID=4674;POINT (-39.702752 -2.676784)'))) / (select extract(epoch from '2026-07-24 10:13:38'::timestamp) - extract(epoch from '2026-07-24 10:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70275 -2.676789)'), GeomFromEWKT('SRID=4674;POINT (-39.702752 -2.676784)'))) / (select extract(epoch from '2026-07-24 10:13:38'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.702776 -2.676758)', '2026-07-24 10:13:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702752 -2.676784)'), GeomFromEWKT('SRID=4674;POINT (-39.702776 -2.676758)'))) / (select extract(epoch from '2026-07-24 10:13:47'::timestamp) - extract(epoch from '2026-07-24 10:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702752 -2.676784)'), GeomFromEWKT('SRID=4674;POINT (-39.702776 -2.676758)'))) / (select extract(epoch from '2026-07-24 10:13:47'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.702786 -2.676743)', '2026-07-24 10:13:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702776 -2.676758)'), GeomFromEWKT('SRID=4674;POINT (-39.702786 -2.676743)'))) / (select extract(epoch from '2026-07-24 10:13:52'::timestamp) - extract(epoch from '2026-07-24 10:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702776 -2.676758)'), GeomFromEWKT('SRID=4674;POINT (-39.702786 -2.676743)'))) / (select extract(epoch from '2026-07-24 10:13:52'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.702806 -2.676735)', '2026-07-24 10:13:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702786 -2.676743)'), GeomFromEWKT('SRID=4674;POINT (-39.702806 -2.676735)'))) / (select extract(epoch from '2026-07-24 10:13:59'::timestamp) - extract(epoch from '2026-07-24 10:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702786 -2.676743)'), GeomFromEWKT('SRID=4674;POINT (-39.702806 -2.676735)'))) / (select extract(epoch from '2026-07-24 10:13:59'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.702801 -2.676717)', '2026-07-24 10:14:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702806 -2.676735)'), GeomFromEWKT('SRID=4674;POINT (-39.702801 -2.676717)'))) / (select extract(epoch from '2026-07-24 10:14:06'::timestamp) - extract(epoch from '2026-07-24 10:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702806 -2.676735)'), GeomFromEWKT('SRID=4674;POINT (-39.702801 -2.676717)'))) / (select extract(epoch from '2026-07-24 10:14:06'::timestamp) - extract(epoch from '2026-07-24 10:13: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'), 47870, 'SRID=4674;POINT (-39.702776 -2.676698)', '2026-07-24 10:14:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702801 -2.676717)'), GeomFromEWKT('SRID=4674;POINT (-39.702776 -2.676698)'))) / (select extract(epoch from '2026-07-24 10:14:14'::timestamp) - extract(epoch from '2026-07-24 10:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702801 -2.676717)'), GeomFromEWKT('SRID=4674;POINT (-39.702776 -2.676698)'))) / (select extract(epoch from '2026-07-24 10:14:14'::timestamp) - extract(epoch from '2026-07-24 10:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702754 -2.676681)', '2026-07-24 10:14:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702776 -2.676698)'), GeomFromEWKT('SRID=4674;POINT (-39.702754 -2.676681)'))) / (select extract(epoch from '2026-07-24 10:14:25'::timestamp) - extract(epoch from '2026-07-24 10:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702776 -2.676698)'), GeomFromEWKT('SRID=4674;POINT (-39.702754 -2.676681)'))) / (select extract(epoch from '2026-07-24 10:14:25'::timestamp) - extract(epoch from '2026-07-24 10:14: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'), 47870, 'SRID=4674;POINT (-39.702754 -2.676676)', '2026-07-24 10:14:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702754 -2.676681)'), GeomFromEWKT('SRID=4674;POINT (-39.702754 -2.676676)'))) / (select extract(epoch from '2026-07-24 10:14:33'::timestamp) - extract(epoch from '2026-07-24 10:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702754 -2.676681)'), GeomFromEWKT('SRID=4674;POINT (-39.702754 -2.676676)'))) / (select extract(epoch from '2026-07-24 10:14:33'::timestamp) - extract(epoch from '2026-07-24 10:14: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'), 47870, 'SRID=4674;POINT (-39.702763 -2.676666)', '2026-07-24 10:14:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702754 -2.676676)'), GeomFromEWKT('SRID=4674;POINT (-39.702763 -2.676666)'))) / (select extract(epoch from '2026-07-24 10:14:39'::timestamp) - extract(epoch from '2026-07-24 10:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702754 -2.676676)'), GeomFromEWKT('SRID=4674;POINT (-39.702763 -2.676666)'))) / (select extract(epoch from '2026-07-24 10:14:39'::timestamp) - extract(epoch from '2026-07-24 10:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702786 -2.676647)', '2026-07-24 10:14:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702763 -2.676666)'), GeomFromEWKT('SRID=4674;POINT (-39.702786 -2.676647)'))) / (select extract(epoch from '2026-07-24 10:14:47'::timestamp) - extract(epoch from '2026-07-24 10:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702763 -2.676666)'), GeomFromEWKT('SRID=4674;POINT (-39.702786 -2.676647)'))) / (select extract(epoch from '2026-07-24 10:14:47'::timestamp) - extract(epoch from '2026-07-24 10:14: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'), 47870, 'SRID=4674;POINT (-39.702813 -2.676615)', '2026-07-24 10:14:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702786 -2.676647)'), GeomFromEWKT('SRID=4674;POINT (-39.702813 -2.676615)'))) / (select extract(epoch from '2026-07-24 10:14:55'::timestamp) - extract(epoch from '2026-07-24 10:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702786 -2.676647)'), GeomFromEWKT('SRID=4674;POINT (-39.702813 -2.676615)'))) / (select extract(epoch from '2026-07-24 10:14:55'::timestamp) - extract(epoch from '2026-07-24 10:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702824 -2.676603)', '2026-07-24 10:15:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702813 -2.676615)'), GeomFromEWKT('SRID=4674;POINT (-39.702824 -2.676603)'))) / (select extract(epoch from '2026-07-24 10:15:02'::timestamp) - extract(epoch from '2026-07-24 10:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702813 -2.676615)'), GeomFromEWKT('SRID=4674;POINT (-39.702824 -2.676603)'))) / (select extract(epoch from '2026-07-24 10:15:02'::timestamp) - extract(epoch from '2026-07-24 10:14: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'), 47870, 'SRID=4674;POINT (-39.702846 -2.676603)', '2026-07-24 10:15:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702824 -2.676603)'), GeomFromEWKT('SRID=4674;POINT (-39.702846 -2.676603)'))) / (select extract(epoch from '2026-07-24 10:15:07'::timestamp) - extract(epoch from '2026-07-24 10:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702824 -2.676603)'), GeomFromEWKT('SRID=4674;POINT (-39.702846 -2.676603)'))) / (select extract(epoch from '2026-07-24 10:15:07'::timestamp) - extract(epoch from '2026-07-24 10:15: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'), 47870, 'SRID=4674;POINT (-39.702858 -2.676585)', '2026-07-24 10:15:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702846 -2.676603)'), GeomFromEWKT('SRID=4674;POINT (-39.702858 -2.676585)'))) / (select extract(epoch from '2026-07-24 10:15:14'::timestamp) - extract(epoch from '2026-07-24 10:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702846 -2.676603)'), GeomFromEWKT('SRID=4674;POINT (-39.702858 -2.676585)'))) / (select extract(epoch from '2026-07-24 10:15:14'::timestamp) - extract(epoch from '2026-07-24 10:15: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'), 47870, 'SRID=4674;POINT (-39.702855 -2.676586)', '2026-07-24 10:15:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702858 -2.676585)'), GeomFromEWKT('SRID=4674;POINT (-39.702855 -2.676586)'))) / (select extract(epoch from '2026-07-24 10:15:25'::timestamp) - extract(epoch from '2026-07-24 10:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702858 -2.676585)'), GeomFromEWKT('SRID=4674;POINT (-39.702855 -2.676586)'))) / (select extract(epoch from '2026-07-24 10:15:25'::timestamp) - extract(epoch from '2026-07-24 10:15: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'), 47870, 'SRID=4674;POINT (-39.702864 -2.676583)', '2026-07-24 10:15:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702855 -2.676586)'), GeomFromEWKT('SRID=4674;POINT (-39.702864 -2.676583)'))) / (select extract(epoch from '2026-07-24 10:15:33'::timestamp) - extract(epoch from '2026-07-24 10:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702855 -2.676586)'), GeomFromEWKT('SRID=4674;POINT (-39.702864 -2.676583)'))) / (select extract(epoch from '2026-07-24 10:15:33'::timestamp) - extract(epoch from '2026-07-24 10:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702879 -2.676582)', '2026-07-24 10:15:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702864 -2.676583)'), GeomFromEWKT('SRID=4674;POINT (-39.702879 -2.676582)'))) / (select extract(epoch from '2026-07-24 10:15:40'::timestamp) - extract(epoch from '2026-07-24 10:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702864 -2.676583)'), GeomFromEWKT('SRID=4674;POINT (-39.702879 -2.676582)'))) / (select extract(epoch from '2026-07-24 10:15:40'::timestamp) - extract(epoch from '2026-07-24 10:15: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'), 47870, 'SRID=4674;POINT (-39.702881 -2.676578)', '2026-07-24 10:15:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702879 -2.676582)'), GeomFromEWKT('SRID=4674;POINT (-39.702881 -2.676578)'))) / (select extract(epoch from '2026-07-24 10:15:46'::timestamp) - extract(epoch from '2026-07-24 10:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702879 -2.676582)'), GeomFromEWKT('SRID=4674;POINT (-39.702881 -2.676578)'))) / (select extract(epoch from '2026-07-24 10:15:46'::timestamp) - extract(epoch from '2026-07-24 10:15: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'), 47870, 'SRID=4674;POINT (-39.702893 -2.67657)', '2026-07-24 10:15:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702881 -2.676578)'), GeomFromEWKT('SRID=4674;POINT (-39.702893 -2.67657)'))) / (select extract(epoch from '2026-07-24 10:15:52'::timestamp) - extract(epoch from '2026-07-24 10:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702881 -2.676578)'), GeomFromEWKT('SRID=4674;POINT (-39.702893 -2.67657)'))) / (select extract(epoch from '2026-07-24 10:15:52'::timestamp) - extract(epoch from '2026-07-24 10:15: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'), 47870, 'SRID=4674;POINT (-39.702904 -2.676564)', '2026-07-24 10:15:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702893 -2.67657)'), GeomFromEWKT('SRID=4674;POINT (-39.702904 -2.676564)'))) / (select extract(epoch from '2026-07-24 10:15:58'::timestamp) - extract(epoch from '2026-07-24 10:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702893 -2.67657)'), GeomFromEWKT('SRID=4674;POINT (-39.702904 -2.676564)'))) / (select extract(epoch from '2026-07-24 10:15:58'::timestamp) - extract(epoch from '2026-07-24 10:15: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'), 47870, 'SRID=4674;POINT (-39.702904 -2.676564)', '2026-07-24 10:16:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702904 -2.676564)'), GeomFromEWKT('SRID=4674;POINT (-39.702904 -2.676564)'))) / (select extract(epoch from '2026-07-24 10:16:10'::timestamp) - extract(epoch from '2026-07-24 10:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702904 -2.676564)'), GeomFromEWKT('SRID=4674;POINT (-39.702904 -2.676564)'))) / (select extract(epoch from '2026-07-24 10:16:10'::timestamp) - extract(epoch from '2026-07-24 10:15: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'), 47870, 'SRID=4674;POINT (-39.7029 -2.676556)', '2026-07-24 10:16:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702904 -2.676564)'), GeomFromEWKT('SRID=4674;POINT (-39.7029 -2.676556)'))) / (select extract(epoch from '2026-07-24 10:16:16'::timestamp) - extract(epoch from '2026-07-24 10:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702904 -2.676564)'), GeomFromEWKT('SRID=4674;POINT (-39.7029 -2.676556)'))) / (select extract(epoch from '2026-07-24 10:16:16'::timestamp) - extract(epoch from '2026-07-24 10:16: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'), 47870, 'SRID=4674;POINT (-39.70291 -2.676549)', '2026-07-24 10:16:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7029 -2.676556)'), GeomFromEWKT('SRID=4674;POINT (-39.70291 -2.676549)'))) / (select extract(epoch from '2026-07-24 10:16:22'::timestamp) - extract(epoch from '2026-07-24 10:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7029 -2.676556)'), GeomFromEWKT('SRID=4674;POINT (-39.70291 -2.676549)'))) / (select extract(epoch from '2026-07-24 10:16:22'::timestamp) - extract(epoch from '2026-07-24 10:16: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'), 47870, 'SRID=4674;POINT (-39.702933 -2.676533)', '2026-07-24 10:16:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70291 -2.676549)'), GeomFromEWKT('SRID=4674;POINT (-39.702933 -2.676533)'))) / (select extract(epoch from '2026-07-24 10:16:30'::timestamp) - extract(epoch from '2026-07-24 10:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70291 -2.676549)'), GeomFromEWKT('SRID=4674;POINT (-39.702933 -2.676533)'))) / (select extract(epoch from '2026-07-24 10:16:30'::timestamp) - extract(epoch from '2026-07-24 10:16: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'), 47870, 'SRID=4674;POINT (-39.70297 -2.676534)', '2026-07-24 10:16:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702933 -2.676533)'), GeomFromEWKT('SRID=4674;POINT (-39.70297 -2.676534)'))) / (select extract(epoch from '2026-07-24 10:16:40'::timestamp) - extract(epoch from '2026-07-24 10:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702933 -2.676533)'), GeomFromEWKT('SRID=4674;POINT (-39.70297 -2.676534)'))) / (select extract(epoch from '2026-07-24 10:16:40'::timestamp) - extract(epoch from '2026-07-24 10:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702987 -2.676547)', '2026-07-24 10:16:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70297 -2.676534)'), GeomFromEWKT('SRID=4674;POINT (-39.702987 -2.676547)'))) / (select extract(epoch from '2026-07-24 10:16:46'::timestamp) - extract(epoch from '2026-07-24 10:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70297 -2.676534)'), GeomFromEWKT('SRID=4674;POINT (-39.702987 -2.676547)'))) / (select extract(epoch from '2026-07-24 10:16:46'::timestamp) - extract(epoch from '2026-07-24 10:16: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'), 47870, 'SRID=4674;POINT (-39.702979 -2.676612)', '2026-07-24 10:16:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702987 -2.676547)'), GeomFromEWKT('SRID=4674;POINT (-39.702979 -2.676612)'))) / (select extract(epoch from '2026-07-24 10:16:55'::timestamp) - extract(epoch from '2026-07-24 10:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702987 -2.676547)'), GeomFromEWKT('SRID=4674;POINT (-39.702979 -2.676612)'))) / (select extract(epoch from '2026-07-24 10:16:55'::timestamp) - extract(epoch from '2026-07-24 10:16: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'), 47870, 'SRID=4674;POINT (-39.702974 -2.676674)', '2026-07-24 10:17:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702979 -2.676612)'), GeomFromEWKT('SRID=4674;POINT (-39.702974 -2.676674)'))) / (select extract(epoch from '2026-07-24 10:17:00'::timestamp) - extract(epoch from '2026-07-24 10:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702979 -2.676612)'), GeomFromEWKT('SRID=4674;POINT (-39.702974 -2.676674)'))) / (select extract(epoch from '2026-07-24 10:17:00'::timestamp) - extract(epoch from '2026-07-24 10:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702968 -2.676688)', '2026-07-24 10:17:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702974 -2.676674)'), GeomFromEWKT('SRID=4674;POINT (-39.702968 -2.676688)'))) / (select extract(epoch from '2026-07-24 10:17:01'::timestamp) - extract(epoch from '2026-07-24 10:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702974 -2.676674)'), GeomFromEWKT('SRID=4674;POINT (-39.702968 -2.676688)'))) / (select extract(epoch from '2026-07-24 10:17:01'::timestamp) - extract(epoch from '2026-07-24 10:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702959 -2.676702)', '2026-07-24 10:17:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702968 -2.676688)'), GeomFromEWKT('SRID=4674;POINT (-39.702959 -2.676702)'))) / (select extract(epoch from '2026-07-24 10:17:02'::timestamp) - extract(epoch from '2026-07-24 10:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702968 -2.676688)'), GeomFromEWKT('SRID=4674;POINT (-39.702959 -2.676702)'))) / (select extract(epoch from '2026-07-24 10:17:02'::timestamp) - extract(epoch from '2026-07-24 10:17: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'), 47870, 'SRID=4674;POINT (-39.702933 -2.676759)', '2026-07-24 10:17:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702959 -2.676702)'), GeomFromEWKT('SRID=4674;POINT (-39.702933 -2.676759)'))) / (select extract(epoch from '2026-07-24 10:17:06'::timestamp) - extract(epoch from '2026-07-24 10:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702959 -2.676702)'), GeomFromEWKT('SRID=4674;POINT (-39.702933 -2.676759)'))) / (select extract(epoch from '2026-07-24 10:17:06'::timestamp) - extract(epoch from '2026-07-24 10:17: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'), 47870, 'SRID=4674;POINT (-39.702906 -2.676866)', '2026-07-24 10:17:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702933 -2.676759)'), GeomFromEWKT('SRID=4674;POINT (-39.702906 -2.676866)'))) / (select extract(epoch from '2026-07-24 10:17:12'::timestamp) - extract(epoch from '2026-07-24 10:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702933 -2.676759)'), GeomFromEWKT('SRID=4674;POINT (-39.702906 -2.676866)'))) / (select extract(epoch from '2026-07-24 10:17:12'::timestamp) - extract(epoch from '2026-07-24 10:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.702925 -2.676988)', '2026-07-24 10:17:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702906 -2.676866)'), GeomFromEWKT('SRID=4674;POINT (-39.702925 -2.676988)'))) / (select extract(epoch from '2026-07-24 10:17:18'::timestamp) - extract(epoch from '2026-07-24 10:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702906 -2.676866)'), GeomFromEWKT('SRID=4674;POINT (-39.702925 -2.676988)'))) / (select extract(epoch from '2026-07-24 10:17:18'::timestamp) - extract(epoch from '2026-07-24 10:17: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'), 47870, 'SRID=4674;POINT (-39.702981 -2.677125)', '2026-07-24 10:17:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702925 -2.676988)'), GeomFromEWKT('SRID=4674;POINT (-39.702981 -2.677125)'))) / (select extract(epoch from '2026-07-24 10:17:24'::timestamp) - extract(epoch from '2026-07-24 10:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702925 -2.676988)'), GeomFromEWKT('SRID=4674;POINT (-39.702981 -2.677125)'))) / (select extract(epoch from '2026-07-24 10:17:24'::timestamp) - extract(epoch from '2026-07-24 10:17: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'), 47870, 'SRID=4674;POINT (-39.703027 -2.677241)', '2026-07-24 10:17:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702981 -2.677125)'), GeomFromEWKT('SRID=4674;POINT (-39.703027 -2.677241)'))) / (select extract(epoch from '2026-07-24 10:17:29'::timestamp) - extract(epoch from '2026-07-24 10:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702981 -2.677125)'), GeomFromEWKT('SRID=4674;POINT (-39.703027 -2.677241)'))) / (select extract(epoch from '2026-07-24 10:17:29'::timestamp) - extract(epoch from '2026-07-24 10:17: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'), 47870, 'SRID=4674;POINT (-39.703059 -2.677356)', '2026-07-24 10:17:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703027 -2.677241)'), GeomFromEWKT('SRID=4674;POINT (-39.703059 -2.677356)'))) / (select extract(epoch from '2026-07-24 10:17:34'::timestamp) - extract(epoch from '2026-07-24 10:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703027 -2.677241)'), GeomFromEWKT('SRID=4674;POINT (-39.703059 -2.677356)'))) / (select extract(epoch from '2026-07-24 10:17:34'::timestamp) - extract(epoch from '2026-07-24 10:17: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'), 47870, 'SRID=4674;POINT (-39.703083 -2.677483)', '2026-07-24 10:17:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703059 -2.677356)'), GeomFromEWKT('SRID=4674;POINT (-39.703083 -2.677483)'))) / (select extract(epoch from '2026-07-24 10:17:39'::timestamp) - extract(epoch from '2026-07-24 10:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703059 -2.677356)'), GeomFromEWKT('SRID=4674;POINT (-39.703083 -2.677483)'))) / (select extract(epoch from '2026-07-24 10:17:39'::timestamp) - extract(epoch from '2026-07-24 10:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703092 -2.677521)', '2026-07-24 10:17:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703083 -2.677483)'), GeomFromEWKT('SRID=4674;POINT (-39.703092 -2.677521)'))) / (select extract(epoch from '2026-07-24 10:17:41'::timestamp) - extract(epoch from '2026-07-24 10:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703083 -2.677483)'), GeomFromEWKT('SRID=4674;POINT (-39.703092 -2.677521)'))) / (select extract(epoch from '2026-07-24 10:17:41'::timestamp) - extract(epoch from '2026-07-24 10:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703105 -2.677577)', '2026-07-24 10:17:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703092 -2.677521)'), GeomFromEWKT('SRID=4674;POINT (-39.703105 -2.677577)'))) / (select extract(epoch from '2026-07-24 10:17:44'::timestamp) - extract(epoch from '2026-07-24 10:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703092 -2.677521)'), GeomFromEWKT('SRID=4674;POINT (-39.703105 -2.677577)'))) / (select extract(epoch from '2026-07-24 10:17:44'::timestamp) - extract(epoch from '2026-07-24 10:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703145 -2.677638)', '2026-07-24 10:17:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703105 -2.677577)'), GeomFromEWKT('SRID=4674;POINT (-39.703145 -2.677638)'))) / (select extract(epoch from '2026-07-24 10:17:48'::timestamp) - extract(epoch from '2026-07-24 10:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703105 -2.677577)'), GeomFromEWKT('SRID=4674;POINT (-39.703145 -2.677638)'))) / (select extract(epoch from '2026-07-24 10:17:48'::timestamp) - extract(epoch from '2026-07-24 10:17: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'), 47870, 'SRID=4674;POINT (-39.703163 -2.677652)', '2026-07-24 10:17:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703145 -2.677638)'), GeomFromEWKT('SRID=4674;POINT (-39.703163 -2.677652)'))) / (select extract(epoch from '2026-07-24 10:17:49'::timestamp) - extract(epoch from '2026-07-24 10:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703145 -2.677638)'), GeomFromEWKT('SRID=4674;POINT (-39.703163 -2.677652)'))) / (select extract(epoch from '2026-07-24 10:17:49'::timestamp) - extract(epoch from '2026-07-24 10:17: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'), 47870, 'SRID=4674;POINT (-39.703248 -2.677672)', '2026-07-24 10:17:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703163 -2.677652)'), GeomFromEWKT('SRID=4674;POINT (-39.703248 -2.677672)'))) / (select extract(epoch from '2026-07-24 10:17:55'::timestamp) - extract(epoch from '2026-07-24 10:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703163 -2.677652)'), GeomFromEWKT('SRID=4674;POINT (-39.703248 -2.677672)'))) / (select extract(epoch from '2026-07-24 10:17:55'::timestamp) - extract(epoch from '2026-07-24 10:17: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'), 47870, 'SRID=4674;POINT (-39.703311 -2.677658)', '2026-07-24 10:17:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703248 -2.677672)'), GeomFromEWKT('SRID=4674;POINT (-39.703311 -2.677658)'))) / (select extract(epoch from '2026-07-24 10:17:59'::timestamp) - extract(epoch from '2026-07-24 10:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703248 -2.677672)'), GeomFromEWKT('SRID=4674;POINT (-39.703311 -2.677658)'))) / (select extract(epoch from '2026-07-24 10:17:59'::timestamp) - extract(epoch from '2026-07-24 10:17: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'), 47870, 'SRID=4674;POINT (-39.703317 -2.677653)', '2026-07-24 10:18:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703311 -2.677658)'), GeomFromEWKT('SRID=4674;POINT (-39.703317 -2.677653)'))) / (select extract(epoch from '2026-07-24 10:18:00'::timestamp) - extract(epoch from '2026-07-24 10:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703311 -2.677658)'), GeomFromEWKT('SRID=4674;POINT (-39.703317 -2.677653)'))) / (select extract(epoch from '2026-07-24 10:18:00'::timestamp) - extract(epoch from '2026-07-24 10:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703325 -2.67765)', '2026-07-24 10:18:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703317 -2.677653)'), GeomFromEWKT('SRID=4674;POINT (-39.703325 -2.67765)'))) / (select extract(epoch from '2026-07-24 10:18:01'::timestamp) - extract(epoch from '2026-07-24 10:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703317 -2.677653)'), GeomFromEWKT('SRID=4674;POINT (-39.703325 -2.67765)'))) / (select extract(epoch from '2026-07-24 10:18:01'::timestamp) - extract(epoch from '2026-07-24 10:18: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'), 47870, 'SRID=4674;POINT (-39.703355 -2.677625)', '2026-07-24 10:18:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703325 -2.67765)'), GeomFromEWKT('SRID=4674;POINT (-39.703355 -2.677625)'))) / (select extract(epoch from '2026-07-24 10:18:05'::timestamp) - extract(epoch from '2026-07-24 10:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703325 -2.67765)'), GeomFromEWKT('SRID=4674;POINT (-39.703355 -2.677625)'))) / (select extract(epoch from '2026-07-24 10:18:05'::timestamp) - extract(epoch from '2026-07-24 10:18: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'), 47870, 'SRID=4674;POINT (-39.703363 -2.677614)', '2026-07-24 10:18:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703355 -2.677625)'), GeomFromEWKT('SRID=4674;POINT (-39.703363 -2.677614)'))) / (select extract(epoch from '2026-07-24 10:18:07'::timestamp) - extract(epoch from '2026-07-24 10:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703355 -2.677625)'), GeomFromEWKT('SRID=4674;POINT (-39.703363 -2.677614)'))) / (select extract(epoch from '2026-07-24 10:18:07'::timestamp) - extract(epoch from '2026-07-24 10:18:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70338 -2.677601)', '2026-07-24 10:18:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703363 -2.677614)'), GeomFromEWKT('SRID=4674;POINT (-39.70338 -2.677601)'))) / (select extract(epoch from '2026-07-24 10:18:11'::timestamp) - extract(epoch from '2026-07-24 10:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703363 -2.677614)'), GeomFromEWKT('SRID=4674;POINT (-39.70338 -2.677601)'))) / (select extract(epoch from '2026-07-24 10:18:11'::timestamp) - extract(epoch from '2026-07-24 10:18: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'), 47870, 'SRID=4674;POINT (-39.703417 -2.677586)', '2026-07-24 10:18:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70338 -2.677601)'), GeomFromEWKT('SRID=4674;POINT (-39.703417 -2.677586)'))) / (select extract(epoch from '2026-07-24 10:18:17'::timestamp) - extract(epoch from '2026-07-24 10:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70338 -2.677601)'), GeomFromEWKT('SRID=4674;POINT (-39.703417 -2.677586)'))) / (select extract(epoch from '2026-07-24 10:18:17'::timestamp) - extract(epoch from '2026-07-24 10:18: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'), 47870, 'SRID=4674;POINT (-39.703427 -2.677584)', '2026-07-24 10:18:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703417 -2.677586)'), GeomFromEWKT('SRID=4674;POINT (-39.703427 -2.677584)'))) / (select extract(epoch from '2026-07-24 10:18:18'::timestamp) - extract(epoch from '2026-07-24 10:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703417 -2.677586)'), GeomFromEWKT('SRID=4674;POINT (-39.703427 -2.677584)'))) / (select extract(epoch from '2026-07-24 10:18:18'::timestamp) - extract(epoch from '2026-07-24 10:18: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'), 47870, 'SRID=4674;POINT (-39.703471 -2.677566)', '2026-07-24 10:18:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703427 -2.677584)'), GeomFromEWKT('SRID=4674;POINT (-39.703471 -2.677566)'))) / (select extract(epoch from '2026-07-24 10:18:25'::timestamp) - extract(epoch from '2026-07-24 10:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703427 -2.677584)'), GeomFromEWKT('SRID=4674;POINT (-39.703471 -2.677566)'))) / (select extract(epoch from '2026-07-24 10:18:25'::timestamp) - extract(epoch from '2026-07-24 10:18: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'), 47870, 'SRID=4674;POINT (-39.703532 -2.677538)', '2026-07-24 10:18:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703471 -2.677566)'), GeomFromEWKT('SRID=4674;POINT (-39.703532 -2.677538)'))) / (select extract(epoch from '2026-07-24 10:18:36'::timestamp) - extract(epoch from '2026-07-24 10:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703471 -2.677566)'), GeomFromEWKT('SRID=4674;POINT (-39.703532 -2.677538)'))) / (select extract(epoch from '2026-07-24 10:18:36'::timestamp) - extract(epoch from '2026-07-24 10:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703551 -2.677528)', '2026-07-24 10:18:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703532 -2.677538)'), GeomFromEWKT('SRID=4674;POINT (-39.703551 -2.677528)'))) / (select extract(epoch from '2026-07-24 10:18:39'::timestamp) - extract(epoch from '2026-07-24 10:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703532 -2.677538)'), GeomFromEWKT('SRID=4674;POINT (-39.703551 -2.677528)'))) / (select extract(epoch from '2026-07-24 10:18:39'::timestamp) - extract(epoch from '2026-07-24 10:18: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'), 47870, 'SRID=4674;POINT (-39.703576 -2.677514)', '2026-07-24 10:18:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703551 -2.677528)'), GeomFromEWKT('SRID=4674;POINT (-39.703576 -2.677514)'))) / (select extract(epoch from '2026-07-24 10:18:44'::timestamp) - extract(epoch from '2026-07-24 10:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703551 -2.677528)'), GeomFromEWKT('SRID=4674;POINT (-39.703576 -2.677514)'))) / (select extract(epoch from '2026-07-24 10:18:44'::timestamp) - extract(epoch from '2026-07-24 10:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703614 -2.677506)', '2026-07-24 10:18:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703576 -2.677514)'), GeomFromEWKT('SRID=4674;POINT (-39.703614 -2.677506)'))) / (select extract(epoch from '2026-07-24 10:18:50'::timestamp) - extract(epoch from '2026-07-24 10:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703576 -2.677514)'), GeomFromEWKT('SRID=4674;POINT (-39.703614 -2.677506)'))) / (select extract(epoch from '2026-07-24 10:18:50'::timestamp) - extract(epoch from '2026-07-24 10:18: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'), 47870, 'SRID=4674;POINT (-39.703645 -2.677493)', '2026-07-24 10:18:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703614 -2.677506)'), GeomFromEWKT('SRID=4674;POINT (-39.703645 -2.677493)'))) / (select extract(epoch from '2026-07-24 10:18:55'::timestamp) - extract(epoch from '2026-07-24 10:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703614 -2.677506)'), GeomFromEWKT('SRID=4674;POINT (-39.703645 -2.677493)'))) / (select extract(epoch from '2026-07-24 10:18:55'::timestamp) - extract(epoch from '2026-07-24 10:18: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'), 47870, 'SRID=4674;POINT (-39.703661 -2.677455)', '2026-07-24 10:19:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703645 -2.677493)'), GeomFromEWKT('SRID=4674;POINT (-39.703661 -2.677455)'))) / (select extract(epoch from '2026-07-24 10:19:03'::timestamp) - extract(epoch from '2026-07-24 10:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703645 -2.677493)'), GeomFromEWKT('SRID=4674;POINT (-39.703661 -2.677455)'))) / (select extract(epoch from '2026-07-24 10:19:03'::timestamp) - extract(epoch from '2026-07-24 10:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703634 -2.677445)', '2026-07-24 10:19:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703661 -2.677455)'), GeomFromEWKT('SRID=4674;POINT (-39.703634 -2.677445)'))) / (select extract(epoch from '2026-07-24 10:19:10'::timestamp) - extract(epoch from '2026-07-24 10:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703661 -2.677455)'), GeomFromEWKT('SRID=4674;POINT (-39.703634 -2.677445)'))) / (select extract(epoch from '2026-07-24 10:19:10'::timestamp) - extract(epoch from '2026-07-24 10:19: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'), 47870, 'SRID=4674;POINT (-39.703603 -2.677428)', '2026-07-24 10:19:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703634 -2.677445)'), GeomFromEWKT('SRID=4674;POINT (-39.703603 -2.677428)'))) / (select extract(epoch from '2026-07-24 10:19:19'::timestamp) - extract(epoch from '2026-07-24 10:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703634 -2.677445)'), GeomFromEWKT('SRID=4674;POINT (-39.703603 -2.677428)'))) / (select extract(epoch from '2026-07-24 10:19:19'::timestamp) - extract(epoch from '2026-07-24 10:19: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'), 47870, 'SRID=4674;POINT (-39.703617 -2.677413)', '2026-07-24 10:19:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703603 -2.677428)'), GeomFromEWKT('SRID=4674;POINT (-39.703617 -2.677413)'))) / (select extract(epoch from '2026-07-24 10:19:29'::timestamp) - extract(epoch from '2026-07-24 10:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703603 -2.677428)'), GeomFromEWKT('SRID=4674;POINT (-39.703617 -2.677413)'))) / (select extract(epoch from '2026-07-24 10:19:29'::timestamp) - extract(epoch from '2026-07-24 10:19:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703624 -2.6774)', '2026-07-24 10:19:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703617 -2.677413)'), GeomFromEWKT('SRID=4674;POINT (-39.703624 -2.6774)'))) / (select extract(epoch from '2026-07-24 10:19:36'::timestamp) - extract(epoch from '2026-07-24 10:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703617 -2.677413)'), GeomFromEWKT('SRID=4674;POINT (-39.703624 -2.6774)'))) / (select extract(epoch from '2026-07-24 10:19:36'::timestamp) - extract(epoch from '2026-07-24 10:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703614 -2.677375)', '2026-07-24 10:19:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703624 -2.6774)'), GeomFromEWKT('SRID=4674;POINT (-39.703614 -2.677375)'))) / (select extract(epoch from '2026-07-24 10:19:47'::timestamp) - extract(epoch from '2026-07-24 10:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703624 -2.6774)'), GeomFromEWKT('SRID=4674;POINT (-39.703614 -2.677375)'))) / (select extract(epoch from '2026-07-24 10:19:47'::timestamp) - extract(epoch from '2026-07-24 10:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703619 -2.677364)', '2026-07-24 10:19:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703614 -2.677375)'), GeomFromEWKT('SRID=4674;POINT (-39.703619 -2.677364)'))) / (select extract(epoch from '2026-07-24 10:19:56'::timestamp) - extract(epoch from '2026-07-24 10:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703614 -2.677375)'), GeomFromEWKT('SRID=4674;POINT (-39.703619 -2.677364)'))) / (select extract(epoch from '2026-07-24 10:19:56'::timestamp) - extract(epoch from '2026-07-24 10:19: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'), 47870, 'SRID=4674;POINT (-39.70364 -2.677367)', '2026-07-24 10:20:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703619 -2.677364)'), GeomFromEWKT('SRID=4674;POINT (-39.70364 -2.677367)'))) / (select extract(epoch from '2026-07-24 10:20:03'::timestamp) - extract(epoch from '2026-07-24 10:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703619 -2.677364)'), GeomFromEWKT('SRID=4674;POINT (-39.70364 -2.677367)'))) / (select extract(epoch from '2026-07-24 10:20:03'::timestamp) - extract(epoch from '2026-07-24 10:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703649 -2.677418)', '2026-07-24 10:20:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70364 -2.677367)'), GeomFromEWKT('SRID=4674;POINT (-39.703649 -2.677418)'))) / (select extract(epoch from '2026-07-24 10:20:11'::timestamp) - extract(epoch from '2026-07-24 10:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70364 -2.677367)'), GeomFromEWKT('SRID=4674;POINT (-39.703649 -2.677418)'))) / (select extract(epoch from '2026-07-24 10:20:11'::timestamp) - extract(epoch from '2026-07-24 10:20: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'), 47870, 'SRID=4674;POINT (-39.703646 -2.677455)', '2026-07-24 10:20:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703649 -2.677418)'), GeomFromEWKT('SRID=4674;POINT (-39.703646 -2.677455)'))) / (select extract(epoch from '2026-07-24 10:20:14'::timestamp) - extract(epoch from '2026-07-24 10:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703649 -2.677418)'), GeomFromEWKT('SRID=4674;POINT (-39.703646 -2.677455)'))) / (select extract(epoch from '2026-07-24 10:20:14'::timestamp) - extract(epoch from '2026-07-24 10:20: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'), 47870, 'SRID=4674;POINT (-39.703642 -2.677501)', '2026-07-24 10:20:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703646 -2.677455)'), GeomFromEWKT('SRID=4674;POINT (-39.703642 -2.677501)'))) / (select extract(epoch from '2026-07-24 10:20:17'::timestamp) - extract(epoch from '2026-07-24 10:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703646 -2.677455)'), GeomFromEWKT('SRID=4674;POINT (-39.703642 -2.677501)'))) / (select extract(epoch from '2026-07-24 10:20:17'::timestamp) - extract(epoch from '2026-07-24 10:20: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'), 47870, 'SRID=4674;POINT (-39.703636 -2.677628)', '2026-07-24 10:20:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703642 -2.677501)'), GeomFromEWKT('SRID=4674;POINT (-39.703636 -2.677628)'))) / (select extract(epoch from '2026-07-24 10:20:24'::timestamp) - extract(epoch from '2026-07-24 10:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703642 -2.677501)'), GeomFromEWKT('SRID=4674;POINT (-39.703636 -2.677628)'))) / (select extract(epoch from '2026-07-24 10:20:24'::timestamp) - extract(epoch from '2026-07-24 10:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703643 -2.677726)', '2026-07-24 10:20:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703636 -2.677628)'), GeomFromEWKT('SRID=4674;POINT (-39.703643 -2.677726)'))) / (select extract(epoch from '2026-07-24 10:20:29'::timestamp) - extract(epoch from '2026-07-24 10:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703636 -2.677628)'), GeomFromEWKT('SRID=4674;POINT (-39.703643 -2.677726)'))) / (select extract(epoch from '2026-07-24 10:20:29'::timestamp) - extract(epoch from '2026-07-24 10:20: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'), 47870, 'SRID=4674;POINT (-39.703701 -2.677883)', '2026-07-24 10:20:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703643 -2.677726)'), GeomFromEWKT('SRID=4674;POINT (-39.703701 -2.677883)'))) / (select extract(epoch from '2026-07-24 10:20:36'::timestamp) - extract(epoch from '2026-07-24 10:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703643 -2.677726)'), GeomFromEWKT('SRID=4674;POINT (-39.703701 -2.677883)'))) / (select extract(epoch from '2026-07-24 10:20:36'::timestamp) - extract(epoch from '2026-07-24 10:20: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'), 47870, 'SRID=4674;POINT (-39.703758 -2.677988)', '2026-07-24 10:20:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703701 -2.677883)'), GeomFromEWKT('SRID=4674;POINT (-39.703758 -2.677988)'))) / (select extract(epoch from '2026-07-24 10:20:41'::timestamp) - extract(epoch from '2026-07-24 10:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703701 -2.677883)'), GeomFromEWKT('SRID=4674;POINT (-39.703758 -2.677988)'))) / (select extract(epoch from '2026-07-24 10:20:41'::timestamp) - extract(epoch from '2026-07-24 10:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.703813 -2.678104)', '2026-07-24 10:20:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703758 -2.677988)'), GeomFromEWKT('SRID=4674;POINT (-39.703813 -2.678104)'))) / (select extract(epoch from '2026-07-24 10:20:46'::timestamp) - extract(epoch from '2026-07-24 10:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703758 -2.677988)'), GeomFromEWKT('SRID=4674;POINT (-39.703813 -2.678104)'))) / (select extract(epoch from '2026-07-24 10:20:46'::timestamp) - extract(epoch from '2026-07-24 10:20: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'), 47870, 'SRID=4674;POINT (-39.703858 -2.67824)', '2026-07-24 10:20:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703813 -2.678104)'), GeomFromEWKT('SRID=4674;POINT (-39.703858 -2.67824)'))) / (select extract(epoch from '2026-07-24 10:20:52'::timestamp) - extract(epoch from '2026-07-24 10:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703813 -2.678104)'), GeomFromEWKT('SRID=4674;POINT (-39.703858 -2.67824)'))) / (select extract(epoch from '2026-07-24 10:20:52'::timestamp) - extract(epoch from '2026-07-24 10:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70389 -2.678371)', '2026-07-24 10:20:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703858 -2.67824)'), GeomFromEWKT('SRID=4674;POINT (-39.70389 -2.678371)'))) / (select extract(epoch from '2026-07-24 10:20:58'::timestamp) - extract(epoch from '2026-07-24 10:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703858 -2.67824)'), GeomFromEWKT('SRID=4674;POINT (-39.70389 -2.678371)'))) / (select extract(epoch from '2026-07-24 10:20:58'::timestamp) - extract(epoch from '2026-07-24 10:20: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'), 47870, 'SRID=4674;POINT (-39.703912 -2.678461)', '2026-07-24 10:21:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70389 -2.678371)'), GeomFromEWKT('SRID=4674;POINT (-39.703912 -2.678461)'))) / (select extract(epoch from '2026-07-24 10:21:03'::timestamp) - extract(epoch from '2026-07-24 10:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70389 -2.678371)'), GeomFromEWKT('SRID=4674;POINT (-39.703912 -2.678461)'))) / (select extract(epoch from '2026-07-24 10:21:03'::timestamp) - extract(epoch from '2026-07-24 10:20: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'), 47870, 'SRID=4674;POINT (-39.703956 -2.678549)', '2026-07-24 10:21:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703912 -2.678461)'), GeomFromEWKT('SRID=4674;POINT (-39.703956 -2.678549)'))) / (select extract(epoch from '2026-07-24 10:21:09'::timestamp) - extract(epoch from '2026-07-24 10:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703912 -2.678461)'), GeomFromEWKT('SRID=4674;POINT (-39.703956 -2.678549)'))) / (select extract(epoch from '2026-07-24 10:21:09'::timestamp) - extract(epoch from '2026-07-24 10:21: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'), 47870, 'SRID=4674;POINT (-39.703973 -2.678558)', '2026-07-24 10:21:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703956 -2.678549)'), GeomFromEWKT('SRID=4674;POINT (-39.703973 -2.678558)'))) / (select extract(epoch from '2026-07-24 10:21:10'::timestamp) - extract(epoch from '2026-07-24 10:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703956 -2.678549)'), GeomFromEWKT('SRID=4674;POINT (-39.703973 -2.678558)'))) / (select extract(epoch from '2026-07-24 10:21:10'::timestamp) - extract(epoch from '2026-07-24 10:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704026 -2.67858)', '2026-07-24 10:21:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703973 -2.678558)'), GeomFromEWKT('SRID=4674;POINT (-39.704026 -2.67858)'))) / (select extract(epoch from '2026-07-24 10:21:14'::timestamp) - extract(epoch from '2026-07-24 10:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703973 -2.678558)'), GeomFromEWKT('SRID=4674;POINT (-39.704026 -2.67858)'))) / (select extract(epoch from '2026-07-24 10:21:14'::timestamp) - extract(epoch from '2026-07-24 10:21: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'), 47870, 'SRID=4674;POINT (-39.704057 -2.678581)', '2026-07-24 10:21:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704026 -2.67858)'), GeomFromEWKT('SRID=4674;POINT (-39.704057 -2.678581)'))) / (select extract(epoch from '2026-07-24 10:21:16'::timestamp) - extract(epoch from '2026-07-24 10:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704026 -2.67858)'), GeomFromEWKT('SRID=4674;POINT (-39.704057 -2.678581)'))) / (select extract(epoch from '2026-07-24 10:21:16'::timestamp) - extract(epoch from '2026-07-24 10:21: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'), 47870, 'SRID=4674;POINT (-39.704079 -2.678573)', '2026-07-24 10:21:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704057 -2.678581)'), GeomFromEWKT('SRID=4674;POINT (-39.704079 -2.678573)'))) / (select extract(epoch from '2026-07-24 10:21:18'::timestamp) - extract(epoch from '2026-07-24 10:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704057 -2.678581)'), GeomFromEWKT('SRID=4674;POINT (-39.704079 -2.678573)'))) / (select extract(epoch from '2026-07-24 10:21:18'::timestamp) - extract(epoch from '2026-07-24 10:21: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'), 47870, 'SRID=4674;POINT (-39.704092 -2.678573)', '2026-07-24 10:21:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704079 -2.678573)'), GeomFromEWKT('SRID=4674;POINT (-39.704092 -2.678573)'))) / (select extract(epoch from '2026-07-24 10:21:19'::timestamp) - extract(epoch from '2026-07-24 10:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704079 -2.678573)'), GeomFromEWKT('SRID=4674;POINT (-39.704092 -2.678573)'))) / (select extract(epoch from '2026-07-24 10:21:19'::timestamp) - extract(epoch from '2026-07-24 10:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704137 -2.678549)', '2026-07-24 10:21:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704092 -2.678573)'), GeomFromEWKT('SRID=4674;POINT (-39.704137 -2.678549)'))) / (select extract(epoch from '2026-07-24 10:21:24'::timestamp) - extract(epoch from '2026-07-24 10:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704092 -2.678573)'), GeomFromEWKT('SRID=4674;POINT (-39.704137 -2.678549)'))) / (select extract(epoch from '2026-07-24 10:21:24'::timestamp) - extract(epoch from '2026-07-24 10:21: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'), 47870, 'SRID=4674;POINT (-39.704147 -2.678545)', '2026-07-24 10:21:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704137 -2.678549)'), GeomFromEWKT('SRID=4674;POINT (-39.704147 -2.678545)'))) / (select extract(epoch from '2026-07-24 10:21:25'::timestamp) - extract(epoch from '2026-07-24 10:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704137 -2.678549)'), GeomFromEWKT('SRID=4674;POINT (-39.704147 -2.678545)'))) / (select extract(epoch from '2026-07-24 10:21:25'::timestamp) - extract(epoch from '2026-07-24 10:21: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'), 47870, 'SRID=4674;POINT (-39.704157 -2.678539)', '2026-07-24 10:21:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704147 -2.678545)'), GeomFromEWKT('SRID=4674;POINT (-39.704157 -2.678539)'))) / (select extract(epoch from '2026-07-24 10:21:26'::timestamp) - extract(epoch from '2026-07-24 10:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704147 -2.678545)'), GeomFromEWKT('SRID=4674;POINT (-39.704157 -2.678539)'))) / (select extract(epoch from '2026-07-24 10:21:26'::timestamp) - extract(epoch from '2026-07-24 10:21: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'), 47870, 'SRID=4674;POINT (-39.704183 -2.678518)', '2026-07-24 10:21:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704157 -2.678539)'), GeomFromEWKT('SRID=4674;POINT (-39.704183 -2.678518)'))) / (select extract(epoch from '2026-07-24 10:21:30'::timestamp) - extract(epoch from '2026-07-24 10:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704157 -2.678539)'), GeomFromEWKT('SRID=4674;POINT (-39.704183 -2.678518)'))) / (select extract(epoch from '2026-07-24 10:21:30'::timestamp) - extract(epoch from '2026-07-24 10:21:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704227 -2.678495)', '2026-07-24 10:21:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704183 -2.678518)'), GeomFromEWKT('SRID=4674;POINT (-39.704227 -2.678495)'))) / (select extract(epoch from '2026-07-24 10:21:37'::timestamp) - extract(epoch from '2026-07-24 10:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704183 -2.678518)'), GeomFromEWKT('SRID=4674;POINT (-39.704227 -2.678495)'))) / (select extract(epoch from '2026-07-24 10:21:37'::timestamp) - extract(epoch from '2026-07-24 10:21: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'), 47870, 'SRID=4674;POINT (-39.70428 -2.678472)', '2026-07-24 10:21:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704227 -2.678495)'), GeomFromEWKT('SRID=4674;POINT (-39.70428 -2.678472)'))) / (select extract(epoch from '2026-07-24 10:21:44'::timestamp) - extract(epoch from '2026-07-24 10:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704227 -2.678495)'), GeomFromEWKT('SRID=4674;POINT (-39.70428 -2.678472)'))) / (select extract(epoch from '2026-07-24 10:21:44'::timestamp) - extract(epoch from '2026-07-24 10:21: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'), 47870, 'SRID=4674;POINT (-39.704322 -2.67846)', '2026-07-24 10:21:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70428 -2.678472)'), GeomFromEWKT('SRID=4674;POINT (-39.704322 -2.67846)'))) / (select extract(epoch from '2026-07-24 10:21:50'::timestamp) - extract(epoch from '2026-07-24 10:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70428 -2.678472)'), GeomFromEWKT('SRID=4674;POINT (-39.704322 -2.67846)'))) / (select extract(epoch from '2026-07-24 10:21:50'::timestamp) - extract(epoch from '2026-07-24 10:21: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'), 47870, 'SRID=4674;POINT (-39.704366 -2.678429)', '2026-07-24 10:22:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704322 -2.67846)'), GeomFromEWKT('SRID=4674;POINT (-39.704366 -2.678429)'))) / (select extract(epoch from '2026-07-24 10:22:00'::timestamp) - extract(epoch from '2026-07-24 10:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704322 -2.67846)'), GeomFromEWKT('SRID=4674;POINT (-39.704366 -2.678429)'))) / (select extract(epoch from '2026-07-24 10:22:00'::timestamp) - extract(epoch from '2026-07-24 10:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704372 -2.678397)', '2026-07-24 10:22:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704366 -2.678429)'), GeomFromEWKT('SRID=4674;POINT (-39.704372 -2.678397)'))) / (select extract(epoch from '2026-07-24 10:22:08'::timestamp) - extract(epoch from '2026-07-24 10:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704366 -2.678429)'), GeomFromEWKT('SRID=4674;POINT (-39.704372 -2.678397)'))) / (select extract(epoch from '2026-07-24 10:22:08'::timestamp) - extract(epoch from '2026-07-24 10:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704366 -2.678363)', '2026-07-24 10:22:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704372 -2.678397)'), GeomFromEWKT('SRID=4674;POINT (-39.704366 -2.678363)'))) / (select extract(epoch from '2026-07-24 10:22:16'::timestamp) - extract(epoch from '2026-07-24 10:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704372 -2.678397)'), GeomFromEWKT('SRID=4674;POINT (-39.704366 -2.678363)'))) / (select extract(epoch from '2026-07-24 10:22:16'::timestamp) - extract(epoch from '2026-07-24 10:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704382 -2.678343)', '2026-07-24 10:22:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704366 -2.678363)'), GeomFromEWKT('SRID=4674;POINT (-39.704382 -2.678343)'))) / (select extract(epoch from '2026-07-24 10:22:25'::timestamp) - extract(epoch from '2026-07-24 10:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704366 -2.678363)'), GeomFromEWKT('SRID=4674;POINT (-39.704382 -2.678343)'))) / (select extract(epoch from '2026-07-24 10:22:25'::timestamp) - extract(epoch from '2026-07-24 10:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704394 -2.678332)', '2026-07-24 10:22:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704382 -2.678343)'), GeomFromEWKT('SRID=4674;POINT (-39.704394 -2.678332)'))) / (select extract(epoch from '2026-07-24 10:22:30'::timestamp) - extract(epoch from '2026-07-24 10:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704382 -2.678343)'), GeomFromEWKT('SRID=4674;POINT (-39.704394 -2.678332)'))) / (select extract(epoch from '2026-07-24 10:22:30'::timestamp) - extract(epoch from '2026-07-24 10:22: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'), 47870, 'SRID=4674;POINT (-39.704409 -2.678325)', '2026-07-24 10:22:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704394 -2.678332)'), GeomFromEWKT('SRID=4674;POINT (-39.704409 -2.678325)'))) / (select extract(epoch from '2026-07-24 10:22:38'::timestamp) - extract(epoch from '2026-07-24 10:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704394 -2.678332)'), GeomFromEWKT('SRID=4674;POINT (-39.704409 -2.678325)'))) / (select extract(epoch from '2026-07-24 10:22:38'::timestamp) - extract(epoch from '2026-07-24 10:22: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'), 47870, 'SRID=4674;POINT (-39.704416 -2.67832)', '2026-07-24 10:22:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704409 -2.678325)'), GeomFromEWKT('SRID=4674;POINT (-39.704416 -2.67832)'))) / (select extract(epoch from '2026-07-24 10:22:43'::timestamp) - extract(epoch from '2026-07-24 10:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704409 -2.678325)'), GeomFromEWKT('SRID=4674;POINT (-39.704416 -2.67832)'))) / (select extract(epoch from '2026-07-24 10:22:43'::timestamp) - extract(epoch from '2026-07-24 10:22: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'), 47870, 'SRID=4674;POINT (-39.704413 -2.67832)', '2026-07-24 10:22:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704416 -2.67832)'), GeomFromEWKT('SRID=4674;POINT (-39.704413 -2.67832)'))) / (select extract(epoch from '2026-07-24 10:22:54'::timestamp) - extract(epoch from '2026-07-24 10:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704416 -2.67832)'), GeomFromEWKT('SRID=4674;POINT (-39.704413 -2.67832)'))) / (select extract(epoch from '2026-07-24 10:22:54'::timestamp) - extract(epoch from '2026-07-24 10:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704422 -2.678314)', '2026-07-24 10:23:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704413 -2.67832)'), GeomFromEWKT('SRID=4674;POINT (-39.704422 -2.678314)'))) / (select extract(epoch from '2026-07-24 10:23:03'::timestamp) - extract(epoch from '2026-07-24 10:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704413 -2.67832)'), GeomFromEWKT('SRID=4674;POINT (-39.704422 -2.678314)'))) / (select extract(epoch from '2026-07-24 10:23:03'::timestamp) - extract(epoch from '2026-07-24 10:22: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'), 47870, 'SRID=4674;POINT (-39.704427 -2.678301)', '2026-07-24 10:23:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704422 -2.678314)'), GeomFromEWKT('SRID=4674;POINT (-39.704427 -2.678301)'))) / (select extract(epoch from '2026-07-24 10:23:11'::timestamp) - extract(epoch from '2026-07-24 10:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704422 -2.678314)'), GeomFromEWKT('SRID=4674;POINT (-39.704427 -2.678301)'))) / (select extract(epoch from '2026-07-24 10:23:11'::timestamp) - extract(epoch from '2026-07-24 10:23: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'), 47870, 'SRID=4674;POINT (-39.704433 -2.678277)', '2026-07-24 10:23:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704427 -2.678301)'), GeomFromEWKT('SRID=4674;POINT (-39.704433 -2.678277)'))) / (select extract(epoch from '2026-07-24 10:23:20'::timestamp) - extract(epoch from '2026-07-24 10:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704427 -2.678301)'), GeomFromEWKT('SRID=4674;POINT (-39.704433 -2.678277)'))) / (select extract(epoch from '2026-07-24 10:23:20'::timestamp) - extract(epoch from '2026-07-24 10:23: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'), 47870, 'SRID=4674;POINT (-39.704447 -2.678243)', '2026-07-24 10:23:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704433 -2.678277)'), GeomFromEWKT('SRID=4674;POINT (-39.704447 -2.678243)'))) / (select extract(epoch from '2026-07-24 10:23:29'::timestamp) - extract(epoch from '2026-07-24 10:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704433 -2.678277)'), GeomFromEWKT('SRID=4674;POINT (-39.704447 -2.678243)'))) / (select extract(epoch from '2026-07-24 10:23:29'::timestamp) - extract(epoch from '2026-07-24 10:23: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'), 47870, 'SRID=4674;POINT (-39.70446 -2.67821)', '2026-07-24 10:23:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704447 -2.678243)'), GeomFromEWKT('SRID=4674;POINT (-39.70446 -2.67821)'))) / (select extract(epoch from '2026-07-24 10:23:38'::timestamp) - extract(epoch from '2026-07-24 10:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704447 -2.678243)'), GeomFromEWKT('SRID=4674;POINT (-39.70446 -2.67821)'))) / (select extract(epoch from '2026-07-24 10:23:38'::timestamp) - extract(epoch from '2026-07-24 10:23: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'), 47870, 'SRID=4674;POINT (-39.704492 -2.678182)', '2026-07-24 10:23:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70446 -2.67821)'), GeomFromEWKT('SRID=4674;POINT (-39.704492 -2.678182)'))) / (select extract(epoch from '2026-07-24 10:23:46'::timestamp) - extract(epoch from '2026-07-24 10:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70446 -2.67821)'), GeomFromEWKT('SRID=4674;POINT (-39.704492 -2.678182)'))) / (select extract(epoch from '2026-07-24 10:23:46'::timestamp) - extract(epoch from '2026-07-24 10:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704515 -2.678162)', '2026-07-24 10:23:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704492 -2.678182)'), GeomFromEWKT('SRID=4674;POINT (-39.704515 -2.678162)'))) / (select extract(epoch from '2026-07-24 10:23:53'::timestamp) - extract(epoch from '2026-07-24 10:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704492 -2.678182)'), GeomFromEWKT('SRID=4674;POINT (-39.704515 -2.678162)'))) / (select extract(epoch from '2026-07-24 10:23:53'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.70455 -2.678148)', '2026-07-24 10:24:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704515 -2.678162)'), GeomFromEWKT('SRID=4674;POINT (-39.70455 -2.678148)'))) / (select extract(epoch from '2026-07-24 10:24:01'::timestamp) - extract(epoch from '2026-07-24 10:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704515 -2.678162)'), GeomFromEWKT('SRID=4674;POINT (-39.70455 -2.678148)'))) / (select extract(epoch from '2026-07-24 10:24:01'::timestamp) - extract(epoch from '2026-07-24 10:23: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'), 47870, 'SRID=4674;POINT (-39.704575 -2.678152)', '2026-07-24 10:24:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70455 -2.678148)'), GeomFromEWKT('SRID=4674;POINT (-39.704575 -2.678152)'))) / (select extract(epoch from '2026-07-24 10:24:10'::timestamp) - extract(epoch from '2026-07-24 10:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70455 -2.678148)'), GeomFromEWKT('SRID=4674;POINT (-39.704575 -2.678152)'))) / (select extract(epoch from '2026-07-24 10:24:10'::timestamp) - extract(epoch from '2026-07-24 10:24: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'), 47870, 'SRID=4674;POINT (-39.704562 -2.678205)', '2026-07-24 10:24:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704575 -2.678152)'), GeomFromEWKT('SRID=4674;POINT (-39.704562 -2.678205)'))) / (select extract(epoch from '2026-07-24 10:24:17'::timestamp) - extract(epoch from '2026-07-24 10:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704575 -2.678152)'), GeomFromEWKT('SRID=4674;POINT (-39.704562 -2.678205)'))) / (select extract(epoch from '2026-07-24 10:24:17'::timestamp) - extract(epoch from '2026-07-24 10:24: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'), 47870, 'SRID=4674;POINT (-39.704555 -2.678229)', '2026-07-24 10:24:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704562 -2.678205)'), GeomFromEWKT('SRID=4674;POINT (-39.704555 -2.678229)'))) / (select extract(epoch from '2026-07-24 10:24:19'::timestamp) - extract(epoch from '2026-07-24 10:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704562 -2.678205)'), GeomFromEWKT('SRID=4674;POINT (-39.704555 -2.678229)'))) / (select extract(epoch from '2026-07-24 10:24:19'::timestamp) - extract(epoch from '2026-07-24 10:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704554 -2.678251)', '2026-07-24 10:24:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704555 -2.678229)'), GeomFromEWKT('SRID=4674;POINT (-39.704554 -2.678251)'))) / (select extract(epoch from '2026-07-24 10:24:21'::timestamp) - extract(epoch from '2026-07-24 10:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704555 -2.678229)'), GeomFromEWKT('SRID=4674;POINT (-39.704554 -2.678251)'))) / (select extract(epoch from '2026-07-24 10:24:21'::timestamp) - extract(epoch from '2026-07-24 10:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704549 -2.678264)', '2026-07-24 10:24:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704554 -2.678251)'), GeomFromEWKT('SRID=4674;POINT (-39.704549 -2.678264)'))) / (select extract(epoch from '2026-07-24 10:24:22'::timestamp) - extract(epoch from '2026-07-24 10:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704554 -2.678251)'), GeomFromEWKT('SRID=4674;POINT (-39.704549 -2.678264)'))) / (select extract(epoch from '2026-07-24 10:24:22'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.704552 -2.678403)', '2026-07-24 10:24:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704549 -2.678264)'), GeomFromEWKT('SRID=4674;POINT (-39.704552 -2.678403)'))) / (select extract(epoch from '2026-07-24 10:24:30'::timestamp) - extract(epoch from '2026-07-24 10:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704549 -2.678264)'), GeomFromEWKT('SRID=4674;POINT (-39.704552 -2.678403)'))) / (select extract(epoch from '2026-07-24 10:24:30'::timestamp) - extract(epoch from '2026-07-24 10:24: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'), 47870, 'SRID=4674;POINT (-39.704595 -2.678499)', '2026-07-24 10:24:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704552 -2.678403)'), GeomFromEWKT('SRID=4674;POINT (-39.704595 -2.678499)'))) / (select extract(epoch from '2026-07-24 10:24:35'::timestamp) - extract(epoch from '2026-07-24 10:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704552 -2.678403)'), GeomFromEWKT('SRID=4674;POINT (-39.704595 -2.678499)'))) / (select extract(epoch from '2026-07-24 10:24:35'::timestamp) - extract(epoch from '2026-07-24 10:24: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'), 47870, 'SRID=4674;POINT (-39.704649 -2.678619)', '2026-07-24 10:24:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704595 -2.678499)'), GeomFromEWKT('SRID=4674;POINT (-39.704649 -2.678619)'))) / (select extract(epoch from '2026-07-24 10:24:41'::timestamp) - extract(epoch from '2026-07-24 10:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704595 -2.678499)'), GeomFromEWKT('SRID=4674;POINT (-39.704649 -2.678619)'))) / (select extract(epoch from '2026-07-24 10:24:41'::timestamp) - extract(epoch from '2026-07-24 10:24: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'), 47870, 'SRID=4674;POINT (-39.704695 -2.678722)', '2026-07-24 10:24:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704649 -2.678619)'), GeomFromEWKT('SRID=4674;POINT (-39.704695 -2.678722)'))) / (select extract(epoch from '2026-07-24 10:24:46'::timestamp) - extract(epoch from '2026-07-24 10:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704649 -2.678619)'), GeomFromEWKT('SRID=4674;POINT (-39.704695 -2.678722)'))) / (select extract(epoch from '2026-07-24 10:24:46'::timestamp) - extract(epoch from '2026-07-24 10:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704763 -2.678847)', '2026-07-24 10:24:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704695 -2.678722)'), GeomFromEWKT('SRID=4674;POINT (-39.704763 -2.678847)'))) / (select extract(epoch from '2026-07-24 10:24:52'::timestamp) - extract(epoch from '2026-07-24 10:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704695 -2.678722)'), GeomFromEWKT('SRID=4674;POINT (-39.704763 -2.678847)'))) / (select extract(epoch from '2026-07-24 10:24:52'::timestamp) - extract(epoch from '2026-07-24 10:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704803 -2.678969)', '2026-07-24 10:24:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704763 -2.678847)'), GeomFromEWKT('SRID=4674;POINT (-39.704803 -2.678969)'))) / (select extract(epoch from '2026-07-24 10:24:58'::timestamp) - extract(epoch from '2026-07-24 10:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704763 -2.678847)'), GeomFromEWKT('SRID=4674;POINT (-39.704803 -2.678969)'))) / (select extract(epoch from '2026-07-24 10:24:58'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.704822 -2.679077)', '2026-07-24 10:25:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704803 -2.678969)'), GeomFromEWKT('SRID=4674;POINT (-39.704822 -2.679077)'))) / (select extract(epoch from '2026-07-24 10:25:03'::timestamp) - extract(epoch from '2026-07-24 10:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704803 -2.678969)'), GeomFromEWKT('SRID=4674;POINT (-39.704822 -2.679077)'))) / (select extract(epoch from '2026-07-24 10:25:03'::timestamp) - extract(epoch from '2026-07-24 10:24: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'), 47870, 'SRID=4674;POINT (-39.704816 -2.679171)', '2026-07-24 10:25:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704822 -2.679077)'), GeomFromEWKT('SRID=4674;POINT (-39.704816 -2.679171)'))) / (select extract(epoch from '2026-07-24 10:25:08'::timestamp) - extract(epoch from '2026-07-24 10:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704822 -2.679077)'), GeomFromEWKT('SRID=4674;POINT (-39.704816 -2.679171)'))) / (select extract(epoch from '2026-07-24 10:25:08'::timestamp) - extract(epoch from '2026-07-24 10:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704801 -2.679322)', '2026-07-24 10:25:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704816 -2.679171)'), GeomFromEWKT('SRID=4674;POINT (-39.704801 -2.679322)'))) / (select extract(epoch from '2026-07-24 10:25:16'::timestamp) - extract(epoch from '2026-07-24 10:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704816 -2.679171)'), GeomFromEWKT('SRID=4674;POINT (-39.704801 -2.679322)'))) / (select extract(epoch from '2026-07-24 10:25:16'::timestamp) - extract(epoch from '2026-07-24 10:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704779 -2.67944)', '2026-07-24 10:25:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704801 -2.679322)'), GeomFromEWKT('SRID=4674;POINT (-39.704779 -2.67944)'))) / (select extract(epoch from '2026-07-24 10:25:24'::timestamp) - extract(epoch from '2026-07-24 10:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704801 -2.679322)'), GeomFromEWKT('SRID=4674;POINT (-39.704779 -2.67944)'))) / (select extract(epoch from '2026-07-24 10:25:24'::timestamp) - extract(epoch from '2026-07-24 10:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704752 -2.679479)', '2026-07-24 10:25:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704779 -2.67944)'), GeomFromEWKT('SRID=4674;POINT (-39.704752 -2.679479)'))) / (select extract(epoch from '2026-07-24 10:25:30'::timestamp) - extract(epoch from '2026-07-24 10:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704779 -2.67944)'), GeomFromEWKT('SRID=4674;POINT (-39.704752 -2.679479)'))) / (select extract(epoch from '2026-07-24 10:25:30'::timestamp) - extract(epoch from '2026-07-24 10:25: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'), 47870, 'SRID=4674;POINT (-39.704753 -2.679474)', '2026-07-24 10:25:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704752 -2.679479)'), GeomFromEWKT('SRID=4674;POINT (-39.704753 -2.679474)'))) / (select extract(epoch from '2026-07-24 10:25:39'::timestamp) - extract(epoch from '2026-07-24 10:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704752 -2.679479)'), GeomFromEWKT('SRID=4674;POINT (-39.704753 -2.679474)'))) / (select extract(epoch from '2026-07-24 10:25:39'::timestamp) - extract(epoch from '2026-07-24 10:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704788 -2.679451)', '2026-07-24 10:25:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704753 -2.679474)'), GeomFromEWKT('SRID=4674;POINT (-39.704788 -2.679451)'))) / (select extract(epoch from '2026-07-24 10:25:48'::timestamp) - extract(epoch from '2026-07-24 10:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704753 -2.679474)'), GeomFromEWKT('SRID=4674;POINT (-39.704788 -2.679451)'))) / (select extract(epoch from '2026-07-24 10:25:48'::timestamp) - extract(epoch from '2026-07-24 10:25: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'), 47870, 'SRID=4674;POINT (-39.704829 -2.67944)', '2026-07-24 10:25:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704788 -2.679451)'), GeomFromEWKT('SRID=4674;POINT (-39.704829 -2.67944)'))) / (select extract(epoch from '2026-07-24 10:25:54'::timestamp) - extract(epoch from '2026-07-24 10:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704788 -2.679451)'), GeomFromEWKT('SRID=4674;POINT (-39.704829 -2.67944)'))) / (select extract(epoch from '2026-07-24 10:25:54'::timestamp) - extract(epoch from '2026-07-24 10:25: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'), 47870, 'SRID=4674;POINT (-39.704865 -2.679412)', '2026-07-24 10:26:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704829 -2.67944)'), GeomFromEWKT('SRID=4674;POINT (-39.704865 -2.679412)'))) / (select extract(epoch from '2026-07-24 10:26:01'::timestamp) - extract(epoch from '2026-07-24 10:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704829 -2.67944)'), GeomFromEWKT('SRID=4674;POINT (-39.704865 -2.679412)'))) / (select extract(epoch from '2026-07-24 10:26:01'::timestamp) - extract(epoch from '2026-07-24 10:25: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'), 47870, 'SRID=4674;POINT (-39.704879 -2.679411)', '2026-07-24 10:26:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704865 -2.679412)'), GeomFromEWKT('SRID=4674;POINT (-39.704879 -2.679411)'))) / (select extract(epoch from '2026-07-24 10:26:03'::timestamp) - extract(epoch from '2026-07-24 10:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704865 -2.679412)'), GeomFromEWKT('SRID=4674;POINT (-39.704879 -2.679411)'))) / (select extract(epoch from '2026-07-24 10:26:03'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.704897 -2.679404)', '2026-07-24 10:26:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704879 -2.679411)'), GeomFromEWKT('SRID=4674;POINT (-39.704897 -2.679404)'))) / (select extract(epoch from '2026-07-24 10:26:07'::timestamp) - extract(epoch from '2026-07-24 10:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704879 -2.679411)'), GeomFromEWKT('SRID=4674;POINT (-39.704897 -2.679404)'))) / (select extract(epoch from '2026-07-24 10:26:07'::timestamp) - extract(epoch from '2026-07-24 10:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704909 -2.679407)', '2026-07-24 10:26:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704897 -2.679404)'), GeomFromEWKT('SRID=4674;POINT (-39.704909 -2.679407)'))) / (select extract(epoch from '2026-07-24 10:26:09'::timestamp) - extract(epoch from '2026-07-24 10:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704897 -2.679404)'), GeomFromEWKT('SRID=4674;POINT (-39.704909 -2.679407)'))) / (select extract(epoch from '2026-07-24 10:26:09'::timestamp) - extract(epoch from '2026-07-24 10:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704925 -2.679399)', '2026-07-24 10:26:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704909 -2.679407)'), GeomFromEWKT('SRID=4674;POINT (-39.704925 -2.679399)'))) / (select extract(epoch from '2026-07-24 10:26:12'::timestamp) - extract(epoch from '2026-07-24 10:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704909 -2.679407)'), GeomFromEWKT('SRID=4674;POINT (-39.704925 -2.679399)'))) / (select extract(epoch from '2026-07-24 10:26:12'::timestamp) - extract(epoch from '2026-07-24 10:26: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'), 47870, 'SRID=4674;POINT (-39.70493 -2.679378)', '2026-07-24 10:26:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704925 -2.679399)'), GeomFromEWKT('SRID=4674;POINT (-39.70493 -2.679378)'))) / (select extract(epoch from '2026-07-24 10:26:20'::timestamp) - extract(epoch from '2026-07-24 10:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704925 -2.679399)'), GeomFromEWKT('SRID=4674;POINT (-39.70493 -2.679378)'))) / (select extract(epoch from '2026-07-24 10:26:20'::timestamp) - extract(epoch from '2026-07-24 10:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704946 -2.679351)', '2026-07-24 10:26:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70493 -2.679378)'), GeomFromEWKT('SRID=4674;POINT (-39.704946 -2.679351)'))) / (select extract(epoch from '2026-07-24 10:26:28'::timestamp) - extract(epoch from '2026-07-24 10:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70493 -2.679378)'), GeomFromEWKT('SRID=4674;POINT (-39.704946 -2.679351)'))) / (select extract(epoch from '2026-07-24 10:26:28'::timestamp) - extract(epoch from '2026-07-24 10:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704958 -2.679322)', '2026-07-24 10:26:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704946 -2.679351)'), GeomFromEWKT('SRID=4674;POINT (-39.704958 -2.679322)'))) / (select extract(epoch from '2026-07-24 10:26:36'::timestamp) - extract(epoch from '2026-07-24 10:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704946 -2.679351)'), GeomFromEWKT('SRID=4674;POINT (-39.704958 -2.679322)'))) / (select extract(epoch from '2026-07-24 10:26:36'::timestamp) - extract(epoch from '2026-07-24 10:26: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'), 47870, 'SRID=4674;POINT (-39.704971 -2.679303)', '2026-07-24 10:26:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704958 -2.679322)'), GeomFromEWKT('SRID=4674;POINT (-39.704971 -2.679303)'))) / (select extract(epoch from '2026-07-24 10:26:46'::timestamp) - extract(epoch from '2026-07-24 10:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704958 -2.679322)'), GeomFromEWKT('SRID=4674;POINT (-39.704971 -2.679303)'))) / (select extract(epoch from '2026-07-24 10:26:46'::timestamp) - extract(epoch from '2026-07-24 10:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.704973 -2.679299)', '2026-07-24 10:26:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704971 -2.679303)'), GeomFromEWKT('SRID=4674;POINT (-39.704973 -2.679299)'))) / (select extract(epoch from '2026-07-24 10:26:50'::timestamp) - extract(epoch from '2026-07-24 10:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704971 -2.679303)'), GeomFromEWKT('SRID=4674;POINT (-39.704973 -2.679299)'))) / (select extract(epoch from '2026-07-24 10:26:50'::timestamp) - extract(epoch from '2026-07-24 10:26: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'), 47870, 'SRID=4674;POINT (-39.704976 -2.679289)', '2026-07-24 10:26:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704973 -2.679299)'), GeomFromEWKT('SRID=4674;POINT (-39.704976 -2.679289)'))) / (select extract(epoch from '2026-07-24 10:26:56'::timestamp) - extract(epoch from '2026-07-24 10:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704973 -2.679299)'), GeomFromEWKT('SRID=4674;POINT (-39.704976 -2.679289)'))) / (select extract(epoch from '2026-07-24 10:26:56'::timestamp) - extract(epoch from '2026-07-24 10:26: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'), 47870, 'SRID=4674;POINT (-39.704989 -2.679279)', '2026-07-24 10:27:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704976 -2.679289)'), GeomFromEWKT('SRID=4674;POINT (-39.704989 -2.679279)'))) / (select extract(epoch from '2026-07-24 10:27:03'::timestamp) - extract(epoch from '2026-07-24 10:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704976 -2.679289)'), GeomFromEWKT('SRID=4674;POINT (-39.704989 -2.679279)'))) / (select extract(epoch from '2026-07-24 10:27:03'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705006 -2.679279)', '2026-07-24 10:27:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704989 -2.679279)'), GeomFromEWKT('SRID=4674;POINT (-39.705006 -2.679279)'))) / (select extract(epoch from '2026-07-24 10:27:11'::timestamp) - extract(epoch from '2026-07-24 10:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704989 -2.679279)'), GeomFromEWKT('SRID=4674;POINT (-39.705006 -2.679279)'))) / (select extract(epoch from '2026-07-24 10:27:11'::timestamp) - extract(epoch from '2026-07-24 10:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705026 -2.679265)', '2026-07-24 10:27:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705006 -2.679279)'), GeomFromEWKT('SRID=4674;POINT (-39.705026 -2.679265)'))) / (select extract(epoch from '2026-07-24 10:27:17'::timestamp) - extract(epoch from '2026-07-24 10:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705006 -2.679279)'), GeomFromEWKT('SRID=4674;POINT (-39.705026 -2.679265)'))) / (select extract(epoch from '2026-07-24 10:27:17'::timestamp) - extract(epoch from '2026-07-24 10:27: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'), 47870, 'SRID=4674;POINT (-39.705046 -2.679254)', '2026-07-24 10:27:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705026 -2.679265)'), GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.679254)'))) / (select extract(epoch from '2026-07-24 10:27:24'::timestamp) - extract(epoch from '2026-07-24 10:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705026 -2.679265)'), GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.679254)'))) / (select extract(epoch from '2026-07-24 10:27:24'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705051 -2.679229)', '2026-07-24 10:27:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.679254)'), GeomFromEWKT('SRID=4674;POINT (-39.705051 -2.679229)'))) / (select extract(epoch from '2026-07-24 10:27:30'::timestamp) - extract(epoch from '2026-07-24 10:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.679254)'), GeomFromEWKT('SRID=4674;POINT (-39.705051 -2.679229)'))) / (select extract(epoch from '2026-07-24 10:27:30'::timestamp) - extract(epoch from '2026-07-24 10:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705042 -2.67922)', '2026-07-24 10:27:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705051 -2.679229)'), GeomFromEWKT('SRID=4674;POINT (-39.705042 -2.67922)'))) / (select extract(epoch from '2026-07-24 10:27:37'::timestamp) - extract(epoch from '2026-07-24 10:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705051 -2.679229)'), GeomFromEWKT('SRID=4674;POINT (-39.705042 -2.67922)'))) / (select extract(epoch from '2026-07-24 10:27:37'::timestamp) - extract(epoch from '2026-07-24 10:27: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'), 47870, 'SRID=4674;POINT (-39.705046 -2.679217)', '2026-07-24 10:27:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705042 -2.67922)'), GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.679217)'))) / (select extract(epoch from '2026-07-24 10:27:44'::timestamp) - extract(epoch from '2026-07-24 10:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705042 -2.67922)'), GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.679217)'))) / (select extract(epoch from '2026-07-24 10:27:44'::timestamp) - extract(epoch from '2026-07-24 10:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705059 -2.679217)', '2026-07-24 10:27:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.679217)'), GeomFromEWKT('SRID=4674;POINT (-39.705059 -2.679217)'))) / (select extract(epoch from '2026-07-24 10:27:54'::timestamp) - extract(epoch from '2026-07-24 10:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.679217)'), GeomFromEWKT('SRID=4674;POINT (-39.705059 -2.679217)'))) / (select extract(epoch from '2026-07-24 10:27:54'::timestamp) - extract(epoch from '2026-07-24 10:27:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705082 -2.679227)', '2026-07-24 10:28:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705059 -2.679217)'), GeomFromEWKT('SRID=4674;POINT (-39.705082 -2.679227)'))) / (select extract(epoch from '2026-07-24 10:28:03'::timestamp) - extract(epoch from '2026-07-24 10:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705059 -2.679217)'), GeomFromEWKT('SRID=4674;POINT (-39.705082 -2.679227)'))) / (select extract(epoch from '2026-07-24 10:28:03'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705114 -2.679246)', '2026-07-24 10:28:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705082 -2.679227)'), GeomFromEWKT('SRID=4674;POINT (-39.705114 -2.679246)'))) / (select extract(epoch from '2026-07-24 10:28:11'::timestamp) - extract(epoch from '2026-07-24 10:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705082 -2.679227)'), GeomFromEWKT('SRID=4674;POINT (-39.705114 -2.679246)'))) / (select extract(epoch from '2026-07-24 10:28:11'::timestamp) - extract(epoch from '2026-07-24 10:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705136 -2.679254)', '2026-07-24 10:28:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705114 -2.679246)'), GeomFromEWKT('SRID=4674;POINT (-39.705136 -2.679254)'))) / (select extract(epoch from '2026-07-24 10:28:16'::timestamp) - extract(epoch from '2026-07-24 10:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705114 -2.679246)'), GeomFromEWKT('SRID=4674;POINT (-39.705136 -2.679254)'))) / (select extract(epoch from '2026-07-24 10:28:16'::timestamp) - extract(epoch from '2026-07-24 10:28:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705169 -2.679267)', '2026-07-24 10:28:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705136 -2.679254)'), GeomFromEWKT('SRID=4674;POINT (-39.705169 -2.679267)'))) / (select extract(epoch from '2026-07-24 10:28:23'::timestamp) - extract(epoch from '2026-07-24 10:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705136 -2.679254)'), GeomFromEWKT('SRID=4674;POINT (-39.705169 -2.679267)'))) / (select extract(epoch from '2026-07-24 10:28:23'::timestamp) - extract(epoch from '2026-07-24 10:28: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'), 47870, 'SRID=4674;POINT (-39.705184 -2.679281)', '2026-07-24 10:28:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705169 -2.679267)'), GeomFromEWKT('SRID=4674;POINT (-39.705184 -2.679281)'))) / (select extract(epoch from '2026-07-24 10:28:30'::timestamp) - extract(epoch from '2026-07-24 10:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705169 -2.679267)'), GeomFromEWKT('SRID=4674;POINT (-39.705184 -2.679281)'))) / (select extract(epoch from '2026-07-24 10:28:30'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705192 -2.67928)', '2026-07-24 10:28:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705184 -2.679281)'), GeomFromEWKT('SRID=4674;POINT (-39.705192 -2.67928)'))) / (select extract(epoch from '2026-07-24 10:28:31'::timestamp) - extract(epoch from '2026-07-24 10:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705184 -2.679281)'), GeomFromEWKT('SRID=4674;POINT (-39.705192 -2.67928)'))) / (select extract(epoch from '2026-07-24 10:28:31'::timestamp) - extract(epoch from '2026-07-24 10:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705204 -2.679277)', '2026-07-24 10:28:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705192 -2.67928)'), GeomFromEWKT('SRID=4674;POINT (-39.705204 -2.679277)'))) / (select extract(epoch from '2026-07-24 10:28:36'::timestamp) - extract(epoch from '2026-07-24 10:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705192 -2.67928)'), GeomFromEWKT('SRID=4674;POINT (-39.705204 -2.679277)'))) / (select extract(epoch from '2026-07-24 10:28:36'::timestamp) - extract(epoch from '2026-07-24 10:28: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'), 47870, 'SRID=4674;POINT (-39.705214 -2.67927)', '2026-07-24 10:28:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705204 -2.679277)'), GeomFromEWKT('SRID=4674;POINT (-39.705214 -2.67927)'))) / (select extract(epoch from '2026-07-24 10:28:43'::timestamp) - extract(epoch from '2026-07-24 10:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705204 -2.679277)'), GeomFromEWKT('SRID=4674;POINT (-39.705214 -2.67927)'))) / (select extract(epoch from '2026-07-24 10:28:43'::timestamp) - extract(epoch from '2026-07-24 10:28: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'), 47870, 'SRID=4674;POINT (-39.705183 -2.679252)', '2026-07-24 10:28:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705214 -2.67927)'), GeomFromEWKT('SRID=4674;POINT (-39.705183 -2.679252)'))) / (select extract(epoch from '2026-07-24 10:28:50'::timestamp) - extract(epoch from '2026-07-24 10:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705214 -2.67927)'), GeomFromEWKT('SRID=4674;POINT (-39.705183 -2.679252)'))) / (select extract(epoch from '2026-07-24 10:28:50'::timestamp) - extract(epoch from '2026-07-24 10:28: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'), 47870, 'SRID=4674;POINT (-39.705159 -2.679237)', '2026-07-24 10:28:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705183 -2.679252)'), GeomFromEWKT('SRID=4674;POINT (-39.705159 -2.679237)'))) / (select extract(epoch from '2026-07-24 10:28:57'::timestamp) - extract(epoch from '2026-07-24 10:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705183 -2.679252)'), GeomFromEWKT('SRID=4674;POINT (-39.705159 -2.679237)'))) / (select extract(epoch from '2026-07-24 10:28:57'::timestamp) - extract(epoch from '2026-07-24 10:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705157 -2.679227)', '2026-07-24 10:29:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705159 -2.679237)'), GeomFromEWKT('SRID=4674;POINT (-39.705157 -2.679227)'))) / (select extract(epoch from '2026-07-24 10:29:02'::timestamp) - extract(epoch from '2026-07-24 10:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705159 -2.679237)'), GeomFromEWKT('SRID=4674;POINT (-39.705157 -2.679227)'))) / (select extract(epoch from '2026-07-24 10:29:02'::timestamp) - extract(epoch from '2026-07-24 10:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705165 -2.679229)', '2026-07-24 10:29:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705157 -2.679227)'), GeomFromEWKT('SRID=4674;POINT (-39.705165 -2.679229)'))) / (select extract(epoch from '2026-07-24 10:29:07'::timestamp) - extract(epoch from '2026-07-24 10:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705157 -2.679227)'), GeomFromEWKT('SRID=4674;POINT (-39.705165 -2.679229)'))) / (select extract(epoch from '2026-07-24 10:29:07'::timestamp) - extract(epoch from '2026-07-24 10:29: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'), 47870, 'SRID=4674;POINT (-39.705186 -2.679217)', '2026-07-24 10:29:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705165 -2.679229)'), GeomFromEWKT('SRID=4674;POINT (-39.705186 -2.679217)'))) / (select extract(epoch from '2026-07-24 10:29:15'::timestamp) - extract(epoch from '2026-07-24 10:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705165 -2.679229)'), GeomFromEWKT('SRID=4674;POINT (-39.705186 -2.679217)'))) / (select extract(epoch from '2026-07-24 10:29:15'::timestamp) - extract(epoch from '2026-07-24 10:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705204 -2.679216)', '2026-07-24 10:29:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705186 -2.679217)'), GeomFromEWKT('SRID=4674;POINT (-39.705204 -2.679216)'))) / (select extract(epoch from '2026-07-24 10:29:27'::timestamp) - extract(epoch from '2026-07-24 10:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705186 -2.679217)'), GeomFromEWKT('SRID=4674;POINT (-39.705204 -2.679216)'))) / (select extract(epoch from '2026-07-24 10:29:27'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705206 -2.679214)', '2026-07-24 10:29:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705204 -2.679216)'), GeomFromEWKT('SRID=4674;POINT (-39.705206 -2.679214)'))) / (select extract(epoch from '2026-07-24 10:29:33'::timestamp) - extract(epoch from '2026-07-24 10:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705204 -2.679216)'), GeomFromEWKT('SRID=4674;POINT (-39.705206 -2.679214)'))) / (select extract(epoch from '2026-07-24 10:29:33'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705213 -2.679211)', '2026-07-24 10:29:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705206 -2.679214)'), GeomFromEWKT('SRID=4674;POINT (-39.705213 -2.679211)'))) / (select extract(epoch from '2026-07-24 10:29:42'::timestamp) - extract(epoch from '2026-07-24 10:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705206 -2.679214)'), GeomFromEWKT('SRID=4674;POINT (-39.705213 -2.679211)'))) / (select extract(epoch from '2026-07-24 10:29:42'::timestamp) - extract(epoch from '2026-07-24 10:29: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'), 47870, 'SRID=4674;POINT (-39.70524 -2.679214)', '2026-07-24 10:29:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705213 -2.679211)'), GeomFromEWKT('SRID=4674;POINT (-39.70524 -2.679214)'))) / (select extract(epoch from '2026-07-24 10:29:50'::timestamp) - extract(epoch from '2026-07-24 10:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705213 -2.679211)'), GeomFromEWKT('SRID=4674;POINT (-39.70524 -2.679214)'))) / (select extract(epoch from '2026-07-24 10:29:50'::timestamp) - extract(epoch from '2026-07-24 10:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705253 -2.679239)', '2026-07-24 10:29:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70524 -2.679214)'), GeomFromEWKT('SRID=4674;POINT (-39.705253 -2.679239)'))) / (select extract(epoch from '2026-07-24 10:29:56'::timestamp) - extract(epoch from '2026-07-24 10:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70524 -2.679214)'), GeomFromEWKT('SRID=4674;POINT (-39.705253 -2.679239)'))) / (select extract(epoch from '2026-07-24 10:29:56'::timestamp) - extract(epoch from '2026-07-24 10:29: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'), 47870, 'SRID=4674;POINT (-39.70527 -2.679273)', '2026-07-24 10:30:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705253 -2.679239)'), GeomFromEWKT('SRID=4674;POINT (-39.70527 -2.679273)'))) / (select extract(epoch from '2026-07-24 10:30:02'::timestamp) - extract(epoch from '2026-07-24 10:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705253 -2.679239)'), GeomFromEWKT('SRID=4674;POINT (-39.70527 -2.679273)'))) / (select extract(epoch from '2026-07-24 10:30:02'::timestamp) - extract(epoch from '2026-07-24 10:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705281 -2.679297)', '2026-07-24 10:30:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70527 -2.679273)'), GeomFromEWKT('SRID=4674;POINT (-39.705281 -2.679297)'))) / (select extract(epoch from '2026-07-24 10:30:04'::timestamp) - extract(epoch from '2026-07-24 10:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70527 -2.679273)'), GeomFromEWKT('SRID=4674;POINT (-39.705281 -2.679297)'))) / (select extract(epoch from '2026-07-24 10:30:04'::timestamp) - extract(epoch from '2026-07-24 10:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705344 -2.679402)', '2026-07-24 10:30:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705281 -2.679297)'), GeomFromEWKT('SRID=4674;POINT (-39.705344 -2.679402)'))) / (select extract(epoch from '2026-07-24 10:30:11'::timestamp) - extract(epoch from '2026-07-24 10:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705281 -2.679297)'), GeomFromEWKT('SRID=4674;POINT (-39.705344 -2.679402)'))) / (select extract(epoch from '2026-07-24 10:30:11'::timestamp) - extract(epoch from '2026-07-24 10:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705378 -2.679529)', '2026-07-24 10:30:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705344 -2.679402)'), GeomFromEWKT('SRID=4674;POINT (-39.705378 -2.679529)'))) / (select extract(epoch from '2026-07-24 10:30:18'::timestamp) - extract(epoch from '2026-07-24 10:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705344 -2.679402)'), GeomFromEWKT('SRID=4674;POINT (-39.705378 -2.679529)'))) / (select extract(epoch from '2026-07-24 10:30:18'::timestamp) - extract(epoch from '2026-07-24 10:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705348 -2.679641)', '2026-07-24 10:30:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705378 -2.679529)'), GeomFromEWKT('SRID=4674;POINT (-39.705348 -2.679641)'))) / (select extract(epoch from '2026-07-24 10:30:25'::timestamp) - extract(epoch from '2026-07-24 10:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705378 -2.679529)'), GeomFromEWKT('SRID=4674;POINT (-39.705348 -2.679641)'))) / (select extract(epoch from '2026-07-24 10:30:25'::timestamp) - extract(epoch from '2026-07-24 10:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705315 -2.679725)', '2026-07-24 10:30:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705348 -2.679641)'), GeomFromEWKT('SRID=4674;POINT (-39.705315 -2.679725)'))) / (select extract(epoch from '2026-07-24 10:30:30'::timestamp) - extract(epoch from '2026-07-24 10:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705348 -2.679641)'), GeomFromEWKT('SRID=4674;POINT (-39.705315 -2.679725)'))) / (select extract(epoch from '2026-07-24 10:30:30'::timestamp) - extract(epoch from '2026-07-24 10:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705268 -2.679839)', '2026-07-24 10:30:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705315 -2.679725)'), GeomFromEWKT('SRID=4674;POINT (-39.705268 -2.679839)'))) / (select extract(epoch from '2026-07-24 10:30:37'::timestamp) - extract(epoch from '2026-07-24 10:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705315 -2.679725)'), GeomFromEWKT('SRID=4674;POINT (-39.705268 -2.679839)'))) / (select extract(epoch from '2026-07-24 10:30:37'::timestamp) - extract(epoch from '2026-07-24 10:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705247 -2.679939)', '2026-07-24 10:30:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705268 -2.679839)'), GeomFromEWKT('SRID=4674;POINT (-39.705247 -2.679939)'))) / (select extract(epoch from '2026-07-24 10:30:42'::timestamp) - extract(epoch from '2026-07-24 10:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705268 -2.679839)'), GeomFromEWKT('SRID=4674;POINT (-39.705247 -2.679939)'))) / (select extract(epoch from '2026-07-24 10:30:42'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705239 -2.680016)', '2026-07-24 10:30:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705247 -2.679939)'), GeomFromEWKT('SRID=4674;POINT (-39.705239 -2.680016)'))) / (select extract(epoch from '2026-07-24 10:30:46'::timestamp) - extract(epoch from '2026-07-24 10:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705247 -2.679939)'), GeomFromEWKT('SRID=4674;POINT (-39.705239 -2.680016)'))) / (select extract(epoch from '2026-07-24 10:30:46'::timestamp) - extract(epoch from '2026-07-24 10:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705216 -2.680119)', '2026-07-24 10:30:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705239 -2.680016)'), GeomFromEWKT('SRID=4674;POINT (-39.705216 -2.680119)'))) / (select extract(epoch from '2026-07-24 10:30:52'::timestamp) - extract(epoch from '2026-07-24 10:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705239 -2.680016)'), GeomFromEWKT('SRID=4674;POINT (-39.705216 -2.680119)'))) / (select extract(epoch from '2026-07-24 10:30:52'::timestamp) - extract(epoch from '2026-07-24 10:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705183 -2.68021)', '2026-07-24 10:30:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705216 -2.680119)'), GeomFromEWKT('SRID=4674;POINT (-39.705183 -2.68021)'))) / (select extract(epoch from '2026-07-24 10:30:57'::timestamp) - extract(epoch from '2026-07-24 10:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705216 -2.680119)'), GeomFromEWKT('SRID=4674;POINT (-39.705183 -2.68021)'))) / (select extract(epoch from '2026-07-24 10:30:57'::timestamp) - extract(epoch from '2026-07-24 10:30: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'), 47870, 'SRID=4674;POINT (-39.705136 -2.68033)', '2026-07-24 10:31:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705183 -2.68021)'), GeomFromEWKT('SRID=4674;POINT (-39.705136 -2.68033)'))) / (select extract(epoch from '2026-07-24 10:31:04'::timestamp) - extract(epoch from '2026-07-24 10:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705183 -2.68021)'), GeomFromEWKT('SRID=4674;POINT (-39.705136 -2.68033)'))) / (select extract(epoch from '2026-07-24 10:31:04'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705106 -2.680419)', '2026-07-24 10:31:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705136 -2.68033)'), GeomFromEWKT('SRID=4674;POINT (-39.705106 -2.680419)'))) / (select extract(epoch from '2026-07-24 10:31:09'::timestamp) - extract(epoch from '2026-07-24 10:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705136 -2.68033)'), GeomFromEWKT('SRID=4674;POINT (-39.705106 -2.680419)'))) / (select extract(epoch from '2026-07-24 10:31:09'::timestamp) - extract(epoch from '2026-07-24 10:31:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705096 -2.680507)', '2026-07-24 10:31:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705106 -2.680419)'), GeomFromEWKT('SRID=4674;POINT (-39.705096 -2.680507)'))) / (select extract(epoch from '2026-07-24 10:31:15'::timestamp) - extract(epoch from '2026-07-24 10:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705106 -2.680419)'), GeomFromEWKT('SRID=4674;POINT (-39.705096 -2.680507)'))) / (select extract(epoch from '2026-07-24 10:31:15'::timestamp) - extract(epoch from '2026-07-24 10:31: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'), 47870, 'SRID=4674;POINT (-39.705126 -2.680583)', '2026-07-24 10:31:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705096 -2.680507)'), GeomFromEWKT('SRID=4674;POINT (-39.705126 -2.680583)'))) / (select extract(epoch from '2026-07-24 10:31:22'::timestamp) - extract(epoch from '2026-07-24 10:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705096 -2.680507)'), GeomFromEWKT('SRID=4674;POINT (-39.705126 -2.680583)'))) / (select extract(epoch from '2026-07-24 10:31:22'::timestamp) - extract(epoch from '2026-07-24 10:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705182 -2.68061)', '2026-07-24 10:31:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705126 -2.680583)'), GeomFromEWKT('SRID=4674;POINT (-39.705182 -2.68061)'))) / (select extract(epoch from '2026-07-24 10:31:26'::timestamp) - extract(epoch from '2026-07-24 10:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705126 -2.680583)'), GeomFromEWKT('SRID=4674;POINT (-39.705182 -2.68061)'))) / (select extract(epoch from '2026-07-24 10:31:26'::timestamp) - extract(epoch from '2026-07-24 10:31: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'), 47870, 'SRID=4674;POINT (-39.705249 -2.68061)', '2026-07-24 10:31:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705182 -2.68061)'), GeomFromEWKT('SRID=4674;POINT (-39.705249 -2.68061)'))) / (select extract(epoch from '2026-07-24 10:31:31'::timestamp) - extract(epoch from '2026-07-24 10:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705182 -2.68061)'), GeomFromEWKT('SRID=4674;POINT (-39.705249 -2.68061)'))) / (select extract(epoch from '2026-07-24 10:31:31'::timestamp) - extract(epoch from '2026-07-24 10:31: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'), 47870, 'SRID=4674;POINT (-39.705318 -2.680575)', '2026-07-24 10:31:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705249 -2.68061)'), GeomFromEWKT('SRID=4674;POINT (-39.705318 -2.680575)'))) / (select extract(epoch from '2026-07-24 10:31:38'::timestamp) - extract(epoch from '2026-07-24 10:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705249 -2.68061)'), GeomFromEWKT('SRID=4674;POINT (-39.705318 -2.680575)'))) / (select extract(epoch from '2026-07-24 10:31:38'::timestamp) - extract(epoch from '2026-07-24 10:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705324 -2.680568)', '2026-07-24 10:31:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705318 -2.680575)'), GeomFromEWKT('SRID=4674;POINT (-39.705324 -2.680568)'))) / (select extract(epoch from '2026-07-24 10:31:39'::timestamp) - extract(epoch from '2026-07-24 10:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705318 -2.680575)'), GeomFromEWKT('SRID=4674;POINT (-39.705324 -2.680568)'))) / (select extract(epoch from '2026-07-24 10:31:39'::timestamp) - extract(epoch from '2026-07-24 10:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705339 -2.680555)', '2026-07-24 10:31:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705324 -2.680568)'), GeomFromEWKT('SRID=4674;POINT (-39.705339 -2.680555)'))) / (select extract(epoch from '2026-07-24 10:31:41'::timestamp) - extract(epoch from '2026-07-24 10:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705324 -2.680568)'), GeomFromEWKT('SRID=4674;POINT (-39.705339 -2.680555)'))) / (select extract(epoch from '2026-07-24 10:31:41'::timestamp) - extract(epoch from '2026-07-24 10:31: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'), 47870, 'SRID=4674;POINT (-39.705349 -2.68054)', '2026-07-24 10:31:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705339 -2.680555)'), GeomFromEWKT('SRID=4674;POINT (-39.705349 -2.68054)'))) / (select extract(epoch from '2026-07-24 10:31:43'::timestamp) - extract(epoch from '2026-07-24 10:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705339 -2.680555)'), GeomFromEWKT('SRID=4674;POINT (-39.705349 -2.68054)'))) / (select extract(epoch from '2026-07-24 10:31:43'::timestamp) - extract(epoch from '2026-07-24 10:31: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'), 47870, 'SRID=4674;POINT (-39.705376 -2.680514)', '2026-07-24 10:31:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705349 -2.68054)'), GeomFromEWKT('SRID=4674;POINT (-39.705376 -2.680514)'))) / (select extract(epoch from '2026-07-24 10:31:49'::timestamp) - extract(epoch from '2026-07-24 10:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705349 -2.68054)'), GeomFromEWKT('SRID=4674;POINT (-39.705376 -2.680514)'))) / (select extract(epoch from '2026-07-24 10:31:49'::timestamp) - extract(epoch from '2026-07-24 10:31: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'), 47870, 'SRID=4674;POINT (-39.705391 -2.680476)', '2026-07-24 10:31:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705376 -2.680514)'), GeomFromEWKT('SRID=4674;POINT (-39.705391 -2.680476)'))) / (select extract(epoch from '2026-07-24 10:31:57'::timestamp) - extract(epoch from '2026-07-24 10:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705376 -2.680514)'), GeomFromEWKT('SRID=4674;POINT (-39.705391 -2.680476)'))) / (select extract(epoch from '2026-07-24 10:31:57'::timestamp) - extract(epoch from '2026-07-24 10:31: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'), 47870, 'SRID=4674;POINT (-39.705407 -2.68045)', '2026-07-24 10:32:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705391 -2.680476)'), GeomFromEWKT('SRID=4674;POINT (-39.705407 -2.68045)'))) / (select extract(epoch from '2026-07-24 10:32:06'::timestamp) - extract(epoch from '2026-07-24 10:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705391 -2.680476)'), GeomFromEWKT('SRID=4674;POINT (-39.705407 -2.68045)'))) / (select extract(epoch from '2026-07-24 10:32:06'::timestamp) - extract(epoch from '2026-07-24 10:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705436 -2.680438)', '2026-07-24 10:32:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705407 -2.68045)'), GeomFromEWKT('SRID=4674;POINT (-39.705436 -2.680438)'))) / (select extract(epoch from '2026-07-24 10:32:13'::timestamp) - extract(epoch from '2026-07-24 10:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705407 -2.68045)'), GeomFromEWKT('SRID=4674;POINT (-39.705436 -2.680438)'))) / (select extract(epoch from '2026-07-24 10:32:13'::timestamp) - extract(epoch from '2026-07-24 10:32:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70546 -2.680406)', '2026-07-24 10:32:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705436 -2.680438)'), GeomFromEWKT('SRID=4674;POINT (-39.70546 -2.680406)'))) / (select extract(epoch from '2026-07-24 10:32:23'::timestamp) - extract(epoch from '2026-07-24 10:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705436 -2.680438)'), GeomFromEWKT('SRID=4674;POINT (-39.70546 -2.680406)'))) / (select extract(epoch from '2026-07-24 10:32:23'::timestamp) - extract(epoch from '2026-07-24 10:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70547 -2.680397)', '2026-07-24 10:32:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70546 -2.680406)'), GeomFromEWKT('SRID=4674;POINT (-39.70547 -2.680397)'))) / (select extract(epoch from '2026-07-24 10:32:29'::timestamp) - extract(epoch from '2026-07-24 10:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70546 -2.680406)'), GeomFromEWKT('SRID=4674;POINT (-39.70547 -2.680397)'))) / (select extract(epoch from '2026-07-24 10:32:29'::timestamp) - extract(epoch from '2026-07-24 10:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70548 -2.680385)', '2026-07-24 10:32:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70547 -2.680397)'), GeomFromEWKT('SRID=4674;POINT (-39.70548 -2.680385)'))) / (select extract(epoch from '2026-07-24 10:32:34'::timestamp) - extract(epoch from '2026-07-24 10:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70547 -2.680397)'), GeomFromEWKT('SRID=4674;POINT (-39.70548 -2.680385)'))) / (select extract(epoch from '2026-07-24 10:32:34'::timestamp) - extract(epoch from '2026-07-24 10:32: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'), 47870, 'SRID=4674;POINT (-39.7055 -2.680359)', '2026-07-24 10:32:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70548 -2.680385)'), GeomFromEWKT('SRID=4674;POINT (-39.7055 -2.680359)'))) / (select extract(epoch from '2026-07-24 10:32:44'::timestamp) - extract(epoch from '2026-07-24 10:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70548 -2.680385)'), GeomFromEWKT('SRID=4674;POINT (-39.7055 -2.680359)'))) / (select extract(epoch from '2026-07-24 10:32:44'::timestamp) - extract(epoch from '2026-07-24 10:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705526 -2.680347)', '2026-07-24 10:32:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7055 -2.680359)'), GeomFromEWKT('SRID=4674;POINT (-39.705526 -2.680347)'))) / (select extract(epoch from '2026-07-24 10:32:50'::timestamp) - extract(epoch from '2026-07-24 10:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7055 -2.680359)'), GeomFromEWKT('SRID=4674;POINT (-39.705526 -2.680347)'))) / (select extract(epoch from '2026-07-24 10:32:50'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705534 -2.68034)', '2026-07-24 10:32:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705526 -2.680347)'), GeomFromEWKT('SRID=4674;POINT (-39.705534 -2.68034)'))) / (select extract(epoch from '2026-07-24 10:32:59'::timestamp) - extract(epoch from '2026-07-24 10:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705526 -2.680347)'), GeomFromEWKT('SRID=4674;POINT (-39.705534 -2.68034)'))) / (select extract(epoch from '2026-07-24 10:32:59'::timestamp) - extract(epoch from '2026-07-24 10:32: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'), 47870, 'SRID=4674;POINT (-39.705525 -2.680346)', '2026-07-24 10:33:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705534 -2.68034)'), GeomFromEWKT('SRID=4674;POINT (-39.705525 -2.680346)'))) / (select extract(epoch from '2026-07-24 10:33:07'::timestamp) - extract(epoch from '2026-07-24 10:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705534 -2.68034)'), GeomFromEWKT('SRID=4674;POINT (-39.705525 -2.680346)'))) / (select extract(epoch from '2026-07-24 10:33:07'::timestamp) - extract(epoch from '2026-07-24 10:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70554 -2.68035)', '2026-07-24 10:33:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705525 -2.680346)'), GeomFromEWKT('SRID=4674;POINT (-39.70554 -2.68035)'))) / (select extract(epoch from '2026-07-24 10:33:19'::timestamp) - extract(epoch from '2026-07-24 10:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705525 -2.680346)'), GeomFromEWKT('SRID=4674;POINT (-39.70554 -2.68035)'))) / (select extract(epoch from '2026-07-24 10:33:19'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705548 -2.68035)', '2026-07-24 10:33:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70554 -2.68035)'), GeomFromEWKT('SRID=4674;POINT (-39.705548 -2.68035)'))) / (select extract(epoch from '2026-07-24 10:33:22'::timestamp) - extract(epoch from '2026-07-24 10:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70554 -2.68035)'), GeomFromEWKT('SRID=4674;POINT (-39.705548 -2.68035)'))) / (select extract(epoch from '2026-07-24 10:33:22'::timestamp) - extract(epoch from '2026-07-24 10:33: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'), 47870, 'SRID=4674;POINT (-39.70556 -2.680349)', '2026-07-24 10:33:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705548 -2.68035)'), GeomFromEWKT('SRID=4674;POINT (-39.70556 -2.680349)'))) / (select extract(epoch from '2026-07-24 10:33:24'::timestamp) - extract(epoch from '2026-07-24 10:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705548 -2.68035)'), GeomFromEWKT('SRID=4674;POINT (-39.70556 -2.680349)'))) / (select extract(epoch from '2026-07-24 10:33:24'::timestamp) - extract(epoch from '2026-07-24 10:33:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705603 -2.680333)', '2026-07-24 10:33:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70556 -2.680349)'), GeomFromEWKT('SRID=4674;POINT (-39.705603 -2.680333)'))) / (select extract(epoch from '2026-07-24 10:33:33'::timestamp) - extract(epoch from '2026-07-24 10:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70556 -2.680349)'), GeomFromEWKT('SRID=4674;POINT (-39.705603 -2.680333)'))) / (select extract(epoch from '2026-07-24 10:33:33'::timestamp) - extract(epoch from '2026-07-24 10:33: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'), 47870, 'SRID=4674;POINT (-39.705638 -2.680315)', '2026-07-24 10:33:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705603 -2.680333)'), GeomFromEWKT('SRID=4674;POINT (-39.705638 -2.680315)'))) / (select extract(epoch from '2026-07-24 10:33:40'::timestamp) - extract(epoch from '2026-07-24 10:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705603 -2.680333)'), GeomFromEWKT('SRID=4674;POINT (-39.705638 -2.680315)'))) / (select extract(epoch from '2026-07-24 10:33:40'::timestamp) - extract(epoch from '2026-07-24 10:33: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'), 47870, 'SRID=4674;POINT (-39.705635 -2.680278)', '2026-07-24 10:33:46', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705638 -2.680315)'), GeomFromEWKT('SRID=4674;POINT (-39.705635 -2.680278)'))) / (select extract(epoch from '2026-07-24 10:33:46'::timestamp) - extract(epoch from '2026-07-24 10:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705638 -2.680315)'), GeomFromEWKT('SRID=4674;POINT (-39.705635 -2.680278)'))) / (select extract(epoch from '2026-07-24 10:33:46'::timestamp) - extract(epoch from '2026-07-24 10:33: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'), 47870, 'SRID=4674;POINT (-39.705593 -2.68026)', '2026-07-24 10:33:51', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705635 -2.680278)'), GeomFromEWKT('SRID=4674;POINT (-39.705593 -2.68026)'))) / (select extract(epoch from '2026-07-24 10:33:51'::timestamp) - extract(epoch from '2026-07-24 10:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705635 -2.680278)'), GeomFromEWKT('SRID=4674;POINT (-39.705593 -2.68026)'))) / (select extract(epoch from '2026-07-24 10:33:51'::timestamp) - extract(epoch from '2026-07-24 10:33: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'), 47870, 'SRID=4674;POINT (-39.70557 -2.680267)', '2026-07-24 10:33:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705593 -2.68026)'), GeomFromEWKT('SRID=4674;POINT (-39.70557 -2.680267)'))) / (select extract(epoch from '2026-07-24 10:33:53'::timestamp) - extract(epoch from '2026-07-24 10:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705593 -2.68026)'), GeomFromEWKT('SRID=4674;POINT (-39.70557 -2.680267)'))) / (select extract(epoch from '2026-07-24 10:33:53'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.70552 -2.6803)', '2026-07-24 10:33:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70557 -2.680267)'), GeomFromEWKT('SRID=4674;POINT (-39.70552 -2.6803)'))) / (select extract(epoch from '2026-07-24 10:33:58'::timestamp) - extract(epoch from '2026-07-24 10:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70557 -2.680267)'), GeomFromEWKT('SRID=4674;POINT (-39.70552 -2.6803)'))) / (select extract(epoch from '2026-07-24 10:33:58'::timestamp) - extract(epoch from '2026-07-24 10:33:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705516 -2.680313)', '2026-07-24 10:33:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70552 -2.6803)'), GeomFromEWKT('SRID=4674;POINT (-39.705516 -2.680313)'))) / (select extract(epoch from '2026-07-24 10:33:59'::timestamp) - extract(epoch from '2026-07-24 10:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70552 -2.6803)'), GeomFromEWKT('SRID=4674;POINT (-39.705516 -2.680313)'))) / (select extract(epoch from '2026-07-24 10:33:59'::timestamp) - extract(epoch from '2026-07-24 10:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705511 -2.680339)', '2026-07-24 10:34:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705516 -2.680313)'), GeomFromEWKT('SRID=4674;POINT (-39.705511 -2.680339)'))) / (select extract(epoch from '2026-07-24 10:34:01'::timestamp) - extract(epoch from '2026-07-24 10:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705516 -2.680313)'), GeomFromEWKT('SRID=4674;POINT (-39.705511 -2.680339)'))) / (select extract(epoch from '2026-07-24 10:34:01'::timestamp) - extract(epoch from '2026-07-24 10:33: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'), 47870, 'SRID=4674;POINT (-39.705515 -2.680388)', '2026-07-24 10:34:04', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705511 -2.680339)'), GeomFromEWKT('SRID=4674;POINT (-39.705515 -2.680388)'))) / (select extract(epoch from '2026-07-24 10:34:04'::timestamp) - extract(epoch from '2026-07-24 10:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705511 -2.680339)'), GeomFromEWKT('SRID=4674;POINT (-39.705515 -2.680388)'))) / (select extract(epoch from '2026-07-24 10:34:04'::timestamp) - extract(epoch from '2026-07-24 10:34: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'), 47870, 'SRID=4674;POINT (-39.705544 -2.680536)', '2026-07-24 10:34:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705515 -2.680388)'), GeomFromEWKT('SRID=4674;POINT (-39.705544 -2.680536)'))) / (select extract(epoch from '2026-07-24 10:34:11'::timestamp) - extract(epoch from '2026-07-24 10:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705515 -2.680388)'), GeomFromEWKT('SRID=4674;POINT (-39.705544 -2.680536)'))) / (select extract(epoch from '2026-07-24 10:34:11'::timestamp) - extract(epoch from '2026-07-24 10:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705546 -2.680558)', '2026-07-24 10:34:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705544 -2.680536)'), GeomFromEWKT('SRID=4674;POINT (-39.705546 -2.680558)'))) / (select extract(epoch from '2026-07-24 10:34:12'::timestamp) - extract(epoch from '2026-07-24 10:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705544 -2.680536)'), GeomFromEWKT('SRID=4674;POINT (-39.705546 -2.680558)'))) / (select extract(epoch from '2026-07-24 10:34:12'::timestamp) - extract(epoch from '2026-07-24 10:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705551 -2.680623)', '2026-07-24 10:34:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705546 -2.680558)'), GeomFromEWKT('SRID=4674;POINT (-39.705551 -2.680623)'))) / (select extract(epoch from '2026-07-24 10:34:15'::timestamp) - extract(epoch from '2026-07-24 10:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705546 -2.680558)'), GeomFromEWKT('SRID=4674;POINT (-39.705551 -2.680623)'))) / (select extract(epoch from '2026-07-24 10:34:15'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705518 -2.68074)', '2026-07-24 10:34:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705551 -2.680623)'), GeomFromEWKT('SRID=4674;POINT (-39.705518 -2.68074)'))) / (select extract(epoch from '2026-07-24 10:34:21'::timestamp) - extract(epoch from '2026-07-24 10:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705551 -2.680623)'), GeomFromEWKT('SRID=4674;POINT (-39.705518 -2.68074)'))) / (select extract(epoch from '2026-07-24 10:34:21'::timestamp) - extract(epoch from '2026-07-24 10:34: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'), 47870, 'SRID=4674;POINT (-39.705517 -2.68086)', '2026-07-24 10:34:27', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705518 -2.68074)'), GeomFromEWKT('SRID=4674;POINT (-39.705517 -2.68086)'))) / (select extract(epoch from '2026-07-24 10:34:27'::timestamp) - extract(epoch from '2026-07-24 10:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705518 -2.68074)'), GeomFromEWKT('SRID=4674;POINT (-39.705517 -2.68086)'))) / (select extract(epoch from '2026-07-24 10:34:27'::timestamp) - extract(epoch from '2026-07-24 10:34: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'), 47870, 'SRID=4674;POINT (-39.705521 -2.68101)', '2026-07-24 10:34:34', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705517 -2.68086)'), GeomFromEWKT('SRID=4674;POINT (-39.705521 -2.68101)'))) / (select extract(epoch from '2026-07-24 10:34:34'::timestamp) - extract(epoch from '2026-07-24 10:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705517 -2.68086)'), GeomFromEWKT('SRID=4674;POINT (-39.705521 -2.68101)'))) / (select extract(epoch from '2026-07-24 10:34:34'::timestamp) - extract(epoch from '2026-07-24 10:34: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'), 47870, 'SRID=4674;POINT (-39.705525 -2.681166)', '2026-07-24 10:34:41', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705521 -2.68101)'), GeomFromEWKT('SRID=4674;POINT (-39.705525 -2.681166)'))) / (select extract(epoch from '2026-07-24 10:34:41'::timestamp) - extract(epoch from '2026-07-24 10:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705521 -2.68101)'), GeomFromEWKT('SRID=4674;POINT (-39.705525 -2.681166)'))) / (select extract(epoch from '2026-07-24 10:34:41'::timestamp) - extract(epoch from '2026-07-24 10:34: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'), 47870, 'SRID=4674;POINT (-39.705536 -2.681298)', '2026-07-24 10:34:47', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705525 -2.681166)'), GeomFromEWKT('SRID=4674;POINT (-39.705536 -2.681298)'))) / (select extract(epoch from '2026-07-24 10:34:47'::timestamp) - extract(epoch from '2026-07-24 10:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705525 -2.681166)'), GeomFromEWKT('SRID=4674;POINT (-39.705536 -2.681298)'))) / (select extract(epoch from '2026-07-24 10:34:47'::timestamp) - extract(epoch from '2026-07-24 10:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705571 -2.681433)', '2026-07-24 10:34:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705536 -2.681298)'), GeomFromEWKT('SRID=4674;POINT (-39.705571 -2.681433)'))) / (select extract(epoch from '2026-07-24 10:34:53'::timestamp) - extract(epoch from '2026-07-24 10:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705536 -2.681298)'), GeomFromEWKT('SRID=4674;POINT (-39.705571 -2.681433)'))) / (select extract(epoch from '2026-07-24 10:34:53'::timestamp) - extract(epoch from '2026-07-24 10:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705588 -2.681563)', '2026-07-24 10:34:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705571 -2.681433)'), GeomFromEWKT('SRID=4674;POINT (-39.705588 -2.681563)'))) / (select extract(epoch from '2026-07-24 10:34:59'::timestamp) - extract(epoch from '2026-07-24 10:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705571 -2.681433)'), GeomFromEWKT('SRID=4674;POINT (-39.705588 -2.681563)'))) / (select extract(epoch from '2026-07-24 10:34:59'::timestamp) - extract(epoch from '2026-07-24 10:34: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'), 47870, 'SRID=4674;POINT (-39.70557 -2.681633)', '2026-07-24 10:35:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705588 -2.681563)'), GeomFromEWKT('SRID=4674;POINT (-39.70557 -2.681633)'))) / (select extract(epoch from '2026-07-24 10:35:05'::timestamp) - extract(epoch from '2026-07-24 10:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705588 -2.681563)'), GeomFromEWKT('SRID=4674;POINT (-39.70557 -2.681633)'))) / (select extract(epoch from '2026-07-24 10:35:05'::timestamp) - extract(epoch from '2026-07-24 10:34: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'), 47870, 'SRID=4674;POINT (-39.705541 -2.681653)', '2026-07-24 10:35:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70557 -2.681633)'), GeomFromEWKT('SRID=4674;POINT (-39.705541 -2.681653)'))) / (select extract(epoch from '2026-07-24 10:35:10'::timestamp) - extract(epoch from '2026-07-24 10:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70557 -2.681633)'), GeomFromEWKT('SRID=4674;POINT (-39.705541 -2.681653)'))) / (select extract(epoch from '2026-07-24 10:35:10'::timestamp) - extract(epoch from '2026-07-24 10:35: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'), 47870, 'SRID=4674;POINT (-39.70554 -2.681653)', '2026-07-24 10:35:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705541 -2.681653)'), GeomFromEWKT('SRID=4674;POINT (-39.70554 -2.681653)'))) / (select extract(epoch from '2026-07-24 10:35:19'::timestamp) - extract(epoch from '2026-07-24 10:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705541 -2.681653)'), GeomFromEWKT('SRID=4674;POINT (-39.70554 -2.681653)'))) / (select extract(epoch from '2026-07-24 10:35:19'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705551 -2.681641)', '2026-07-24 10:35:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70554 -2.681653)'), GeomFromEWKT('SRID=4674;POINT (-39.705551 -2.681641)'))) / (select extract(epoch from '2026-07-24 10:35:25'::timestamp) - extract(epoch from '2026-07-24 10:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70554 -2.681653)'), GeomFromEWKT('SRID=4674;POINT (-39.705551 -2.681641)'))) / (select extract(epoch from '2026-07-24 10:35:25'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.70558 -2.681627)', '2026-07-24 10:35:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705551 -2.681641)'), GeomFromEWKT('SRID=4674;POINT (-39.70558 -2.681627)'))) / (select extract(epoch from '2026-07-24 10:35:32'::timestamp) - extract(epoch from '2026-07-24 10:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705551 -2.681641)'), GeomFromEWKT('SRID=4674;POINT (-39.70558 -2.681627)'))) / (select extract(epoch from '2026-07-24 10:35:32'::timestamp) - extract(epoch from '2026-07-24 10:35: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'), 47870, 'SRID=4674;POINT (-39.705611 -2.681612)', '2026-07-24 10:35:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70558 -2.681627)'), GeomFromEWKT('SRID=4674;POINT (-39.705611 -2.681612)'))) / (select extract(epoch from '2026-07-24 10:35:38'::timestamp) - extract(epoch from '2026-07-24 10:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70558 -2.681627)'), GeomFromEWKT('SRID=4674;POINT (-39.705611 -2.681612)'))) / (select extract(epoch from '2026-07-24 10:35:38'::timestamp) - extract(epoch from '2026-07-24 10:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705649 -2.681594)', '2026-07-24 10:35:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705611 -2.681612)'), GeomFromEWKT('SRID=4674;POINT (-39.705649 -2.681594)'))) / (select extract(epoch from '2026-07-24 10:35:45'::timestamp) - extract(epoch from '2026-07-24 10:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705611 -2.681612)'), GeomFromEWKT('SRID=4674;POINT (-39.705649 -2.681594)'))) / (select extract(epoch from '2026-07-24 10:35:45'::timestamp) - extract(epoch from '2026-07-24 10:35: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'), 47870, 'SRID=4674;POINT (-39.705691 -2.681577)', '2026-07-24 10:35:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705649 -2.681594)'), GeomFromEWKT('SRID=4674;POINT (-39.705691 -2.681577)'))) / (select extract(epoch from '2026-07-24 10:35:53'::timestamp) - extract(epoch from '2026-07-24 10:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705649 -2.681594)'), GeomFromEWKT('SRID=4674;POINT (-39.705691 -2.681577)'))) / (select extract(epoch from '2026-07-24 10:35:53'::timestamp) - extract(epoch from '2026-07-24 10:35: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'), 47870, 'SRID=4674;POINT (-39.705697 -2.681576)', '2026-07-24 10:35:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705691 -2.681577)'), GeomFromEWKT('SRID=4674;POINT (-39.705697 -2.681576)'))) / (select extract(epoch from '2026-07-24 10:35:54'::timestamp) - extract(epoch from '2026-07-24 10:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705691 -2.681577)'), GeomFromEWKT('SRID=4674;POINT (-39.705697 -2.681576)'))) / (select extract(epoch from '2026-07-24 10:35:54'::timestamp) - extract(epoch from '2026-07-24 10:35:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705719 -2.681567)', '2026-07-24 10:35:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705697 -2.681576)'), GeomFromEWKT('SRID=4674;POINT (-39.705719 -2.681567)'))) / (select extract(epoch from '2026-07-24 10:35:58'::timestamp) - extract(epoch from '2026-07-24 10:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705697 -2.681576)'), GeomFromEWKT('SRID=4674;POINT (-39.705719 -2.681567)'))) / (select extract(epoch from '2026-07-24 10:35:58'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705759 -2.681553)', '2026-07-24 10:36:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705719 -2.681567)'), GeomFromEWKT('SRID=4674;POINT (-39.705759 -2.681553)'))) / (select extract(epoch from '2026-07-24 10:36:03'::timestamp) - extract(epoch from '2026-07-24 10:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705719 -2.681567)'), GeomFromEWKT('SRID=4674;POINT (-39.705759 -2.681553)'))) / (select extract(epoch from '2026-07-24 10:36:03'::timestamp) - extract(epoch from '2026-07-24 10:35: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'), 47870, 'SRID=4674;POINT (-39.705802 -2.681531)', '2026-07-24 10:36:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705759 -2.681553)'), GeomFromEWKT('SRID=4674;POINT (-39.705802 -2.681531)'))) / (select extract(epoch from '2026-07-24 10:36:10'::timestamp) - extract(epoch from '2026-07-24 10:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705759 -2.681553)'), GeomFromEWKT('SRID=4674;POINT (-39.705802 -2.681531)'))) / (select extract(epoch from '2026-07-24 10:36:10'::timestamp) - extract(epoch from '2026-07-24 10:36: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'), 47870, 'SRID=4674;POINT (-39.70583 -2.681505)', '2026-07-24 10:36:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705802 -2.681531)'), GeomFromEWKT('SRID=4674;POINT (-39.70583 -2.681505)'))) / (select extract(epoch from '2026-07-24 10:36:17'::timestamp) - extract(epoch from '2026-07-24 10:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705802 -2.681531)'), GeomFromEWKT('SRID=4674;POINT (-39.70583 -2.681505)'))) / (select extract(epoch from '2026-07-24 10:36:17'::timestamp) - extract(epoch from '2026-07-24 10:36: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'), 47870, 'SRID=4674;POINT (-39.705853 -2.681487)', '2026-07-24 10:36:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70583 -2.681505)'), GeomFromEWKT('SRID=4674;POINT (-39.705853 -2.681487)'))) / (select extract(epoch from '2026-07-24 10:36:24'::timestamp) - extract(epoch from '2026-07-24 10:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70583 -2.681505)'), GeomFromEWKT('SRID=4674;POINT (-39.705853 -2.681487)'))) / (select extract(epoch from '2026-07-24 10:36:24'::timestamp) - extract(epoch from '2026-07-24 10:36: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'), 47870, 'SRID=4674;POINT (-39.705869 -2.681471)', '2026-07-24 10:36:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705853 -2.681487)'), GeomFromEWKT('SRID=4674;POINT (-39.705869 -2.681471)'))) / (select extract(epoch from '2026-07-24 10:36:32'::timestamp) - extract(epoch from '2026-07-24 10:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705853 -2.681487)'), GeomFromEWKT('SRID=4674;POINT (-39.705869 -2.681471)'))) / (select extract(epoch from '2026-07-24 10:36:32'::timestamp) - extract(epoch from '2026-07-24 10:36: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'), 47870, 'SRID=4674;POINT (-39.705904 -2.681457)', '2026-07-24 10:36:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705869 -2.681471)'), GeomFromEWKT('SRID=4674;POINT (-39.705904 -2.681457)'))) / (select extract(epoch from '2026-07-24 10:36:42'::timestamp) - extract(epoch from '2026-07-24 10:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705869 -2.681471)'), GeomFromEWKT('SRID=4674;POINT (-39.705904 -2.681457)'))) / (select extract(epoch from '2026-07-24 10:36:42'::timestamp) - extract(epoch from '2026-07-24 10:36:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705932 -2.681448)', '2026-07-24 10:36:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705904 -2.681457)'), GeomFromEWKT('SRID=4674;POINT (-39.705932 -2.681448)'))) / (select extract(epoch from '2026-07-24 10:36:49'::timestamp) - extract(epoch from '2026-07-24 10:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705904 -2.681457)'), GeomFromEWKT('SRID=4674;POINT (-39.705932 -2.681448)'))) / (select extract(epoch from '2026-07-24 10:36:49'::timestamp) - extract(epoch from '2026-07-24 10:36:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705957 -2.681442)', '2026-07-24 10:36:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705932 -2.681448)'), GeomFromEWKT('SRID=4674;POINT (-39.705957 -2.681442)'))) / (select extract(epoch from '2026-07-24 10:36:56'::timestamp) - extract(epoch from '2026-07-24 10:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705932 -2.681448)'), GeomFromEWKT('SRID=4674;POINT (-39.705957 -2.681442)'))) / (select extract(epoch from '2026-07-24 10:36:56'::timestamp) - extract(epoch from '2026-07-24 10:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705941 -2.681431)', '2026-07-24 10:37:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705957 -2.681442)'), GeomFromEWKT('SRID=4674;POINT (-39.705941 -2.681431)'))) / (select extract(epoch from '2026-07-24 10:37:05'::timestamp) - extract(epoch from '2026-07-24 10:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705957 -2.681442)'), GeomFromEWKT('SRID=4674;POINT (-39.705941 -2.681431)'))) / (select extract(epoch from '2026-07-24 10:37:05'::timestamp) - extract(epoch from '2026-07-24 10:36: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'), 47870, 'SRID=4674;POINT (-39.705888 -2.681484)', '2026-07-24 10:37:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705941 -2.681431)'), GeomFromEWKT('SRID=4674;POINT (-39.705888 -2.681484)'))) / (select extract(epoch from '2026-07-24 10:37:12'::timestamp) - extract(epoch from '2026-07-24 10:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705941 -2.681431)'), GeomFromEWKT('SRID=4674;POINT (-39.705888 -2.681484)'))) / (select extract(epoch from '2026-07-24 10:37:12'::timestamp) - extract(epoch from '2026-07-24 10: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'), 47870, 'SRID=4674;POINT (-39.705847 -2.681562)', '2026-07-24 10:37:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705888 -2.681484)'), GeomFromEWKT('SRID=4674;POINT (-39.705847 -2.681562)'))) / (select extract(epoch from '2026-07-24 10:37:17'::timestamp) - extract(epoch from '2026-07-24 10:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705888 -2.681484)'), GeomFromEWKT('SRID=4674;POINT (-39.705847 -2.681562)'))) / (select extract(epoch from '2026-07-24 10:37:17'::timestamp) - extract(epoch from '2026-07-24 10:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705831 -2.68168)', '2026-07-24 10:37:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705847 -2.681562)'), GeomFromEWKT('SRID=4674;POINT (-39.705831 -2.68168)'))) / (select extract(epoch from '2026-07-24 10:37:23'::timestamp) - extract(epoch from '2026-07-24 10:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705847 -2.681562)'), GeomFromEWKT('SRID=4674;POINT (-39.705831 -2.68168)'))) / (select extract(epoch from '2026-07-24 10:37:23'::timestamp) - extract(epoch from '2026-07-24 10:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705827 -2.681794)', '2026-07-24 10:37:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705831 -2.68168)'), GeomFromEWKT('SRID=4674;POINT (-39.705827 -2.681794)'))) / (select extract(epoch from '2026-07-24 10:37:29'::timestamp) - extract(epoch from '2026-07-24 10:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705831 -2.68168)'), GeomFromEWKT('SRID=4674;POINT (-39.705827 -2.681794)'))) / (select extract(epoch from '2026-07-24 10:37:29'::timestamp) - extract(epoch from '2026-07-24 10:37:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705819 -2.681915)', '2026-07-24 10:37:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705827 -2.681794)'), GeomFromEWKT('SRID=4674;POINT (-39.705819 -2.681915)'))) / (select extract(epoch from '2026-07-24 10:37:35'::timestamp) - extract(epoch from '2026-07-24 10:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705827 -2.681794)'), GeomFromEWKT('SRID=4674;POINT (-39.705819 -2.681915)'))) / (select extract(epoch from '2026-07-24 10:37:35'::timestamp) - extract(epoch from '2026-07-24 10:37: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'), 47870, 'SRID=4674;POINT (-39.705815 -2.682074)', '2026-07-24 10:37:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705819 -2.681915)'), GeomFromEWKT('SRID=4674;POINT (-39.705815 -2.682074)'))) / (select extract(epoch from '2026-07-24 10:37:42'::timestamp) - extract(epoch from '2026-07-24 10:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705819 -2.681915)'), GeomFromEWKT('SRID=4674;POINT (-39.705815 -2.682074)'))) / (select extract(epoch from '2026-07-24 10:37:42'::timestamp) - extract(epoch from '2026-07-24 10:37: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'), 47870, 'SRID=4674;POINT (-39.705822 -2.682216)', '2026-07-24 10:37:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705815 -2.682074)'), GeomFromEWKT('SRID=4674;POINT (-39.705822 -2.682216)'))) / (select extract(epoch from '2026-07-24 10:37:48'::timestamp) - extract(epoch from '2026-07-24 10:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705815 -2.682074)'), GeomFromEWKT('SRID=4674;POINT (-39.705822 -2.682216)'))) / (select extract(epoch from '2026-07-24 10:37:48'::timestamp) - extract(epoch from '2026-07-24 10:37: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'), 47870, 'SRID=4674;POINT (-39.705839 -2.682374)', '2026-07-24 10:37:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705822 -2.682216)'), GeomFromEWKT('SRID=4674;POINT (-39.705839 -2.682374)'))) / (select extract(epoch from '2026-07-24 10:37:55'::timestamp) - extract(epoch from '2026-07-24 10:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705822 -2.682216)'), GeomFromEWKT('SRID=4674;POINT (-39.705839 -2.682374)'))) / (select extract(epoch from '2026-07-24 10:37:55'::timestamp) - extract(epoch from '2026-07-24 10:37: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'), 47870, 'SRID=4674;POINT (-39.705812 -2.682483)', '2026-07-24 10:38:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705839 -2.682374)'), GeomFromEWKT('SRID=4674;POINT (-39.705812 -2.682483)'))) / (select extract(epoch from '2026-07-24 10:38:01'::timestamp) - extract(epoch from '2026-07-24 10:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705839 -2.682374)'), GeomFromEWKT('SRID=4674;POINT (-39.705812 -2.682483)'))) / (select extract(epoch from '2026-07-24 10:38:01'::timestamp) - extract(epoch from '2026-07-24 10:37: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'), 47870, 'SRID=4674;POINT (-39.705756 -2.682579)', '2026-07-24 10:38:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705812 -2.682483)'), GeomFromEWKT('SRID=4674;POINT (-39.705756 -2.682579)'))) / (select extract(epoch from '2026-07-24 10:38:07'::timestamp) - extract(epoch from '2026-07-24 10:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705812 -2.682483)'), GeomFromEWKT('SRID=4674;POINT (-39.705756 -2.682579)'))) / (select extract(epoch from '2026-07-24 10:38:07'::timestamp) - extract(epoch from '2026-07-24 10:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.705736 -2.682653)', '2026-07-24 10:38:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705756 -2.682579)'), GeomFromEWKT('SRID=4674;POINT (-39.705736 -2.682653)'))) / (select extract(epoch from '2026-07-24 10:38:13'::timestamp) - extract(epoch from '2026-07-24 10:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705756 -2.682579)'), GeomFromEWKT('SRID=4674;POINT (-39.705736 -2.682653)'))) / (select extract(epoch from '2026-07-24 10:38:13'::timestamp) - extract(epoch from '2026-07-24 10:38:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
