 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.0242 -3.357768)', '2026-07-23 17:01:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024168 -3.357804)'), GeomFromEWKT('SRID=4674;POINT (-39.0242 -3.357768)'))) / (select extract(epoch from '2026-07-23 17:01:20'::timestamp) - extract(epoch from '2026-07-23 17:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024168 -3.357804)'), GeomFromEWKT('SRID=4674;POINT (-39.0242 -3.357768)'))) / (select extract(epoch from '2026-07-23 17:01:20'::timestamp) - extract(epoch from '2026-07-23 17:01: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'), 47446, 'SRID=4674;POINT (-39.024208 -3.357765)', '2026-07-23 17:01:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0242 -3.357768)'), GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.357765)'))) / (select extract(epoch from '2026-07-23 17:01:21'::timestamp) - extract(epoch from '2026-07-23 17:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0242 -3.357768)'), GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.357765)'))) / (select extract(epoch from '2026-07-23 17:01:21'::timestamp) - extract(epoch from '2026-07-23 17:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024221 -3.357749)', '2026-07-23 17:01:25', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.357765)'), GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.357749)'))) / (select extract(epoch from '2026-07-23 17:01:25'::timestamp) - extract(epoch from '2026-07-23 17:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024208 -3.357765)'), GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.357749)'))) / (select extract(epoch from '2026-07-23 17:01:25'::timestamp) - extract(epoch from '2026-07-23 17:01: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'), 47446, 'SRID=4674;POINT (-39.024243 -3.357728)', '2026-07-23 17:01:33', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.357749)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.357728)'))) / (select extract(epoch from '2026-07-23 17:01:33'::timestamp) - extract(epoch from '2026-07-23 17:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.357749)'), GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.357728)'))) / (select extract(epoch from '2026-07-23 17:01:33'::timestamp) - extract(epoch from '2026-07-23 17:01: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'), 47446, 'SRID=4674;POINT (-39.02428 -3.357707)', '2026-07-23 17:01:41', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.357728)'), GeomFromEWKT('SRID=4674;POINT (-39.02428 -3.357707)'))) / (select extract(epoch from '2026-07-23 17:01:41'::timestamp) - extract(epoch from '2026-07-23 17:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024243 -3.357728)'), GeomFromEWKT('SRID=4674;POINT (-39.02428 -3.357707)'))) / (select extract(epoch from '2026-07-23 17:01:41'::timestamp) - extract(epoch from '2026-07-23 17:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024293 -3.357701)', '2026-07-23 17:01:44', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02428 -3.357707)'), GeomFromEWKT('SRID=4674;POINT (-39.024293 -3.357701)'))) / (select extract(epoch from '2026-07-23 17:01:44'::timestamp) - extract(epoch from '2026-07-23 17:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02428 -3.357707)'), GeomFromEWKT('SRID=4674;POINT (-39.024293 -3.357701)'))) / (select extract(epoch from '2026-07-23 17:01:44'::timestamp) - extract(epoch from '2026-07-23 17:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024304 -3.357696)', '2026-07-23 17:01:46', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024293 -3.357701)'), GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.357696)'))) / (select extract(epoch from '2026-07-23 17:01:46'::timestamp) - extract(epoch from '2026-07-23 17:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024293 -3.357701)'), GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.357696)'))) / (select extract(epoch from '2026-07-23 17:01:46'::timestamp) - extract(epoch from '2026-07-23 17:01: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'), 47446, 'SRID=4674;POINT (-39.024332 -3.357685)', '2026-07-23 17:01:54', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.357696)'), GeomFromEWKT('SRID=4674;POINT (-39.024332 -3.357685)'))) / (select extract(epoch from '2026-07-23 17:01:54'::timestamp) - extract(epoch from '2026-07-23 17:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.357696)'), GeomFromEWKT('SRID=4674;POINT (-39.024332 -3.357685)'))) / (select extract(epoch from '2026-07-23 17:01:54'::timestamp) - extract(epoch from '2026-07-23 17:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024356 -3.357672)', '2026-07-23 17:02:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024332 -3.357685)'), GeomFromEWKT('SRID=4674;POINT (-39.024356 -3.357672)'))) / (select extract(epoch from '2026-07-23 17:02:00'::timestamp) - extract(epoch from '2026-07-23 17:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024332 -3.357685)'), GeomFromEWKT('SRID=4674;POINT (-39.024356 -3.357672)'))) / (select extract(epoch from '2026-07-23 17:02:00'::timestamp) - extract(epoch from '2026-07-23 17:01:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024372 -3.357658)', '2026-07-23 17:02:04', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024356 -3.357672)'), GeomFromEWKT('SRID=4674;POINT (-39.024372 -3.357658)'))) / (select extract(epoch from '2026-07-23 17:02:04'::timestamp) - extract(epoch from '2026-07-23 17:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024356 -3.357672)'), GeomFromEWKT('SRID=4674;POINT (-39.024372 -3.357658)'))) / (select extract(epoch from '2026-07-23 17:02:04'::timestamp) - extract(epoch from '2026-07-23 17:02: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'), 47446, 'SRID=4674;POINT (-39.024409 -3.357635)', '2026-07-23 17:02:12', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024372 -3.357658)'), GeomFromEWKT('SRID=4674;POINT (-39.024409 -3.357635)'))) / (select extract(epoch from '2026-07-23 17:02:12'::timestamp) - extract(epoch from '2026-07-23 17:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024372 -3.357658)'), GeomFromEWKT('SRID=4674;POINT (-39.024409 -3.357635)'))) / (select extract(epoch from '2026-07-23 17:02:12'::timestamp) - extract(epoch from '2026-07-23 17:02: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'), 47446, 'SRID=4674;POINT (-39.024431 -3.357617)', '2026-07-23 17:02:18', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024409 -3.357635)'), GeomFromEWKT('SRID=4674;POINT (-39.024431 -3.357617)'))) / (select extract(epoch from '2026-07-23 17:02:18'::timestamp) - extract(epoch from '2026-07-23 17:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024409 -3.357635)'), GeomFromEWKT('SRID=4674;POINT (-39.024431 -3.357617)'))) / (select extract(epoch from '2026-07-23 17:02:18'::timestamp) - extract(epoch from '2026-07-23 17:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02446 -3.357587)', '2026-07-23 17:02:26', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024431 -3.357617)'), GeomFromEWKT('SRID=4674;POINT (-39.02446 -3.357587)'))) / (select extract(epoch from '2026-07-23 17:02:26'::timestamp) - extract(epoch from '2026-07-23 17:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024431 -3.357617)'), GeomFromEWKT('SRID=4674;POINT (-39.02446 -3.357587)'))) / (select extract(epoch from '2026-07-23 17:02:26'::timestamp) - extract(epoch from '2026-07-23 17:02:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024496 -3.357555)', '2026-07-23 17:02:35', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02446 -3.357587)'), GeomFromEWKT('SRID=4674;POINT (-39.024496 -3.357555)'))) / (select extract(epoch from '2026-07-23 17:02:35'::timestamp) - extract(epoch from '2026-07-23 17:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02446 -3.357587)'), GeomFromEWKT('SRID=4674;POINT (-39.024496 -3.357555)'))) / (select extract(epoch from '2026-07-23 17:02:35'::timestamp) - extract(epoch from '2026-07-23 17:02: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'), 47446, 'SRID=4674;POINT (-39.024535 -3.357516)', '2026-07-23 17:02:44', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024496 -3.357555)'), GeomFromEWKT('SRID=4674;POINT (-39.024535 -3.357516)'))) / (select extract(epoch from '2026-07-23 17:02:44'::timestamp) - extract(epoch from '2026-07-23 17:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024496 -3.357555)'), GeomFromEWKT('SRID=4674;POINT (-39.024535 -3.357516)'))) / (select extract(epoch from '2026-07-23 17:02:44'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.02457 -3.357481)', '2026-07-23 17:02:53', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024535 -3.357516)'), GeomFromEWKT('SRID=4674;POINT (-39.02457 -3.357481)'))) / (select extract(epoch from '2026-07-23 17:02:53'::timestamp) - extract(epoch from '2026-07-23 17:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024535 -3.357516)'), GeomFromEWKT('SRID=4674;POINT (-39.02457 -3.357481)'))) / (select extract(epoch from '2026-07-23 17:02:53'::timestamp) - extract(epoch from '2026-07-23 17:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024599 -3.357457)', '2026-07-23 17:03:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02457 -3.357481)'), GeomFromEWKT('SRID=4674;POINT (-39.024599 -3.357457)'))) / (select extract(epoch from '2026-07-23 17:03:00'::timestamp) - extract(epoch from '2026-07-23 17:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02457 -3.357481)'), GeomFromEWKT('SRID=4674;POINT (-39.024599 -3.357457)'))) / (select extract(epoch from '2026-07-23 17:03:00'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.024636 -3.357427)', '2026-07-23 17:03:08', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024599 -3.357457)'), GeomFromEWKT('SRID=4674;POINT (-39.024636 -3.357427)'))) / (select extract(epoch from '2026-07-23 17:03:08'::timestamp) - extract(epoch from '2026-07-23 17:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024599 -3.357457)'), GeomFromEWKT('SRID=4674;POINT (-39.024636 -3.357427)'))) / (select extract(epoch from '2026-07-23 17:03:08'::timestamp) - extract(epoch from '2026-07-23 17:03: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'), 47446, 'SRID=4674;POINT (-39.024667 -3.357397)', '2026-07-23 17:03:16', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024636 -3.357427)'), GeomFromEWKT('SRID=4674;POINT (-39.024667 -3.357397)'))) / (select extract(epoch from '2026-07-23 17:03:16'::timestamp) - extract(epoch from '2026-07-23 17:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024636 -3.357427)'), GeomFromEWKT('SRID=4674;POINT (-39.024667 -3.357397)'))) / (select extract(epoch from '2026-07-23 17:03:16'::timestamp) - extract(epoch from '2026-07-23 17:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024692 -3.357377)', '2026-07-23 17:03:22', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024667 -3.357397)'), GeomFromEWKT('SRID=4674;POINT (-39.024692 -3.357377)'))) / (select extract(epoch from '2026-07-23 17:03:22'::timestamp) - extract(epoch from '2026-07-23 17:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024667 -3.357397)'), GeomFromEWKT('SRID=4674;POINT (-39.024692 -3.357377)'))) / (select extract(epoch from '2026-07-23 17:03:22'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.024722 -3.357353)', '2026-07-23 17:03:29', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024692 -3.357377)'), GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.357353)'))) / (select extract(epoch from '2026-07-23 17:03:29'::timestamp) - extract(epoch from '2026-07-23 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024692 -3.357377)'), GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.357353)'))) / (select extract(epoch from '2026-07-23 17:03:29'::timestamp) - extract(epoch from '2026-07-23 17:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024745 -3.35733)', '2026-07-23 17:03:36', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.357353)'), GeomFromEWKT('SRID=4674;POINT (-39.024745 -3.35733)'))) / (select extract(epoch from '2026-07-23 17:03:36'::timestamp) - extract(epoch from '2026-07-23 17:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.357353)'), GeomFromEWKT('SRID=4674;POINT (-39.024745 -3.35733)'))) / (select extract(epoch from '2026-07-23 17:03:36'::timestamp) - extract(epoch from '2026-07-23 17:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024774 -3.357311)', '2026-07-23 17:03:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024745 -3.35733)'), GeomFromEWKT('SRID=4674;POINT (-39.024774 -3.357311)'))) / (select extract(epoch from '2026-07-23 17:03:43'::timestamp) - extract(epoch from '2026-07-23 17:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024745 -3.35733)'), GeomFromEWKT('SRID=4674;POINT (-39.024774 -3.357311)'))) / (select extract(epoch from '2026-07-23 17:03:43'::timestamp) - extract(epoch from '2026-07-23 17:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024807 -3.357288)', '2026-07-23 17:03:51', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024774 -3.357311)'), GeomFromEWKT('SRID=4674;POINT (-39.024807 -3.357288)'))) / (select extract(epoch from '2026-07-23 17:03:51'::timestamp) - extract(epoch from '2026-07-23 17:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024774 -3.357311)'), GeomFromEWKT('SRID=4674;POINT (-39.024807 -3.357288)'))) / (select extract(epoch from '2026-07-23 17:03:51'::timestamp) - extract(epoch from '2026-07-23 17:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024834 -3.357273)', '2026-07-23 17:03:56', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024807 -3.357288)'), GeomFromEWKT('SRID=4674;POINT (-39.024834 -3.357273)'))) / (select extract(epoch from '2026-07-23 17:03:56'::timestamp) - extract(epoch from '2026-07-23 17:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024807 -3.357288)'), GeomFromEWKT('SRID=4674;POINT (-39.024834 -3.357273)'))) / (select extract(epoch from '2026-07-23 17:03:56'::timestamp) - extract(epoch from '2026-07-23 17:03: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'), 47446, 'SRID=4674;POINT (-39.024869 -3.357242)', '2026-07-23 17:04:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024834 -3.357273)'), GeomFromEWKT('SRID=4674;POINT (-39.024869 -3.357242)'))) / (select extract(epoch from '2026-07-23 17:04:02'::timestamp) - extract(epoch from '2026-07-23 17:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024834 -3.357273)'), GeomFromEWKT('SRID=4674;POINT (-39.024869 -3.357242)'))) / (select extract(epoch from '2026-07-23 17:04:02'::timestamp) - extract(epoch from '2026-07-23 17:03: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'), 47446, 'SRID=4674;POINT (-39.024877 -3.357239)', '2026-07-23 17:04:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024869 -3.357242)'), GeomFromEWKT('SRID=4674;POINT (-39.024877 -3.357239)'))) / (select extract(epoch from '2026-07-23 17:04:03'::timestamp) - extract(epoch from '2026-07-23 17:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024869 -3.357242)'), GeomFromEWKT('SRID=4674;POINT (-39.024877 -3.357239)'))) / (select extract(epoch from '2026-07-23 17:04:03'::timestamp) - extract(epoch from '2026-07-23 17:04: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'), 47446, 'SRID=4674;POINT (-39.024908 -3.357211)', '2026-07-23 17:04:09', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024877 -3.357239)'), GeomFromEWKT('SRID=4674;POINT (-39.024908 -3.357211)'))) / (select extract(epoch from '2026-07-23 17:04:09'::timestamp) - extract(epoch from '2026-07-23 17:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024877 -3.357239)'), GeomFromEWKT('SRID=4674;POINT (-39.024908 -3.357211)'))) / (select extract(epoch from '2026-07-23 17:04:09'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.024943 -3.357185)', '2026-07-23 17:04:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024908 -3.357211)'), GeomFromEWKT('SRID=4674;POINT (-39.024943 -3.357185)'))) / (select extract(epoch from '2026-07-23 17:04:15'::timestamp) - extract(epoch from '2026-07-23 17:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024908 -3.357211)'), GeomFromEWKT('SRID=4674;POINT (-39.024943 -3.357185)'))) / (select extract(epoch from '2026-07-23 17:04:15'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.024951 -3.357178)', '2026-07-23 17:04:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024943 -3.357185)'), GeomFromEWKT('SRID=4674;POINT (-39.024951 -3.357178)'))) / (select extract(epoch from '2026-07-23 17:04:17'::timestamp) - extract(epoch from '2026-07-23 17:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024943 -3.357185)'), GeomFromEWKT('SRID=4674;POINT (-39.024951 -3.357178)'))) / (select extract(epoch from '2026-07-23 17:04:17'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.024966 -3.357167)', '2026-07-23 17:04:19', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024951 -3.357178)'), GeomFromEWKT('SRID=4674;POINT (-39.024966 -3.357167)'))) / (select extract(epoch from '2026-07-23 17:04:19'::timestamp) - extract(epoch from '2026-07-23 17:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024951 -3.357178)'), GeomFromEWKT('SRID=4674;POINT (-39.024966 -3.357167)'))) / (select extract(epoch from '2026-07-23 17:04:19'::timestamp) - extract(epoch from '2026-07-23 17:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.024998 -3.357138)', '2026-07-23 17:04:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024966 -3.357167)'), GeomFromEWKT('SRID=4674;POINT (-39.024998 -3.357138)'))) / (select extract(epoch from '2026-07-23 17:04:29'::timestamp) - extract(epoch from '2026-07-23 17:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024966 -3.357167)'), GeomFromEWKT('SRID=4674;POINT (-39.024998 -3.357138)'))) / (select extract(epoch from '2026-07-23 17:04:29'::timestamp) - extract(epoch from '2026-07-23 17:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025033 -3.357109)', '2026-07-23 17:04:36', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024998 -3.357138)'), GeomFromEWKT('SRID=4674;POINT (-39.025033 -3.357109)'))) / (select extract(epoch from '2026-07-23 17:04:36'::timestamp) - extract(epoch from '2026-07-23 17:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024998 -3.357138)'), GeomFromEWKT('SRID=4674;POINT (-39.025033 -3.357109)'))) / (select extract(epoch from '2026-07-23 17:04:36'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.025074 -3.357075)', '2026-07-23 17:04:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025033 -3.357109)'), GeomFromEWKT('SRID=4674;POINT (-39.025074 -3.357075)'))) / (select extract(epoch from '2026-07-23 17:04:44'::timestamp) - extract(epoch from '2026-07-23 17:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025033 -3.357109)'), GeomFromEWKT('SRID=4674;POINT (-39.025074 -3.357075)'))) / (select extract(epoch from '2026-07-23 17:04:44'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.025096 -3.35705)', '2026-07-23 17:04:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025074 -3.357075)'), GeomFromEWKT('SRID=4674;POINT (-39.025096 -3.35705)'))) / (select extract(epoch from '2026-07-23 17:04:50'::timestamp) - extract(epoch from '2026-07-23 17:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025074 -3.357075)'), GeomFromEWKT('SRID=4674;POINT (-39.025096 -3.35705)'))) / (select extract(epoch from '2026-07-23 17:04:50'::timestamp) - extract(epoch from '2026-07-23 17:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025112 -3.357041)', '2026-07-23 17:04:52', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025096 -3.35705)'), GeomFromEWKT('SRID=4674;POINT (-39.025112 -3.357041)'))) / (select extract(epoch from '2026-07-23 17:04:52'::timestamp) - extract(epoch from '2026-07-23 17:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025096 -3.35705)'), GeomFromEWKT('SRID=4674;POINT (-39.025112 -3.357041)'))) / (select extract(epoch from '2026-07-23 17:04:52'::timestamp) - extract(epoch from '2026-07-23 17:04: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'), 47446, 'SRID=4674;POINT (-39.025124 -3.357026)', '2026-07-23 17:04:55', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025112 -3.357041)'), GeomFromEWKT('SRID=4674;POINT (-39.025124 -3.357026)'))) / (select extract(epoch from '2026-07-23 17:04:55'::timestamp) - extract(epoch from '2026-07-23 17:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025112 -3.357041)'), GeomFromEWKT('SRID=4674;POINT (-39.025124 -3.357026)'))) / (select extract(epoch from '2026-07-23 17:04:55'::timestamp) - extract(epoch from '2026-07-23 17:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025157 -3.356987)', '2026-07-23 17:05:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025124 -3.357026)'), GeomFromEWKT('SRID=4674;POINT (-39.025157 -3.356987)'))) / (select extract(epoch from '2026-07-23 17:05:03'::timestamp) - extract(epoch from '2026-07-23 17:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025124 -3.357026)'), GeomFromEWKT('SRID=4674;POINT (-39.025157 -3.356987)'))) / (select extract(epoch from '2026-07-23 17:05:03'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.025184 -3.356964)', '2026-07-23 17:05:09', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025157 -3.356987)'), GeomFromEWKT('SRID=4674;POINT (-39.025184 -3.356964)'))) / (select extract(epoch from '2026-07-23 17:05:09'::timestamp) - extract(epoch from '2026-07-23 17:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025157 -3.356987)'), GeomFromEWKT('SRID=4674;POINT (-39.025184 -3.356964)'))) / (select extract(epoch from '2026-07-23 17:05:09'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47446, 'SRID=4674;POINT (-39.025216 -3.356933)', '2026-07-23 17:05:16', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025184 -3.356964)'), GeomFromEWKT('SRID=4674;POINT (-39.025216 -3.356933)'))) / (select extract(epoch from '2026-07-23 17:05:16'::timestamp) - extract(epoch from '2026-07-23 17:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025184 -3.356964)'), GeomFromEWKT('SRID=4674;POINT (-39.025216 -3.356933)'))) / (select extract(epoch from '2026-07-23 17:05:16'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47446, 'SRID=4674;POINT (-39.025251 -3.356904)', '2026-07-23 17:05:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025216 -3.356933)'), GeomFromEWKT('SRID=4674;POINT (-39.025251 -3.356904)'))) / (select extract(epoch from '2026-07-23 17:05:22'::timestamp) - extract(epoch from '2026-07-23 17:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025216 -3.356933)'), GeomFromEWKT('SRID=4674;POINT (-39.025251 -3.356904)'))) / (select extract(epoch from '2026-07-23 17:05:22'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47446, 'SRID=4674;POINT (-39.025281 -3.356878)', '2026-07-23 17:05:28', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025251 -3.356904)'), GeomFromEWKT('SRID=4674;POINT (-39.025281 -3.356878)'))) / (select extract(epoch from '2026-07-23 17:05:28'::timestamp) - extract(epoch from '2026-07-23 17:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025251 -3.356904)'), GeomFromEWKT('SRID=4674;POINT (-39.025281 -3.356878)'))) / (select extract(epoch from '2026-07-23 17:05:28'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47446, 'SRID=4674;POINT (-39.025306 -3.356851)', '2026-07-23 17:05:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025281 -3.356878)'), GeomFromEWKT('SRID=4674;POINT (-39.025306 -3.356851)'))) / (select extract(epoch from '2026-07-23 17:05:34'::timestamp) - extract(epoch from '2026-07-23 17:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025281 -3.356878)'), GeomFromEWKT('SRID=4674;POINT (-39.025306 -3.356851)'))) / (select extract(epoch from '2026-07-23 17:05:34'::timestamp) - extract(epoch from '2026-07-23 17:05:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02535 -3.356812)', '2026-07-23 17:05:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025306 -3.356851)'), GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.356812)'))) / (select extract(epoch from '2026-07-23 17:05:43'::timestamp) - extract(epoch from '2026-07-23 17:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025306 -3.356851)'), GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.356812)'))) / (select extract(epoch from '2026-07-23 17:05:43'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47446, 'SRID=4674;POINT (-39.02538 -3.356784)', '2026-07-23 17:05:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.356812)'), GeomFromEWKT('SRID=4674;POINT (-39.02538 -3.356784)'))) / (select extract(epoch from '2026-07-23 17:05:49'::timestamp) - extract(epoch from '2026-07-23 17:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02535 -3.356812)'), GeomFromEWKT('SRID=4674;POINT (-39.02538 -3.356784)'))) / (select extract(epoch from '2026-07-23 17:05:49'::timestamp) - extract(epoch from '2026-07-23 17:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025412 -3.35676)', '2026-07-23 17:05:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02538 -3.356784)'), GeomFromEWKT('SRID=4674;POINT (-39.025412 -3.35676)'))) / (select extract(epoch from '2026-07-23 17:05:55'::timestamp) - extract(epoch from '2026-07-23 17:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02538 -3.356784)'), GeomFromEWKT('SRID=4674;POINT (-39.025412 -3.35676)'))) / (select extract(epoch from '2026-07-23 17:05:55'::timestamp) - extract(epoch from '2026-07-23 17:05:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025438 -3.35674)', '2026-07-23 17:06:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025412 -3.35676)'), GeomFromEWKT('SRID=4674;POINT (-39.025438 -3.35674)'))) / (select extract(epoch from '2026-07-23 17:06:00'::timestamp) - extract(epoch from '2026-07-23 17:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025412 -3.35676)'), GeomFromEWKT('SRID=4674;POINT (-39.025438 -3.35674)'))) / (select extract(epoch from '2026-07-23 17:06:00'::timestamp) - extract(epoch from '2026-07-23 17:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025471 -3.356711)', '2026-07-23 17:06:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025438 -3.35674)'), GeomFromEWKT('SRID=4674;POINT (-39.025471 -3.356711)'))) / (select extract(epoch from '2026-07-23 17:06:06'::timestamp) - extract(epoch from '2026-07-23 17:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025438 -3.35674)'), GeomFromEWKT('SRID=4674;POINT (-39.025471 -3.356711)'))) / (select extract(epoch from '2026-07-23 17:06:06'::timestamp) - extract(epoch from '2026-07-23 17:06:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025485 -3.356701)', '2026-07-23 17:06:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025471 -3.356711)'), GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.356701)'))) / (select extract(epoch from '2026-07-23 17:06:08'::timestamp) - extract(epoch from '2026-07-23 17:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025471 -3.356711)'), GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.356701)'))) / (select extract(epoch from '2026-07-23 17:06:08'::timestamp) - extract(epoch from '2026-07-23 17:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025499 -3.356686)', '2026-07-23 17:06:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.356701)'), GeomFromEWKT('SRID=4674;POINT (-39.025499 -3.356686)'))) / (select extract(epoch from '2026-07-23 17:06:11'::timestamp) - extract(epoch from '2026-07-23 17:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025485 -3.356701)'), GeomFromEWKT('SRID=4674;POINT (-39.025499 -3.356686)'))) / (select extract(epoch from '2026-07-23 17:06:11'::timestamp) - extract(epoch from '2026-07-23 17:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025532 -3.356661)', '2026-07-23 17:06:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025499 -3.356686)'), GeomFromEWKT('SRID=4674;POINT (-39.025532 -3.356661)'))) / (select extract(epoch from '2026-07-23 17:06:17'::timestamp) - extract(epoch from '2026-07-23 17:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025499 -3.356686)'), GeomFromEWKT('SRID=4674;POINT (-39.025532 -3.356661)'))) / (select extract(epoch from '2026-07-23 17:06:17'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47446, 'SRID=4674;POINT (-39.025538 -3.356648)', '2026-07-23 17:06:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025532 -3.356661)'), GeomFromEWKT('SRID=4674;POINT (-39.025538 -3.356648)'))) / (select extract(epoch from '2026-07-23 17:06:19'::timestamp) - extract(epoch from '2026-07-23 17:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025532 -3.356661)'), GeomFromEWKT('SRID=4674;POINT (-39.025538 -3.356648)'))) / (select extract(epoch from '2026-07-23 17:06:19'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47446, 'SRID=4674;POINT (-39.025574 -3.356612)', '2026-07-23 17:06:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025538 -3.356648)'), GeomFromEWKT('SRID=4674;POINT (-39.025574 -3.356612)'))) / (select extract(epoch from '2026-07-23 17:06:28'::timestamp) - extract(epoch from '2026-07-23 17:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025538 -3.356648)'), GeomFromEWKT('SRID=4674;POINT (-39.025574 -3.356612)'))) / (select extract(epoch from '2026-07-23 17:06:28'::timestamp) - extract(epoch from '2026-07-23 17:06:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025602 -3.356585)', '2026-07-23 17:06:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025574 -3.356612)'), GeomFromEWKT('SRID=4674;POINT (-39.025602 -3.356585)'))) / (select extract(epoch from '2026-07-23 17:06:34'::timestamp) - extract(epoch from '2026-07-23 17:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025574 -3.356612)'), GeomFromEWKT('SRID=4674;POINT (-39.025602 -3.356585)'))) / (select extract(epoch from '2026-07-23 17:06:34'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47446, 'SRID=4674;POINT (-39.025634 -3.356553)', '2026-07-23 17:06:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025602 -3.356585)'), GeomFromEWKT('SRID=4674;POINT (-39.025634 -3.356553)'))) / (select extract(epoch from '2026-07-23 17:06:42'::timestamp) - extract(epoch from '2026-07-23 17:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025602 -3.356585)'), GeomFromEWKT('SRID=4674;POINT (-39.025634 -3.356553)'))) / (select extract(epoch from '2026-07-23 17:06:42'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47446, 'SRID=4674;POINT (-39.025666 -3.356528)', '2026-07-23 17:06:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025634 -3.356553)'), GeomFromEWKT('SRID=4674;POINT (-39.025666 -3.356528)'))) / (select extract(epoch from '2026-07-23 17:06:49'::timestamp) - extract(epoch from '2026-07-23 17:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025634 -3.356553)'), GeomFromEWKT('SRID=4674;POINT (-39.025666 -3.356528)'))) / (select extract(epoch from '2026-07-23 17:06:49'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47446, 'SRID=4674;POINT (-39.025703 -3.356505)', '2026-07-23 17:06:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025666 -3.356528)'), GeomFromEWKT('SRID=4674;POINT (-39.025703 -3.356505)'))) / (select extract(epoch from '2026-07-23 17:06:56'::timestamp) - extract(epoch from '2026-07-23 17:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025666 -3.356528)'), GeomFromEWKT('SRID=4674;POINT (-39.025703 -3.356505)'))) / (select extract(epoch from '2026-07-23 17:06:56'::timestamp) - extract(epoch from '2026-07-23 17:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025735 -3.356483)', '2026-07-23 17:07:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025703 -3.356505)'), GeomFromEWKT('SRID=4674;POINT (-39.025735 -3.356483)'))) / (select extract(epoch from '2026-07-23 17:07:02'::timestamp) - extract(epoch from '2026-07-23 17:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025703 -3.356505)'), GeomFromEWKT('SRID=4674;POINT (-39.025735 -3.356483)'))) / (select extract(epoch from '2026-07-23 17:07:02'::timestamp) - extract(epoch from '2026-07-23 17:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025765 -3.356459)', '2026-07-23 17:07:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025735 -3.356483)'), GeomFromEWKT('SRID=4674;POINT (-39.025765 -3.356459)'))) / (select extract(epoch from '2026-07-23 17:07:08'::timestamp) - extract(epoch from '2026-07-23 17:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025735 -3.356483)'), GeomFromEWKT('SRID=4674;POINT (-39.025765 -3.356459)'))) / (select extract(epoch from '2026-07-23 17:07:08'::timestamp) - extract(epoch from '2026-07-23 17:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025773 -3.356454)', '2026-07-23 17:07:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025765 -3.356459)'), GeomFromEWKT('SRID=4674;POINT (-39.025773 -3.356454)'))) / (select extract(epoch from '2026-07-23 17:07:09'::timestamp) - extract(epoch from '2026-07-23 17:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025765 -3.356459)'), GeomFromEWKT('SRID=4674;POINT (-39.025773 -3.356454)'))) / (select extract(epoch from '2026-07-23 17:07:09'::timestamp) - extract(epoch from '2026-07-23 17:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025792 -3.356441)', '2026-07-23 17:07:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025773 -3.356454)'), GeomFromEWKT('SRID=4674;POINT (-39.025792 -3.356441)'))) / (select extract(epoch from '2026-07-23 17:07:12'::timestamp) - extract(epoch from '2026-07-23 17:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025773 -3.356454)'), GeomFromEWKT('SRID=4674;POINT (-39.025792 -3.356441)'))) / (select extract(epoch from '2026-07-23 17:07:12'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47446, 'SRID=4674;POINT (-39.025821 -3.356413)', '2026-07-23 17:07:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025792 -3.356441)'), GeomFromEWKT('SRID=4674;POINT (-39.025821 -3.356413)'))) / (select extract(epoch from '2026-07-23 17:07:17'::timestamp) - extract(epoch from '2026-07-23 17:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025792 -3.356441)'), GeomFromEWKT('SRID=4674;POINT (-39.025821 -3.356413)'))) / (select extract(epoch from '2026-07-23 17:07:17'::timestamp) - extract(epoch from '2026-07-23 17:07:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025829 -3.356401)', '2026-07-23 17:07:19', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025821 -3.356413)'), GeomFromEWKT('SRID=4674;POINT (-39.025829 -3.356401)'))) / (select extract(epoch from '2026-07-23 17:07:19'::timestamp) - extract(epoch from '2026-07-23 17:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025821 -3.356413)'), GeomFromEWKT('SRID=4674;POINT (-39.025829 -3.356401)'))) / (select extract(epoch from '2026-07-23 17:07:19'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47446, 'SRID=4674;POINT (-39.025842 -3.356387)', '2026-07-23 17:07:22', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025829 -3.356401)'), GeomFromEWKT('SRID=4674;POINT (-39.025842 -3.356387)'))) / (select extract(epoch from '2026-07-23 17:07:22'::timestamp) - extract(epoch from '2026-07-23 17:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025829 -3.356401)'), GeomFromEWKT('SRID=4674;POINT (-39.025842 -3.356387)'))) / (select extract(epoch from '2026-07-23 17:07:22'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47446, 'SRID=4674;POINT (-39.025865 -3.356372)', '2026-07-23 17:07:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025842 -3.356387)'), GeomFromEWKT('SRID=4674;POINT (-39.025865 -3.356372)'))) / (select extract(epoch from '2026-07-23 17:07:26'::timestamp) - extract(epoch from '2026-07-23 17:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025842 -3.356387)'), GeomFromEWKT('SRID=4674;POINT (-39.025865 -3.356372)'))) / (select extract(epoch from '2026-07-23 17:07:26'::timestamp) - extract(epoch from '2026-07-23 17:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.025902 -3.356348)', '2026-07-23 17:07:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025865 -3.356372)'), GeomFromEWKT('SRID=4674;POINT (-39.025902 -3.356348)'))) / (select extract(epoch from '2026-07-23 17:07:33'::timestamp) - extract(epoch from '2026-07-23 17:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025865 -3.356372)'), GeomFromEWKT('SRID=4674;POINT (-39.025902 -3.356348)'))) / (select extract(epoch from '2026-07-23 17:07:33'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47446, 'SRID=4674;POINT (-39.025939 -3.356322)', '2026-07-23 17:07:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025902 -3.356348)'), GeomFromEWKT('SRID=4674;POINT (-39.025939 -3.356322)'))) / (select extract(epoch from '2026-07-23 17:07:40'::timestamp) - extract(epoch from '2026-07-23 17:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025902 -3.356348)'), GeomFromEWKT('SRID=4674;POINT (-39.025939 -3.356322)'))) / (select extract(epoch from '2026-07-23 17:07:40'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47446, 'SRID=4674;POINT (-39.025966 -3.356301)', '2026-07-23 17:07:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025939 -3.356322)'), GeomFromEWKT('SRID=4674;POINT (-39.025966 -3.356301)'))) / (select extract(epoch from '2026-07-23 17:07:45'::timestamp) - extract(epoch from '2026-07-23 17:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025939 -3.356322)'), GeomFromEWKT('SRID=4674;POINT (-39.025966 -3.356301)'))) / (select extract(epoch from '2026-07-23 17:07:45'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47446, 'SRID=4674;POINT (-39.026012 -3.356266)', '2026-07-23 17:07:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025966 -3.356301)'), GeomFromEWKT('SRID=4674;POINT (-39.026012 -3.356266)'))) / (select extract(epoch from '2026-07-23 17:07:54'::timestamp) - extract(epoch from '2026-07-23 17:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025966 -3.356301)'), GeomFromEWKT('SRID=4674;POINT (-39.026012 -3.356266)'))) / (select extract(epoch from '2026-07-23 17:07:54'::timestamp) - extract(epoch from '2026-07-23 17:07:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02605 -3.35624)', '2026-07-23 17:08:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026012 -3.356266)'), GeomFromEWKT('SRID=4674;POINT (-39.02605 -3.35624)'))) / (select extract(epoch from '2026-07-23 17:08:01'::timestamp) - extract(epoch from '2026-07-23 17:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026012 -3.356266)'), GeomFromEWKT('SRID=4674;POINT (-39.02605 -3.35624)'))) / (select extract(epoch from '2026-07-23 17:08:01'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47446, 'SRID=4674;POINT (-39.026081 -3.356213)', '2026-07-23 17:08:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02605 -3.35624)'), GeomFromEWKT('SRID=4674;POINT (-39.026081 -3.356213)'))) / (select extract(epoch from '2026-07-23 17:08:08'::timestamp) - extract(epoch from '2026-07-23 17:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02605 -3.35624)'), GeomFromEWKT('SRID=4674;POINT (-39.026081 -3.356213)'))) / (select extract(epoch from '2026-07-23 17:08:08'::timestamp) - extract(epoch from '2026-07-23 17:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026091 -3.356203)', '2026-07-23 17:08:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026081 -3.356213)'), GeomFromEWKT('SRID=4674;POINT (-39.026091 -3.356203)'))) / (select extract(epoch from '2026-07-23 17:08:10'::timestamp) - extract(epoch from '2026-07-23 17:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026081 -3.356213)'), GeomFromEWKT('SRID=4674;POINT (-39.026091 -3.356203)'))) / (select extract(epoch from '2026-07-23 17:08:10'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.026114 -3.356186)', '2026-07-23 17:08:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026091 -3.356203)'), GeomFromEWKT('SRID=4674;POINT (-39.026114 -3.356186)'))) / (select extract(epoch from '2026-07-23 17:08:14'::timestamp) - extract(epoch from '2026-07-23 17:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026091 -3.356203)'), GeomFromEWKT('SRID=4674;POINT (-39.026114 -3.356186)'))) / (select extract(epoch from '2026-07-23 17:08:14'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47446, 'SRID=4674;POINT (-39.026153 -3.356154)', '2026-07-23 17:08:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026114 -3.356186)'), GeomFromEWKT('SRID=4674;POINT (-39.026153 -3.356154)'))) / (select extract(epoch from '2026-07-23 17:08:23'::timestamp) - extract(epoch from '2026-07-23 17:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026114 -3.356186)'), GeomFromEWKT('SRID=4674;POINT (-39.026153 -3.356154)'))) / (select extract(epoch from '2026-07-23 17:08:23'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47446, 'SRID=4674;POINT (-39.026188 -3.356124)', '2026-07-23 17:08:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026153 -3.356154)'), GeomFromEWKT('SRID=4674;POINT (-39.026188 -3.356124)'))) / (select extract(epoch from '2026-07-23 17:08:30'::timestamp) - extract(epoch from '2026-07-23 17:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026153 -3.356154)'), GeomFromEWKT('SRID=4674;POINT (-39.026188 -3.356124)'))) / (select extract(epoch from '2026-07-23 17:08:30'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47446, 'SRID=4674;POINT (-39.026212 -3.3561)', '2026-07-23 17:08:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026188 -3.356124)'), GeomFromEWKT('SRID=4674;POINT (-39.026212 -3.3561)'))) / (select extract(epoch from '2026-07-23 17:08:36'::timestamp) - extract(epoch from '2026-07-23 17:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026188 -3.356124)'), GeomFromEWKT('SRID=4674;POINT (-39.026212 -3.3561)'))) / (select extract(epoch from '2026-07-23 17:08:36'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47446, 'SRID=4674;POINT (-39.026218 -3.356097)', '2026-07-23 17:08:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026212 -3.3561)'), GeomFromEWKT('SRID=4674;POINT (-39.026218 -3.356097)'))) / (select extract(epoch from '2026-07-23 17:08:37'::timestamp) - extract(epoch from '2026-07-23 17:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026212 -3.3561)'), GeomFromEWKT('SRID=4674;POINT (-39.026218 -3.356097)'))) / (select extract(epoch from '2026-07-23 17:08:37'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47446, 'SRID=4674;POINT (-39.02624 -3.356074)', '2026-07-23 17:08:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026218 -3.356097)'), GeomFromEWKT('SRID=4674;POINT (-39.02624 -3.356074)'))) / (select extract(epoch from '2026-07-23 17:08:42'::timestamp) - extract(epoch from '2026-07-23 17:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026218 -3.356097)'), GeomFromEWKT('SRID=4674;POINT (-39.02624 -3.356074)'))) / (select extract(epoch from '2026-07-23 17:08:42'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47446, 'SRID=4674;POINT (-39.026275 -3.356033)', '2026-07-23 17:08:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02624 -3.356074)'), GeomFromEWKT('SRID=4674;POINT (-39.026275 -3.356033)'))) / (select extract(epoch from '2026-07-23 17:08:51'::timestamp) - extract(epoch from '2026-07-23 17:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02624 -3.356074)'), GeomFromEWKT('SRID=4674;POINT (-39.026275 -3.356033)'))) / (select extract(epoch from '2026-07-23 17:08:51'::timestamp) - extract(epoch from '2026-07-23 17:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026299 -3.356016)', '2026-07-23 17:08:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026275 -3.356033)'), GeomFromEWKT('SRID=4674;POINT (-39.026299 -3.356016)'))) / (select extract(epoch from '2026-07-23 17:08:55'::timestamp) - extract(epoch from '2026-07-23 17:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026275 -3.356033)'), GeomFromEWKT('SRID=4674;POINT (-39.026299 -3.356016)'))) / (select extract(epoch from '2026-07-23 17:08:55'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47446, 'SRID=4674;POINT (-39.02633 -3.355987)', '2026-07-23 17:09:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026299 -3.356016)'), GeomFromEWKT('SRID=4674;POINT (-39.02633 -3.355987)'))) / (select extract(epoch from '2026-07-23 17:09:01'::timestamp) - extract(epoch from '2026-07-23 17:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026299 -3.356016)'), GeomFromEWKT('SRID=4674;POINT (-39.02633 -3.355987)'))) / (select extract(epoch from '2026-07-23 17:09:01'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47446, 'SRID=4674;POINT (-39.026361 -3.355955)', '2026-07-23 17:09:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02633 -3.355987)'), GeomFromEWKT('SRID=4674;POINT (-39.026361 -3.355955)'))) / (select extract(epoch from '2026-07-23 17:09:07'::timestamp) - extract(epoch from '2026-07-23 17:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02633 -3.355987)'), GeomFromEWKT('SRID=4674;POINT (-39.026361 -3.355955)'))) / (select extract(epoch from '2026-07-23 17:09:07'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.026394 -3.355926)', '2026-07-23 17:09:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026361 -3.355955)'), GeomFromEWKT('SRID=4674;POINT (-39.026394 -3.355926)'))) / (select extract(epoch from '2026-07-23 17:09:14'::timestamp) - extract(epoch from '2026-07-23 17:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026361 -3.355955)'), GeomFromEWKT('SRID=4674;POINT (-39.026394 -3.355926)'))) / (select extract(epoch from '2026-07-23 17:09:14'::timestamp) - extract(epoch from '2026-07-23 17:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026429 -3.355896)', '2026-07-23 17:09:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026394 -3.355926)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.355896)'))) / (select extract(epoch from '2026-07-23 17:09:21'::timestamp) - extract(epoch from '2026-07-23 17:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026394 -3.355926)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.355896)'))) / (select extract(epoch from '2026-07-23 17:09:21'::timestamp) - extract(epoch from '2026-07-23 17:09:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026451 -3.355871)', '2026-07-23 17:09:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.355896)'), GeomFromEWKT('SRID=4674;POINT (-39.026451 -3.355871)'))) / (select extract(epoch from '2026-07-23 17:09:27'::timestamp) - extract(epoch from '2026-07-23 17:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.355896)'), GeomFromEWKT('SRID=4674;POINT (-39.026451 -3.355871)'))) / (select extract(epoch from '2026-07-23 17:09:27'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.026482 -3.355844)', '2026-07-23 17:09:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026451 -3.355871)'), GeomFromEWKT('SRID=4674;POINT (-39.026482 -3.355844)'))) / (select extract(epoch from '2026-07-23 17:09:34'::timestamp) - extract(epoch from '2026-07-23 17:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026451 -3.355871)'), GeomFromEWKT('SRID=4674;POINT (-39.026482 -3.355844)'))) / (select extract(epoch from '2026-07-23 17:09:34'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.026492 -3.355835)', '2026-07-23 17:09:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026482 -3.355844)'), GeomFromEWKT('SRID=4674;POINT (-39.026492 -3.355835)'))) / (select extract(epoch from '2026-07-23 17:09:37'::timestamp) - extract(epoch from '2026-07-23 17:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026482 -3.355844)'), GeomFromEWKT('SRID=4674;POINT (-39.026492 -3.355835)'))) / (select extract(epoch from '2026-07-23 17:09:37'::timestamp) - extract(epoch from '2026-07-23 17:09: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'), 47446, 'SRID=4674;POINT (-39.026506 -3.355825)', '2026-07-23 17:09:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026492 -3.355835)'), GeomFromEWKT('SRID=4674;POINT (-39.026506 -3.355825)'))) / (select extract(epoch from '2026-07-23 17:09:40'::timestamp) - extract(epoch from '2026-07-23 17:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026492 -3.355835)'), GeomFromEWKT('SRID=4674;POINT (-39.026506 -3.355825)'))) / (select extract(epoch from '2026-07-23 17:09:40'::timestamp) - extract(epoch from '2026-07-23 17:09: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'), 47446, 'SRID=4674;POINT (-39.026539 -3.355806)', '2026-07-23 17:09:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026506 -3.355825)'), GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.355806)'))) / (select extract(epoch from '2026-07-23 17:09:46'::timestamp) - extract(epoch from '2026-07-23 17:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026506 -3.355825)'), GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.355806)'))) / (select extract(epoch from '2026-07-23 17:09:46'::timestamp) - extract(epoch from '2026-07-23 17:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02658 -3.355784)', '2026-07-23 17:09:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.355806)'), GeomFromEWKT('SRID=4674;POINT (-39.02658 -3.355784)'))) / (select extract(epoch from '2026-07-23 17:09:52'::timestamp) - extract(epoch from '2026-07-23 17:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026539 -3.355806)'), GeomFromEWKT('SRID=4674;POINT (-39.02658 -3.355784)'))) / (select extract(epoch from '2026-07-23 17:09:52'::timestamp) - extract(epoch from '2026-07-23 17:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026614 -3.355757)', '2026-07-23 17:09:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02658 -3.355784)'), GeomFromEWKT('SRID=4674;POINT (-39.026614 -3.355757)'))) / (select extract(epoch from '2026-07-23 17:09:58'::timestamp) - extract(epoch from '2026-07-23 17:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02658 -3.355784)'), GeomFromEWKT('SRID=4674;POINT (-39.026614 -3.355757)'))) / (select extract(epoch from '2026-07-23 17:09:58'::timestamp) - extract(epoch from '2026-07-23 17:09: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'), 47446, 'SRID=4674;POINT (-39.02665 -3.355732)', '2026-07-23 17:10:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026614 -3.355757)'), GeomFromEWKT('SRID=4674;POINT (-39.02665 -3.355732)'))) / (select extract(epoch from '2026-07-23 17:10:05'::timestamp) - extract(epoch from '2026-07-23 17:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026614 -3.355757)'), GeomFromEWKT('SRID=4674;POINT (-39.02665 -3.355732)'))) / (select extract(epoch from '2026-07-23 17:10:05'::timestamp) - extract(epoch from '2026-07-23 17:09: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'), 47446, 'SRID=4674;POINT (-39.026671 -3.35571)', '2026-07-23 17:10:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02665 -3.355732)'), GeomFromEWKT('SRID=4674;POINT (-39.026671 -3.35571)'))) / (select extract(epoch from '2026-07-23 17:10:10'::timestamp) - extract(epoch from '2026-07-23 17:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02665 -3.355732)'), GeomFromEWKT('SRID=4674;POINT (-39.026671 -3.35571)'))) / (select extract(epoch from '2026-07-23 17:10:10'::timestamp) - extract(epoch from '2026-07-23 17:10: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'), 47446, 'SRID=4674;POINT (-39.026685 -3.355702)', '2026-07-23 17:10:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026671 -3.35571)'), GeomFromEWKT('SRID=4674;POINT (-39.026685 -3.355702)'))) / (select extract(epoch from '2026-07-23 17:10:12'::timestamp) - extract(epoch from '2026-07-23 17:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026671 -3.35571)'), GeomFromEWKT('SRID=4674;POINT (-39.026685 -3.355702)'))) / (select extract(epoch from '2026-07-23 17:10:12'::timestamp) - extract(epoch from '2026-07-23 17:10: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'), 47446, 'SRID=4674;POINT (-39.026707 -3.355681)', '2026-07-23 17:10:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026685 -3.355702)'), GeomFromEWKT('SRID=4674;POINT (-39.026707 -3.355681)'))) / (select extract(epoch from '2026-07-23 17:10:18'::timestamp) - extract(epoch from '2026-07-23 17:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026685 -3.355702)'), GeomFromEWKT('SRID=4674;POINT (-39.026707 -3.355681)'))) / (select extract(epoch from '2026-07-23 17:10:18'::timestamp) - extract(epoch from '2026-07-23 17:10: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'), 47446, 'SRID=4674;POINT (-39.026726 -3.355666)', '2026-07-23 17:10:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026707 -3.355681)'), GeomFromEWKT('SRID=4674;POINT (-39.026726 -3.355666)'))) / (select extract(epoch from '2026-07-23 17:10:23'::timestamp) - extract(epoch from '2026-07-23 17:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026707 -3.355681)'), GeomFromEWKT('SRID=4674;POINT (-39.026726 -3.355666)'))) / (select extract(epoch from '2026-07-23 17:10:23'::timestamp) - extract(epoch from '2026-07-23 17:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026737 -3.355665)', '2026-07-23 17:10:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026726 -3.355666)'), GeomFromEWKT('SRID=4674;POINT (-39.026737 -3.355665)'))) / (select extract(epoch from '2026-07-23 17:10:24'::timestamp) - extract(epoch from '2026-07-23 17:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026726 -3.355666)'), GeomFromEWKT('SRID=4674;POINT (-39.026737 -3.355665)'))) / (select extract(epoch from '2026-07-23 17:10:24'::timestamp) - extract(epoch from '2026-07-23 17:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026745 -3.355646)', '2026-07-23 17:10:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026737 -3.355665)'), GeomFromEWKT('SRID=4674;POINT (-39.026745 -3.355646)'))) / (select extract(epoch from '2026-07-23 17:10:28'::timestamp) - extract(epoch from '2026-07-23 17:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026737 -3.355665)'), GeomFromEWKT('SRID=4674;POINT (-39.026745 -3.355646)'))) / (select extract(epoch from '2026-07-23 17:10:28'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.026758 -3.355646)', '2026-07-23 17:10:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026745 -3.355646)'), GeomFromEWKT('SRID=4674;POINT (-39.026758 -3.355646)'))) / (select extract(epoch from '2026-07-23 17:10:29'::timestamp) - extract(epoch from '2026-07-23 17:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026745 -3.355646)'), GeomFromEWKT('SRID=4674;POINT (-39.026758 -3.355646)'))) / (select extract(epoch from '2026-07-23 17:10:29'::timestamp) - extract(epoch from '2026-07-23 17:10: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'), 47446, 'SRID=4674;POINT (-39.026777 -3.355638)', '2026-07-23 17:10:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026758 -3.355646)'), GeomFromEWKT('SRID=4674;POINT (-39.026777 -3.355638)'))) / (select extract(epoch from '2026-07-23 17:10:32'::timestamp) - extract(epoch from '2026-07-23 17:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026758 -3.355646)'), GeomFromEWKT('SRID=4674;POINT (-39.026777 -3.355638)'))) / (select extract(epoch from '2026-07-23 17:10:32'::timestamp) - extract(epoch from '2026-07-23 17:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026819 -3.355613)', '2026-07-23 17:10:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026777 -3.355638)'), GeomFromEWKT('SRID=4674;POINT (-39.026819 -3.355613)'))) / (select extract(epoch from '2026-07-23 17:10:39'::timestamp) - extract(epoch from '2026-07-23 17:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026777 -3.355638)'), GeomFromEWKT('SRID=4674;POINT (-39.026819 -3.355613)'))) / (select extract(epoch from '2026-07-23 17:10:39'::timestamp) - extract(epoch from '2026-07-23 17:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026829 -3.355609)', '2026-07-23 17:10:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026819 -3.355613)'), GeomFromEWKT('SRID=4674;POINT (-39.026829 -3.355609)'))) / (select extract(epoch from '2026-07-23 17:10:40'::timestamp) - extract(epoch from '2026-07-23 17:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026819 -3.355613)'), GeomFromEWKT('SRID=4674;POINT (-39.026829 -3.355609)'))) / (select extract(epoch from '2026-07-23 17:10:40'::timestamp) - extract(epoch from '2026-07-23 17:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026839 -3.355599)', '2026-07-23 17:10:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026829 -3.355609)'), GeomFromEWKT('SRID=4674;POINT (-39.026839 -3.355599)'))) / (select extract(epoch from '2026-07-23 17:10:43'::timestamp) - extract(epoch from '2026-07-23 17:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026829 -3.355609)'), GeomFromEWKT('SRID=4674;POINT (-39.026839 -3.355599)'))) / (select extract(epoch from '2026-07-23 17:10:43'::timestamp) - extract(epoch from '2026-07-23 17:10: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'), 47446, 'SRID=4674;POINT (-39.026847 -3.355597)', '2026-07-23 17:10:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026839 -3.355599)'), GeomFromEWKT('SRID=4674;POINT (-39.026847 -3.355597)'))) / (select extract(epoch from '2026-07-23 17:10:44'::timestamp) - extract(epoch from '2026-07-23 17:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026839 -3.355599)'), GeomFromEWKT('SRID=4674;POINT (-39.026847 -3.355597)'))) / (select extract(epoch from '2026-07-23 17:10:44'::timestamp) - extract(epoch from '2026-07-23 17:10: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'), 47446, 'SRID=4674;POINT (-39.026862 -3.355581)', '2026-07-23 17:10:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026847 -3.355597)'), GeomFromEWKT('SRID=4674;POINT (-39.026862 -3.355581)'))) / (select extract(epoch from '2026-07-23 17:10:47'::timestamp) - extract(epoch from '2026-07-23 17:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026847 -3.355597)'), GeomFromEWKT('SRID=4674;POINT (-39.026862 -3.355581)'))) / (select extract(epoch from '2026-07-23 17:10:47'::timestamp) - extract(epoch from '2026-07-23 17:10: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'), 47446, 'SRID=4674;POINT (-39.026897 -3.355547)', '2026-07-23 17:10:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026862 -3.355581)'), GeomFromEWKT('SRID=4674;POINT (-39.026897 -3.355547)'))) / (select extract(epoch from '2026-07-23 17:10:54'::timestamp) - extract(epoch from '2026-07-23 17:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026862 -3.355581)'), GeomFromEWKT('SRID=4674;POINT (-39.026897 -3.355547)'))) / (select extract(epoch from '2026-07-23 17:10:54'::timestamp) - extract(epoch from '2026-07-23 17:10:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026934 -3.355516)', '2026-07-23 17:11:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026897 -3.355547)'), GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.355516)'))) / (select extract(epoch from '2026-07-23 17:11:01'::timestamp) - extract(epoch from '2026-07-23 17:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026897 -3.355547)'), GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.355516)'))) / (select extract(epoch from '2026-07-23 17:11:01'::timestamp) - extract(epoch from '2026-07-23 17:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.026961 -3.355502)', '2026-07-23 17:11:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.355516)'), GeomFromEWKT('SRID=4674;POINT (-39.026961 -3.355502)'))) / (select extract(epoch from '2026-07-23 17:11:05'::timestamp) - extract(epoch from '2026-07-23 17:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.355516)'), GeomFromEWKT('SRID=4674;POINT (-39.026961 -3.355502)'))) / (select extract(epoch from '2026-07-23 17:11:05'::timestamp) - extract(epoch from '2026-07-23 17:11: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'), 47446, 'SRID=4674;POINT (-39.026966 -3.355496)', '2026-07-23 17:11:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026961 -3.355502)'), GeomFromEWKT('SRID=4674;POINT (-39.026966 -3.355496)'))) / (select extract(epoch from '2026-07-23 17:11:06'::timestamp) - extract(epoch from '2026-07-23 17:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026961 -3.355502)'), GeomFromEWKT('SRID=4674;POINT (-39.026966 -3.355496)'))) / (select extract(epoch from '2026-07-23 17:11:06'::timestamp) - extract(epoch from '2026-07-23 17:11: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'), 47446, 'SRID=4674;POINT (-39.026992 -3.355472)', '2026-07-23 17:11:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026966 -3.355496)'), GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.355472)'))) / (select extract(epoch from '2026-07-23 17:11:12'::timestamp) - extract(epoch from '2026-07-23 17:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026966 -3.355496)'), GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.355472)'))) / (select extract(epoch from '2026-07-23 17:11:12'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.027016 -3.35546)', '2026-07-23 17:11:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.355472)'), GeomFromEWKT('SRID=4674;POINT (-39.027016 -3.35546)'))) / (select extract(epoch from '2026-07-23 17:11:17'::timestamp) - extract(epoch from '2026-07-23 17:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026992 -3.355472)'), GeomFromEWKT('SRID=4674;POINT (-39.027016 -3.35546)'))) / (select extract(epoch from '2026-07-23 17:11:17'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.027052 -3.355432)', '2026-07-23 17:11:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027016 -3.35546)'), GeomFromEWKT('SRID=4674;POINT (-39.027052 -3.355432)'))) / (select extract(epoch from '2026-07-23 17:11:25'::timestamp) - extract(epoch from '2026-07-23 17:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027016 -3.35546)'), GeomFromEWKT('SRID=4674;POINT (-39.027052 -3.355432)'))) / (select extract(epoch from '2026-07-23 17:11:25'::timestamp) - extract(epoch from '2026-07-23 17:11:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027059 -3.355429)', '2026-07-23 17:11:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027052 -3.355432)'), GeomFromEWKT('SRID=4674;POINT (-39.027059 -3.355429)'))) / (select extract(epoch from '2026-07-23 17:11:26'::timestamp) - extract(epoch from '2026-07-23 17:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027052 -3.355432)'), GeomFromEWKT('SRID=4674;POINT (-39.027059 -3.355429)'))) / (select extract(epoch from '2026-07-23 17:11:26'::timestamp) - extract(epoch from '2026-07-23 17:11: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'), 47446, 'SRID=4674;POINT (-39.027072 -3.355419)', '2026-07-23 17:11:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027059 -3.355429)'), GeomFromEWKT('SRID=4674;POINT (-39.027072 -3.355419)'))) / (select extract(epoch from '2026-07-23 17:11:30'::timestamp) - extract(epoch from '2026-07-23 17:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027059 -3.355429)'), GeomFromEWKT('SRID=4674;POINT (-39.027072 -3.355419)'))) / (select extract(epoch from '2026-07-23 17:11:30'::timestamp) - extract(epoch from '2026-07-23 17:11: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'), 47446, 'SRID=4674;POINT (-39.027119 -3.355386)', '2026-07-23 17:11:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027072 -3.355419)'), GeomFromEWKT('SRID=4674;POINT (-39.027119 -3.355386)'))) / (select extract(epoch from '2026-07-23 17:11:39'::timestamp) - extract(epoch from '2026-07-23 17:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027072 -3.355419)'), GeomFromEWKT('SRID=4674;POINT (-39.027119 -3.355386)'))) / (select extract(epoch from '2026-07-23 17:11:39'::timestamp) - extract(epoch from '2026-07-23 17:11: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'), 47446, 'SRID=4674;POINT (-39.027152 -3.355365)', '2026-07-23 17:11:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027119 -3.355386)'), GeomFromEWKT('SRID=4674;POINT (-39.027152 -3.355365)'))) / (select extract(epoch from '2026-07-23 17:11:45'::timestamp) - extract(epoch from '2026-07-23 17:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027119 -3.355386)'), GeomFromEWKT('SRID=4674;POINT (-39.027152 -3.355365)'))) / (select extract(epoch from '2026-07-23 17:11:45'::timestamp) - extract(epoch from '2026-07-23 17:11: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'), 47446, 'SRID=4674;POINT (-39.027182 -3.355343)', '2026-07-23 17:11:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027152 -3.355365)'), GeomFromEWKT('SRID=4674;POINT (-39.027182 -3.355343)'))) / (select extract(epoch from '2026-07-23 17:11:51'::timestamp) - extract(epoch from '2026-07-23 17:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027152 -3.355365)'), GeomFromEWKT('SRID=4674;POINT (-39.027182 -3.355343)'))) / (select extract(epoch from '2026-07-23 17:11:51'::timestamp) - extract(epoch from '2026-07-23 17:11: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'), 47446, 'SRID=4674;POINT (-39.027216 -3.355325)', '2026-07-23 17:11:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027182 -3.355343)'), GeomFromEWKT('SRID=4674;POINT (-39.027216 -3.355325)'))) / (select extract(epoch from '2026-07-23 17:11:58'::timestamp) - extract(epoch from '2026-07-23 17:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027182 -3.355343)'), GeomFromEWKT('SRID=4674;POINT (-39.027216 -3.355325)'))) / (select extract(epoch from '2026-07-23 17:11:58'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.027253 -3.355297)', '2026-07-23 17:12:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027216 -3.355325)'), GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.355297)'))) / (select extract(epoch from '2026-07-23 17:12:06'::timestamp) - extract(epoch from '2026-07-23 17:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027216 -3.355325)'), GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.355297)'))) / (select extract(epoch from '2026-07-23 17:12:06'::timestamp) - extract(epoch from '2026-07-23 17:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027298 -3.355271)', '2026-07-23 17:12:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.355297)'), GeomFromEWKT('SRID=4674;POINT (-39.027298 -3.355271)'))) / (select extract(epoch from '2026-07-23 17:12:13'::timestamp) - extract(epoch from '2026-07-23 17:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027253 -3.355297)'), GeomFromEWKT('SRID=4674;POINT (-39.027298 -3.355271)'))) / (select extract(epoch from '2026-07-23 17:12:13'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47446, 'SRID=4674;POINT (-39.027334 -3.355244)', '2026-07-23 17:12:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027298 -3.355271)'), GeomFromEWKT('SRID=4674;POINT (-39.027334 -3.355244)'))) / (select extract(epoch from '2026-07-23 17:12:20'::timestamp) - extract(epoch from '2026-07-23 17:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027298 -3.355271)'), GeomFromEWKT('SRID=4674;POINT (-39.027334 -3.355244)'))) / (select extract(epoch from '2026-07-23 17:12:20'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47446, 'SRID=4674;POINT (-39.027368 -3.355214)', '2026-07-23 17:12:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027334 -3.355244)'), GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.355214)'))) / (select extract(epoch from '2026-07-23 17:12:27'::timestamp) - extract(epoch from '2026-07-23 17:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027334 -3.355244)'), GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.355214)'))) / (select extract(epoch from '2026-07-23 17:12:27'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.027389 -3.35519)', '2026-07-23 17:12:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.355214)'), GeomFromEWKT('SRID=4674;POINT (-39.027389 -3.35519)'))) / (select extract(epoch from '2026-07-23 17:12:33'::timestamp) - extract(epoch from '2026-07-23 17:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.355214)'), GeomFromEWKT('SRID=4674;POINT (-39.027389 -3.35519)'))) / (select extract(epoch from '2026-07-23 17:12:33'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47446, 'SRID=4674;POINT (-39.027415 -3.355175)', '2026-07-23 17:12:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027389 -3.35519)'), GeomFromEWKT('SRID=4674;POINT (-39.027415 -3.355175)'))) / (select extract(epoch from '2026-07-23 17:12:39'::timestamp) - extract(epoch from '2026-07-23 17:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027389 -3.35519)'), GeomFromEWKT('SRID=4674;POINT (-39.027415 -3.355175)'))) / (select extract(epoch from '2026-07-23 17:12:39'::timestamp) - extract(epoch from '2026-07-23 17:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02745 -3.355155)', '2026-07-23 17:12:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027415 -3.355175)'), GeomFromEWKT('SRID=4674;POINT (-39.02745 -3.355155)'))) / (select extract(epoch from '2026-07-23 17:12:46'::timestamp) - extract(epoch from '2026-07-23 17:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027415 -3.355175)'), GeomFromEWKT('SRID=4674;POINT (-39.02745 -3.355155)'))) / (select extract(epoch from '2026-07-23 17:12:46'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47446, 'SRID=4674;POINT (-39.027474 -3.355139)', '2026-07-23 17:12:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02745 -3.355155)'), GeomFromEWKT('SRID=4674;POINT (-39.027474 -3.355139)'))) / (select extract(epoch from '2026-07-23 17:12:51'::timestamp) - extract(epoch from '2026-07-23 17:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02745 -3.355155)'), GeomFromEWKT('SRID=4674;POINT (-39.027474 -3.355139)'))) / (select extract(epoch from '2026-07-23 17:12:51'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47446, 'SRID=4674;POINT (-39.02751 -3.355111)', '2026-07-23 17:12:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027474 -3.355139)'), GeomFromEWKT('SRID=4674;POINT (-39.02751 -3.355111)'))) / (select extract(epoch from '2026-07-23 17:12:59'::timestamp) - extract(epoch from '2026-07-23 17:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027474 -3.355139)'), GeomFromEWKT('SRID=4674;POINT (-39.02751 -3.355111)'))) / (select extract(epoch from '2026-07-23 17:12:59'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47446, 'SRID=4674;POINT (-39.027528 -3.3551)', '2026-07-23 17:13:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02751 -3.355111)'), GeomFromEWKT('SRID=4674;POINT (-39.027528 -3.3551)'))) / (select extract(epoch from '2026-07-23 17:13:02'::timestamp) - extract(epoch from '2026-07-23 17:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02751 -3.355111)'), GeomFromEWKT('SRID=4674;POINT (-39.027528 -3.3551)'))) / (select extract(epoch from '2026-07-23 17:13:02'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47446, 'SRID=4674;POINT (-39.02754 -3.355094)', '2026-07-23 17:13:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027528 -3.3551)'), GeomFromEWKT('SRID=4674;POINT (-39.02754 -3.355094)'))) / (select extract(epoch from '2026-07-23 17:13:04'::timestamp) - extract(epoch from '2026-07-23 17:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027528 -3.3551)'), GeomFromEWKT('SRID=4674;POINT (-39.02754 -3.355094)'))) / (select extract(epoch from '2026-07-23 17:13:04'::timestamp) - extract(epoch from '2026-07-23 17:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027568 -3.35508)', '2026-07-23 17:13:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02754 -3.355094)'), GeomFromEWKT('SRID=4674;POINT (-39.027568 -3.35508)'))) / (select extract(epoch from '2026-07-23 17:13:10'::timestamp) - extract(epoch from '2026-07-23 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02754 -3.355094)'), GeomFromEWKT('SRID=4674;POINT (-39.027568 -3.35508)'))) / (select extract(epoch from '2026-07-23 17:13:10'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.027581 -3.35507)', '2026-07-23 17:13:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027568 -3.35508)'), GeomFromEWKT('SRID=4674;POINT (-39.027581 -3.35507)'))) / (select extract(epoch from '2026-07-23 17:13:13'::timestamp) - extract(epoch from '2026-07-23 17:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027568 -3.35508)'), GeomFromEWKT('SRID=4674;POINT (-39.027581 -3.35507)'))) / (select extract(epoch from '2026-07-23 17:13:13'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.027593 -3.355056)', '2026-07-23 17:13:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027581 -3.35507)'), GeomFromEWKT('SRID=4674;POINT (-39.027593 -3.355056)'))) / (select extract(epoch from '2026-07-23 17:13:15'::timestamp) - extract(epoch from '2026-07-23 17:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027581 -3.35507)'), GeomFromEWKT('SRID=4674;POINT (-39.027593 -3.355056)'))) / (select extract(epoch from '2026-07-23 17:13:15'::timestamp) - extract(epoch from '2026-07-23 17:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027612 -3.355043)', '2026-07-23 17:13:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027593 -3.355056)'), GeomFromEWKT('SRID=4674;POINT (-39.027612 -3.355043)'))) / (select extract(epoch from '2026-07-23 17:13:18'::timestamp) - extract(epoch from '2026-07-23 17:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027593 -3.355056)'), GeomFromEWKT('SRID=4674;POINT (-39.027612 -3.355043)'))) / (select extract(epoch from '2026-07-23 17:13:18'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.02763 -3.355028)', '2026-07-23 17:13:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027612 -3.355043)'), GeomFromEWKT('SRID=4674;POINT (-39.02763 -3.355028)'))) / (select extract(epoch from '2026-07-23 17:13:21'::timestamp) - extract(epoch from '2026-07-23 17:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027612 -3.355043)'), GeomFromEWKT('SRID=4674;POINT (-39.02763 -3.355028)'))) / (select extract(epoch from '2026-07-23 17:13:21'::timestamp) - extract(epoch from '2026-07-23 17:13: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'), 47446, 'SRID=4674;POINT (-39.027661 -3.355005)', '2026-07-23 17:13:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02763 -3.355028)'), GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.355005)'))) / (select extract(epoch from '2026-07-23 17:13:27'::timestamp) - extract(epoch from '2026-07-23 17:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02763 -3.355028)'), GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.355005)'))) / (select extract(epoch from '2026-07-23 17:13:27'::timestamp) - extract(epoch from '2026-07-23 17:13: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'), 47446, 'SRID=4674;POINT (-39.027685 -3.354982)', '2026-07-23 17:13:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.355005)'), GeomFromEWKT('SRID=4674;POINT (-39.027685 -3.354982)'))) / (select extract(epoch from '2026-07-23 17:13:33'::timestamp) - extract(epoch from '2026-07-23 17:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.355005)'), GeomFromEWKT('SRID=4674;POINT (-39.027685 -3.354982)'))) / (select extract(epoch from '2026-07-23 17:13:33'::timestamp) - extract(epoch from '2026-07-23 17:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027716 -3.354958)', '2026-07-23 17:13:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027685 -3.354982)'), GeomFromEWKT('SRID=4674;POINT (-39.027716 -3.354958)'))) / (select extract(epoch from '2026-07-23 17:13:40'::timestamp) - extract(epoch from '2026-07-23 17:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027685 -3.354982)'), GeomFromEWKT('SRID=4674;POINT (-39.027716 -3.354958)'))) / (select extract(epoch from '2026-07-23 17:13:40'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.027742 -3.354939)', '2026-07-23 17:13:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027716 -3.354958)'), GeomFromEWKT('SRID=4674;POINT (-39.027742 -3.354939)'))) / (select extract(epoch from '2026-07-23 17:13:45'::timestamp) - extract(epoch from '2026-07-23 17:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027716 -3.354958)'), GeomFromEWKT('SRID=4674;POINT (-39.027742 -3.354939)'))) / (select extract(epoch from '2026-07-23 17:13:45'::timestamp) - extract(epoch from '2026-07-23 17:13: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'), 47446, 'SRID=4674;POINT (-39.027787 -3.354904)', '2026-07-23 17:13:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027742 -3.354939)'), GeomFromEWKT('SRID=4674;POINT (-39.027787 -3.354904)'))) / (select extract(epoch from '2026-07-23 17:13:53'::timestamp) - extract(epoch from '2026-07-23 17:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027742 -3.354939)'), GeomFromEWKT('SRID=4674;POINT (-39.027787 -3.354904)'))) / (select extract(epoch from '2026-07-23 17:13:53'::timestamp) - extract(epoch from '2026-07-23 17:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02782 -3.354869)', '2026-07-23 17:14:00', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027787 -3.354904)'), GeomFromEWKT('SRID=4674;POINT (-39.02782 -3.354869)'))) / (select extract(epoch from '2026-07-23 17:14:00'::timestamp) - extract(epoch from '2026-07-23 17:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027787 -3.354904)'), GeomFromEWKT('SRID=4674;POINT (-39.02782 -3.354869)'))) / (select extract(epoch from '2026-07-23 17:14:00'::timestamp) - extract(epoch from '2026-07-23 17:13: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'), 47446, 'SRID=4674;POINT (-39.027857 -3.354839)', '2026-07-23 17:14:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02782 -3.354869)'), GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.354839)'))) / (select extract(epoch from '2026-07-23 17:14:07'::timestamp) - extract(epoch from '2026-07-23 17:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02782 -3.354869)'), GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.354839)'))) / (select extract(epoch from '2026-07-23 17:14:07'::timestamp) - extract(epoch from '2026-07-23 17:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027883 -3.354816)', '2026-07-23 17:14:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.354839)'), GeomFromEWKT('SRID=4674;POINT (-39.027883 -3.354816)'))) / (select extract(epoch from '2026-07-23 17:14:13'::timestamp) - extract(epoch from '2026-07-23 17:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027857 -3.354839)'), GeomFromEWKT('SRID=4674;POINT (-39.027883 -3.354816)'))) / (select extract(epoch from '2026-07-23 17:14:13'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47446, 'SRID=4674;POINT (-39.027909 -3.354787)', '2026-07-23 17:14:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027883 -3.354816)'), GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.354787)'))) / (select extract(epoch from '2026-07-23 17:14:20'::timestamp) - extract(epoch from '2026-07-23 17:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027883 -3.354816)'), GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.354787)'))) / (select extract(epoch from '2026-07-23 17:14:20'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47446, 'SRID=4674;POINT (-39.027934 -3.354759)', '2026-07-23 17:14:26', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.354787)'), GeomFromEWKT('SRID=4674;POINT (-39.027934 -3.354759)'))) / (select extract(epoch from '2026-07-23 17:14:26'::timestamp) - extract(epoch from '2026-07-23 17:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.354787)'), GeomFromEWKT('SRID=4674;POINT (-39.027934 -3.354759)'))) / (select extract(epoch from '2026-07-23 17:14:26'::timestamp) - extract(epoch from '2026-07-23 17:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.027943 -3.354757)', '2026-07-23 17:14:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027934 -3.354759)'), GeomFromEWKT('SRID=4674;POINT (-39.027943 -3.354757)'))) / (select extract(epoch from '2026-07-23 17:14:27'::timestamp) - extract(epoch from '2026-07-23 17:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027934 -3.354759)'), GeomFromEWKT('SRID=4674;POINT (-39.027943 -3.354757)'))) / (select extract(epoch from '2026-07-23 17:14:27'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47446, 'SRID=4674;POINT (-39.027959 -3.354742)', '2026-07-23 17:14:31', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027943 -3.354757)'), GeomFromEWKT('SRID=4674;POINT (-39.027959 -3.354742)'))) / (select extract(epoch from '2026-07-23 17:14:31'::timestamp) - extract(epoch from '2026-07-23 17:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027943 -3.354757)'), GeomFromEWKT('SRID=4674;POINT (-39.027959 -3.354742)'))) / (select extract(epoch from '2026-07-23 17:14:31'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47446, 'SRID=4674;POINT (-39.027969 -3.354734)', '2026-07-23 17:14:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027959 -3.354742)'), GeomFromEWKT('SRID=4674;POINT (-39.027969 -3.354734)'))) / (select extract(epoch from '2026-07-23 17:14:33'::timestamp) - extract(epoch from '2026-07-23 17:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027959 -3.354742)'), GeomFromEWKT('SRID=4674;POINT (-39.027969 -3.354734)'))) / (select extract(epoch from '2026-07-23 17:14:33'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47446, 'SRID=4674;POINT (-39.027984 -3.354721)', '2026-07-23 17:14:36', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027969 -3.354734)'), GeomFromEWKT('SRID=4674;POINT (-39.027984 -3.354721)'))) / (select extract(epoch from '2026-07-23 17:14:36'::timestamp) - extract(epoch from '2026-07-23 17:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027969 -3.354734)'), GeomFromEWKT('SRID=4674;POINT (-39.027984 -3.354721)'))) / (select extract(epoch from '2026-07-23 17:14:36'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.028009 -3.354699)', '2026-07-23 17:14:42', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027984 -3.354721)'), GeomFromEWKT('SRID=4674;POINT (-39.028009 -3.354699)'))) / (select extract(epoch from '2026-07-23 17:14:42'::timestamp) - extract(epoch from '2026-07-23 17:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027984 -3.354721)'), GeomFromEWKT('SRID=4674;POINT (-39.028009 -3.354699)'))) / (select extract(epoch from '2026-07-23 17:14:42'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47446, 'SRID=4674;POINT (-39.028048 -3.354671)', '2026-07-23 17:14:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028009 -3.354699)'), GeomFromEWKT('SRID=4674;POINT (-39.028048 -3.354671)'))) / (select extract(epoch from '2026-07-23 17:14:50'::timestamp) - extract(epoch from '2026-07-23 17:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028009 -3.354699)'), GeomFromEWKT('SRID=4674;POINT (-39.028048 -3.354671)'))) / (select extract(epoch from '2026-07-23 17:14:50'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47446, 'SRID=4674;POINT (-39.028069 -3.354654)', '2026-07-23 17:14:55', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028048 -3.354671)'), GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.354654)'))) / (select extract(epoch from '2026-07-23 17:14:55'::timestamp) - extract(epoch from '2026-07-23 17:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028048 -3.354671)'), GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.354654)'))) / (select extract(epoch from '2026-07-23 17:14:55'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47446, 'SRID=4674;POINT (-39.028083 -3.354648)', '2026-07-23 17:14:57', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.354654)'), GeomFromEWKT('SRID=4674;POINT (-39.028083 -3.354648)'))) / (select extract(epoch from '2026-07-23 17:14:57'::timestamp) - extract(epoch from '2026-07-23 17:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028069 -3.354654)'), GeomFromEWKT('SRID=4674;POINT (-39.028083 -3.354648)'))) / (select extract(epoch from '2026-07-23 17:14:57'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.028096 -3.354639)', '2026-07-23 17:15:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028083 -3.354648)'), GeomFromEWKT('SRID=4674;POINT (-39.028096 -3.354639)'))) / (select extract(epoch from '2026-07-23 17:15:01'::timestamp) - extract(epoch from '2026-07-23 17:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028083 -3.354648)'), GeomFromEWKT('SRID=4674;POINT (-39.028096 -3.354639)'))) / (select extract(epoch from '2026-07-23 17:15:01'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47446, 'SRID=4674;POINT (-39.028125 -3.354616)', '2026-07-23 17:15:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028096 -3.354639)'), GeomFromEWKT('SRID=4674;POINT (-39.028125 -3.354616)'))) / (select extract(epoch from '2026-07-23 17:15:07'::timestamp) - extract(epoch from '2026-07-23 17:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028096 -3.354639)'), GeomFromEWKT('SRID=4674;POINT (-39.028125 -3.354616)'))) / (select extract(epoch from '2026-07-23 17:15:07'::timestamp) - extract(epoch from '2026-07-23 17:15: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'), 47446, 'SRID=4674;POINT (-39.028133 -3.354613)', '2026-07-23 17:15:08', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028125 -3.354616)'), GeomFromEWKT('SRID=4674;POINT (-39.028133 -3.354613)'))) / (select extract(epoch from '2026-07-23 17:15:08'::timestamp) - extract(epoch from '2026-07-23 17:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028125 -3.354616)'), GeomFromEWKT('SRID=4674;POINT (-39.028133 -3.354613)'))) / (select extract(epoch from '2026-07-23 17:15:08'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.028163 -3.354588)', '2026-07-23 17:15:15', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028133 -3.354613)'), GeomFromEWKT('SRID=4674;POINT (-39.028163 -3.354588)'))) / (select extract(epoch from '2026-07-23 17:15:15'::timestamp) - extract(epoch from '2026-07-23 17:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028133 -3.354613)'), GeomFromEWKT('SRID=4674;POINT (-39.028163 -3.354588)'))) / (select extract(epoch from '2026-07-23 17:15:15'::timestamp) - extract(epoch from '2026-07-23 17:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028188 -3.354569)', '2026-07-23 17:15:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028163 -3.354588)'), GeomFromEWKT('SRID=4674;POINT (-39.028188 -3.354569)'))) / (select extract(epoch from '2026-07-23 17:15:21'::timestamp) - extract(epoch from '2026-07-23 17:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028163 -3.354588)'), GeomFromEWKT('SRID=4674;POINT (-39.028188 -3.354569)'))) / (select extract(epoch from '2026-07-23 17:15:21'::timestamp) - extract(epoch from '2026-07-23 17:15: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'), 47446, 'SRID=4674;POINT (-39.028214 -3.354547)', '2026-07-23 17:15:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028188 -3.354569)'), GeomFromEWKT('SRID=4674;POINT (-39.028214 -3.354547)'))) / (select extract(epoch from '2026-07-23 17:15:28'::timestamp) - extract(epoch from '2026-07-23 17:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028188 -3.354569)'), GeomFromEWKT('SRID=4674;POINT (-39.028214 -3.354547)'))) / (select extract(epoch from '2026-07-23 17:15:28'::timestamp) - extract(epoch from '2026-07-23 17:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028229 -3.354534)', '2026-07-23 17:15:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028214 -3.354547)'), GeomFromEWKT('SRID=4674;POINT (-39.028229 -3.354534)'))) / (select extract(epoch from '2026-07-23 17:15:31'::timestamp) - extract(epoch from '2026-07-23 17:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028214 -3.354547)'), GeomFromEWKT('SRID=4674;POINT (-39.028229 -3.354534)'))) / (select extract(epoch from '2026-07-23 17:15:31'::timestamp) - extract(epoch from '2026-07-23 17:15: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'), 47446, 'SRID=4674;POINT (-39.028243 -3.354522)', '2026-07-23 17:15:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028229 -3.354534)'), GeomFromEWKT('SRID=4674;POINT (-39.028243 -3.354522)'))) / (select extract(epoch from '2026-07-23 17:15:34'::timestamp) - extract(epoch from '2026-07-23 17:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028229 -3.354534)'), GeomFromEWKT('SRID=4674;POINT (-39.028243 -3.354522)'))) / (select extract(epoch from '2026-07-23 17:15:34'::timestamp) - extract(epoch from '2026-07-23 17:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02827 -3.354496)', '2026-07-23 17:15:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028243 -3.354522)'), GeomFromEWKT('SRID=4674;POINT (-39.02827 -3.354496)'))) / (select extract(epoch from '2026-07-23 17:15:40'::timestamp) - extract(epoch from '2026-07-23 17:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028243 -3.354522)'), GeomFromEWKT('SRID=4674;POINT (-39.02827 -3.354496)'))) / (select extract(epoch from '2026-07-23 17:15:40'::timestamp) - extract(epoch from '2026-07-23 17:15: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'), 47446, 'SRID=4674;POINT (-39.028305 -3.354466)', '2026-07-23 17:15:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02827 -3.354496)'), GeomFromEWKT('SRID=4674;POINT (-39.028305 -3.354466)'))) / (select extract(epoch from '2026-07-23 17:15:48'::timestamp) - extract(epoch from '2026-07-23 17:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02827 -3.354496)'), GeomFromEWKT('SRID=4674;POINT (-39.028305 -3.354466)'))) / (select extract(epoch from '2026-07-23 17:15:48'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.028326 -3.354452)', '2026-07-23 17:15:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028305 -3.354466)'), GeomFromEWKT('SRID=4674;POINT (-39.028326 -3.354452)'))) / (select extract(epoch from '2026-07-23 17:15:52'::timestamp) - extract(epoch from '2026-07-23 17:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028305 -3.354466)'), GeomFromEWKT('SRID=4674;POINT (-39.028326 -3.354452)'))) / (select extract(epoch from '2026-07-23 17:15:52'::timestamp) - extract(epoch from '2026-07-23 17:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028363 -3.354425)', '2026-07-23 17:15:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028326 -3.354452)'), GeomFromEWKT('SRID=4674;POINT (-39.028363 -3.354425)'))) / (select extract(epoch from '2026-07-23 17:15:59'::timestamp) - extract(epoch from '2026-07-23 17:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028326 -3.354452)'), GeomFromEWKT('SRID=4674;POINT (-39.028363 -3.354425)'))) / (select extract(epoch from '2026-07-23 17:15:59'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.028387 -3.354406)', '2026-07-23 17:16:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028363 -3.354425)'), GeomFromEWKT('SRID=4674;POINT (-39.028387 -3.354406)'))) / (select extract(epoch from '2026-07-23 17:16:05'::timestamp) - extract(epoch from '2026-07-23 17:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028363 -3.354425)'), GeomFromEWKT('SRID=4674;POINT (-39.028387 -3.354406)'))) / (select extract(epoch from '2026-07-23 17:16:05'::timestamp) - extract(epoch from '2026-07-23 17:15: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'), 47446, 'SRID=4674;POINT (-39.028426 -3.354379)', '2026-07-23 17:16:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028387 -3.354406)'), GeomFromEWKT('SRID=4674;POINT (-39.028426 -3.354379)'))) / (select extract(epoch from '2026-07-23 17:16:12'::timestamp) - extract(epoch from '2026-07-23 17:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028387 -3.354406)'), GeomFromEWKT('SRID=4674;POINT (-39.028426 -3.354379)'))) / (select extract(epoch from '2026-07-23 17:16:12'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47446, 'SRID=4674;POINT (-39.028444 -3.354363)', '2026-07-23 17:16:16', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028426 -3.354379)'), GeomFromEWKT('SRID=4674;POINT (-39.028444 -3.354363)'))) / (select extract(epoch from '2026-07-23 17:16:16'::timestamp) - extract(epoch from '2026-07-23 17:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028426 -3.354379)'), GeomFromEWKT('SRID=4674;POINT (-39.028444 -3.354363)'))) / (select extract(epoch from '2026-07-23 17:16:16'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47446, 'SRID=4674;POINT (-39.028482 -3.354334)', '2026-07-23 17:16:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028444 -3.354363)'), GeomFromEWKT('SRID=4674;POINT (-39.028482 -3.354334)'))) / (select extract(epoch from '2026-07-23 17:16:23'::timestamp) - extract(epoch from '2026-07-23 17:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028444 -3.354363)'), GeomFromEWKT('SRID=4674;POINT (-39.028482 -3.354334)'))) / (select extract(epoch from '2026-07-23 17:16:23'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.028514 -3.354314)', '2026-07-23 17:16:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028482 -3.354334)'), GeomFromEWKT('SRID=4674;POINT (-39.028514 -3.354314)'))) / (select extract(epoch from '2026-07-23 17:16:29'::timestamp) - extract(epoch from '2026-07-23 17:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028482 -3.354334)'), GeomFromEWKT('SRID=4674;POINT (-39.028514 -3.354314)'))) / (select extract(epoch from '2026-07-23 17:16:29'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47446, 'SRID=4674;POINT (-39.028552 -3.35429)', '2026-07-23 17:16:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028514 -3.354314)'), GeomFromEWKT('SRID=4674;POINT (-39.028552 -3.35429)'))) / (select extract(epoch from '2026-07-23 17:16:36'::timestamp) - extract(epoch from '2026-07-23 17:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028514 -3.354314)'), GeomFromEWKT('SRID=4674;POINT (-39.028552 -3.35429)'))) / (select extract(epoch from '2026-07-23 17:16:36'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47446, 'SRID=4674;POINT (-39.028589 -3.35426)', '2026-07-23 17:16:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028552 -3.35429)'), GeomFromEWKT('SRID=4674;POINT (-39.028589 -3.35426)'))) / (select extract(epoch from '2026-07-23 17:16:44'::timestamp) - extract(epoch from '2026-07-23 17:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028552 -3.35429)'), GeomFromEWKT('SRID=4674;POINT (-39.028589 -3.35426)'))) / (select extract(epoch from '2026-07-23 17:16:44'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47446, 'SRID=4674;POINT (-39.028634 -3.354238)', '2026-07-23 17:16:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028589 -3.35426)'), GeomFromEWKT('SRID=4674;POINT (-39.028634 -3.354238)'))) / (select extract(epoch from '2026-07-23 17:16:51'::timestamp) - extract(epoch from '2026-07-23 17:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028589 -3.35426)'), GeomFromEWKT('SRID=4674;POINT (-39.028634 -3.354238)'))) / (select extract(epoch from '2026-07-23 17:16:51'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47446, 'SRID=4674;POINT (-39.028644 -3.354235)', '2026-07-23 17:16:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028634 -3.354238)'), GeomFromEWKT('SRID=4674;POINT (-39.028644 -3.354235)'))) / (select extract(epoch from '2026-07-23 17:16:52'::timestamp) - extract(epoch from '2026-07-23 17:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028634 -3.354238)'), GeomFromEWKT('SRID=4674;POINT (-39.028644 -3.354235)'))) / (select extract(epoch from '2026-07-23 17:16:52'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47446, 'SRID=4674;POINT (-39.028684 -3.354209)', '2026-07-23 17:16:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028644 -3.354235)'), GeomFromEWKT('SRID=4674;POINT (-39.028684 -3.354209)'))) / (select extract(epoch from '2026-07-23 17:16:59'::timestamp) - extract(epoch from '2026-07-23 17:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028644 -3.354235)'), GeomFromEWKT('SRID=4674;POINT (-39.028684 -3.354209)'))) / (select extract(epoch from '2026-07-23 17:16:59'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47446, 'SRID=4674;POINT (-39.028702 -3.354191)', '2026-07-23 17:17:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028684 -3.354209)'), GeomFromEWKT('SRID=4674;POINT (-39.028702 -3.354191)'))) / (select extract(epoch from '2026-07-23 17:17:03'::timestamp) - extract(epoch from '2026-07-23 17:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028684 -3.354209)'), GeomFromEWKT('SRID=4674;POINT (-39.028702 -3.354191)'))) / (select extract(epoch from '2026-07-23 17:17:03'::timestamp) - extract(epoch from '2026-07-23 17:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028713 -3.354188)', '2026-07-23 17:17:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028702 -3.354191)'), GeomFromEWKT('SRID=4674;POINT (-39.028713 -3.354188)'))) / (select extract(epoch from '2026-07-23 17:17:04'::timestamp) - extract(epoch from '2026-07-23 17:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028702 -3.354191)'), GeomFromEWKT('SRID=4674;POINT (-39.028713 -3.354188)'))) / (select extract(epoch from '2026-07-23 17:17:04'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47446, 'SRID=4674;POINT (-39.028731 -3.354168)', '2026-07-23 17:17:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028713 -3.354188)'), GeomFromEWKT('SRID=4674;POINT (-39.028731 -3.354168)'))) / (select extract(epoch from '2026-07-23 17:17:09'::timestamp) - extract(epoch from '2026-07-23 17:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028713 -3.354188)'), GeomFromEWKT('SRID=4674;POINT (-39.028731 -3.354168)'))) / (select extract(epoch from '2026-07-23 17:17:09'::timestamp) - extract(epoch from '2026-07-23 17:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028758 -3.354145)', '2026-07-23 17:17:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028731 -3.354168)'), GeomFromEWKT('SRID=4674;POINT (-39.028758 -3.354145)'))) / (select extract(epoch from '2026-07-23 17:17:15'::timestamp) - extract(epoch from '2026-07-23 17:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028731 -3.354168)'), GeomFromEWKT('SRID=4674;POINT (-39.028758 -3.354145)'))) / (select extract(epoch from '2026-07-23 17:17:15'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47446, 'SRID=4674;POINT (-39.028792 -3.354115)', '2026-07-23 17:17:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028758 -3.354145)'), GeomFromEWKT('SRID=4674;POINT (-39.028792 -3.354115)'))) / (select extract(epoch from '2026-07-23 17:17:22'::timestamp) - extract(epoch from '2026-07-23 17:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028758 -3.354145)'), GeomFromEWKT('SRID=4674;POINT (-39.028792 -3.354115)'))) / (select extract(epoch from '2026-07-23 17:17:22'::timestamp) - extract(epoch from '2026-07-23 17:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028829 -3.354086)', '2026-07-23 17:17:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028792 -3.354115)'), GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.354086)'))) / (select extract(epoch from '2026-07-23 17:17:29'::timestamp) - extract(epoch from '2026-07-23 17:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028792 -3.354115)'), GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.354086)'))) / (select extract(epoch from '2026-07-23 17:17:29'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47446, 'SRID=4674;POINT (-39.028857 -3.354064)', '2026-07-23 17:17:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.354086)'), GeomFromEWKT('SRID=4674;POINT (-39.028857 -3.354064)'))) / (select extract(epoch from '2026-07-23 17:17:34'::timestamp) - extract(epoch from '2026-07-23 17:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.354086)'), GeomFromEWKT('SRID=4674;POINT (-39.028857 -3.354064)'))) / (select extract(epoch from '2026-07-23 17:17:34'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.028883 -3.354045)', '2026-07-23 17:17:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028857 -3.354064)'), GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.354045)'))) / (select extract(epoch from '2026-07-23 17:17:38'::timestamp) - extract(epoch from '2026-07-23 17:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028857 -3.354064)'), GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.354045)'))) / (select extract(epoch from '2026-07-23 17:17:38'::timestamp) - extract(epoch from '2026-07-23 17:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028887 -3.354039)', '2026-07-23 17:17:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.354045)'), GeomFromEWKT('SRID=4674;POINT (-39.028887 -3.354039)'))) / (select extract(epoch from '2026-07-23 17:17:39'::timestamp) - extract(epoch from '2026-07-23 17:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.354045)'), GeomFromEWKT('SRID=4674;POINT (-39.028887 -3.354039)'))) / (select extract(epoch from '2026-07-23 17:17:39'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47446, 'SRID=4674;POINT (-39.028909 -3.354018)', '2026-07-23 17:17:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028887 -3.354039)'), GeomFromEWKT('SRID=4674;POINT (-39.028909 -3.354018)'))) / (select extract(epoch from '2026-07-23 17:17:45'::timestamp) - extract(epoch from '2026-07-23 17:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028887 -3.354039)'), GeomFromEWKT('SRID=4674;POINT (-39.028909 -3.354018)'))) / (select extract(epoch from '2026-07-23 17:17:45'::timestamp) - extract(epoch from '2026-07-23 17:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028943 -3.353991)', '2026-07-23 17:17:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028909 -3.354018)'), GeomFromEWKT('SRID=4674;POINT (-39.028943 -3.353991)'))) / (select extract(epoch from '2026-07-23 17:17:52'::timestamp) - extract(epoch from '2026-07-23 17:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028909 -3.354018)'), GeomFromEWKT('SRID=4674;POINT (-39.028943 -3.353991)'))) / (select extract(epoch from '2026-07-23 17:17:52'::timestamp) - extract(epoch from '2026-07-23 17:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.028971 -3.353973)', '2026-07-23 17:17:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028943 -3.353991)'), GeomFromEWKT('SRID=4674;POINT (-39.028971 -3.353973)'))) / (select extract(epoch from '2026-07-23 17:17:57'::timestamp) - extract(epoch from '2026-07-23 17:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028943 -3.353991)'), GeomFromEWKT('SRID=4674;POINT (-39.028971 -3.353973)'))) / (select extract(epoch from '2026-07-23 17:17:57'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47446, 'SRID=4674;POINT (-39.028999 -3.353953)', '2026-07-23 17:18:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028971 -3.353973)'), GeomFromEWKT('SRID=4674;POINT (-39.028999 -3.353953)'))) / (select extract(epoch from '2026-07-23 17:18:03'::timestamp) - extract(epoch from '2026-07-23 17:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028971 -3.353973)'), GeomFromEWKT('SRID=4674;POINT (-39.028999 -3.353953)'))) / (select extract(epoch from '2026-07-23 17:18:03'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47446, 'SRID=4674;POINT (-39.029017 -3.353941)', '2026-07-23 17:18:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028999 -3.353953)'), GeomFromEWKT('SRID=4674;POINT (-39.029017 -3.353941)'))) / (select extract(epoch from '2026-07-23 17:18:07'::timestamp) - extract(epoch from '2026-07-23 17:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028999 -3.353953)'), GeomFromEWKT('SRID=4674;POINT (-39.029017 -3.353941)'))) / (select extract(epoch from '2026-07-23 17:18:07'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47446, 'SRID=4674;POINT (-39.029023 -3.353938)', '2026-07-23 17:18:08', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029017 -3.353941)'), GeomFromEWKT('SRID=4674;POINT (-39.029023 -3.353938)'))) / (select extract(epoch from '2026-07-23 17:18:08'::timestamp) - extract(epoch from '2026-07-23 17:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029017 -3.353941)'), GeomFromEWKT('SRID=4674;POINT (-39.029023 -3.353938)'))) / (select extract(epoch from '2026-07-23 17:18:08'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.029052 -3.353916)', '2026-07-23 17:18:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029023 -3.353938)'), GeomFromEWKT('SRID=4674;POINT (-39.029052 -3.353916)'))) / (select extract(epoch from '2026-07-23 17:18:14'::timestamp) - extract(epoch from '2026-07-23 17:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029023 -3.353938)'), GeomFromEWKT('SRID=4674;POINT (-39.029052 -3.353916)'))) / (select extract(epoch from '2026-07-23 17:18:14'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47446, 'SRID=4674;POINT (-39.029062 -3.353906)', '2026-07-23 17:18:16', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029052 -3.353916)'), GeomFromEWKT('SRID=4674;POINT (-39.029062 -3.353906)'))) / (select extract(epoch from '2026-07-23 17:18:16'::timestamp) - extract(epoch from '2026-07-23 17:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029052 -3.353916)'), GeomFromEWKT('SRID=4674;POINT (-39.029062 -3.353906)'))) / (select extract(epoch from '2026-07-23 17:18:16'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47446, 'SRID=4674;POINT (-39.029094 -3.35388)', '2026-07-23 17:18:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029062 -3.353906)'), GeomFromEWKT('SRID=4674;POINT (-39.029094 -3.35388)'))) / (select extract(epoch from '2026-07-23 17:18:22'::timestamp) - extract(epoch from '2026-07-23 17:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029062 -3.353906)'), GeomFromEWKT('SRID=4674;POINT (-39.029094 -3.35388)'))) / (select extract(epoch from '2026-07-23 17:18:22'::timestamp) - extract(epoch from '2026-07-23 17:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029123 -3.353865)', '2026-07-23 17:18:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029094 -3.35388)'), GeomFromEWKT('SRID=4674;POINT (-39.029123 -3.353865)'))) / (select extract(epoch from '2026-07-23 17:18:26'::timestamp) - extract(epoch from '2026-07-23 17:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029094 -3.35388)'), GeomFromEWKT('SRID=4674;POINT (-39.029123 -3.353865)'))) / (select extract(epoch from '2026-07-23 17:18:26'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47446, 'SRID=4674;POINT (-39.029156 -3.35384)', '2026-07-23 17:18:32', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029123 -3.353865)'), GeomFromEWKT('SRID=4674;POINT (-39.029156 -3.35384)'))) / (select extract(epoch from '2026-07-23 17:18:32'::timestamp) - extract(epoch from '2026-07-23 17:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029123 -3.353865)'), GeomFromEWKT('SRID=4674;POINT (-39.029156 -3.35384)'))) / (select extract(epoch from '2026-07-23 17:18:32'::timestamp) - extract(epoch from '2026-07-23 17:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029177 -3.353822)', '2026-07-23 17:18:37', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029156 -3.35384)'), GeomFromEWKT('SRID=4674;POINT (-39.029177 -3.353822)'))) / (select extract(epoch from '2026-07-23 17:18:37'::timestamp) - extract(epoch from '2026-07-23 17:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029156 -3.35384)'), GeomFromEWKT('SRID=4674;POINT (-39.029177 -3.353822)'))) / (select extract(epoch from '2026-07-23 17:18:37'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47446, 'SRID=4674;POINT (-39.029186 -3.353819)', '2026-07-23 17:18:38', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029177 -3.353822)'), GeomFromEWKT('SRID=4674;POINT (-39.029186 -3.353819)'))) / (select extract(epoch from '2026-07-23 17:18:38'::timestamp) - extract(epoch from '2026-07-23 17:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029177 -3.353822)'), GeomFromEWKT('SRID=4674;POINT (-39.029186 -3.353819)'))) / (select extract(epoch from '2026-07-23 17:18:38'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47446, 'SRID=4674;POINT (-39.029207 -3.353797)', '2026-07-23 17:18:43', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029186 -3.353819)'), GeomFromEWKT('SRID=4674;POINT (-39.029207 -3.353797)'))) / (select extract(epoch from '2026-07-23 17:18:43'::timestamp) - extract(epoch from '2026-07-23 17:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029186 -3.353819)'), GeomFromEWKT('SRID=4674;POINT (-39.029207 -3.353797)'))) / (select extract(epoch from '2026-07-23 17:18:43'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47446, 'SRID=4674;POINT (-39.029242 -3.353766)', '2026-07-23 17:18:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029207 -3.353797)'), GeomFromEWKT('SRID=4674;POINT (-39.029242 -3.353766)'))) / (select extract(epoch from '2026-07-23 17:18:50'::timestamp) - extract(epoch from '2026-07-23 17:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029207 -3.353797)'), GeomFromEWKT('SRID=4674;POINT (-39.029242 -3.353766)'))) / (select extract(epoch from '2026-07-23 17:18:50'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47446, 'SRID=4674;POINT (-39.029257 -3.353751)', '2026-07-23 17:18:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029242 -3.353766)'), GeomFromEWKT('SRID=4674;POINT (-39.029257 -3.353751)'))) / (select extract(epoch from '2026-07-23 17:18:54'::timestamp) - extract(epoch from '2026-07-23 17:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029242 -3.353766)'), GeomFromEWKT('SRID=4674;POINT (-39.029257 -3.353751)'))) / (select extract(epoch from '2026-07-23 17:18:54'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.029269 -3.353746)', '2026-07-23 17:18:56', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029257 -3.353751)'), GeomFromEWKT('SRID=4674;POINT (-39.029269 -3.353746)'))) / (select extract(epoch from '2026-07-23 17:18:56'::timestamp) - extract(epoch from '2026-07-23 17:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029257 -3.353751)'), GeomFromEWKT('SRID=4674;POINT (-39.029269 -3.353746)'))) / (select extract(epoch from '2026-07-23 17:18:56'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47446, 'SRID=4674;POINT (-39.029293 -3.353725)', '2026-07-23 17:19:02', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029269 -3.353746)'), GeomFromEWKT('SRID=4674;POINT (-39.029293 -3.353725)'))) / (select extract(epoch from '2026-07-23 17:19:02'::timestamp) - extract(epoch from '2026-07-23 17:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029269 -3.353746)'), GeomFromEWKT('SRID=4674;POINT (-39.029293 -3.353725)'))) / (select extract(epoch from '2026-07-23 17:19:02'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47446, 'SRID=4674;POINT (-39.029339 -3.353706)', '2026-07-23 17:19:10', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029293 -3.353725)'), GeomFromEWKT('SRID=4674;POINT (-39.029339 -3.353706)'))) / (select extract(epoch from '2026-07-23 17:19:10'::timestamp) - extract(epoch from '2026-07-23 17:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029293 -3.353725)'), GeomFromEWKT('SRID=4674;POINT (-39.029339 -3.353706)'))) / (select extract(epoch from '2026-07-23 17:19:10'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47446, 'SRID=4674;POINT (-39.029385 -3.353687)', '2026-07-23 17:19:17', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029339 -3.353706)'), GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.353687)'))) / (select extract(epoch from '2026-07-23 17:19:17'::timestamp) - extract(epoch from '2026-07-23 17:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029339 -3.353706)'), GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.353687)'))) / (select extract(epoch from '2026-07-23 17:19:17'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.029406 -3.353669)', '2026-07-23 17:19:22', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.353687)'), GeomFromEWKT('SRID=4674;POINT (-39.029406 -3.353669)'))) / (select extract(epoch from '2026-07-23 17:19:22'::timestamp) - extract(epoch from '2026-07-23 17:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029385 -3.353687)'), GeomFromEWKT('SRID=4674;POINT (-39.029406 -3.353669)'))) / (select extract(epoch from '2026-07-23 17:19:22'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47446, 'SRID=4674;POINT (-39.029446 -3.353648)', '2026-07-23 17:19:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029406 -3.353669)'), GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.353648)'))) / (select extract(epoch from '2026-07-23 17:19:29'::timestamp) - extract(epoch from '2026-07-23 17:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029406 -3.353669)'), GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.353648)'))) / (select extract(epoch from '2026-07-23 17:19:29'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47446, 'SRID=4674;POINT (-39.029485 -3.353618)', '2026-07-23 17:19:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.353648)'), GeomFromEWKT('SRID=4674;POINT (-39.029485 -3.353618)'))) / (select extract(epoch from '2026-07-23 17:19:37'::timestamp) - extract(epoch from '2026-07-23 17:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029446 -3.353648)'), GeomFromEWKT('SRID=4674;POINT (-39.029485 -3.353618)'))) / (select extract(epoch from '2026-07-23 17:19:37'::timestamp) - extract(epoch from '2026-07-23 17:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02951 -3.353599)', '2026-07-23 17:19:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029485 -3.353618)'), GeomFromEWKT('SRID=4674;POINT (-39.02951 -3.353599)'))) / (select extract(epoch from '2026-07-23 17:19:41'::timestamp) - extract(epoch from '2026-07-23 17:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029485 -3.353618)'), GeomFromEWKT('SRID=4674;POINT (-39.02951 -3.353599)'))) / (select extract(epoch from '2026-07-23 17:19:41'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47446, 'SRID=4674;POINT (-39.029512 -3.353593)', '2026-07-23 17:19:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02951 -3.353599)'), GeomFromEWKT('SRID=4674;POINT (-39.029512 -3.353593)'))) / (select extract(epoch from '2026-07-23 17:19:42'::timestamp) - extract(epoch from '2026-07-23 17:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02951 -3.353599)'), GeomFromEWKT('SRID=4674;POINT (-39.029512 -3.353593)'))) / (select extract(epoch from '2026-07-23 17:19:42'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47446, 'SRID=4674;POINT (-39.029537 -3.353569)', '2026-07-23 17:19:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029512 -3.353593)'), GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.353569)'))) / (select extract(epoch from '2026-07-23 17:19:47'::timestamp) - extract(epoch from '2026-07-23 17:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029512 -3.353593)'), GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.353569)'))) / (select extract(epoch from '2026-07-23 17:19:47'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47446, 'SRID=4674;POINT (-39.029546 -3.353566)', '2026-07-23 17:19:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.353569)'), GeomFromEWKT('SRID=4674;POINT (-39.029546 -3.353566)'))) / (select extract(epoch from '2026-07-23 17:19:48'::timestamp) - extract(epoch from '2026-07-23 17:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.353569)'), GeomFromEWKT('SRID=4674;POINT (-39.029546 -3.353566)'))) / (select extract(epoch from '2026-07-23 17:19:48'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.029575 -3.353537)', '2026-07-23 17:19:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029546 -3.353566)'), GeomFromEWKT('SRID=4674;POINT (-39.029575 -3.353537)'))) / (select extract(epoch from '2026-07-23 17:19:54'::timestamp) - extract(epoch from '2026-07-23 17:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029546 -3.353566)'), GeomFromEWKT('SRID=4674;POINT (-39.029575 -3.353537)'))) / (select extract(epoch from '2026-07-23 17:19:54'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47446, 'SRID=4674;POINT (-39.029616 -3.353514)', '2026-07-23 17:20:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029575 -3.353537)'), GeomFromEWKT('SRID=4674;POINT (-39.029616 -3.353514)'))) / (select extract(epoch from '2026-07-23 17:20:01'::timestamp) - extract(epoch from '2026-07-23 17:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029575 -3.353537)'), GeomFromEWKT('SRID=4674;POINT (-39.029616 -3.353514)'))) / (select extract(epoch from '2026-07-23 17:20:01'::timestamp) - extract(epoch from '2026-07-23 17:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.02966 -3.353494)', '2026-07-23 17:20:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029616 -3.353514)'), GeomFromEWKT('SRID=4674;POINT (-39.02966 -3.353494)'))) / (select extract(epoch from '2026-07-23 17:20:08'::timestamp) - extract(epoch from '2026-07-23 17:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029616 -3.353514)'), GeomFromEWKT('SRID=4674;POINT (-39.02966 -3.353494)'))) / (select extract(epoch from '2026-07-23 17:20:08'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47446, 'SRID=4674;POINT (-39.029683 -3.353473)', '2026-07-23 17:20:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02966 -3.353494)'), GeomFromEWKT('SRID=4674;POINT (-39.029683 -3.353473)'))) / (select extract(epoch from '2026-07-23 17:20:13'::timestamp) - extract(epoch from '2026-07-23 17:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02966 -3.353494)'), GeomFromEWKT('SRID=4674;POINT (-39.029683 -3.353473)'))) / (select extract(epoch from '2026-07-23 17:20:13'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47446, 'SRID=4674;POINT (-39.029732 -3.35344)', '2026-07-23 17:20:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029683 -3.353473)'), GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.35344)'))) / (select extract(epoch from '2026-07-23 17:20:21'::timestamp) - extract(epoch from '2026-07-23 17:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029683 -3.353473)'), GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.35344)'))) / (select extract(epoch from '2026-07-23 17:20:21'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47446, 'SRID=4674;POINT (-39.02975 -3.353428)', '2026-07-23 17:20:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.35344)'), GeomFromEWKT('SRID=4674;POINT (-39.02975 -3.353428)'))) / (select extract(epoch from '2026-07-23 17:20:24'::timestamp) - extract(epoch from '2026-07-23 17:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.35344)'), GeomFromEWKT('SRID=4674;POINT (-39.02975 -3.353428)'))) / (select extract(epoch from '2026-07-23 17:20:24'::timestamp) - extract(epoch from '2026-07-23 17:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029767 -3.353414)', '2026-07-23 17:20:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02975 -3.353428)'), GeomFromEWKT('SRID=4674;POINT (-39.029767 -3.353414)'))) / (select extract(epoch from '2026-07-23 17:20:27'::timestamp) - extract(epoch from '2026-07-23 17:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02975 -3.353428)'), GeomFromEWKT('SRID=4674;POINT (-39.029767 -3.353414)'))) / (select extract(epoch from '2026-07-23 17:20:27'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.029802 -3.353386)', '2026-07-23 17:20:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029767 -3.353414)'), GeomFromEWKT('SRID=4674;POINT (-39.029802 -3.353386)'))) / (select extract(epoch from '2026-07-23 17:20:34'::timestamp) - extract(epoch from '2026-07-23 17:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029767 -3.353414)'), GeomFromEWKT('SRID=4674;POINT (-39.029802 -3.353386)'))) / (select extract(epoch from '2026-07-23 17:20:34'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47446, 'SRID=4674;POINT (-39.029813 -3.353376)', '2026-07-23 17:20:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029802 -3.353386)'), GeomFromEWKT('SRID=4674;POINT (-39.029813 -3.353376)'))) / (select extract(epoch from '2026-07-23 17:20:37'::timestamp) - extract(epoch from '2026-07-23 17:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029802 -3.353386)'), GeomFromEWKT('SRID=4674;POINT (-39.029813 -3.353376)'))) / (select extract(epoch from '2026-07-23 17:20:37'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47446, 'SRID=4674;POINT (-39.029831 -3.353365)', '2026-07-23 17:20:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029813 -3.353376)'), GeomFromEWKT('SRID=4674;POINT (-39.029831 -3.353365)'))) / (select extract(epoch from '2026-07-23 17:20:40'::timestamp) - extract(epoch from '2026-07-23 17:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029813 -3.353376)'), GeomFromEWKT('SRID=4674;POINT (-39.029831 -3.353365)'))) / (select extract(epoch from '2026-07-23 17:20:40'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47446, 'SRID=4674;POINT (-39.029857 -3.353341)', '2026-07-23 17:20:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029831 -3.353365)'), GeomFromEWKT('SRID=4674;POINT (-39.029857 -3.353341)'))) / (select extract(epoch from '2026-07-23 17:20:45'::timestamp) - extract(epoch from '2026-07-23 17:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029831 -3.353365)'), GeomFromEWKT('SRID=4674;POINT (-39.029857 -3.353341)'))) / (select extract(epoch from '2026-07-23 17:20:45'::timestamp) - extract(epoch from '2026-07-23 17:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029862 -3.353341)', '2026-07-23 17:20:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029857 -3.353341)'), GeomFromEWKT('SRID=4674;POINT (-39.029862 -3.353341)'))) / (select extract(epoch from '2026-07-23 17:20:46'::timestamp) - extract(epoch from '2026-07-23 17:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029857 -3.353341)'), GeomFromEWKT('SRID=4674;POINT (-39.029862 -3.353341)'))) / (select extract(epoch from '2026-07-23 17:20:46'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47446, 'SRID=4674;POINT (-39.029886 -3.353323)', '2026-07-23 17:20:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029862 -3.353341)'), GeomFromEWKT('SRID=4674;POINT (-39.029886 -3.353323)'))) / (select extract(epoch from '2026-07-23 17:20:51'::timestamp) - extract(epoch from '2026-07-23 17:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029862 -3.353341)'), GeomFromEWKT('SRID=4674;POINT (-39.029886 -3.353323)'))) / (select extract(epoch from '2026-07-23 17:20:51'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.029895 -3.353318)', '2026-07-23 17:20:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029886 -3.353323)'), GeomFromEWKT('SRID=4674;POINT (-39.029895 -3.353318)'))) / (select extract(epoch from '2026-07-23 17:20:53'::timestamp) - extract(epoch from '2026-07-23 17:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029886 -3.353323)'), GeomFromEWKT('SRID=4674;POINT (-39.029895 -3.353318)'))) / (select extract(epoch from '2026-07-23 17:20:53'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47446, 'SRID=4674;POINT (-39.029919 -3.353297)', '2026-07-23 17:20:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029895 -3.353318)'), GeomFromEWKT('SRID=4674;POINT (-39.029919 -3.353297)'))) / (select extract(epoch from '2026-07-23 17:20:59'::timestamp) - extract(epoch from '2026-07-23 17:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029895 -3.353318)'), GeomFromEWKT('SRID=4674;POINT (-39.029919 -3.353297)'))) / (select extract(epoch from '2026-07-23 17:20:59'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47446, 'SRID=4674;POINT (-39.029957 -3.353271)', '2026-07-23 17:21:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029919 -3.353297)'), GeomFromEWKT('SRID=4674;POINT (-39.029957 -3.353271)'))) / (select extract(epoch from '2026-07-23 17:21:08'::timestamp) - extract(epoch from '2026-07-23 17:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029919 -3.353297)'), GeomFromEWKT('SRID=4674;POINT (-39.029957 -3.353271)'))) / (select extract(epoch from '2026-07-23 17:21:08'::timestamp) - extract(epoch from '2026-07-23 17:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.029982 -3.353254)', '2026-07-23 17:21:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029957 -3.353271)'), GeomFromEWKT('SRID=4674;POINT (-39.029982 -3.353254)'))) / (select extract(epoch from '2026-07-23 17:21:14'::timestamp) - extract(epoch from '2026-07-23 17:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029957 -3.353271)'), GeomFromEWKT('SRID=4674;POINT (-39.029982 -3.353254)'))) / (select extract(epoch from '2026-07-23 17:21:14'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47446, 'SRID=4674;POINT (-39.03002 -3.353227)', '2026-07-23 17:21:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029982 -3.353254)'), GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.353227)'))) / (select extract(epoch from '2026-07-23 17:21:22'::timestamp) - extract(epoch from '2026-07-23 17:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029982 -3.353254)'), GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.353227)'))) / (select extract(epoch from '2026-07-23 17:21:22'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.030057 -3.3532)', '2026-07-23 17:21:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.353227)'), GeomFromEWKT('SRID=4674;POINT (-39.030057 -3.3532)'))) / (select extract(epoch from '2026-07-23 17:21:30'::timestamp) - extract(epoch from '2026-07-23 17:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.353227)'), GeomFromEWKT('SRID=4674;POINT (-39.030057 -3.3532)'))) / (select extract(epoch from '2026-07-23 17:21:30'::timestamp) - extract(epoch from '2026-07-23 17:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030064 -3.353198)', '2026-07-23 17:21:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030057 -3.3532)'), GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.353198)'))) / (select extract(epoch from '2026-07-23 17:21:31'::timestamp) - extract(epoch from '2026-07-23 17:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030057 -3.3532)'), GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.353198)'))) / (select extract(epoch from '2026-07-23 17:21:31'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.030086 -3.353184)', '2026-07-23 17:21:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.353198)'), GeomFromEWKT('SRID=4674;POINT (-39.030086 -3.353184)'))) / (select extract(epoch from '2026-07-23 17:21:35'::timestamp) - extract(epoch from '2026-07-23 17:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.353198)'), GeomFromEWKT('SRID=4674;POINT (-39.030086 -3.353184)'))) / (select extract(epoch from '2026-07-23 17:21:35'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47446, 'SRID=4674;POINT (-39.030116 -3.353164)', '2026-07-23 17:21:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030086 -3.353184)'), GeomFromEWKT('SRID=4674;POINT (-39.030116 -3.353164)'))) / (select extract(epoch from '2026-07-23 17:21:41'::timestamp) - extract(epoch from '2026-07-23 17:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030086 -3.353184)'), GeomFromEWKT('SRID=4674;POINT (-39.030116 -3.353164)'))) / (select extract(epoch from '2026-07-23 17:21:41'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47446, 'SRID=4674;POINT (-39.030145 -3.353145)', '2026-07-23 17:21:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030116 -3.353164)'), GeomFromEWKT('SRID=4674;POINT (-39.030145 -3.353145)'))) / (select extract(epoch from '2026-07-23 17:21:47'::timestamp) - extract(epoch from '2026-07-23 17:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030116 -3.353164)'), GeomFromEWKT('SRID=4674;POINT (-39.030145 -3.353145)'))) / (select extract(epoch from '2026-07-23 17:21:47'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47446, 'SRID=4674;POINT (-39.030176 -3.353127)', '2026-07-23 17:21:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030145 -3.353145)'), GeomFromEWKT('SRID=4674;POINT (-39.030176 -3.353127)'))) / (select extract(epoch from '2026-07-23 17:21:53'::timestamp) - extract(epoch from '2026-07-23 17:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030145 -3.353145)'), GeomFromEWKT('SRID=4674;POINT (-39.030176 -3.353127)'))) / (select extract(epoch from '2026-07-23 17:21:53'::timestamp) - extract(epoch from '2026-07-23 17:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030211 -3.353108)', '2026-07-23 17:21:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030176 -3.353127)'), GeomFromEWKT('SRID=4674;POINT (-39.030211 -3.353108)'))) / (select extract(epoch from '2026-07-23 17:21:59'::timestamp) - extract(epoch from '2026-07-23 17:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030176 -3.353127)'), GeomFromEWKT('SRID=4674;POINT (-39.030211 -3.353108)'))) / (select extract(epoch from '2026-07-23 17:21:59'::timestamp) - extract(epoch from '2026-07-23 17:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030251 -3.35309)', '2026-07-23 17:22:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030211 -3.353108)'), GeomFromEWKT('SRID=4674;POINT (-39.030251 -3.35309)'))) / (select extract(epoch from '2026-07-23 17:22:06'::timestamp) - extract(epoch from '2026-07-23 17:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030211 -3.353108)'), GeomFromEWKT('SRID=4674;POINT (-39.030251 -3.35309)'))) / (select extract(epoch from '2026-07-23 17:22:06'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47446, 'SRID=4674;POINT (-39.03028 -3.353069)', '2026-07-23 17:22:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030251 -3.35309)'), GeomFromEWKT('SRID=4674;POINT (-39.03028 -3.353069)'))) / (select extract(epoch from '2026-07-23 17:22:12'::timestamp) - extract(epoch from '2026-07-23 17:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030251 -3.35309)'), GeomFromEWKT('SRID=4674;POINT (-39.03028 -3.353069)'))) / (select extract(epoch from '2026-07-23 17:22:12'::timestamp) - extract(epoch from '2026-07-23 17:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030317 -3.353046)', '2026-07-23 17:22:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03028 -3.353069)'), GeomFromEWKT('SRID=4674;POINT (-39.030317 -3.353046)'))) / (select extract(epoch from '2026-07-23 17:22:19'::timestamp) - extract(epoch from '2026-07-23 17:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03028 -3.353069)'), GeomFromEWKT('SRID=4674;POINT (-39.030317 -3.353046)'))) / (select extract(epoch from '2026-07-23 17:22:19'::timestamp) - extract(epoch from '2026-07-23 17:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030348 -3.353027)', '2026-07-23 17:22:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030317 -3.353046)'), GeomFromEWKT('SRID=4674;POINT (-39.030348 -3.353027)'))) / (select extract(epoch from '2026-07-23 17:22:26'::timestamp) - extract(epoch from '2026-07-23 17:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030317 -3.353046)'), GeomFromEWKT('SRID=4674;POINT (-39.030348 -3.353027)'))) / (select extract(epoch from '2026-07-23 17:22:26'::timestamp) - extract(epoch from '2026-07-23 17:22: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'), 47446, 'SRID=4674;POINT (-39.030374 -3.353003)', '2026-07-23 17:22:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030348 -3.353027)'), GeomFromEWKT('SRID=4674;POINT (-39.030374 -3.353003)'))) / (select extract(epoch from '2026-07-23 17:22:32'::timestamp) - extract(epoch from '2026-07-23 17:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030348 -3.353027)'), GeomFromEWKT('SRID=4674;POINT (-39.030374 -3.353003)'))) / (select extract(epoch from '2026-07-23 17:22:32'::timestamp) - extract(epoch from '2026-07-23 17:22: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'), 47446, 'SRID=4674;POINT (-39.030401 -3.352983)', '2026-07-23 17:22:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030374 -3.353003)'), GeomFromEWKT('SRID=4674;POINT (-39.030401 -3.352983)'))) / (select extract(epoch from '2026-07-23 17:22:37'::timestamp) - extract(epoch from '2026-07-23 17:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030374 -3.353003)'), GeomFromEWKT('SRID=4674;POINT (-39.030401 -3.352983)'))) / (select extract(epoch from '2026-07-23 17:22:37'::timestamp) - extract(epoch from '2026-07-23 17:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030415 -3.352974)', '2026-07-23 17:22:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030401 -3.352983)'), GeomFromEWKT('SRID=4674;POINT (-39.030415 -3.352974)'))) / (select extract(epoch from '2026-07-23 17:22:39'::timestamp) - extract(epoch from '2026-07-23 17:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030401 -3.352983)'), GeomFromEWKT('SRID=4674;POINT (-39.030415 -3.352974)'))) / (select extract(epoch from '2026-07-23 17:22:39'::timestamp) - extract(epoch from '2026-07-23 17:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030451 -3.352945)', '2026-07-23 17:22:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030415 -3.352974)'), GeomFromEWKT('SRID=4674;POINT (-39.030451 -3.352945)'))) / (select extract(epoch from '2026-07-23 17:22:47'::timestamp) - extract(epoch from '2026-07-23 17:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030415 -3.352974)'), GeomFromEWKT('SRID=4674;POINT (-39.030451 -3.352945)'))) / (select extract(epoch from '2026-07-23 17:22:47'::timestamp) - extract(epoch from '2026-07-23 17:22: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'), 47446, 'SRID=4674;POINT (-39.030485 -3.352923)', '2026-07-23 17:22:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030451 -3.352945)'), GeomFromEWKT('SRID=4674;POINT (-39.030485 -3.352923)'))) / (select extract(epoch from '2026-07-23 17:22:55'::timestamp) - extract(epoch from '2026-07-23 17:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030451 -3.352945)'), GeomFromEWKT('SRID=4674;POINT (-39.030485 -3.352923)'))) / (select extract(epoch from '2026-07-23 17:22:55'::timestamp) - extract(epoch from '2026-07-23 17:22: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'), 47446, 'SRID=4674;POINT (-39.030503 -3.35291)', '2026-07-23 17:22:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030485 -3.352923)'), GeomFromEWKT('SRID=4674;POINT (-39.030503 -3.35291)'))) / (select extract(epoch from '2026-07-23 17:22:59'::timestamp) - extract(epoch from '2026-07-23 17:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030485 -3.352923)'), GeomFromEWKT('SRID=4674;POINT (-39.030503 -3.35291)'))) / (select extract(epoch from '2026-07-23 17:22:59'::timestamp) - extract(epoch from '2026-07-23 17:22: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'), 47446, 'SRID=4674;POINT (-39.030518 -3.352903)', '2026-07-23 17:23:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030503 -3.35291)'), GeomFromEWKT('SRID=4674;POINT (-39.030518 -3.352903)'))) / (select extract(epoch from '2026-07-23 17:23:01'::timestamp) - extract(epoch from '2026-07-23 17:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030503 -3.35291)'), GeomFromEWKT('SRID=4674;POINT (-39.030518 -3.352903)'))) / (select extract(epoch from '2026-07-23 17:23:01'::timestamp) - extract(epoch from '2026-07-23 17:22: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'), 47446, 'SRID=4674;POINT (-39.030551 -3.352884)', '2026-07-23 17:23:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030518 -3.352903)'), GeomFromEWKT('SRID=4674;POINT (-39.030551 -3.352884)'))) / (select extract(epoch from '2026-07-23 17:23:08'::timestamp) - extract(epoch from '2026-07-23 17:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030518 -3.352903)'), GeomFromEWKT('SRID=4674;POINT (-39.030551 -3.352884)'))) / (select extract(epoch from '2026-07-23 17:23:08'::timestamp) - extract(epoch from '2026-07-23 17:23: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'), 47446, 'SRID=4674;POINT (-39.030578 -3.352864)', '2026-07-23 17:23:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030551 -3.352884)'), GeomFromEWKT('SRID=4674;POINT (-39.030578 -3.352864)'))) / (select extract(epoch from '2026-07-23 17:23:14'::timestamp) - extract(epoch from '2026-07-23 17:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030551 -3.352884)'), GeomFromEWKT('SRID=4674;POINT (-39.030578 -3.352864)'))) / (select extract(epoch from '2026-07-23 17:23:14'::timestamp) - extract(epoch from '2026-07-23 17:23: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'), 47446, 'SRID=4674;POINT (-39.030612 -3.352837)', '2026-07-23 17:23:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030578 -3.352864)'), GeomFromEWKT('SRID=4674;POINT (-39.030612 -3.352837)'))) / (select extract(epoch from '2026-07-23 17:23:22'::timestamp) - extract(epoch from '2026-07-23 17:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030578 -3.352864)'), GeomFromEWKT('SRID=4674;POINT (-39.030612 -3.352837)'))) / (select extract(epoch from '2026-07-23 17:23:22'::timestamp) - extract(epoch from '2026-07-23 17:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030642 -3.352818)', '2026-07-23 17:23:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030612 -3.352837)'), GeomFromEWKT('SRID=4674;POINT (-39.030642 -3.352818)'))) / (select extract(epoch from '2026-07-23 17:23:29'::timestamp) - extract(epoch from '2026-07-23 17:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030612 -3.352837)'), GeomFromEWKT('SRID=4674;POINT (-39.030642 -3.352818)'))) / (select extract(epoch from '2026-07-23 17:23:29'::timestamp) - extract(epoch from '2026-07-23 17:23: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'), 47446, 'SRID=4674;POINT (-39.030674 -3.352795)', '2026-07-23 17:23:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030642 -3.352818)'), GeomFromEWKT('SRID=4674;POINT (-39.030674 -3.352795)'))) / (select extract(epoch from '2026-07-23 17:23:36'::timestamp) - extract(epoch from '2026-07-23 17:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030642 -3.352818)'), GeomFromEWKT('SRID=4674;POINT (-39.030674 -3.352795)'))) / (select extract(epoch from '2026-07-23 17:23:36'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.030708 -3.35277)', '2026-07-23 17:23:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030674 -3.352795)'), GeomFromEWKT('SRID=4674;POINT (-39.030708 -3.35277)'))) / (select extract(epoch from '2026-07-23 17:23:43'::timestamp) - extract(epoch from '2026-07-23 17:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030674 -3.352795)'), GeomFromEWKT('SRID=4674;POINT (-39.030708 -3.35277)'))) / (select extract(epoch from '2026-07-23 17:23:43'::timestamp) - extract(epoch from '2026-07-23 17:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030721 -3.352761)', '2026-07-23 17:23:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030708 -3.35277)'), GeomFromEWKT('SRID=4674;POINT (-39.030721 -3.352761)'))) / (select extract(epoch from '2026-07-23 17:23:45'::timestamp) - extract(epoch from '2026-07-23 17:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030708 -3.35277)'), GeomFromEWKT('SRID=4674;POINT (-39.030721 -3.352761)'))) / (select extract(epoch from '2026-07-23 17:23:45'::timestamp) - extract(epoch from '2026-07-23 17:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03074 -3.352745)', '2026-07-23 17:23:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030721 -3.352761)'), GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.352745)'))) / (select extract(epoch from '2026-07-23 17:23:49'::timestamp) - extract(epoch from '2026-07-23 17:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030721 -3.352761)'), GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.352745)'))) / (select extract(epoch from '2026-07-23 17:23:49'::timestamp) - extract(epoch from '2026-07-23 17:23: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'), 47446, 'SRID=4674;POINT (-39.030767 -3.352721)', '2026-07-23 17:23:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.352745)'), GeomFromEWKT('SRID=4674;POINT (-39.030767 -3.352721)'))) / (select extract(epoch from '2026-07-23 17:23:55'::timestamp) - extract(epoch from '2026-07-23 17:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03074 -3.352745)'), GeomFromEWKT('SRID=4674;POINT (-39.030767 -3.352721)'))) / (select extract(epoch from '2026-07-23 17:23:55'::timestamp) - extract(epoch from '2026-07-23 17:23:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030804 -3.35269)', '2026-07-23 17:24:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030767 -3.352721)'), GeomFromEWKT('SRID=4674;POINT (-39.030804 -3.35269)'))) / (select extract(epoch from '2026-07-23 17:24:03'::timestamp) - extract(epoch from '2026-07-23 17:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030767 -3.352721)'), GeomFromEWKT('SRID=4674;POINT (-39.030804 -3.35269)'))) / (select extract(epoch from '2026-07-23 17:24:03'::timestamp) - extract(epoch from '2026-07-23 17:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030834 -3.352666)', '2026-07-23 17:24:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030804 -3.35269)'), GeomFromEWKT('SRID=4674;POINT (-39.030834 -3.352666)'))) / (select extract(epoch from '2026-07-23 17:24:10'::timestamp) - extract(epoch from '2026-07-23 17:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030804 -3.35269)'), GeomFromEWKT('SRID=4674;POINT (-39.030834 -3.352666)'))) / (select extract(epoch from '2026-07-23 17:24:10'::timestamp) - extract(epoch from '2026-07-23 17:24: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'), 47446, 'SRID=4674;POINT (-39.030865 -3.352646)', '2026-07-23 17:24:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030834 -3.352666)'), GeomFromEWKT('SRID=4674;POINT (-39.030865 -3.352646)'))) / (select extract(epoch from '2026-07-23 17:24:16'::timestamp) - extract(epoch from '2026-07-23 17:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030834 -3.352666)'), GeomFromEWKT('SRID=4674;POINT (-39.030865 -3.352646)'))) / (select extract(epoch from '2026-07-23 17:24:16'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.0309 -3.352625)', '2026-07-23 17:24:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030865 -3.352646)'), GeomFromEWKT('SRID=4674;POINT (-39.0309 -3.352625)'))) / (select extract(epoch from '2026-07-23 17:24:25'::timestamp) - extract(epoch from '2026-07-23 17:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030865 -3.352646)'), GeomFromEWKT('SRID=4674;POINT (-39.0309 -3.352625)'))) / (select extract(epoch from '2026-07-23 17:24:25'::timestamp) - extract(epoch from '2026-07-23 17:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030933 -3.352612)', '2026-07-23 17:24:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0309 -3.352625)'), GeomFromEWKT('SRID=4674;POINT (-39.030933 -3.352612)'))) / (select extract(epoch from '2026-07-23 17:24:32'::timestamp) - extract(epoch from '2026-07-23 17:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0309 -3.352625)'), GeomFromEWKT('SRID=4674;POINT (-39.030933 -3.352612)'))) / (select extract(epoch from '2026-07-23 17:24:32'::timestamp) - extract(epoch from '2026-07-23 17:24:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030941 -3.352608)', '2026-07-23 17:24:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030933 -3.352612)'), GeomFromEWKT('SRID=4674;POINT (-39.030941 -3.352608)'))) / (select extract(epoch from '2026-07-23 17:24:33'::timestamp) - extract(epoch from '2026-07-23 17:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030933 -3.352612)'), GeomFromEWKT('SRID=4674;POINT (-39.030941 -3.352608)'))) / (select extract(epoch from '2026-07-23 17:24:33'::timestamp) - extract(epoch from '2026-07-23 17:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030948 -3.352598)', '2026-07-23 17:24:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030941 -3.352608)'), GeomFromEWKT('SRID=4674;POINT (-39.030948 -3.352598)'))) / (select extract(epoch from '2026-07-23 17:24:36'::timestamp) - extract(epoch from '2026-07-23 17:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030941 -3.352608)'), GeomFromEWKT('SRID=4674;POINT (-39.030948 -3.352598)'))) / (select extract(epoch from '2026-07-23 17:24:36'::timestamp) - extract(epoch from '2026-07-23 17:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.030984 -3.352577)', '2026-07-23 17:24:43', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030948 -3.352598)'), GeomFromEWKT('SRID=4674;POINT (-39.030984 -3.352577)'))) / (select extract(epoch from '2026-07-23 17:24:43'::timestamp) - extract(epoch from '2026-07-23 17:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030948 -3.352598)'), GeomFromEWKT('SRID=4674;POINT (-39.030984 -3.352577)'))) / (select extract(epoch from '2026-07-23 17:24:43'::timestamp) - extract(epoch from '2026-07-23 17:24: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'), 47446, 'SRID=4674;POINT (-39.031011 -3.352564)', '2026-07-23 17:24:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030984 -3.352577)'), GeomFromEWKT('SRID=4674;POINT (-39.031011 -3.352564)'))) / (select extract(epoch from '2026-07-23 17:24:48'::timestamp) - extract(epoch from '2026-07-23 17:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030984 -3.352577)'), GeomFromEWKT('SRID=4674;POINT (-39.031011 -3.352564)'))) / (select extract(epoch from '2026-07-23 17:24:48'::timestamp) - extract(epoch from '2026-07-23 17:24: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'), 47446, 'SRID=4674;POINT (-39.031042 -3.352544)', '2026-07-23 17:24:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031011 -3.352564)'), GeomFromEWKT('SRID=4674;POINT (-39.031042 -3.352544)'))) / (select extract(epoch from '2026-07-23 17:24:54'::timestamp) - extract(epoch from '2026-07-23 17:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031011 -3.352564)'), GeomFromEWKT('SRID=4674;POINT (-39.031042 -3.352544)'))) / (select extract(epoch from '2026-07-23 17:24:54'::timestamp) - extract(epoch from '2026-07-23 17:24: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'), 47446, 'SRID=4674;POINT (-39.031051 -3.352531)', '2026-07-23 17:24:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031042 -3.352544)'), GeomFromEWKT('SRID=4674;POINT (-39.031051 -3.352531)'))) / (select extract(epoch from '2026-07-23 17:24:56'::timestamp) - extract(epoch from '2026-07-23 17:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031042 -3.352544)'), GeomFromEWKT('SRID=4674;POINT (-39.031051 -3.352531)'))) / (select extract(epoch from '2026-07-23 17:24:56'::timestamp) - extract(epoch from '2026-07-23 17:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031077 -3.352519)', '2026-07-23 17:25:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031051 -3.352531)'), GeomFromEWKT('SRID=4674;POINT (-39.031077 -3.352519)'))) / (select extract(epoch from '2026-07-23 17:25:00'::timestamp) - extract(epoch from '2026-07-23 17:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031051 -3.352531)'), GeomFromEWKT('SRID=4674;POINT (-39.031077 -3.352519)'))) / (select extract(epoch from '2026-07-23 17:25:00'::timestamp) - extract(epoch from '2026-07-23 17:24: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'), 47446, 'SRID=4674;POINT (-39.031102 -3.352497)', '2026-07-23 17:25:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031077 -3.352519)'), GeomFromEWKT('SRID=4674;POINT (-39.031102 -3.352497)'))) / (select extract(epoch from '2026-07-23 17:25:07'::timestamp) - extract(epoch from '2026-07-23 17:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031077 -3.352519)'), GeomFromEWKT('SRID=4674;POINT (-39.031102 -3.352497)'))) / (select extract(epoch from '2026-07-23 17:25:07'::timestamp) - extract(epoch from '2026-07-23 17:25: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'), 47446, 'SRID=4674;POINT (-39.03113 -3.352477)', '2026-07-23 17:25:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031102 -3.352497)'), GeomFromEWKT('SRID=4674;POINT (-39.03113 -3.352477)'))) / (select extract(epoch from '2026-07-23 17:25:15'::timestamp) - extract(epoch from '2026-07-23 17:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031102 -3.352497)'), GeomFromEWKT('SRID=4674;POINT (-39.03113 -3.352477)'))) / (select extract(epoch from '2026-07-23 17:25:15'::timestamp) - extract(epoch from '2026-07-23 17:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031158 -3.352456)', '2026-07-23 17:25:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03113 -3.352477)'), GeomFromEWKT('SRID=4674;POINT (-39.031158 -3.352456)'))) / (select extract(epoch from '2026-07-23 17:25:21'::timestamp) - extract(epoch from '2026-07-23 17:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03113 -3.352477)'), GeomFromEWKT('SRID=4674;POINT (-39.031158 -3.352456)'))) / (select extract(epoch from '2026-07-23 17:25:21'::timestamp) - extract(epoch from '2026-07-23 17:25: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'), 47446, 'SRID=4674;POINT (-39.031194 -3.352429)', '2026-07-23 17:25:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031158 -3.352456)'), GeomFromEWKT('SRID=4674;POINT (-39.031194 -3.352429)'))) / (select extract(epoch from '2026-07-23 17:25:29'::timestamp) - extract(epoch from '2026-07-23 17:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031158 -3.352456)'), GeomFromEWKT('SRID=4674;POINT (-39.031194 -3.352429)'))) / (select extract(epoch from '2026-07-23 17:25:29'::timestamp) - extract(epoch from '2026-07-23 17:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031222 -3.352409)', '2026-07-23 17:25:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031194 -3.352429)'), GeomFromEWKT('SRID=4674;POINT (-39.031222 -3.352409)'))) / (select extract(epoch from '2026-07-23 17:25:36'::timestamp) - extract(epoch from '2026-07-23 17:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031194 -3.352429)'), GeomFromEWKT('SRID=4674;POINT (-39.031222 -3.352409)'))) / (select extract(epoch from '2026-07-23 17:25:36'::timestamp) - extract(epoch from '2026-07-23 17:25: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'), 47446, 'SRID=4674;POINT (-39.031254 -3.352379)', '2026-07-23 17:25:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031222 -3.352409)'), GeomFromEWKT('SRID=4674;POINT (-39.031254 -3.352379)'))) / (select extract(epoch from '2026-07-23 17:25:44'::timestamp) - extract(epoch from '2026-07-23 17:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031222 -3.352409)'), GeomFromEWKT('SRID=4674;POINT (-39.031254 -3.352379)'))) / (select extract(epoch from '2026-07-23 17:25:44'::timestamp) - extract(epoch from '2026-07-23 17:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031287 -3.352348)', '2026-07-23 17:25:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031254 -3.352379)'), GeomFromEWKT('SRID=4674;POINT (-39.031287 -3.352348)'))) / (select extract(epoch from '2026-07-23 17:25:51'::timestamp) - extract(epoch from '2026-07-23 17:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031254 -3.352379)'), GeomFromEWKT('SRID=4674;POINT (-39.031287 -3.352348)'))) / (select extract(epoch from '2026-07-23 17:25:51'::timestamp) - extract(epoch from '2026-07-23 17:25: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'), 47446, 'SRID=4674;POINT (-39.031326 -3.352325)', '2026-07-23 17:25:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031287 -3.352348)'), GeomFromEWKT('SRID=4674;POINT (-39.031326 -3.352325)'))) / (select extract(epoch from '2026-07-23 17:25:58'::timestamp) - extract(epoch from '2026-07-23 17:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031287 -3.352348)'), GeomFromEWKT('SRID=4674;POINT (-39.031326 -3.352325)'))) / (select extract(epoch from '2026-07-23 17:25:58'::timestamp) - extract(epoch from '2026-07-23 17:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031349 -3.352308)', '2026-07-23 17:26:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031326 -3.352325)'), GeomFromEWKT('SRID=4674;POINT (-39.031349 -3.352308)'))) / (select extract(epoch from '2026-07-23 17:26:03'::timestamp) - extract(epoch from '2026-07-23 17:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031326 -3.352325)'), GeomFromEWKT('SRID=4674;POINT (-39.031349 -3.352308)'))) / (select extract(epoch from '2026-07-23 17:26:03'::timestamp) - extract(epoch from '2026-07-23 17:25:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031379 -3.352284)', '2026-07-23 17:26:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031349 -3.352308)'), GeomFromEWKT('SRID=4674;POINT (-39.031379 -3.352284)'))) / (select extract(epoch from '2026-07-23 17:26:09'::timestamp) - extract(epoch from '2026-07-23 17:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031349 -3.352308)'), GeomFromEWKT('SRID=4674;POINT (-39.031379 -3.352284)'))) / (select extract(epoch from '2026-07-23 17:26:09'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.03141 -3.352261)', '2026-07-23 17:26:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031379 -3.352284)'), GeomFromEWKT('SRID=4674;POINT (-39.03141 -3.352261)'))) / (select extract(epoch from '2026-07-23 17:26:16'::timestamp) - extract(epoch from '2026-07-23 17:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031379 -3.352284)'), GeomFromEWKT('SRID=4674;POINT (-39.03141 -3.352261)'))) / (select extract(epoch from '2026-07-23 17:26:16'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.031443 -3.352236)', '2026-07-23 17:26:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03141 -3.352261)'), GeomFromEWKT('SRID=4674;POINT (-39.031443 -3.352236)'))) / (select extract(epoch from '2026-07-23 17:26:23'::timestamp) - extract(epoch from '2026-07-23 17:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03141 -3.352261)'), GeomFromEWKT('SRID=4674;POINT (-39.031443 -3.352236)'))) / (select extract(epoch from '2026-07-23 17:26:23'::timestamp) - extract(epoch from '2026-07-23 17:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031466 -3.352221)', '2026-07-23 17:26:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031443 -3.352236)'), GeomFromEWKT('SRID=4674;POINT (-39.031466 -3.352221)'))) / (select extract(epoch from '2026-07-23 17:26:28'::timestamp) - extract(epoch from '2026-07-23 17:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031443 -3.352236)'), GeomFromEWKT('SRID=4674;POINT (-39.031466 -3.352221)'))) / (select extract(epoch from '2026-07-23 17:26:28'::timestamp) - extract(epoch from '2026-07-23 17:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031498 -3.352202)', '2026-07-23 17:26:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031466 -3.352221)'), GeomFromEWKT('SRID=4674;POINT (-39.031498 -3.352202)'))) / (select extract(epoch from '2026-07-23 17:26:34'::timestamp) - extract(epoch from '2026-07-23 17:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031466 -3.352221)'), GeomFromEWKT('SRID=4674;POINT (-39.031498 -3.352202)'))) / (select extract(epoch from '2026-07-23 17:26:34'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.03153 -3.352183)', '2026-07-23 17:26:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031498 -3.352202)'), GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.352183)'))) / (select extract(epoch from '2026-07-23 17:26:40'::timestamp) - extract(epoch from '2026-07-23 17:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031498 -3.352202)'), GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.352183)'))) / (select extract(epoch from '2026-07-23 17:26:40'::timestamp) - extract(epoch from '2026-07-23 17:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03156 -3.352171)', '2026-07-23 17:26:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.352183)'), GeomFromEWKT('SRID=4674;POINT (-39.03156 -3.352171)'))) / (select extract(epoch from '2026-07-23 17:26:45'::timestamp) - extract(epoch from '2026-07-23 17:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.352183)'), GeomFromEWKT('SRID=4674;POINT (-39.03156 -3.352171)'))) / (select extract(epoch from '2026-07-23 17:26:45'::timestamp) - extract(epoch from '2026-07-23 17:26: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'), 47446, 'SRID=4674;POINT (-39.031605 -3.352142)', '2026-07-23 17:26:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03156 -3.352171)'), GeomFromEWKT('SRID=4674;POINT (-39.031605 -3.352142)'))) / (select extract(epoch from '2026-07-23 17:26:52'::timestamp) - extract(epoch from '2026-07-23 17:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03156 -3.352171)'), GeomFromEWKT('SRID=4674;POINT (-39.031605 -3.352142)'))) / (select extract(epoch from '2026-07-23 17:26:52'::timestamp) - extract(epoch from '2026-07-23 17:26: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'), 47446, 'SRID=4674;POINT (-39.031611 -3.352138)', '2026-07-23 17:26:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031605 -3.352142)'), GeomFromEWKT('SRID=4674;POINT (-39.031611 -3.352138)'))) / (select extract(epoch from '2026-07-23 17:26:53'::timestamp) - extract(epoch from '2026-07-23 17:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031605 -3.352142)'), GeomFromEWKT('SRID=4674;POINT (-39.031611 -3.352138)'))) / (select extract(epoch from '2026-07-23 17:26:53'::timestamp) - extract(epoch from '2026-07-23 17:26: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'), 47446, 'SRID=4674;POINT (-39.031638 -3.352107)', '2026-07-23 17:26:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031611 -3.352138)'), GeomFromEWKT('SRID=4674;POINT (-39.031638 -3.352107)'))) / (select extract(epoch from '2026-07-23 17:26:59'::timestamp) - extract(epoch from '2026-07-23 17:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031611 -3.352138)'), GeomFromEWKT('SRID=4674;POINT (-39.031638 -3.352107)'))) / (select extract(epoch from '2026-07-23 17:26:59'::timestamp) - extract(epoch from '2026-07-23 17:26: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'), 47446, 'SRID=4674;POINT (-39.031653 -3.352101)', '2026-07-23 17:27:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031638 -3.352107)'), GeomFromEWKT('SRID=4674;POINT (-39.031653 -3.352101)'))) / (select extract(epoch from '2026-07-23 17:27:01'::timestamp) - extract(epoch from '2026-07-23 17:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031638 -3.352107)'), GeomFromEWKT('SRID=4674;POINT (-39.031653 -3.352101)'))) / (select extract(epoch from '2026-07-23 17:27:01'::timestamp) - extract(epoch from '2026-07-23 17:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031669 -3.352083)', '2026-07-23 17:27:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031653 -3.352101)'), GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.352083)'))) / (select extract(epoch from '2026-07-23 17:27:04'::timestamp) - extract(epoch from '2026-07-23 17:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031653 -3.352101)'), GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.352083)'))) / (select extract(epoch from '2026-07-23 17:27:04'::timestamp) - extract(epoch from '2026-07-23 17:27:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031709 -3.352054)', '2026-07-23 17:27:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.352083)'), GeomFromEWKT('SRID=4674;POINT (-39.031709 -3.352054)'))) / (select extract(epoch from '2026-07-23 17:27:11'::timestamp) - extract(epoch from '2026-07-23 17:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031669 -3.352083)'), GeomFromEWKT('SRID=4674;POINT (-39.031709 -3.352054)'))) / (select extract(epoch from '2026-07-23 17:27:11'::timestamp) - extract(epoch from '2026-07-23 17:27: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'), 47446, 'SRID=4674;POINT (-39.031737 -3.352032)', '2026-07-23 17:27:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031709 -3.352054)'), GeomFromEWKT('SRID=4674;POINT (-39.031737 -3.352032)'))) / (select extract(epoch from '2026-07-23 17:27:16'::timestamp) - extract(epoch from '2026-07-23 17:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031709 -3.352054)'), GeomFromEWKT('SRID=4674;POINT (-39.031737 -3.352032)'))) / (select extract(epoch from '2026-07-23 17:27:16'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.031762 -3.352003)', '2026-07-23 17:27:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031737 -3.352032)'), GeomFromEWKT('SRID=4674;POINT (-39.031762 -3.352003)'))) / (select extract(epoch from '2026-07-23 17:27:22'::timestamp) - extract(epoch from '2026-07-23 17:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031737 -3.352032)'), GeomFromEWKT('SRID=4674;POINT (-39.031762 -3.352003)'))) / (select extract(epoch from '2026-07-23 17:27:22'::timestamp) - extract(epoch from '2026-07-23 17:27: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'), 47446, 'SRID=4674;POINT (-39.031801 -3.351975)', '2026-07-23 17:27:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031762 -3.352003)'), GeomFromEWKT('SRID=4674;POINT (-39.031801 -3.351975)'))) / (select extract(epoch from '2026-07-23 17:27:30'::timestamp) - extract(epoch from '2026-07-23 17:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031762 -3.352003)'), GeomFromEWKT('SRID=4674;POINT (-39.031801 -3.351975)'))) / (select extract(epoch from '2026-07-23 17:27:30'::timestamp) - extract(epoch from '2026-07-23 17:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03183 -3.351954)', '2026-07-23 17:27:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031801 -3.351975)'), GeomFromEWKT('SRID=4674;POINT (-39.03183 -3.351954)'))) / (select extract(epoch from '2026-07-23 17:27:35'::timestamp) - extract(epoch from '2026-07-23 17:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031801 -3.351975)'), GeomFromEWKT('SRID=4674;POINT (-39.03183 -3.351954)'))) / (select extract(epoch from '2026-07-23 17:27:35'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.031854 -3.351939)', '2026-07-23 17:27:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03183 -3.351954)'), GeomFromEWKT('SRID=4674;POINT (-39.031854 -3.351939)'))) / (select extract(epoch from '2026-07-23 17:27:39'::timestamp) - extract(epoch from '2026-07-23 17:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03183 -3.351954)'), GeomFromEWKT('SRID=4674;POINT (-39.031854 -3.351939)'))) / (select extract(epoch from '2026-07-23 17:27:39'::timestamp) - extract(epoch from '2026-07-23 17:27: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'), 47446, 'SRID=4674;POINT (-39.031868 -3.351934)', '2026-07-23 17:27:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031854 -3.351939)'), GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.351934)'))) / (select extract(epoch from '2026-07-23 17:27:41'::timestamp) - extract(epoch from '2026-07-23 17:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031854 -3.351939)'), GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.351934)'))) / (select extract(epoch from '2026-07-23 17:27:41'::timestamp) - extract(epoch from '2026-07-23 17:27: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'), 47446, 'SRID=4674;POINT (-39.031911 -3.351898)', '2026-07-23 17:27:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.351934)'), GeomFromEWKT('SRID=4674;POINT (-39.031911 -3.351898)'))) / (select extract(epoch from '2026-07-23 17:27:49'::timestamp) - extract(epoch from '2026-07-23 17:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031868 -3.351934)'), GeomFromEWKT('SRID=4674;POINT (-39.031911 -3.351898)'))) / (select extract(epoch from '2026-07-23 17:27:49'::timestamp) - extract(epoch from '2026-07-23 17:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03194 -3.351868)', '2026-07-23 17:27:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031911 -3.351898)'), GeomFromEWKT('SRID=4674;POINT (-39.03194 -3.351868)'))) / (select extract(epoch from '2026-07-23 17:27:55'::timestamp) - extract(epoch from '2026-07-23 17:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031911 -3.351898)'), GeomFromEWKT('SRID=4674;POINT (-39.03194 -3.351868)'))) / (select extract(epoch from '2026-07-23 17:27:55'::timestamp) - extract(epoch from '2026-07-23 17:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.031981 -3.351831)', '2026-07-23 17:28:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03194 -3.351868)'), GeomFromEWKT('SRID=4674;POINT (-39.031981 -3.351831)'))) / (select extract(epoch from '2026-07-23 17:28:03'::timestamp) - extract(epoch from '2026-07-23 17:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03194 -3.351868)'), GeomFromEWKT('SRID=4674;POINT (-39.031981 -3.351831)'))) / (select extract(epoch from '2026-07-23 17:28:03'::timestamp) - extract(epoch from '2026-07-23 17:27: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'), 47446, 'SRID=4674;POINT (-39.032007 -3.351803)', '2026-07-23 17:28:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031981 -3.351831)'), GeomFromEWKT('SRID=4674;POINT (-39.032007 -3.351803)'))) / (select extract(epoch from '2026-07-23 17:28:09'::timestamp) - extract(epoch from '2026-07-23 17:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031981 -3.351831)'), GeomFromEWKT('SRID=4674;POINT (-39.032007 -3.351803)'))) / (select extract(epoch from '2026-07-23 17:28:09'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.03202 -3.351786)', '2026-07-23 17:28:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032007 -3.351803)'), GeomFromEWKT('SRID=4674;POINT (-39.03202 -3.351786)'))) / (select extract(epoch from '2026-07-23 17:28:14'::timestamp) - extract(epoch from '2026-07-23 17:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032007 -3.351803)'), GeomFromEWKT('SRID=4674;POINT (-39.03202 -3.351786)'))) / (select extract(epoch from '2026-07-23 17:28:14'::timestamp) - extract(epoch from '2026-07-23 17:28: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'), 47446, 'SRID=4674;POINT (-39.032028 -3.351782)', '2026-07-23 17:28:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03202 -3.351786)'), GeomFromEWKT('SRID=4674;POINT (-39.032028 -3.351782)'))) / (select extract(epoch from '2026-07-23 17:28:15'::timestamp) - extract(epoch from '2026-07-23 17:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03202 -3.351786)'), GeomFromEWKT('SRID=4674;POINT (-39.032028 -3.351782)'))) / (select extract(epoch from '2026-07-23 17:28:15'::timestamp) - extract(epoch from '2026-07-23 17:28: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'), 47446, 'SRID=4674;POINT (-39.032044 -3.351769)', '2026-07-23 17:28:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032028 -3.351782)'), GeomFromEWKT('SRID=4674;POINT (-39.032044 -3.351769)'))) / (select extract(epoch from '2026-07-23 17:28:19'::timestamp) - extract(epoch from '2026-07-23 17:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032028 -3.351782)'), GeomFromEWKT('SRID=4674;POINT (-39.032044 -3.351769)'))) / (select extract(epoch from '2026-07-23 17:28:19'::timestamp) - extract(epoch from '2026-07-23 17:28: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'), 47446, 'SRID=4674;POINT (-39.032064 -3.351758)', '2026-07-23 17:28:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032044 -3.351769)'), GeomFromEWKT('SRID=4674;POINT (-39.032064 -3.351758)'))) / (select extract(epoch from '2026-07-23 17:28:23'::timestamp) - extract(epoch from '2026-07-23 17:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032044 -3.351769)'), GeomFromEWKT('SRID=4674;POINT (-39.032064 -3.351758)'))) / (select extract(epoch from '2026-07-23 17:28:23'::timestamp) - extract(epoch from '2026-07-23 17:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032072 -3.351752)', '2026-07-23 17:28:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032064 -3.351758)'), GeomFromEWKT('SRID=4674;POINT (-39.032072 -3.351752)'))) / (select extract(epoch from '2026-07-23 17:28:25'::timestamp) - extract(epoch from '2026-07-23 17:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032064 -3.351758)'), GeomFromEWKT('SRID=4674;POINT (-39.032072 -3.351752)'))) / (select extract(epoch from '2026-07-23 17:28:25'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.0321 -3.351735)', '2026-07-23 17:28:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032072 -3.351752)'), GeomFromEWKT('SRID=4674;POINT (-39.0321 -3.351735)'))) / (select extract(epoch from '2026-07-23 17:28:31'::timestamp) - extract(epoch from '2026-07-23 17:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032072 -3.351752)'), GeomFromEWKT('SRID=4674;POINT (-39.0321 -3.351735)'))) / (select extract(epoch from '2026-07-23 17:28:31'::timestamp) - extract(epoch from '2026-07-23 17:28: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'), 47446, 'SRID=4674;POINT (-39.032138 -3.351711)', '2026-07-23 17:28:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0321 -3.351735)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.351711)'))) / (select extract(epoch from '2026-07-23 17:28:38'::timestamp) - extract(epoch from '2026-07-23 17:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0321 -3.351735)'), GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.351711)'))) / (select extract(epoch from '2026-07-23 17:28:38'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.032173 -3.351687)', '2026-07-23 17:28:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.351711)'), GeomFromEWKT('SRID=4674;POINT (-39.032173 -3.351687)'))) / (select extract(epoch from '2026-07-23 17:28:44'::timestamp) - extract(epoch from '2026-07-23 17:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032138 -3.351711)'), GeomFromEWKT('SRID=4674;POINT (-39.032173 -3.351687)'))) / (select extract(epoch from '2026-07-23 17:28:44'::timestamp) - extract(epoch from '2026-07-23 17:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032205 -3.351664)', '2026-07-23 17:28:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032173 -3.351687)'), GeomFromEWKT('SRID=4674;POINT (-39.032205 -3.351664)'))) / (select extract(epoch from '2026-07-23 17:28:50'::timestamp) - extract(epoch from '2026-07-23 17:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032173 -3.351687)'), GeomFromEWKT('SRID=4674;POINT (-39.032205 -3.351664)'))) / (select extract(epoch from '2026-07-23 17:28:50'::timestamp) - extract(epoch from '2026-07-23 17:28: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'), 47446, 'SRID=4674;POINT (-39.032245 -3.351638)', '2026-07-23 17:28:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032205 -3.351664)'), GeomFromEWKT('SRID=4674;POINT (-39.032245 -3.351638)'))) / (select extract(epoch from '2026-07-23 17:28:58'::timestamp) - extract(epoch from '2026-07-23 17:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032205 -3.351664)'), GeomFromEWKT('SRID=4674;POINT (-39.032245 -3.351638)'))) / (select extract(epoch from '2026-07-23 17:28:58'::timestamp) - extract(epoch from '2026-07-23 17:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032279 -3.35161)', '2026-07-23 17:29:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032245 -3.351638)'), GeomFromEWKT('SRID=4674;POINT (-39.032279 -3.35161)'))) / (select extract(epoch from '2026-07-23 17:29:05'::timestamp) - extract(epoch from '2026-07-23 17:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032245 -3.351638)'), GeomFromEWKT('SRID=4674;POINT (-39.032279 -3.35161)'))) / (select extract(epoch from '2026-07-23 17:29:05'::timestamp) - extract(epoch from '2026-07-23 17:28: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'), 47446, 'SRID=4674;POINT (-39.03231 -3.351581)', '2026-07-23 17:29:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032279 -3.35161)'), GeomFromEWKT('SRID=4674;POINT (-39.03231 -3.351581)'))) / (select extract(epoch from '2026-07-23 17:29:12'::timestamp) - extract(epoch from '2026-07-23 17:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032279 -3.35161)'), GeomFromEWKT('SRID=4674;POINT (-39.03231 -3.351581)'))) / (select extract(epoch from '2026-07-23 17:29:12'::timestamp) - extract(epoch from '2026-07-23 17:29: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'), 47446, 'SRID=4674;POINT (-39.032347 -3.351555)', '2026-07-23 17:29:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03231 -3.351581)'), GeomFromEWKT('SRID=4674;POINT (-39.032347 -3.351555)'))) / (select extract(epoch from '2026-07-23 17:29:19'::timestamp) - extract(epoch from '2026-07-23 17:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03231 -3.351581)'), GeomFromEWKT('SRID=4674;POINT (-39.032347 -3.351555)'))) / (select extract(epoch from '2026-07-23 17:29:19'::timestamp) - extract(epoch from '2026-07-23 17:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032386 -3.351522)', '2026-07-23 17:29:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032347 -3.351555)'), GeomFromEWKT('SRID=4674;POINT (-39.032386 -3.351522)'))) / (select extract(epoch from '2026-07-23 17:29:27'::timestamp) - extract(epoch from '2026-07-23 17:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032347 -3.351555)'), GeomFromEWKT('SRID=4674;POINT (-39.032386 -3.351522)'))) / (select extract(epoch from '2026-07-23 17:29:27'::timestamp) - extract(epoch from '2026-07-23 17:29: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'), 47446, 'SRID=4674;POINT (-39.032411 -3.351501)', '2026-07-23 17:29:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032386 -3.351522)'), GeomFromEWKT('SRID=4674;POINT (-39.032411 -3.351501)'))) / (select extract(epoch from '2026-07-23 17:29:33'::timestamp) - extract(epoch from '2026-07-23 17:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032386 -3.351522)'), GeomFromEWKT('SRID=4674;POINT (-39.032411 -3.351501)'))) / (select extract(epoch from '2026-07-23 17:29:33'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.032438 -3.351484)', '2026-07-23 17:29:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032411 -3.351501)'), GeomFromEWKT('SRID=4674;POINT (-39.032438 -3.351484)'))) / (select extract(epoch from '2026-07-23 17:29:38'::timestamp) - extract(epoch from '2026-07-23 17:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032411 -3.351501)'), GeomFromEWKT('SRID=4674;POINT (-39.032438 -3.351484)'))) / (select extract(epoch from '2026-07-23 17:29:38'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.032445 -3.35148)', '2026-07-23 17:29:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032438 -3.351484)'), GeomFromEWKT('SRID=4674;POINT (-39.032445 -3.35148)'))) / (select extract(epoch from '2026-07-23 17:29:39'::timestamp) - extract(epoch from '2026-07-23 17:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032438 -3.351484)'), GeomFromEWKT('SRID=4674;POINT (-39.032445 -3.35148)'))) / (select extract(epoch from '2026-07-23 17:29:39'::timestamp) - extract(epoch from '2026-07-23 17:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032475 -3.351454)', '2026-07-23 17:29:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032445 -3.35148)'), GeomFromEWKT('SRID=4674;POINT (-39.032475 -3.351454)'))) / (select extract(epoch from '2026-07-23 17:29:46'::timestamp) - extract(epoch from '2026-07-23 17:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032445 -3.35148)'), GeomFromEWKT('SRID=4674;POINT (-39.032475 -3.351454)'))) / (select extract(epoch from '2026-07-23 17:29:46'::timestamp) - extract(epoch from '2026-07-23 17:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032493 -3.351439)', '2026-07-23 17:29:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032475 -3.351454)'), GeomFromEWKT('SRID=4674;POINT (-39.032493 -3.351439)'))) / (select extract(epoch from '2026-07-23 17:29:50'::timestamp) - extract(epoch from '2026-07-23 17:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032475 -3.351454)'), GeomFromEWKT('SRID=4674;POINT (-39.032493 -3.351439)'))) / (select extract(epoch from '2026-07-23 17:29:50'::timestamp) - extract(epoch from '2026-07-23 17:29: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'), 47446, 'SRID=4674;POINT (-39.032503 -3.351435)', '2026-07-23 17:29:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032493 -3.351439)'), GeomFromEWKT('SRID=4674;POINT (-39.032503 -3.351435)'))) / (select extract(epoch from '2026-07-23 17:29:51'::timestamp) - extract(epoch from '2026-07-23 17:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032493 -3.351439)'), GeomFromEWKT('SRID=4674;POINT (-39.032503 -3.351435)'))) / (select extract(epoch from '2026-07-23 17:29:51'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.032521 -3.351414)', '2026-07-23 17:29:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032503 -3.351435)'), GeomFromEWKT('SRID=4674;POINT (-39.032521 -3.351414)'))) / (select extract(epoch from '2026-07-23 17:29:55'::timestamp) - extract(epoch from '2026-07-23 17:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032503 -3.351435)'), GeomFromEWKT('SRID=4674;POINT (-39.032521 -3.351414)'))) / (select extract(epoch from '2026-07-23 17:29:55'::timestamp) - extract(epoch from '2026-07-23 17:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032554 -3.351389)', '2026-07-23 17:30:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032521 -3.351414)'), GeomFromEWKT('SRID=4674;POINT (-39.032554 -3.351389)'))) / (select extract(epoch from '2026-07-23 17:30:01'::timestamp) - extract(epoch from '2026-07-23 17:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032521 -3.351414)'), GeomFromEWKT('SRID=4674;POINT (-39.032554 -3.351389)'))) / (select extract(epoch from '2026-07-23 17:30:01'::timestamp) - extract(epoch from '2026-07-23 17:29: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'), 47446, 'SRID=4674;POINT (-39.032593 -3.351364)', '2026-07-23 17:30:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032554 -3.351389)'), GeomFromEWKT('SRID=4674;POINT (-39.032593 -3.351364)'))) / (select extract(epoch from '2026-07-23 17:30:07'::timestamp) - extract(epoch from '2026-07-23 17:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032554 -3.351389)'), GeomFromEWKT('SRID=4674;POINT (-39.032593 -3.351364)'))) / (select extract(epoch from '2026-07-23 17:30:07'::timestamp) - extract(epoch from '2026-07-23 17:30: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'), 47446, 'SRID=4674;POINT (-39.032617 -3.351339)', '2026-07-23 17:30:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032593 -3.351364)'), GeomFromEWKT('SRID=4674;POINT (-39.032617 -3.351339)'))) / (select extract(epoch from '2026-07-23 17:30:13'::timestamp) - extract(epoch from '2026-07-23 17:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032593 -3.351364)'), GeomFromEWKT('SRID=4674;POINT (-39.032617 -3.351339)'))) / (select extract(epoch from '2026-07-23 17:30:13'::timestamp) - extract(epoch from '2026-07-23 17:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03265 -3.351311)', '2026-07-23 17:30:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032617 -3.351339)'), GeomFromEWKT('SRID=4674;POINT (-39.03265 -3.351311)'))) / (select extract(epoch from '2026-07-23 17:30:21'::timestamp) - extract(epoch from '2026-07-23 17:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032617 -3.351339)'), GeomFromEWKT('SRID=4674;POINT (-39.03265 -3.351311)'))) / (select extract(epoch from '2026-07-23 17:30:21'::timestamp) - extract(epoch from '2026-07-23 17:30: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'), 47446, 'SRID=4674;POINT (-39.032658 -3.351309)', '2026-07-23 17:30:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03265 -3.351311)'), GeomFromEWKT('SRID=4674;POINT (-39.032658 -3.351309)'))) / (select extract(epoch from '2026-07-23 17:30:22'::timestamp) - extract(epoch from '2026-07-23 17:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03265 -3.351311)'), GeomFromEWKT('SRID=4674;POINT (-39.032658 -3.351309)'))) / (select extract(epoch from '2026-07-23 17:30:22'::timestamp) - extract(epoch from '2026-07-23 17:30: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'), 47446, 'SRID=4674;POINT (-39.032672 -3.351299)', '2026-07-23 17:30:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032658 -3.351309)'), GeomFromEWKT('SRID=4674;POINT (-39.032672 -3.351299)'))) / (select extract(epoch from '2026-07-23 17:30:26'::timestamp) - extract(epoch from '2026-07-23 17:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032658 -3.351309)'), GeomFromEWKT('SRID=4674;POINT (-39.032672 -3.351299)'))) / (select extract(epoch from '2026-07-23 17:30:26'::timestamp) - extract(epoch from '2026-07-23 17:30: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'), 47446, 'SRID=4674;POINT (-39.032694 -3.351284)', '2026-07-23 17:30:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032672 -3.351299)'), GeomFromEWKT('SRID=4674;POINT (-39.032694 -3.351284)'))) / (select extract(epoch from '2026-07-23 17:30:31'::timestamp) - extract(epoch from '2026-07-23 17:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032672 -3.351299)'), GeomFromEWKT('SRID=4674;POINT (-39.032694 -3.351284)'))) / (select extract(epoch from '2026-07-23 17:30:31'::timestamp) - extract(epoch from '2026-07-23 17:30: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'), 47446, 'SRID=4674;POINT (-39.03272 -3.351269)', '2026-07-23 17:30:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032694 -3.351284)'), GeomFromEWKT('SRID=4674;POINT (-39.03272 -3.351269)'))) / (select extract(epoch from '2026-07-23 17:30:37'::timestamp) - extract(epoch from '2026-07-23 17:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032694 -3.351284)'), GeomFromEWKT('SRID=4674;POINT (-39.03272 -3.351269)'))) / (select extract(epoch from '2026-07-23 17:30:37'::timestamp) - extract(epoch from '2026-07-23 17:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032753 -3.351256)', '2026-07-23 17:30:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03272 -3.351269)'), GeomFromEWKT('SRID=4674;POINT (-39.032753 -3.351256)'))) / (select extract(epoch from '2026-07-23 17:30:43'::timestamp) - extract(epoch from '2026-07-23 17:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03272 -3.351269)'), GeomFromEWKT('SRID=4674;POINT (-39.032753 -3.351256)'))) / (select extract(epoch from '2026-07-23 17:30:43'::timestamp) - extract(epoch from '2026-07-23 17:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032784 -3.351236)', '2026-07-23 17:30:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032753 -3.351256)'), GeomFromEWKT('SRID=4674;POINT (-39.032784 -3.351236)'))) / (select extract(epoch from '2026-07-23 17:30:50'::timestamp) - extract(epoch from '2026-07-23 17:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032753 -3.351256)'), GeomFromEWKT('SRID=4674;POINT (-39.032784 -3.351236)'))) / (select extract(epoch from '2026-07-23 17:30:50'::timestamp) - extract(epoch from '2026-07-23 17:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032825 -3.351214)', '2026-07-23 17:30:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032784 -3.351236)'), GeomFromEWKT('SRID=4674;POINT (-39.032825 -3.351214)'))) / (select extract(epoch from '2026-07-23 17:30:56'::timestamp) - extract(epoch from '2026-07-23 17:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032784 -3.351236)'), GeomFromEWKT('SRID=4674;POINT (-39.032825 -3.351214)'))) / (select extract(epoch from '2026-07-23 17:30:56'::timestamp) - extract(epoch from '2026-07-23 17:30:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032853 -3.351196)', '2026-07-23 17:31:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032825 -3.351214)'), GeomFromEWKT('SRID=4674;POINT (-39.032853 -3.351196)'))) / (select extract(epoch from '2026-07-23 17:31:02'::timestamp) - extract(epoch from '2026-07-23 17:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032825 -3.351214)'), GeomFromEWKT('SRID=4674;POINT (-39.032853 -3.351196)'))) / (select extract(epoch from '2026-07-23 17:31:02'::timestamp) - extract(epoch from '2026-07-23 17:30: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'), 47446, 'SRID=4674;POINT (-39.032886 -3.351175)', '2026-07-23 17:31:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032853 -3.351196)'), GeomFromEWKT('SRID=4674;POINT (-39.032886 -3.351175)'))) / (select extract(epoch from '2026-07-23 17:31:09'::timestamp) - extract(epoch from '2026-07-23 17:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032853 -3.351196)'), GeomFromEWKT('SRID=4674;POINT (-39.032886 -3.351175)'))) / (select extract(epoch from '2026-07-23 17:31:09'::timestamp) - extract(epoch from '2026-07-23 17:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.032914 -3.351152)', '2026-07-23 17:31:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032886 -3.351175)'), GeomFromEWKT('SRID=4674;POINT (-39.032914 -3.351152)'))) / (select extract(epoch from '2026-07-23 17:31:15'::timestamp) - extract(epoch from '2026-07-23 17:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032886 -3.351175)'), GeomFromEWKT('SRID=4674;POINT (-39.032914 -3.351152)'))) / (select extract(epoch from '2026-07-23 17:31:15'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.032938 -3.351144)', '2026-07-23 17:31:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032914 -3.351152)'), GeomFromEWKT('SRID=4674;POINT (-39.032938 -3.351144)'))) / (select extract(epoch from '2026-07-23 17:31:18'::timestamp) - extract(epoch from '2026-07-23 17:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032914 -3.351152)'), GeomFromEWKT('SRID=4674;POINT (-39.032938 -3.351144)'))) / (select extract(epoch from '2026-07-23 17:31:18'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.032942 -3.351139)', '2026-07-23 17:31:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032938 -3.351144)'), GeomFromEWKT('SRID=4674;POINT (-39.032942 -3.351139)'))) / (select extract(epoch from '2026-07-23 17:31:19'::timestamp) - extract(epoch from '2026-07-23 17:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032938 -3.351144)'), GeomFromEWKT('SRID=4674;POINT (-39.032942 -3.351139)'))) / (select extract(epoch from '2026-07-23 17:31:19'::timestamp) - extract(epoch from '2026-07-23 17:31: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'), 47446, 'SRID=4674;POINT (-39.032968 -3.35112)', '2026-07-23 17:31:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032942 -3.351139)'), GeomFromEWKT('SRID=4674;POINT (-39.032968 -3.35112)'))) / (select extract(epoch from '2026-07-23 17:31:25'::timestamp) - extract(epoch from '2026-07-23 17:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032942 -3.351139)'), GeomFromEWKT('SRID=4674;POINT (-39.032968 -3.35112)'))) / (select extract(epoch from '2026-07-23 17:31:25'::timestamp) - extract(epoch from '2026-07-23 17:31: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'), 47446, 'SRID=4674;POINT (-39.032994 -3.351101)', '2026-07-23 17:31:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032968 -3.35112)'), GeomFromEWKT('SRID=4674;POINT (-39.032994 -3.351101)'))) / (select extract(epoch from '2026-07-23 17:31:32'::timestamp) - extract(epoch from '2026-07-23 17:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032968 -3.35112)'), GeomFromEWKT('SRID=4674;POINT (-39.032994 -3.351101)'))) / (select extract(epoch from '2026-07-23 17:31:32'::timestamp) - extract(epoch from '2026-07-23 17:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033023 -3.351083)', '2026-07-23 17:31:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032994 -3.351101)'), GeomFromEWKT('SRID=4674;POINT (-39.033023 -3.351083)'))) / (select extract(epoch from '2026-07-23 17:31:39'::timestamp) - extract(epoch from '2026-07-23 17:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032994 -3.351101)'), GeomFromEWKT('SRID=4674;POINT (-39.033023 -3.351083)'))) / (select extract(epoch from '2026-07-23 17:31:39'::timestamp) - extract(epoch from '2026-07-23 17:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033058 -3.351066)', '2026-07-23 17:31:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033023 -3.351083)'), GeomFromEWKT('SRID=4674;POINT (-39.033058 -3.351066)'))) / (select extract(epoch from '2026-07-23 17:31:46'::timestamp) - extract(epoch from '2026-07-23 17:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033023 -3.351083)'), GeomFromEWKT('SRID=4674;POINT (-39.033058 -3.351066)'))) / (select extract(epoch from '2026-07-23 17:31:46'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.033081 -3.35105)', '2026-07-23 17:31:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033058 -3.351066)'), GeomFromEWKT('SRID=4674;POINT (-39.033081 -3.35105)'))) / (select extract(epoch from '2026-07-23 17:31:51'::timestamp) - extract(epoch from '2026-07-23 17:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033058 -3.351066)'), GeomFromEWKT('SRID=4674;POINT (-39.033081 -3.35105)'))) / (select extract(epoch from '2026-07-23 17:31:51'::timestamp) - extract(epoch from '2026-07-23 17:31: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'), 47446, 'SRID=4674;POINT (-39.033116 -3.351034)', '2026-07-23 17:31:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033081 -3.35105)'), GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.351034)'))) / (select extract(epoch from '2026-07-23 17:31:58'::timestamp) - extract(epoch from '2026-07-23 17:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033081 -3.35105)'), GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.351034)'))) / (select extract(epoch from '2026-07-23 17:31:58'::timestamp) - extract(epoch from '2026-07-23 17:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03313 -3.351026)', '2026-07-23 17:32:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.351034)'), GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.351026)'))) / (select extract(epoch from '2026-07-23 17:32:01'::timestamp) - extract(epoch from '2026-07-23 17:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033116 -3.351034)'), GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.351026)'))) / (select extract(epoch from '2026-07-23 17:32:01'::timestamp) - extract(epoch from '2026-07-23 17:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033145 -3.351019)', '2026-07-23 17:32:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.351026)'), GeomFromEWKT('SRID=4674;POINT (-39.033145 -3.351019)'))) / (select extract(epoch from '2026-07-23 17:32:04'::timestamp) - extract(epoch from '2026-07-23 17:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03313 -3.351026)'), GeomFromEWKT('SRID=4674;POINT (-39.033145 -3.351019)'))) / (select extract(epoch from '2026-07-23 17:32:04'::timestamp) - extract(epoch from '2026-07-23 17:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033179 -3.350998)', '2026-07-23 17:32:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033145 -3.351019)'), GeomFromEWKT('SRID=4674;POINT (-39.033179 -3.350998)'))) / (select extract(epoch from '2026-07-23 17:32:11'::timestamp) - extract(epoch from '2026-07-23 17:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033145 -3.351019)'), GeomFromEWKT('SRID=4674;POINT (-39.033179 -3.350998)'))) / (select extract(epoch from '2026-07-23 17:32:11'::timestamp) - extract(epoch from '2026-07-23 17:32: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'), 47446, 'SRID=4674;POINT (-39.033206 -3.350986)', '2026-07-23 17:32:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033179 -3.350998)'), GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.350986)'))) / (select extract(epoch from '2026-07-23 17:32:16'::timestamp) - extract(epoch from '2026-07-23 17:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033179 -3.350998)'), GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.350986)'))) / (select extract(epoch from '2026-07-23 17:32:16'::timestamp) - extract(epoch from '2026-07-23 17:32:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03322 -3.350975)', '2026-07-23 17:32:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.350986)'), GeomFromEWKT('SRID=4674;POINT (-39.03322 -3.350975)'))) / (select extract(epoch from '2026-07-23 17:32:20'::timestamp) - extract(epoch from '2026-07-23 17:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033206 -3.350986)'), GeomFromEWKT('SRID=4674;POINT (-39.03322 -3.350975)'))) / (select extract(epoch from '2026-07-23 17:32:20'::timestamp) - extract(epoch from '2026-07-23 17:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033248 -3.350969)', '2026-07-23 17:32:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03322 -3.350975)'), GeomFromEWKT('SRID=4674;POINT (-39.033248 -3.350969)'))) / (select extract(epoch from '2026-07-23 17:32:25'::timestamp) - extract(epoch from '2026-07-23 17:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03322 -3.350975)'), GeomFromEWKT('SRID=4674;POINT (-39.033248 -3.350969)'))) / (select extract(epoch from '2026-07-23 17:32:25'::timestamp) - extract(epoch from '2026-07-23 17:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033283 -3.350953)', '2026-07-23 17:32:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033248 -3.350969)'), GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.350953)'))) / (select extract(epoch from '2026-07-23 17:32:32'::timestamp) - extract(epoch from '2026-07-23 17:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033248 -3.350969)'), GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.350953)'))) / (select extract(epoch from '2026-07-23 17:32:32'::timestamp) - extract(epoch from '2026-07-23 17:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033315 -3.350945)', '2026-07-23 17:32:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.350953)'), GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.350945)'))) / (select extract(epoch from '2026-07-23 17:32:39'::timestamp) - extract(epoch from '2026-07-23 17:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033283 -3.350953)'), GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.350945)'))) / (select extract(epoch from '2026-07-23 17:32:39'::timestamp) - extract(epoch from '2026-07-23 17:32: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'), 47446, 'SRID=4674;POINT (-39.033338 -3.350941)', '2026-07-23 17:32:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.350945)'), GeomFromEWKT('SRID=4674;POINT (-39.033338 -3.350941)'))) / (select extract(epoch from '2026-07-23 17:32:45'::timestamp) - extract(epoch from '2026-07-23 17:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033315 -3.350945)'), GeomFromEWKT('SRID=4674;POINT (-39.033338 -3.350941)'))) / (select extract(epoch from '2026-07-23 17:32:45'::timestamp) - extract(epoch from '2026-07-23 17:32: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'), 47446, 'SRID=4674;POINT (-39.033367 -3.350932)', '2026-07-23 17:32:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033338 -3.350941)'), GeomFromEWKT('SRID=4674;POINT (-39.033367 -3.350932)'))) / (select extract(epoch from '2026-07-23 17:32:51'::timestamp) - extract(epoch from '2026-07-23 17:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033338 -3.350941)'), GeomFromEWKT('SRID=4674;POINT (-39.033367 -3.350932)'))) / (select extract(epoch from '2026-07-23 17:32:51'::timestamp) - extract(epoch from '2026-07-23 17:32: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'), 47446, 'SRID=4674;POINT (-39.033376 -3.350932)', '2026-07-23 17:32:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033367 -3.350932)'), GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.350932)'))) / (select extract(epoch from '2026-07-23 17:32:52'::timestamp) - extract(epoch from '2026-07-23 17:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033367 -3.350932)'), GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.350932)'))) / (select extract(epoch from '2026-07-23 17:32:52'::timestamp) - extract(epoch from '2026-07-23 17:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033392 -3.350924)', '2026-07-23 17:32:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.350932)'), GeomFromEWKT('SRID=4674;POINT (-39.033392 -3.350924)'))) / (select extract(epoch from '2026-07-23 17:32:56'::timestamp) - extract(epoch from '2026-07-23 17:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033376 -3.350932)'), GeomFromEWKT('SRID=4674;POINT (-39.033392 -3.350924)'))) / (select extract(epoch from '2026-07-23 17:32:56'::timestamp) - extract(epoch from '2026-07-23 17:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033401 -3.35092)', '2026-07-23 17:32:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033392 -3.350924)'), GeomFromEWKT('SRID=4674;POINT (-39.033401 -3.35092)'))) / (select extract(epoch from '2026-07-23 17:32:57'::timestamp) - extract(epoch from '2026-07-23 17:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033392 -3.350924)'), GeomFromEWKT('SRID=4674;POINT (-39.033401 -3.35092)'))) / (select extract(epoch from '2026-07-23 17:32:57'::timestamp) - extract(epoch from '2026-07-23 17:32: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'), 47446, 'SRID=4674;POINT (-39.033425 -3.350909)', '2026-07-23 17:33:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033401 -3.35092)'), GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.350909)'))) / (select extract(epoch from '2026-07-23 17:33:02'::timestamp) - extract(epoch from '2026-07-23 17:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033401 -3.35092)'), GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.350909)'))) / (select extract(epoch from '2026-07-23 17:33:02'::timestamp) - extract(epoch from '2026-07-23 17:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033449 -3.350899)', '2026-07-23 17:33:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.350909)'), GeomFromEWKT('SRID=4674;POINT (-39.033449 -3.350899)'))) / (select extract(epoch from '2026-07-23 17:33:08'::timestamp) - extract(epoch from '2026-07-23 17:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033425 -3.350909)'), GeomFromEWKT('SRID=4674;POINT (-39.033449 -3.350899)'))) / (select extract(epoch from '2026-07-23 17:33:08'::timestamp) - extract(epoch from '2026-07-23 17:33: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'), 47446, 'SRID=4674;POINT (-39.033485 -3.350884)', '2026-07-23 17:33:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033449 -3.350899)'), GeomFromEWKT('SRID=4674;POINT (-39.033485 -3.350884)'))) / (select extract(epoch from '2026-07-23 17:33:16'::timestamp) - extract(epoch from '2026-07-23 17:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033449 -3.350899)'), GeomFromEWKT('SRID=4674;POINT (-39.033485 -3.350884)'))) / (select extract(epoch from '2026-07-23 17:33:16'::timestamp) - extract(epoch from '2026-07-23 17:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033494 -3.350882)', '2026-07-23 17:33:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033485 -3.350884)'), GeomFromEWKT('SRID=4674;POINT (-39.033494 -3.350882)'))) / (select extract(epoch from '2026-07-23 17:33:17'::timestamp) - extract(epoch from '2026-07-23 17:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033485 -3.350884)'), GeomFromEWKT('SRID=4674;POINT (-39.033494 -3.350882)'))) / (select extract(epoch from '2026-07-23 17:33:17'::timestamp) - extract(epoch from '2026-07-23 17:33:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033518 -3.350873)', '2026-07-23 17:33:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033494 -3.350882)'), GeomFromEWKT('SRID=4674;POINT (-39.033518 -3.350873)'))) / (select extract(epoch from '2026-07-23 17:33:21'::timestamp) - extract(epoch from '2026-07-23 17:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033494 -3.350882)'), GeomFromEWKT('SRID=4674;POINT (-39.033518 -3.350873)'))) / (select extract(epoch from '2026-07-23 17:33:21'::timestamp) - extract(epoch from '2026-07-23 17:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033553 -3.350859)', '2026-07-23 17:33:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033518 -3.350873)'), GeomFromEWKT('SRID=4674;POINT (-39.033553 -3.350859)'))) / (select extract(epoch from '2026-07-23 17:33:29'::timestamp) - extract(epoch from '2026-07-23 17:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033518 -3.350873)'), GeomFromEWKT('SRID=4674;POINT (-39.033553 -3.350859)'))) / (select extract(epoch from '2026-07-23 17:33:29'::timestamp) - extract(epoch from '2026-07-23 17:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033577 -3.350845)', '2026-07-23 17:33:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033553 -3.350859)'), GeomFromEWKT('SRID=4674;POINT (-39.033577 -3.350845)'))) / (select extract(epoch from '2026-07-23 17:33:36'::timestamp) - extract(epoch from '2026-07-23 17:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033553 -3.350859)'), GeomFromEWKT('SRID=4674;POINT (-39.033577 -3.350845)'))) / (select extract(epoch from '2026-07-23 17:33:36'::timestamp) - extract(epoch from '2026-07-23 17:33: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'), 47446, 'SRID=4674;POINT (-39.033614 -3.350826)', '2026-07-23 17:33:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033577 -3.350845)'), GeomFromEWKT('SRID=4674;POINT (-39.033614 -3.350826)'))) / (select extract(epoch from '2026-07-23 17:33:43'::timestamp) - extract(epoch from '2026-07-23 17:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033577 -3.350845)'), GeomFromEWKT('SRID=4674;POINT (-39.033614 -3.350826)'))) / (select extract(epoch from '2026-07-23 17:33:43'::timestamp) - extract(epoch from '2026-07-23 17:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033643 -3.350809)', '2026-07-23 17:33:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033614 -3.350826)'), GeomFromEWKT('SRID=4674;POINT (-39.033643 -3.350809)'))) / (select extract(epoch from '2026-07-23 17:33:49'::timestamp) - extract(epoch from '2026-07-23 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033614 -3.350826)'), GeomFromEWKT('SRID=4674;POINT (-39.033643 -3.350809)'))) / (select extract(epoch from '2026-07-23 17:33:49'::timestamp) - extract(epoch from '2026-07-23 17:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033666 -3.350793)', '2026-07-23 17:33:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033643 -3.350809)'), GeomFromEWKT('SRID=4674;POINT (-39.033666 -3.350793)'))) / (select extract(epoch from '2026-07-23 17:33:55'::timestamp) - extract(epoch from '2026-07-23 17:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033643 -3.350809)'), GeomFromEWKT('SRID=4674;POINT (-39.033666 -3.350793)'))) / (select extract(epoch from '2026-07-23 17:33:55'::timestamp) - extract(epoch from '2026-07-23 17:33: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'), 47446, 'SRID=4674;POINT (-39.033694 -3.350777)', '2026-07-23 17:34:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033666 -3.350793)'), GeomFromEWKT('SRID=4674;POINT (-39.033694 -3.350777)'))) / (select extract(epoch from '2026-07-23 17:34:02'::timestamp) - extract(epoch from '2026-07-23 17:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033666 -3.350793)'), GeomFromEWKT('SRID=4674;POINT (-39.033694 -3.350777)'))) / (select extract(epoch from '2026-07-23 17:34:02'::timestamp) - extract(epoch from '2026-07-23 17:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033718 -3.350759)', '2026-07-23 17:34:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033694 -3.350777)'), GeomFromEWKT('SRID=4674;POINT (-39.033718 -3.350759)'))) / (select extract(epoch from '2026-07-23 17:34:08'::timestamp) - extract(epoch from '2026-07-23 17:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033694 -3.350777)'), GeomFromEWKT('SRID=4674;POINT (-39.033718 -3.350759)'))) / (select extract(epoch from '2026-07-23 17:34:08'::timestamp) - extract(epoch from '2026-07-23 17:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033748 -3.350739)', '2026-07-23 17:34:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033718 -3.350759)'), GeomFromEWKT('SRID=4674;POINT (-39.033748 -3.350739)'))) / (select extract(epoch from '2026-07-23 17:34:15'::timestamp) - extract(epoch from '2026-07-23 17:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033718 -3.350759)'), GeomFromEWKT('SRID=4674;POINT (-39.033748 -3.350739)'))) / (select extract(epoch from '2026-07-23 17:34:15'::timestamp) - extract(epoch from '2026-07-23 17:34: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'), 47446, 'SRID=4674;POINT (-39.033774 -3.350717)', '2026-07-23 17:34:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033748 -3.350739)'), GeomFromEWKT('SRID=4674;POINT (-39.033774 -3.350717)'))) / (select extract(epoch from '2026-07-23 17:34:21'::timestamp) - extract(epoch from '2026-07-23 17:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033748 -3.350739)'), GeomFromEWKT('SRID=4674;POINT (-39.033774 -3.350717)'))) / (select extract(epoch from '2026-07-23 17:34:21'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.033815 -3.350701)', '2026-07-23 17:34:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033774 -3.350717)'), GeomFromEWKT('SRID=4674;POINT (-39.033815 -3.350701)'))) / (select extract(epoch from '2026-07-23 17:34:30'::timestamp) - extract(epoch from '2026-07-23 17:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033774 -3.350717)'), GeomFromEWKT('SRID=4674;POINT (-39.033815 -3.350701)'))) / (select extract(epoch from '2026-07-23 17:34:30'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.033859 -3.350682)', '2026-07-23 17:34:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033815 -3.350701)'), GeomFromEWKT('SRID=4674;POINT (-39.033859 -3.350682)'))) / (select extract(epoch from '2026-07-23 17:34:39'::timestamp) - extract(epoch from '2026-07-23 17:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033815 -3.350701)'), GeomFromEWKT('SRID=4674;POINT (-39.033859 -3.350682)'))) / (select extract(epoch from '2026-07-23 17:34:39'::timestamp) - extract(epoch from '2026-07-23 17:34: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'), 47446, 'SRID=4674;POINT (-39.033887 -3.350669)', '2026-07-23 17:34:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033859 -3.350682)'), GeomFromEWKT('SRID=4674;POINT (-39.033887 -3.350669)'))) / (select extract(epoch from '2026-07-23 17:34:44'::timestamp) - extract(epoch from '2026-07-23 17:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033859 -3.350682)'), GeomFromEWKT('SRID=4674;POINT (-39.033887 -3.350669)'))) / (select extract(epoch from '2026-07-23 17:34:44'::timestamp) - extract(epoch from '2026-07-23 17:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033901 -3.350664)', '2026-07-23 17:34:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033887 -3.350669)'), GeomFromEWKT('SRID=4674;POINT (-39.033901 -3.350664)'))) / (select extract(epoch from '2026-07-23 17:34:46'::timestamp) - extract(epoch from '2026-07-23 17:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033887 -3.350669)'), GeomFromEWKT('SRID=4674;POINT (-39.033901 -3.350664)'))) / (select extract(epoch from '2026-07-23 17:34:46'::timestamp) - extract(epoch from '2026-07-23 17:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03393 -3.350647)', '2026-07-23 17:34:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033901 -3.350664)'), GeomFromEWKT('SRID=4674;POINT (-39.03393 -3.350647)'))) / (select extract(epoch from '2026-07-23 17:34:52'::timestamp) - extract(epoch from '2026-07-23 17:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033901 -3.350664)'), GeomFromEWKT('SRID=4674;POINT (-39.03393 -3.350647)'))) / (select extract(epoch from '2026-07-23 17:34:52'::timestamp) - extract(epoch from '2026-07-23 17:34: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'), 47446, 'SRID=4674;POINT (-39.033953 -3.350631)', '2026-07-23 17:34:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03393 -3.350647)'), GeomFromEWKT('SRID=4674;POINT (-39.033953 -3.350631)'))) / (select extract(epoch from '2026-07-23 17:34:58'::timestamp) - extract(epoch from '2026-07-23 17:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03393 -3.350647)'), GeomFromEWKT('SRID=4674;POINT (-39.033953 -3.350631)'))) / (select extract(epoch from '2026-07-23 17:34:58'::timestamp) - extract(epoch from '2026-07-23 17:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.033987 -3.350609)', '2026-07-23 17:35:05', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033953 -3.350631)'), GeomFromEWKT('SRID=4674;POINT (-39.033987 -3.350609)'))) / (select extract(epoch from '2026-07-23 17:35:05'::timestamp) - extract(epoch from '2026-07-23 17:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033953 -3.350631)'), GeomFromEWKT('SRID=4674;POINT (-39.033987 -3.350609)'))) / (select extract(epoch from '2026-07-23 17:35:05'::timestamp) - extract(epoch from '2026-07-23 17:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034027 -3.35059)', '2026-07-23 17:35:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033987 -3.350609)'), GeomFromEWKT('SRID=4674;POINT (-39.034027 -3.35059)'))) / (select extract(epoch from '2026-07-23 17:35:14'::timestamp) - extract(epoch from '2026-07-23 17:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033987 -3.350609)'), GeomFromEWKT('SRID=4674;POINT (-39.034027 -3.35059)'))) / (select extract(epoch from '2026-07-23 17:35:14'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.03405 -3.350573)', '2026-07-23 17:35:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034027 -3.35059)'), GeomFromEWKT('SRID=4674;POINT (-39.03405 -3.350573)'))) / (select extract(epoch from '2026-07-23 17:35:21'::timestamp) - extract(epoch from '2026-07-23 17:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034027 -3.35059)'), GeomFromEWKT('SRID=4674;POINT (-39.03405 -3.350573)'))) / (select extract(epoch from '2026-07-23 17:35:21'::timestamp) - extract(epoch from '2026-07-23 17:35:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034082 -3.350551)', '2026-07-23 17:35:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03405 -3.350573)'), GeomFromEWKT('SRID=4674;POINT (-39.034082 -3.350551)'))) / (select extract(epoch from '2026-07-23 17:35:29'::timestamp) - extract(epoch from '2026-07-23 17:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03405 -3.350573)'), GeomFromEWKT('SRID=4674;POINT (-39.034082 -3.350551)'))) / (select extract(epoch from '2026-07-23 17:35:29'::timestamp) - extract(epoch from '2026-07-23 17:35: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'), 47446, 'SRID=4674;POINT (-39.034103 -3.350535)', '2026-07-23 17:35:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034082 -3.350551)'), GeomFromEWKT('SRID=4674;POINT (-39.034103 -3.350535)'))) / (select extract(epoch from '2026-07-23 17:35:34'::timestamp) - extract(epoch from '2026-07-23 17:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034082 -3.350551)'), GeomFromEWKT('SRID=4674;POINT (-39.034103 -3.350535)'))) / (select extract(epoch from '2026-07-23 17:35:34'::timestamp) - extract(epoch from '2026-07-23 17:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034135 -3.350517)', '2026-07-23 17:35:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034103 -3.350535)'), GeomFromEWKT('SRID=4674;POINT (-39.034135 -3.350517)'))) / (select extract(epoch from '2026-07-23 17:35:43'::timestamp) - extract(epoch from '2026-07-23 17:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034103 -3.350535)'), GeomFromEWKT('SRID=4674;POINT (-39.034135 -3.350517)'))) / (select extract(epoch from '2026-07-23 17:35:43'::timestamp) - extract(epoch from '2026-07-23 17:35: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'), 47446, 'SRID=4674;POINT (-39.034165 -3.350501)', '2026-07-23 17:35:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034135 -3.350517)'), GeomFromEWKT('SRID=4674;POINT (-39.034165 -3.350501)'))) / (select extract(epoch from '2026-07-23 17:35:50'::timestamp) - extract(epoch from '2026-07-23 17:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034135 -3.350517)'), GeomFromEWKT('SRID=4674;POINT (-39.034165 -3.350501)'))) / (select extract(epoch from '2026-07-23 17:35:50'::timestamp) - extract(epoch from '2026-07-23 17:35: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'), 47446, 'SRID=4674;POINT (-39.034201 -3.350483)', '2026-07-23 17:35:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034165 -3.350501)'), GeomFromEWKT('SRID=4674;POINT (-39.034201 -3.350483)'))) / (select extract(epoch from '2026-07-23 17:35:57'::timestamp) - extract(epoch from '2026-07-23 17:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034165 -3.350501)'), GeomFromEWKT('SRID=4674;POINT (-39.034201 -3.350483)'))) / (select extract(epoch from '2026-07-23 17:35:57'::timestamp) - extract(epoch from '2026-07-23 17:35: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'), 47446, 'SRID=4674;POINT (-39.034211 -3.35048)', '2026-07-23 17:35:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034201 -3.350483)'), GeomFromEWKT('SRID=4674;POINT (-39.034211 -3.35048)'))) / (select extract(epoch from '2026-07-23 17:35:58'::timestamp) - extract(epoch from '2026-07-23 17:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034201 -3.350483)'), GeomFromEWKT('SRID=4674;POINT (-39.034211 -3.35048)'))) / (select extract(epoch from '2026-07-23 17:35:58'::timestamp) - extract(epoch from '2026-07-23 17:35: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'), 47446, 'SRID=4674;POINT (-39.034232 -3.350463)', '2026-07-23 17:36:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034211 -3.35048)'), GeomFromEWKT('SRID=4674;POINT (-39.034232 -3.350463)'))) / (select extract(epoch from '2026-07-23 17:36:03'::timestamp) - extract(epoch from '2026-07-23 17:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034211 -3.35048)'), GeomFromEWKT('SRID=4674;POINT (-39.034232 -3.350463)'))) / (select extract(epoch from '2026-07-23 17:36:03'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.034259 -3.350447)', '2026-07-23 17:36:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034232 -3.350463)'), GeomFromEWKT('SRID=4674;POINT (-39.034259 -3.350447)'))) / (select extract(epoch from '2026-07-23 17:36:08'::timestamp) - extract(epoch from '2026-07-23 17:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034232 -3.350463)'), GeomFromEWKT('SRID=4674;POINT (-39.034259 -3.350447)'))) / (select extract(epoch from '2026-07-23 17:36:08'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.034268 -3.350444)', '2026-07-23 17:36:09', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034259 -3.350447)'), GeomFromEWKT('SRID=4674;POINT (-39.034268 -3.350444)'))) / (select extract(epoch from '2026-07-23 17:36:09'::timestamp) - extract(epoch from '2026-07-23 17:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034259 -3.350447)'), GeomFromEWKT('SRID=4674;POINT (-39.034268 -3.350444)'))) / (select extract(epoch from '2026-07-23 17:36:09'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47446, 'SRID=4674;POINT (-39.034292 -3.350428)', '2026-07-23 17:36:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034268 -3.350444)'), GeomFromEWKT('SRID=4674;POINT (-39.034292 -3.350428)'))) / (select extract(epoch from '2026-07-23 17:36:15'::timestamp) - extract(epoch from '2026-07-23 17:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034268 -3.350444)'), GeomFromEWKT('SRID=4674;POINT (-39.034292 -3.350428)'))) / (select extract(epoch from '2026-07-23 17:36:15'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47446, 'SRID=4674;POINT (-39.034316 -3.350414)', '2026-07-23 17:36:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034292 -3.350428)'), GeomFromEWKT('SRID=4674;POINT (-39.034316 -3.350414)'))) / (select extract(epoch from '2026-07-23 17:36:21'::timestamp) - extract(epoch from '2026-07-23 17:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034292 -3.350428)'), GeomFromEWKT('SRID=4674;POINT (-39.034316 -3.350414)'))) / (select extract(epoch from '2026-07-23 17:36:21'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47446, 'SRID=4674;POINT (-39.034356 -3.350392)', '2026-07-23 17:36:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034316 -3.350414)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -3.350392)'))) / (select extract(epoch from '2026-07-23 17:36:28'::timestamp) - extract(epoch from '2026-07-23 17:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034316 -3.350414)'), GeomFromEWKT('SRID=4674;POINT (-39.034356 -3.350392)'))) / (select extract(epoch from '2026-07-23 17:36:28'::timestamp) - extract(epoch from '2026-07-23 17:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034374 -3.350377)', '2026-07-23 17:36:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -3.350392)'), GeomFromEWKT('SRID=4674;POINT (-39.034374 -3.350377)'))) / (select extract(epoch from '2026-07-23 17:36:32'::timestamp) - extract(epoch from '2026-07-23 17:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034356 -3.350392)'), GeomFromEWKT('SRID=4674;POINT (-39.034374 -3.350377)'))) / (select extract(epoch from '2026-07-23 17:36:32'::timestamp) - extract(epoch from '2026-07-23 17:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034408 -3.350352)', '2026-07-23 17:36:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034374 -3.350377)'), GeomFromEWKT('SRID=4674;POINT (-39.034408 -3.350352)'))) / (select extract(epoch from '2026-07-23 17:36:39'::timestamp) - extract(epoch from '2026-07-23 17:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034374 -3.350377)'), GeomFromEWKT('SRID=4674;POINT (-39.034408 -3.350352)'))) / (select extract(epoch from '2026-07-23 17:36:39'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.034439 -3.350332)', '2026-07-23 17:36:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034408 -3.350352)'), GeomFromEWKT('SRID=4674;POINT (-39.034439 -3.350332)'))) / (select extract(epoch from '2026-07-23 17:36:47'::timestamp) - extract(epoch from '2026-07-23 17:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034408 -3.350352)'), GeomFromEWKT('SRID=4674;POINT (-39.034439 -3.350332)'))) / (select extract(epoch from '2026-07-23 17:36:47'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47446, 'SRID=4674;POINT (-39.034466 -3.350313)', '2026-07-23 17:36:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034439 -3.350332)'), GeomFromEWKT('SRID=4674;POINT (-39.034466 -3.350313)'))) / (select extract(epoch from '2026-07-23 17:36:55'::timestamp) - extract(epoch from '2026-07-23 17:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034439 -3.350332)'), GeomFromEWKT('SRID=4674;POINT (-39.034466 -3.350313)'))) / (select extract(epoch from '2026-07-23 17:36:55'::timestamp) - extract(epoch from '2026-07-23 17:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034493 -3.350296)', '2026-07-23 17:37:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034466 -3.350313)'), GeomFromEWKT('SRID=4674;POINT (-39.034493 -3.350296)'))) / (select extract(epoch from '2026-07-23 17:37:01'::timestamp) - extract(epoch from '2026-07-23 17:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034466 -3.350313)'), GeomFromEWKT('SRID=4674;POINT (-39.034493 -3.350296)'))) / (select extract(epoch from '2026-07-23 17:37:01'::timestamp) - extract(epoch from '2026-07-23 17:36: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'), 47446, 'SRID=4674;POINT (-39.034525 -3.350282)', '2026-07-23 17:37:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034493 -3.350296)'), GeomFromEWKT('SRID=4674;POINT (-39.034525 -3.350282)'))) / (select extract(epoch from '2026-07-23 17:37:09'::timestamp) - extract(epoch from '2026-07-23 17:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034493 -3.350296)'), GeomFromEWKT('SRID=4674;POINT (-39.034525 -3.350282)'))) / (select extract(epoch from '2026-07-23 17:37:09'::timestamp) - extract(epoch from '2026-07-23 17:37: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'), 47446, 'SRID=4674;POINT (-39.034553 -3.350268)', '2026-07-23 17:37:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034525 -3.350282)'), GeomFromEWKT('SRID=4674;POINT (-39.034553 -3.350268)'))) / (select extract(epoch from '2026-07-23 17:37:15'::timestamp) - extract(epoch from '2026-07-23 17:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034525 -3.350282)'), GeomFromEWKT('SRID=4674;POINT (-39.034553 -3.350268)'))) / (select extract(epoch from '2026-07-23 17:37:15'::timestamp) - extract(epoch from '2026-07-23 17:37: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'), 47446, 'SRID=4674;POINT (-39.034588 -3.350253)', '2026-07-23 17:37:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034553 -3.350268)'), GeomFromEWKT('SRID=4674;POINT (-39.034588 -3.350253)'))) / (select extract(epoch from '2026-07-23 17:37:22'::timestamp) - extract(epoch from '2026-07-23 17:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034553 -3.350268)'), GeomFromEWKT('SRID=4674;POINT (-39.034588 -3.350253)'))) / (select extract(epoch from '2026-07-23 17:37:22'::timestamp) - extract(epoch from '2026-07-23 17:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03462 -3.350239)', '2026-07-23 17:37:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034588 -3.350253)'), GeomFromEWKT('SRID=4674;POINT (-39.03462 -3.350239)'))) / (select extract(epoch from '2026-07-23 17:37:29'::timestamp) - extract(epoch from '2026-07-23 17:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034588 -3.350253)'), GeomFromEWKT('SRID=4674;POINT (-39.03462 -3.350239)'))) / (select extract(epoch from '2026-07-23 17:37:29'::timestamp) - extract(epoch from '2026-07-23 17:37: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'), 47446, 'SRID=4674;POINT (-39.034651 -3.350219)', '2026-07-23 17:37:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03462 -3.350239)'), GeomFromEWKT('SRID=4674;POINT (-39.034651 -3.350219)'))) / (select extract(epoch from '2026-07-23 17:37:36'::timestamp) - extract(epoch from '2026-07-23 17:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03462 -3.350239)'), GeomFromEWKT('SRID=4674;POINT (-39.034651 -3.350219)'))) / (select extract(epoch from '2026-07-23 17:37:36'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47446, 'SRID=4674;POINT (-39.034679 -3.350193)', '2026-07-23 17:37:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034651 -3.350219)'), GeomFromEWKT('SRID=4674;POINT (-39.034679 -3.350193)'))) / (select extract(epoch from '2026-07-23 17:37:45'::timestamp) - extract(epoch from '2026-07-23 17:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034651 -3.350219)'), GeomFromEWKT('SRID=4674;POINT (-39.034679 -3.350193)'))) / (select extract(epoch from '2026-07-23 17:37:45'::timestamp) - extract(epoch from '2026-07-23 17:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034712 -3.350175)', '2026-07-23 17:37:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034679 -3.350193)'), GeomFromEWKT('SRID=4674;POINT (-39.034712 -3.350175)'))) / (select extract(epoch from '2026-07-23 17:37:53'::timestamp) - extract(epoch from '2026-07-23 17:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034679 -3.350193)'), GeomFromEWKT('SRID=4674;POINT (-39.034712 -3.350175)'))) / (select extract(epoch from '2026-07-23 17:37:53'::timestamp) - extract(epoch from '2026-07-23 17:37:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034741 -3.350163)', '2026-07-23 17:37:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034712 -3.350175)'), GeomFromEWKT('SRID=4674;POINT (-39.034741 -3.350163)'))) / (select extract(epoch from '2026-07-23 17:37:59'::timestamp) - extract(epoch from '2026-07-23 17:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034712 -3.350175)'), GeomFromEWKT('SRID=4674;POINT (-39.034741 -3.350163)'))) / (select extract(epoch from '2026-07-23 17:37:59'::timestamp) - extract(epoch from '2026-07-23 17:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034781 -3.350145)', '2026-07-23 17:38:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034741 -3.350163)'), GeomFromEWKT('SRID=4674;POINT (-39.034781 -3.350145)'))) / (select extract(epoch from '2026-07-23 17:38:06'::timestamp) - extract(epoch from '2026-07-23 17:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034741 -3.350163)'), GeomFromEWKT('SRID=4674;POINT (-39.034781 -3.350145)'))) / (select extract(epoch from '2026-07-23 17:38:06'::timestamp) - extract(epoch from '2026-07-23 17:37: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'), 47446, 'SRID=4674;POINT (-39.0348 -3.350129)', '2026-07-23 17:38:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034781 -3.350145)'), GeomFromEWKT('SRID=4674;POINT (-39.0348 -3.350129)'))) / (select extract(epoch from '2026-07-23 17:38:11'::timestamp) - extract(epoch from '2026-07-23 17:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034781 -3.350145)'), GeomFromEWKT('SRID=4674;POINT (-39.0348 -3.350129)'))) / (select extract(epoch from '2026-07-23 17:38:11'::timestamp) - extract(epoch from '2026-07-23 17:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034825 -3.35012)', '2026-07-23 17:38:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0348 -3.350129)'), GeomFromEWKT('SRID=4674;POINT (-39.034825 -3.35012)'))) / (select extract(epoch from '2026-07-23 17:38:17'::timestamp) - extract(epoch from '2026-07-23 17:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0348 -3.350129)'), GeomFromEWKT('SRID=4674;POINT (-39.034825 -3.35012)'))) / (select extract(epoch from '2026-07-23 17:38:17'::timestamp) - extract(epoch from '2026-07-23 17:38: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'), 47446, 'SRID=4674;POINT (-39.034846 -3.350103)', '2026-07-23 17:38:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034825 -3.35012)'), GeomFromEWKT('SRID=4674;POINT (-39.034846 -3.350103)'))) / (select extract(epoch from '2026-07-23 17:38:23'::timestamp) - extract(epoch from '2026-07-23 17:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034825 -3.35012)'), GeomFromEWKT('SRID=4674;POINT (-39.034846 -3.350103)'))) / (select extract(epoch from '2026-07-23 17:38:23'::timestamp) - extract(epoch from '2026-07-23 17:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034885 -3.350089)', '2026-07-23 17:38:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034846 -3.350103)'), GeomFromEWKT('SRID=4674;POINT (-39.034885 -3.350089)'))) / (select extract(epoch from '2026-07-23 17:38:30'::timestamp) - extract(epoch from '2026-07-23 17:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034846 -3.350103)'), GeomFromEWKT('SRID=4674;POINT (-39.034885 -3.350089)'))) / (select extract(epoch from '2026-07-23 17:38:30'::timestamp) - extract(epoch from '2026-07-23 17:38: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'), 47446, 'SRID=4674;POINT (-39.034918 -3.350081)', '2026-07-23 17:38:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034885 -3.350089)'), GeomFromEWKT('SRID=4674;POINT (-39.034918 -3.350081)'))) / (select extract(epoch from '2026-07-23 17:38:34'::timestamp) - extract(epoch from '2026-07-23 17:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034885 -3.350089)'), GeomFromEWKT('SRID=4674;POINT (-39.034918 -3.350081)'))) / (select extract(epoch from '2026-07-23 17:38:34'::timestamp) - extract(epoch from '2026-07-23 17:38: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'), 47446, 'SRID=4674;POINT (-39.034948 -3.350061)', '2026-07-23 17:38:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034918 -3.350081)'), GeomFromEWKT('SRID=4674;POINT (-39.034948 -3.350061)'))) / (select extract(epoch from '2026-07-23 17:38:41'::timestamp) - extract(epoch from '2026-07-23 17:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034918 -3.350081)'), GeomFromEWKT('SRID=4674;POINT (-39.034948 -3.350061)'))) / (select extract(epoch from '2026-07-23 17:38:41'::timestamp) - extract(epoch from '2026-07-23 17:38: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'), 47446, 'SRID=4674;POINT (-39.034984 -3.350045)', '2026-07-23 17:38:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034948 -3.350061)'), GeomFromEWKT('SRID=4674;POINT (-39.034984 -3.350045)'))) / (select extract(epoch from '2026-07-23 17:38:48'::timestamp) - extract(epoch from '2026-07-23 17:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034948 -3.350061)'), GeomFromEWKT('SRID=4674;POINT (-39.034984 -3.350045)'))) / (select extract(epoch from '2026-07-23 17:38:48'::timestamp) - extract(epoch from '2026-07-23 17:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035014 -3.350034)', '2026-07-23 17:38:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034984 -3.350045)'), GeomFromEWKT('SRID=4674;POINT (-39.035014 -3.350034)'))) / (select extract(epoch from '2026-07-23 17:38:53'::timestamp) - extract(epoch from '2026-07-23 17:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034984 -3.350045)'), GeomFromEWKT('SRID=4674;POINT (-39.035014 -3.350034)'))) / (select extract(epoch from '2026-07-23 17:38:53'::timestamp) - extract(epoch from '2026-07-23 17:38: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'), 47446, 'SRID=4674;POINT (-39.035048 -3.350021)', '2026-07-23 17:38:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035014 -3.350034)'), GeomFromEWKT('SRID=4674;POINT (-39.035048 -3.350021)'))) / (select extract(epoch from '2026-07-23 17:38:59'::timestamp) - extract(epoch from '2026-07-23 17:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035014 -3.350034)'), GeomFromEWKT('SRID=4674;POINT (-39.035048 -3.350021)'))) / (select extract(epoch from '2026-07-23 17:38:59'::timestamp) - extract(epoch from '2026-07-23 17:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035076 -3.350007)', '2026-07-23 17:39:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035048 -3.350021)'), GeomFromEWKT('SRID=4674;POINT (-39.035076 -3.350007)'))) / (select extract(epoch from '2026-07-23 17:39:04'::timestamp) - extract(epoch from '2026-07-23 17:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035048 -3.350021)'), GeomFromEWKT('SRID=4674;POINT (-39.035076 -3.350007)'))) / (select extract(epoch from '2026-07-23 17:39:04'::timestamp) - extract(epoch from '2026-07-23 17:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035084 -3.350005)', '2026-07-23 17:39:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035076 -3.350007)'), GeomFromEWKT('SRID=4674;POINT (-39.035084 -3.350005)'))) / (select extract(epoch from '2026-07-23 17:39:05'::timestamp) - extract(epoch from '2026-07-23 17:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035076 -3.350007)'), GeomFromEWKT('SRID=4674;POINT (-39.035084 -3.350005)'))) / (select extract(epoch from '2026-07-23 17:39:05'::timestamp) - extract(epoch from '2026-07-23 17:39: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'), 47446, 'SRID=4674;POINT (-39.035108 -3.349995)', '2026-07-23 17:39:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035084 -3.350005)'), GeomFromEWKT('SRID=4674;POINT (-39.035108 -3.349995)'))) / (select extract(epoch from '2026-07-23 17:39:09'::timestamp) - extract(epoch from '2026-07-23 17:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035084 -3.350005)'), GeomFromEWKT('SRID=4674;POINT (-39.035108 -3.349995)'))) / (select extract(epoch from '2026-07-23 17:39:09'::timestamp) - extract(epoch from '2026-07-23 17:39: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'), 47446, 'SRID=4674;POINT (-39.035133 -3.34999)', '2026-07-23 17:39:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035108 -3.349995)'), GeomFromEWKT('SRID=4674;POINT (-39.035133 -3.34999)'))) / (select extract(epoch from '2026-07-23 17:39:15'::timestamp) - extract(epoch from '2026-07-23 17:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035108 -3.349995)'), GeomFromEWKT('SRID=4674;POINT (-39.035133 -3.34999)'))) / (select extract(epoch from '2026-07-23 17:39:15'::timestamp) - extract(epoch from '2026-07-23 17:39: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'), 47446, 'SRID=4674;POINT (-39.035161 -3.349981)', '2026-07-23 17:39:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035133 -3.34999)'), GeomFromEWKT('SRID=4674;POINT (-39.035161 -3.349981)'))) / (select extract(epoch from '2026-07-23 17:39:21'::timestamp) - extract(epoch from '2026-07-23 17:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035133 -3.34999)'), GeomFromEWKT('SRID=4674;POINT (-39.035161 -3.349981)'))) / (select extract(epoch from '2026-07-23 17:39:21'::timestamp) - extract(epoch from '2026-07-23 17:39: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'), 47446, 'SRID=4674;POINT (-39.035188 -3.349978)', '2026-07-23 17:39:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035161 -3.349981)'), GeomFromEWKT('SRID=4674;POINT (-39.035188 -3.349978)'))) / (select extract(epoch from '2026-07-23 17:39:27'::timestamp) - extract(epoch from '2026-07-23 17:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035161 -3.349981)'), GeomFromEWKT('SRID=4674;POINT (-39.035188 -3.349978)'))) / (select extract(epoch from '2026-07-23 17:39:27'::timestamp) - extract(epoch from '2026-07-23 17:39: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'), 47446, 'SRID=4674;POINT (-39.035218 -3.349974)', '2026-07-23 17:39:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035188 -3.349978)'), GeomFromEWKT('SRID=4674;POINT (-39.035218 -3.349974)'))) / (select extract(epoch from '2026-07-23 17:39:32'::timestamp) - extract(epoch from '2026-07-23 17:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035188 -3.349978)'), GeomFromEWKT('SRID=4674;POINT (-39.035218 -3.349974)'))) / (select extract(epoch from '2026-07-23 17:39:32'::timestamp) - extract(epoch from '2026-07-23 17:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035257 -3.34997)', '2026-07-23 17:39:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035218 -3.349974)'), GeomFromEWKT('SRID=4674;POINT (-39.035257 -3.34997)'))) / (select extract(epoch from '2026-07-23 17:39:39'::timestamp) - extract(epoch from '2026-07-23 17:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035218 -3.349974)'), GeomFromEWKT('SRID=4674;POINT (-39.035257 -3.34997)'))) / (select extract(epoch from '2026-07-23 17:39:39'::timestamp) - extract(epoch from '2026-07-23 17:39: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'), 47446, 'SRID=4674;POINT (-39.035293 -3.34997)', '2026-07-23 17:39:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035257 -3.34997)'), GeomFromEWKT('SRID=4674;POINT (-39.035293 -3.34997)'))) / (select extract(epoch from '2026-07-23 17:39:45'::timestamp) - extract(epoch from '2026-07-23 17:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035257 -3.34997)'), GeomFromEWKT('SRID=4674;POINT (-39.035293 -3.34997)'))) / (select extract(epoch from '2026-07-23 17:39:45'::timestamp) - extract(epoch from '2026-07-23 17:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035301 -3.349967)', '2026-07-23 17:39:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035293 -3.34997)'), GeomFromEWKT('SRID=4674;POINT (-39.035301 -3.349967)'))) / (select extract(epoch from '2026-07-23 17:39:46'::timestamp) - extract(epoch from '2026-07-23 17:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035293 -3.34997)'), GeomFromEWKT('SRID=4674;POINT (-39.035301 -3.349967)'))) / (select extract(epoch from '2026-07-23 17:39:46'::timestamp) - extract(epoch from '2026-07-23 17:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035345 -3.349964)', '2026-07-23 17:39:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035301 -3.349967)'), GeomFromEWKT('SRID=4674;POINT (-39.035345 -3.349964)'))) / (select extract(epoch from '2026-07-23 17:39:53'::timestamp) - extract(epoch from '2026-07-23 17:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035301 -3.349967)'), GeomFromEWKT('SRID=4674;POINT (-39.035345 -3.349964)'))) / (select extract(epoch from '2026-07-23 17:39:53'::timestamp) - extract(epoch from '2026-07-23 17:39: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'), 47446, 'SRID=4674;POINT (-39.035386 -3.34996)', '2026-07-23 17:40:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035345 -3.349964)'), GeomFromEWKT('SRID=4674;POINT (-39.035386 -3.34996)'))) / (select extract(epoch from '2026-07-23 17:40:01'::timestamp) - extract(epoch from '2026-07-23 17:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035345 -3.349964)'), GeomFromEWKT('SRID=4674;POINT (-39.035386 -3.34996)'))) / (select extract(epoch from '2026-07-23 17:40:01'::timestamp) - extract(epoch from '2026-07-23 17:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035423 -3.349955)', '2026-07-23 17:40:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035386 -3.34996)'), GeomFromEWKT('SRID=4674;POINT (-39.035423 -3.349955)'))) / (select extract(epoch from '2026-07-23 17:40:07'::timestamp) - extract(epoch from '2026-07-23 17:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035386 -3.34996)'), GeomFromEWKT('SRID=4674;POINT (-39.035423 -3.349955)'))) / (select extract(epoch from '2026-07-23 17:40:07'::timestamp) - extract(epoch from '2026-07-23 17:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035466 -3.349947)', '2026-07-23 17:40:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035423 -3.349955)'), GeomFromEWKT('SRID=4674;POINT (-39.035466 -3.349947)'))) / (select extract(epoch from '2026-07-23 17:40:14'::timestamp) - extract(epoch from '2026-07-23 17:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035423 -3.349955)'), GeomFromEWKT('SRID=4674;POINT (-39.035466 -3.349947)'))) / (select extract(epoch from '2026-07-23 17:40:14'::timestamp) - extract(epoch from '2026-07-23 17:40: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'), 47446, 'SRID=4674;POINT (-39.0355 -3.349938)', '2026-07-23 17:40:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035466 -3.349947)'), GeomFromEWKT('SRID=4674;POINT (-39.0355 -3.349938)'))) / (select extract(epoch from '2026-07-23 17:40:21'::timestamp) - extract(epoch from '2026-07-23 17:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035466 -3.349947)'), GeomFromEWKT('SRID=4674;POINT (-39.0355 -3.349938)'))) / (select extract(epoch from '2026-07-23 17:40:21'::timestamp) - extract(epoch from '2026-07-23 17:40: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'), 47446, 'SRID=4674;POINT (-39.035544 -3.349936)', '2026-07-23 17:40:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0355 -3.349938)'), GeomFromEWKT('SRID=4674;POINT (-39.035544 -3.349936)'))) / (select extract(epoch from '2026-07-23 17:40:28'::timestamp) - extract(epoch from '2026-07-23 17:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0355 -3.349938)'), GeomFromEWKT('SRID=4674;POINT (-39.035544 -3.349936)'))) / (select extract(epoch from '2026-07-23 17:40:28'::timestamp) - extract(epoch from '2026-07-23 17:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035579 -3.349933)', '2026-07-23 17:40:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035544 -3.349936)'), GeomFromEWKT('SRID=4674;POINT (-39.035579 -3.349933)'))) / (select extract(epoch from '2026-07-23 17:40:35'::timestamp) - extract(epoch from '2026-07-23 17:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035544 -3.349936)'), GeomFromEWKT('SRID=4674;POINT (-39.035579 -3.349933)'))) / (select extract(epoch from '2026-07-23 17:40:35'::timestamp) - extract(epoch from '2026-07-23 17:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035622 -3.34993)', '2026-07-23 17:40:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035579 -3.349933)'), GeomFromEWKT('SRID=4674;POINT (-39.035622 -3.34993)'))) / (select extract(epoch from '2026-07-23 17:40:42'::timestamp) - extract(epoch from '2026-07-23 17:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035579 -3.349933)'), GeomFromEWKT('SRID=4674;POINT (-39.035622 -3.34993)'))) / (select extract(epoch from '2026-07-23 17:40:42'::timestamp) - extract(epoch from '2026-07-23 17:40:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035652 -3.349927)', '2026-07-23 17:40:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035622 -3.34993)'), GeomFromEWKT('SRID=4674;POINT (-39.035652 -3.349927)'))) / (select extract(epoch from '2026-07-23 17:40:48'::timestamp) - extract(epoch from '2026-07-23 17:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035622 -3.34993)'), GeomFromEWKT('SRID=4674;POINT (-39.035652 -3.349927)'))) / (select extract(epoch from '2026-07-23 17:40:48'::timestamp) - extract(epoch from '2026-07-23 17:40: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'), 47446, 'SRID=4674;POINT (-39.035689 -3.34992)', '2026-07-23 17:40:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035652 -3.349927)'), GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.34992)'))) / (select extract(epoch from '2026-07-23 17:40:55'::timestamp) - extract(epoch from '2026-07-23 17:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035652 -3.349927)'), GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.34992)'))) / (select extract(epoch from '2026-07-23 17:40:55'::timestamp) - extract(epoch from '2026-07-23 17:40: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'), 47446, 'SRID=4674;POINT (-39.035732 -3.349911)', '2026-07-23 17:41:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.34992)'), GeomFromEWKT('SRID=4674;POINT (-39.035732 -3.349911)'))) / (select extract(epoch from '2026-07-23 17:41:03'::timestamp) - extract(epoch from '2026-07-23 17:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.34992)'), GeomFromEWKT('SRID=4674;POINT (-39.035732 -3.349911)'))) / (select extract(epoch from '2026-07-23 17:41:03'::timestamp) - extract(epoch from '2026-07-23 17:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035759 -3.349903)', '2026-07-23 17:41:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035732 -3.349911)'), GeomFromEWKT('SRID=4674;POINT (-39.035759 -3.349903)'))) / (select extract(epoch from '2026-07-23 17:41:10'::timestamp) - extract(epoch from '2026-07-23 17:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035732 -3.349911)'), GeomFromEWKT('SRID=4674;POINT (-39.035759 -3.349903)'))) / (select extract(epoch from '2026-07-23 17:41:10'::timestamp) - extract(epoch from '2026-07-23 17:41: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'), 47446, 'SRID=4674;POINT (-39.035797 -3.349891)', '2026-07-23 17:41:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035759 -3.349903)'), GeomFromEWKT('SRID=4674;POINT (-39.035797 -3.349891)'))) / (select extract(epoch from '2026-07-23 17:41:17'::timestamp) - extract(epoch from '2026-07-23 17:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035759 -3.349903)'), GeomFromEWKT('SRID=4674;POINT (-39.035797 -3.349891)'))) / (select extract(epoch from '2026-07-23 17:41:17'::timestamp) - extract(epoch from '2026-07-23 17:41: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'), 47446, 'SRID=4674;POINT (-39.035833 -3.349878)', '2026-07-23 17:41:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035797 -3.349891)'), GeomFromEWKT('SRID=4674;POINT (-39.035833 -3.349878)'))) / (select extract(epoch from '2026-07-23 17:41:25'::timestamp) - extract(epoch from '2026-07-23 17:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035797 -3.349891)'), GeomFromEWKT('SRID=4674;POINT (-39.035833 -3.349878)'))) / (select extract(epoch from '2026-07-23 17:41:25'::timestamp) - extract(epoch from '2026-07-23 17:41: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'), 47446, 'SRID=4674;POINT (-39.035885 -3.349852)', '2026-07-23 17:41:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035833 -3.349878)'), GeomFromEWKT('SRID=4674;POINT (-39.035885 -3.349852)'))) / (select extract(epoch from '2026-07-23 17:41:35'::timestamp) - extract(epoch from '2026-07-23 17:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035833 -3.349878)'), GeomFromEWKT('SRID=4674;POINT (-39.035885 -3.349852)'))) / (select extract(epoch from '2026-07-23 17:41:35'::timestamp) - extract(epoch from '2026-07-23 17:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035919 -3.349837)', '2026-07-23 17:41:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035885 -3.349852)'), GeomFromEWKT('SRID=4674;POINT (-39.035919 -3.349837)'))) / (select extract(epoch from '2026-07-23 17:41:42'::timestamp) - extract(epoch from '2026-07-23 17:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035885 -3.349852)'), GeomFromEWKT('SRID=4674;POINT (-39.035919 -3.349837)'))) / (select extract(epoch from '2026-07-23 17:41:42'::timestamp) - extract(epoch from '2026-07-23 17:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03595 -3.349814)', '2026-07-23 17:41:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035919 -3.349837)'), GeomFromEWKT('SRID=4674;POINT (-39.03595 -3.349814)'))) / (select extract(epoch from '2026-07-23 17:41:49'::timestamp) - extract(epoch from '2026-07-23 17:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035919 -3.349837)'), GeomFromEWKT('SRID=4674;POINT (-39.03595 -3.349814)'))) / (select extract(epoch from '2026-07-23 17:41:49'::timestamp) - extract(epoch from '2026-07-23 17:41: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'), 47446, 'SRID=4674;POINT (-39.035988 -3.349791)', '2026-07-23 17:41:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03595 -3.349814)'), GeomFromEWKT('SRID=4674;POINT (-39.035988 -3.349791)'))) / (select extract(epoch from '2026-07-23 17:41:57'::timestamp) - extract(epoch from '2026-07-23 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03595 -3.349814)'), GeomFromEWKT('SRID=4674;POINT (-39.035988 -3.349791)'))) / (select extract(epoch from '2026-07-23 17:41:57'::timestamp) - extract(epoch from '2026-07-23 17:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036014 -3.349774)', '2026-07-23 17:42:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035988 -3.349791)'), GeomFromEWKT('SRID=4674;POINT (-39.036014 -3.349774)'))) / (select extract(epoch from '2026-07-23 17:42:03'::timestamp) - extract(epoch from '2026-07-23 17:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035988 -3.349791)'), GeomFromEWKT('SRID=4674;POINT (-39.036014 -3.349774)'))) / (select extract(epoch from '2026-07-23 17:42:03'::timestamp) - extract(epoch from '2026-07-23 17:41: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'), 47446, 'SRID=4674;POINT (-39.03604 -3.349762)', '2026-07-23 17:42:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036014 -3.349774)'), GeomFromEWKT('SRID=4674;POINT (-39.03604 -3.349762)'))) / (select extract(epoch from '2026-07-23 17:42:09'::timestamp) - extract(epoch from '2026-07-23 17:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036014 -3.349774)'), GeomFromEWKT('SRID=4674;POINT (-39.03604 -3.349762)'))) / (select extract(epoch from '2026-07-23 17:42:09'::timestamp) - extract(epoch from '2026-07-23 17:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036069 -3.349748)', '2026-07-23 17:42:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03604 -3.349762)'), GeomFromEWKT('SRID=4674;POINT (-39.036069 -3.349748)'))) / (select extract(epoch from '2026-07-23 17:42:16'::timestamp) - extract(epoch from '2026-07-23 17:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03604 -3.349762)'), GeomFromEWKT('SRID=4674;POINT (-39.036069 -3.349748)'))) / (select extract(epoch from '2026-07-23 17:42:16'::timestamp) - extract(epoch from '2026-07-23 17:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036107 -3.349729)', '2026-07-23 17:42:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036069 -3.349748)'), GeomFromEWKT('SRID=4674;POINT (-39.036107 -3.349729)'))) / (select extract(epoch from '2026-07-23 17:42:23'::timestamp) - extract(epoch from '2026-07-23 17:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036069 -3.349748)'), GeomFromEWKT('SRID=4674;POINT (-39.036107 -3.349729)'))) / (select extract(epoch from '2026-07-23 17:42:23'::timestamp) - extract(epoch from '2026-07-23 17:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036144 -3.34971)', '2026-07-23 17:42:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036107 -3.349729)'), GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.34971)'))) / (select extract(epoch from '2026-07-23 17:42:30'::timestamp) - extract(epoch from '2026-07-23 17:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036107 -3.349729)'), GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.34971)'))) / (select extract(epoch from '2026-07-23 17:42:30'::timestamp) - extract(epoch from '2026-07-23 17:42: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'), 47446, 'SRID=4674;POINT (-39.036181 -3.349696)', '2026-07-23 17:42:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.34971)'), GeomFromEWKT('SRID=4674;POINT (-39.036181 -3.349696)'))) / (select extract(epoch from '2026-07-23 17:42:37'::timestamp) - extract(epoch from '2026-07-23 17:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.34971)'), GeomFromEWKT('SRID=4674;POINT (-39.036181 -3.349696)'))) / (select extract(epoch from '2026-07-23 17:42:37'::timestamp) - extract(epoch from '2026-07-23 17:42:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036194 -3.349693)', '2026-07-23 17:42:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036181 -3.349696)'), GeomFromEWKT('SRID=4674;POINT (-39.036194 -3.349693)'))) / (select extract(epoch from '2026-07-23 17:42:39'::timestamp) - extract(epoch from '2026-07-23 17:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036181 -3.349696)'), GeomFromEWKT('SRID=4674;POINT (-39.036194 -3.349693)'))) / (select extract(epoch from '2026-07-23 17:42:39'::timestamp) - extract(epoch from '2026-07-23 17:42: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'), 47446, 'SRID=4674;POINT (-39.036215 -3.34968)', '2026-07-23 17:42:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036194 -3.349693)'), GeomFromEWKT('SRID=4674;POINT (-39.036215 -3.34968)'))) / (select extract(epoch from '2026-07-23 17:42:43'::timestamp) - extract(epoch from '2026-07-23 17:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036194 -3.349693)'), GeomFromEWKT('SRID=4674;POINT (-39.036215 -3.34968)'))) / (select extract(epoch from '2026-07-23 17:42:43'::timestamp) - extract(epoch from '2026-07-23 17:42: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'), 47446, 'SRID=4674;POINT (-39.036226 -3.349675)', '2026-07-23 17:42:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036215 -3.34968)'), GeomFromEWKT('SRID=4674;POINT (-39.036226 -3.349675)'))) / (select extract(epoch from '2026-07-23 17:42:45'::timestamp) - extract(epoch from '2026-07-23 17:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036215 -3.34968)'), GeomFromEWKT('SRID=4674;POINT (-39.036226 -3.349675)'))) / (select extract(epoch from '2026-07-23 17:42:45'::timestamp) - extract(epoch from '2026-07-23 17:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036244 -3.349666)', '2026-07-23 17:42:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036226 -3.349675)'), GeomFromEWKT('SRID=4674;POINT (-39.036244 -3.349666)'))) / (select extract(epoch from '2026-07-23 17:42:48'::timestamp) - extract(epoch from '2026-07-23 17:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036226 -3.349675)'), GeomFromEWKT('SRID=4674;POINT (-39.036244 -3.349666)'))) / (select extract(epoch from '2026-07-23 17:42:48'::timestamp) - extract(epoch from '2026-07-23 17:42: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'), 47446, 'SRID=4674;POINT (-39.036276 -3.349645)', '2026-07-23 17:42:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036244 -3.349666)'), GeomFromEWKT('SRID=4674;POINT (-39.036276 -3.349645)'))) / (select extract(epoch from '2026-07-23 17:42:55'::timestamp) - extract(epoch from '2026-07-23 17:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036244 -3.349666)'), GeomFromEWKT('SRID=4674;POINT (-39.036276 -3.349645)'))) / (select extract(epoch from '2026-07-23 17:42:55'::timestamp) - extract(epoch from '2026-07-23 17:42:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036287 -3.34964)', '2026-07-23 17:42:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036276 -3.349645)'), GeomFromEWKT('SRID=4674;POINT (-39.036287 -3.34964)'))) / (select extract(epoch from '2026-07-23 17:42:57'::timestamp) - extract(epoch from '2026-07-23 17:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036276 -3.349645)'), GeomFromEWKT('SRID=4674;POINT (-39.036287 -3.34964)'))) / (select extract(epoch from '2026-07-23 17:42:57'::timestamp) - extract(epoch from '2026-07-23 17:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036301 -3.349628)', '2026-07-23 17:43:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036287 -3.34964)'), GeomFromEWKT('SRID=4674;POINT (-39.036301 -3.349628)'))) / (select extract(epoch from '2026-07-23 17:43:01'::timestamp) - extract(epoch from '2026-07-23 17:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036287 -3.34964)'), GeomFromEWKT('SRID=4674;POINT (-39.036301 -3.349628)'))) / (select extract(epoch from '2026-07-23 17:43:01'::timestamp) - extract(epoch from '2026-07-23 17:42: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'), 47446, 'SRID=4674;POINT (-39.036331 -3.349609)', '2026-07-23 17:43:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036301 -3.349628)'), GeomFromEWKT('SRID=4674;POINT (-39.036331 -3.349609)'))) / (select extract(epoch from '2026-07-23 17:43:06'::timestamp) - extract(epoch from '2026-07-23 17:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036301 -3.349628)'), GeomFromEWKT('SRID=4674;POINT (-39.036331 -3.349609)'))) / (select extract(epoch from '2026-07-23 17:43:06'::timestamp) - extract(epoch from '2026-07-23 17:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036366 -3.349586)', '2026-07-23 17:43:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036331 -3.349609)'), GeomFromEWKT('SRID=4674;POINT (-39.036366 -3.349586)'))) / (select extract(epoch from '2026-07-23 17:43:12'::timestamp) - extract(epoch from '2026-07-23 17:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036331 -3.349609)'), GeomFromEWKT('SRID=4674;POINT (-39.036366 -3.349586)'))) / (select extract(epoch from '2026-07-23 17:43:12'::timestamp) - extract(epoch from '2026-07-23 17:43:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036404 -3.349567)', '2026-07-23 17:43:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036366 -3.349586)'), GeomFromEWKT('SRID=4674;POINT (-39.036404 -3.349567)'))) / (select extract(epoch from '2026-07-23 17:43:19'::timestamp) - extract(epoch from '2026-07-23 17:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036366 -3.349586)'), GeomFromEWKT('SRID=4674;POINT (-39.036404 -3.349567)'))) / (select extract(epoch from '2026-07-23 17:43:19'::timestamp) - extract(epoch from '2026-07-23 17:43: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'), 47446, 'SRID=4674;POINT (-39.036433 -3.349551)', '2026-07-23 17:43:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036404 -3.349567)'), GeomFromEWKT('SRID=4674;POINT (-39.036433 -3.349551)'))) / (select extract(epoch from '2026-07-23 17:43:25'::timestamp) - extract(epoch from '2026-07-23 17:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036404 -3.349567)'), GeomFromEWKT('SRID=4674;POINT (-39.036433 -3.349551)'))) / (select extract(epoch from '2026-07-23 17:43:25'::timestamp) - extract(epoch from '2026-07-23 17:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03646 -3.34953)', '2026-07-23 17:43:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036433 -3.349551)'), GeomFromEWKT('SRID=4674;POINT (-39.03646 -3.34953)'))) / (select extract(epoch from '2026-07-23 17:43:31'::timestamp) - extract(epoch from '2026-07-23 17:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036433 -3.349551)'), GeomFromEWKT('SRID=4674;POINT (-39.03646 -3.34953)'))) / (select extract(epoch from '2026-07-23 17:43:31'::timestamp) - extract(epoch from '2026-07-23 17:43:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036501 -3.349509)', '2026-07-23 17:43:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03646 -3.34953)'), GeomFromEWKT('SRID=4674;POINT (-39.036501 -3.349509)'))) / (select extract(epoch from '2026-07-23 17:43:39'::timestamp) - extract(epoch from '2026-07-23 17:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03646 -3.34953)'), GeomFromEWKT('SRID=4674;POINT (-39.036501 -3.349509)'))) / (select extract(epoch from '2026-07-23 17:43:39'::timestamp) - extract(epoch from '2026-07-23 17:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036536 -3.349495)', '2026-07-23 17:43:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036501 -3.349509)'), GeomFromEWKT('SRID=4674;POINT (-39.036536 -3.349495)'))) / (select extract(epoch from '2026-07-23 17:43:46'::timestamp) - extract(epoch from '2026-07-23 17:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036501 -3.349509)'), GeomFromEWKT('SRID=4674;POINT (-39.036536 -3.349495)'))) / (select extract(epoch from '2026-07-23 17:43:46'::timestamp) - extract(epoch from '2026-07-23 17:43:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03656 -3.349484)', '2026-07-23 17:43:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036536 -3.349495)'), GeomFromEWKT('SRID=4674;POINT (-39.03656 -3.349484)'))) / (select extract(epoch from '2026-07-23 17:43:52'::timestamp) - extract(epoch from '2026-07-23 17:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036536 -3.349495)'), GeomFromEWKT('SRID=4674;POINT (-39.03656 -3.349484)'))) / (select extract(epoch from '2026-07-23 17:43:52'::timestamp) - extract(epoch from '2026-07-23 17:43: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'), 47446, 'SRID=4674;POINT (-39.036597 -3.34947)', '2026-07-23 17:43:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03656 -3.349484)'), GeomFromEWKT('SRID=4674;POINT (-39.036597 -3.34947)'))) / (select extract(epoch from '2026-07-23 17:43:59'::timestamp) - extract(epoch from '2026-07-23 17:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03656 -3.349484)'), GeomFromEWKT('SRID=4674;POINT (-39.036597 -3.34947)'))) / (select extract(epoch from '2026-07-23 17:43:59'::timestamp) - extract(epoch from '2026-07-23 17:43:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036632 -3.349457)', '2026-07-23 17:44:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036597 -3.34947)'), GeomFromEWKT('SRID=4674;POINT (-39.036632 -3.349457)'))) / (select extract(epoch from '2026-07-23 17:44:04'::timestamp) - extract(epoch from '2026-07-23 17:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036597 -3.34947)'), GeomFromEWKT('SRID=4674;POINT (-39.036632 -3.349457)'))) / (select extract(epoch from '2026-07-23 17:44:04'::timestamp) - extract(epoch from '2026-07-23 17:43: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'), 47446, 'SRID=4674;POINT (-39.036638 -3.349453)', '2026-07-23 17:44:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036632 -3.349457)'), GeomFromEWKT('SRID=4674;POINT (-39.036638 -3.349453)'))) / (select extract(epoch from '2026-07-23 17:44:06'::timestamp) - extract(epoch from '2026-07-23 17:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036632 -3.349457)'), GeomFromEWKT('SRID=4674;POINT (-39.036638 -3.349453)'))) / (select extract(epoch from '2026-07-23 17:44:06'::timestamp) - extract(epoch from '2026-07-23 17:44:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036652 -3.349447)', '2026-07-23 17:44:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036638 -3.349453)'), GeomFromEWKT('SRID=4674;POINT (-39.036652 -3.349447)'))) / (select extract(epoch from '2026-07-23 17:44:08'::timestamp) - extract(epoch from '2026-07-23 17:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036638 -3.349453)'), GeomFromEWKT('SRID=4674;POINT (-39.036652 -3.349447)'))) / (select extract(epoch from '2026-07-23 17:44:08'::timestamp) - extract(epoch from '2026-07-23 17:44: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'), 47446, 'SRID=4674;POINT (-39.036689 -3.349434)', '2026-07-23 17:44:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036652 -3.349447)'), GeomFromEWKT('SRID=4674;POINT (-39.036689 -3.349434)'))) / (select extract(epoch from '2026-07-23 17:44:14'::timestamp) - extract(epoch from '2026-07-23 17:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036652 -3.349447)'), GeomFromEWKT('SRID=4674;POINT (-39.036689 -3.349434)'))) / (select extract(epoch from '2026-07-23 17:44:14'::timestamp) - extract(epoch from '2026-07-23 17:44: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'), 47446, 'SRID=4674;POINT (-39.036727 -3.34942)', '2026-07-23 17:44:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036689 -3.349434)'), GeomFromEWKT('SRID=4674;POINT (-39.036727 -3.34942)'))) / (select extract(epoch from '2026-07-23 17:44:20'::timestamp) - extract(epoch from '2026-07-23 17:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036689 -3.349434)'), GeomFromEWKT('SRID=4674;POINT (-39.036727 -3.34942)'))) / (select extract(epoch from '2026-07-23 17:44:20'::timestamp) - extract(epoch from '2026-07-23 17:44: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'), 47446, 'SRID=4674;POINT (-39.03677 -3.349394)', '2026-07-23 17:44:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036727 -3.34942)'), GeomFromEWKT('SRID=4674;POINT (-39.03677 -3.349394)'))) / (select extract(epoch from '2026-07-23 17:44:27'::timestamp) - extract(epoch from '2026-07-23 17:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036727 -3.34942)'), GeomFromEWKT('SRID=4674;POINT (-39.03677 -3.349394)'))) / (select extract(epoch from '2026-07-23 17:44:27'::timestamp) - extract(epoch from '2026-07-23 17:44: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'), 47446, 'SRID=4674;POINT (-39.036808 -3.349367)', '2026-07-23 17:44:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03677 -3.349394)'), GeomFromEWKT('SRID=4674;POINT (-39.036808 -3.349367)'))) / (select extract(epoch from '2026-07-23 17:44:34'::timestamp) - extract(epoch from '2026-07-23 17:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03677 -3.349394)'), GeomFromEWKT('SRID=4674;POINT (-39.036808 -3.349367)'))) / (select extract(epoch from '2026-07-23 17:44:34'::timestamp) - extract(epoch from '2026-07-23 17:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036839 -3.349351)', '2026-07-23 17:44:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036808 -3.349367)'), GeomFromEWKT('SRID=4674;POINT (-39.036839 -3.349351)'))) / (select extract(epoch from '2026-07-23 17:44:39'::timestamp) - extract(epoch from '2026-07-23 17:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036808 -3.349367)'), GeomFromEWKT('SRID=4674;POINT (-39.036839 -3.349351)'))) / (select extract(epoch from '2026-07-23 17:44:39'::timestamp) - extract(epoch from '2026-07-23 17:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036866 -3.349336)', '2026-07-23 17:44:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036839 -3.349351)'), GeomFromEWKT('SRID=4674;POINT (-39.036866 -3.349336)'))) / (select extract(epoch from '2026-07-23 17:44:44'::timestamp) - extract(epoch from '2026-07-23 17:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036839 -3.349351)'), GeomFromEWKT('SRID=4674;POINT (-39.036866 -3.349336)'))) / (select extract(epoch from '2026-07-23 17:44:44'::timestamp) - extract(epoch from '2026-07-23 17:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
