 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036881 -3.34933)', '2026-07-23 17:44:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036866 -3.349336)'), GeomFromEWKT('SRID=4674;POINT (-39.036881 -3.34933)'))) / (select extract(epoch from '2026-07-23 17:44:46'::timestamp) - extract(epoch from '2026-07-23 17:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036866 -3.349336)'), GeomFromEWKT('SRID=4674;POINT (-39.036881 -3.34933)'))) / (select extract(epoch from '2026-07-23 17:44:46'::timestamp) - extract(epoch from '2026-07-23 17:44: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.036893 -3.349329)', '2026-07-23 17:44:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036881 -3.34933)'), GeomFromEWKT('SRID=4674;POINT (-39.036893 -3.349329)'))) / (select extract(epoch from '2026-07-23 17:44:48'::timestamp) - extract(epoch from '2026-07-23 17:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036881 -3.34933)'), GeomFromEWKT('SRID=4674;POINT (-39.036893 -3.349329)'))) / (select extract(epoch from '2026-07-23 17:44:48'::timestamp) - extract(epoch from '2026-07-23 17:44:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036908 -3.349319)', '2026-07-23 17:44:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036893 -3.349329)'), GeomFromEWKT('SRID=4674;POINT (-39.036908 -3.349319)'))) / (select extract(epoch from '2026-07-23 17:44:51'::timestamp) - extract(epoch from '2026-07-23 17:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036893 -3.349329)'), GeomFromEWKT('SRID=4674;POINT (-39.036908 -3.349319)'))) / (select extract(epoch from '2026-07-23 17:44:51'::timestamp) - extract(epoch from '2026-07-23 17:44: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.036948 -3.349309)', '2026-07-23 17:44:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036908 -3.349319)'), GeomFromEWKT('SRID=4674;POINT (-39.036948 -3.349309)'))) / (select extract(epoch from '2026-07-23 17:44:58'::timestamp) - extract(epoch from '2026-07-23 17:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036908 -3.349319)'), GeomFromEWKT('SRID=4674;POINT (-39.036948 -3.349309)'))) / (select extract(epoch from '2026-07-23 17:44:58'::timestamp) - extract(epoch from '2026-07-23 17:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036985 -3.349304)', '2026-07-23 17:45:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036948 -3.349309)'), GeomFromEWKT('SRID=4674;POINT (-39.036985 -3.349304)'))) / (select extract(epoch from '2026-07-23 17:45:04'::timestamp) - extract(epoch from '2026-07-23 17:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036948 -3.349309)'), GeomFromEWKT('SRID=4674;POINT (-39.036985 -3.349304)'))) / (select extract(epoch from '2026-07-23 17:45:04'::timestamp) - extract(epoch from '2026-07-23 17:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036994 -3.349305)', '2026-07-23 17:45:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036985 -3.349304)'), GeomFromEWKT('SRID=4674;POINT (-39.036994 -3.349305)'))) / (select extract(epoch from '2026-07-23 17:45:05'::timestamp) - extract(epoch from '2026-07-23 17:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036985 -3.349304)'), GeomFromEWKT('SRID=4674;POINT (-39.036994 -3.349305)'))) / (select extract(epoch from '2026-07-23 17:45:05'::timestamp) - extract(epoch from '2026-07-23 17:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037027 -3.349302)', '2026-07-23 17:45:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036994 -3.349305)'), GeomFromEWKT('SRID=4674;POINT (-39.037027 -3.349302)'))) / (select extract(epoch from '2026-07-23 17:45:11'::timestamp) - extract(epoch from '2026-07-23 17:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036994 -3.349305)'), GeomFromEWKT('SRID=4674;POINT (-39.037027 -3.349302)'))) / (select extract(epoch from '2026-07-23 17:45:11'::timestamp) - extract(epoch from '2026-07-23 17:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03706 -3.349295)', '2026-07-23 17:45:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037027 -3.349302)'), GeomFromEWKT('SRID=4674;POINT (-39.03706 -3.349295)'))) / (select extract(epoch from '2026-07-23 17:45:16'::timestamp) - extract(epoch from '2026-07-23 17:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037027 -3.349302)'), GeomFromEWKT('SRID=4674;POINT (-39.03706 -3.349295)'))) / (select extract(epoch from '2026-07-23 17:45:16'::timestamp) - extract(epoch from '2026-07-23 17:45: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.037065 -3.349292)', '2026-07-23 17:45:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03706 -3.349295)'), GeomFromEWKT('SRID=4674;POINT (-39.037065 -3.349292)'))) / (select extract(epoch from '2026-07-23 17:45:17'::timestamp) - extract(epoch from '2026-07-23 17:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03706 -3.349295)'), GeomFromEWKT('SRID=4674;POINT (-39.037065 -3.349292)'))) / (select extract(epoch from '2026-07-23 17:45:17'::timestamp) - extract(epoch from '2026-07-23 17:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037105 -3.349287)', '2026-07-23 17:45:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037065 -3.349292)'), GeomFromEWKT('SRID=4674;POINT (-39.037105 -3.349287)'))) / (select extract(epoch from '2026-07-23 17:45:24'::timestamp) - extract(epoch from '2026-07-23 17:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037065 -3.349292)'), GeomFromEWKT('SRID=4674;POINT (-39.037105 -3.349287)'))) / (select extract(epoch from '2026-07-23 17:45:24'::timestamp) - extract(epoch from '2026-07-23 17:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037146 -3.349278)', '2026-07-23 17:45:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037105 -3.349287)'), GeomFromEWKT('SRID=4674;POINT (-39.037146 -3.349278)'))) / (select extract(epoch from '2026-07-23 17:45:31'::timestamp) - extract(epoch from '2026-07-23 17:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037105 -3.349287)'), GeomFromEWKT('SRID=4674;POINT (-39.037146 -3.349278)'))) / (select extract(epoch from '2026-07-23 17:45:31'::timestamp) - extract(epoch from '2026-07-23 17:45: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.037185 -3.34927)', '2026-07-23 17:45:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037146 -3.349278)'), GeomFromEWKT('SRID=4674;POINT (-39.037185 -3.34927)'))) / (select extract(epoch from '2026-07-23 17:45:39'::timestamp) - extract(epoch from '2026-07-23 17:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037146 -3.349278)'), GeomFromEWKT('SRID=4674;POINT (-39.037185 -3.34927)'))) / (select extract(epoch from '2026-07-23 17:45:39'::timestamp) - extract(epoch from '2026-07-23 17:45: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.037209 -3.349261)', '2026-07-23 17:45:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037185 -3.34927)'), GeomFromEWKT('SRID=4674;POINT (-39.037209 -3.349261)'))) / (select extract(epoch from '2026-07-23 17:45:47'::timestamp) - extract(epoch from '2026-07-23 17:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037185 -3.34927)'), GeomFromEWKT('SRID=4674;POINT (-39.037209 -3.349261)'))) / (select extract(epoch from '2026-07-23 17:45:47'::timestamp) - extract(epoch from '2026-07-23 17:45: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.037223 -3.349246)', '2026-07-23 17:45:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037209 -3.349261)'), GeomFromEWKT('SRID=4674;POINT (-39.037223 -3.349246)'))) / (select extract(epoch from '2026-07-23 17:45:55'::timestamp) - extract(epoch from '2026-07-23 17:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037209 -3.349261)'), GeomFromEWKT('SRID=4674;POINT (-39.037223 -3.349246)'))) / (select extract(epoch from '2026-07-23 17:45:55'::timestamp) - extract(epoch from '2026-07-23 17:45: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.037249 -3.34924)', '2026-07-23 17:46:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037223 -3.349246)'), GeomFromEWKT('SRID=4674;POINT (-39.037249 -3.34924)'))) / (select extract(epoch from '2026-07-23 17:46:01'::timestamp) - extract(epoch from '2026-07-23 17:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037223 -3.349246)'), GeomFromEWKT('SRID=4674;POINT (-39.037249 -3.34924)'))) / (select extract(epoch from '2026-07-23 17:46:01'::timestamp) - extract(epoch from '2026-07-23 17:45:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037283 -3.349236)', '2026-07-23 17:46:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037249 -3.34924)'), GeomFromEWKT('SRID=4674;POINT (-39.037283 -3.349236)'))) / (select extract(epoch from '2026-07-23 17:46:09'::timestamp) - extract(epoch from '2026-07-23 17:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037249 -3.34924)'), GeomFromEWKT('SRID=4674;POINT (-39.037283 -3.349236)'))) / (select extract(epoch from '2026-07-23 17:46:09'::timestamp) - extract(epoch from '2026-07-23 17:46:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037309 -3.349233)', '2026-07-23 17:46:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037283 -3.349236)'), GeomFromEWKT('SRID=4674;POINT (-39.037309 -3.349233)'))) / (select extract(epoch from '2026-07-23 17:46:14'::timestamp) - extract(epoch from '2026-07-23 17:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037283 -3.349236)'), GeomFromEWKT('SRID=4674;POINT (-39.037309 -3.349233)'))) / (select extract(epoch from '2026-07-23 17:46:14'::timestamp) - extract(epoch from '2026-07-23 17:46: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.037345 -3.349228)', '2026-07-23 17:46:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037309 -3.349233)'), GeomFromEWKT('SRID=4674;POINT (-39.037345 -3.349228)'))) / (select extract(epoch from '2026-07-23 17:46:21'::timestamp) - extract(epoch from '2026-07-23 17:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037309 -3.349233)'), GeomFromEWKT('SRID=4674;POINT (-39.037345 -3.349228)'))) / (select extract(epoch from '2026-07-23 17:46:21'::timestamp) - extract(epoch from '2026-07-23 17:46: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.037371 -3.349226)', '2026-07-23 17:46:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037345 -3.349228)'), GeomFromEWKT('SRID=4674;POINT (-39.037371 -3.349226)'))) / (select extract(epoch from '2026-07-23 17:46:27'::timestamp) - extract(epoch from '2026-07-23 17:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037345 -3.349228)'), GeomFromEWKT('SRID=4674;POINT (-39.037371 -3.349226)'))) / (select extract(epoch from '2026-07-23 17:46:27'::timestamp) - extract(epoch from '2026-07-23 17:46: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.037409 -3.349219)', '2026-07-23 17:46:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037371 -3.349226)'), GeomFromEWKT('SRID=4674;POINT (-39.037409 -3.349219)'))) / (select extract(epoch from '2026-07-23 17:46:35'::timestamp) - extract(epoch from '2026-07-23 17:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037371 -3.349226)'), GeomFromEWKT('SRID=4674;POINT (-39.037409 -3.349219)'))) / (select extract(epoch from '2026-07-23 17:46:35'::timestamp) - extract(epoch from '2026-07-23 17:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037452 -3.349206)', '2026-07-23 17:46:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037409 -3.349219)'), GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349206)'))) / (select extract(epoch from '2026-07-23 17:46:43'::timestamp) - extract(epoch from '2026-07-23 17:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037409 -3.349219)'), GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349206)'))) / (select extract(epoch from '2026-07-23 17:46:43'::timestamp) - extract(epoch from '2026-07-23 17:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037487 -3.349194)', '2026-07-23 17:46:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349206)'), GeomFromEWKT('SRID=4674;POINT (-39.037487 -3.349194)'))) / (select extract(epoch from '2026-07-23 17:46:50'::timestamp) - extract(epoch from '2026-07-23 17:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349206)'), GeomFromEWKT('SRID=4674;POINT (-39.037487 -3.349194)'))) / (select extract(epoch from '2026-07-23 17:46:50'::timestamp) - extract(epoch from '2026-07-23 17:46:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037522 -3.349184)', '2026-07-23 17:46:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037487 -3.349194)'), GeomFromEWKT('SRID=4674;POINT (-39.037522 -3.349184)'))) / (select extract(epoch from '2026-07-23 17:46:56'::timestamp) - extract(epoch from '2026-07-23 17:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037487 -3.349194)'), GeomFromEWKT('SRID=4674;POINT (-39.037522 -3.349184)'))) / (select extract(epoch from '2026-07-23 17:46:56'::timestamp) - extract(epoch from '2026-07-23 17:46: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.037558 -3.349176)', '2026-07-23 17:47:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037522 -3.349184)'), GeomFromEWKT('SRID=4674;POINT (-39.037558 -3.349176)'))) / (select extract(epoch from '2026-07-23 17:47:01'::timestamp) - extract(epoch from '2026-07-23 17:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037522 -3.349184)'), GeomFromEWKT('SRID=4674;POINT (-39.037558 -3.349176)'))) / (select extract(epoch from '2026-07-23 17:47:01'::timestamp) - extract(epoch from '2026-07-23 17:46: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.037588 -3.349168)', '2026-07-23 17:47:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037558 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037588 -3.349168)'))) / (select extract(epoch from '2026-07-23 17:47:08'::timestamp) - extract(epoch from '2026-07-23 17:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037558 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037588 -3.349168)'))) / (select extract(epoch from '2026-07-23 17:47:08'::timestamp) - extract(epoch from '2026-07-23 17:47: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.037622 -3.349163)', '2026-07-23 17:47:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037588 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037622 -3.349163)'))) / (select extract(epoch from '2026-07-23 17:47:16'::timestamp) - extract(epoch from '2026-07-23 17:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037588 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037622 -3.349163)'))) / (select extract(epoch from '2026-07-23 17:47:16'::timestamp) - extract(epoch from '2026-07-23 17:47: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.037649 -3.349158)', '2026-07-23 17:47:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037622 -3.349163)'), GeomFromEWKT('SRID=4674;POINT (-39.037649 -3.349158)'))) / (select extract(epoch from '2026-07-23 17:47:21'::timestamp) - extract(epoch from '2026-07-23 17:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037622 -3.349163)'), GeomFromEWKT('SRID=4674;POINT (-39.037649 -3.349158)'))) / (select extract(epoch from '2026-07-23 17:47:21'::timestamp) - extract(epoch from '2026-07-23 17:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037678 -3.349152)', '2026-07-23 17:47:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037649 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349152)'))) / (select extract(epoch from '2026-07-23 17:47:26'::timestamp) - extract(epoch from '2026-07-23 17:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037649 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349152)'))) / (select extract(epoch from '2026-07-23 17:47:26'::timestamp) - extract(epoch from '2026-07-23 17:47: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.037687 -3.349141)', '2026-07-23 17:47:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349141)'))) / (select extract(epoch from '2026-07-23 17:47:33'::timestamp) - extract(epoch from '2026-07-23 17:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349141)'))) / (select extract(epoch from '2026-07-23 17:47:33'::timestamp) - extract(epoch from '2026-07-23 17:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037687 -3.34915)', '2026-07-23 17:47:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349141)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.34915)'))) / (select extract(epoch from '2026-07-23 17:47:39'::timestamp) - extract(epoch from '2026-07-23 17:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349141)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.34915)'))) / (select extract(epoch from '2026-07-23 17:47:39'::timestamp) - extract(epoch from '2026-07-23 17:47: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.03769 -3.349164)', '2026-07-23 17:47:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.34915)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349164)'))) / (select extract(epoch from '2026-07-23 17:47:45'::timestamp) - extract(epoch from '2026-07-23 17:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.34915)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349164)'))) / (select extract(epoch from '2026-07-23 17:47:45'::timestamp) - extract(epoch from '2026-07-23 17:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037697 -3.349155)', '2026-07-23 17:47:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349155)'))) / (select extract(epoch from '2026-07-23 17:47:55'::timestamp) - extract(epoch from '2026-07-23 17:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349155)'))) / (select extract(epoch from '2026-07-23 17:47:55'::timestamp) - extract(epoch from '2026-07-23 17:47: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.037698 -3.349157)', '2026-07-23 17:48:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349157)'))) / (select extract(epoch from '2026-07-23 17:48:04'::timestamp) - extract(epoch from '2026-07-23 17:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349157)'))) / (select extract(epoch from '2026-07-23 17:48:04'::timestamp) - extract(epoch from '2026-07-23 17:47: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.037699 -3.349158)', '2026-07-23 17:48:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349158)'))) / (select extract(epoch from '2026-07-23 17:48:10'::timestamp) - extract(epoch from '2026-07-23 17:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349158)'))) / (select extract(epoch from '2026-07-23 17:48:10'::timestamp) - extract(epoch from '2026-07-23 17:48: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.037693 -3.349163)', '2026-07-23 17:48:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349163)'))) / (select extract(epoch from '2026-07-23 17:48:18'::timestamp) - extract(epoch from '2026-07-23 17:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349163)'))) / (select extract(epoch from '2026-07-23 17:48:18'::timestamp) - extract(epoch from '2026-07-23 17:48: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.037693 -3.34917)', '2026-07-23 17:48:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349163)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.34917)'))) / (select extract(epoch from '2026-07-23 17:48:24'::timestamp) - extract(epoch from '2026-07-23 17:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349163)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.34917)'))) / (select extract(epoch from '2026-07-23 17:48:24'::timestamp) - extract(epoch from '2026-07-23 17:48: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.037703 -3.349174)', '2026-07-23 17:48:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.34917)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349174)'))) / (select extract(epoch from '2026-07-23 17:48:32'::timestamp) - extract(epoch from '2026-07-23 17:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.34917)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349174)'))) / (select extract(epoch from '2026-07-23 17:48:32'::timestamp) - extract(epoch from '2026-07-23 17:48: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.037706 -3.349193)', '2026-07-23 17:48:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349193)'))) / (select extract(epoch from '2026-07-23 17:48:41'::timestamp) - extract(epoch from '2026-07-23 17:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349193)'))) / (select extract(epoch from '2026-07-23 17:48:41'::timestamp) - extract(epoch from '2026-07-23 17:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.0377 -3.349191)', '2026-07-23 17:48:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349193)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349191)'))) / (select extract(epoch from '2026-07-23 17:48:50'::timestamp) - extract(epoch from '2026-07-23 17:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349193)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349191)'))) / (select extract(epoch from '2026-07-23 17:48:50'::timestamp) - extract(epoch from '2026-07-23 17:48: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.037693 -3.349195)', '2026-07-23 17:48:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349191)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349195)'))) / (select extract(epoch from '2026-07-23 17:48:59'::timestamp) - extract(epoch from '2026-07-23 17:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349191)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349195)'))) / (select extract(epoch from '2026-07-23 17:48:59'::timestamp) - extract(epoch from '2026-07-23 17:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037698 -3.34919)', '2026-07-23 17:49:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349195)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.34919)'))) / (select extract(epoch from '2026-07-23 17:49:06'::timestamp) - extract(epoch from '2026-07-23 17:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349195)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.34919)'))) / (select extract(epoch from '2026-07-23 17:49:06'::timestamp) - extract(epoch from '2026-07-23 17:48: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.037699 -3.34919)', '2026-07-23 17:49:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.34919)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.34919)'))) / (select extract(epoch from '2026-07-23 17:49:11'::timestamp) - extract(epoch from '2026-07-23 17:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.34919)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.34919)'))) / (select extract(epoch from '2026-07-23 17:49:11'::timestamp) - extract(epoch from '2026-07-23 17:49: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.03769 -3.349194)', '2026-07-23 17:49:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.34919)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349194)'))) / (select extract(epoch from '2026-07-23 17:49:19'::timestamp) - extract(epoch from '2026-07-23 17:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.34919)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349194)'))) / (select extract(epoch from '2026-07-23 17:49:19'::timestamp) - extract(epoch from '2026-07-23 17:49: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.037689 -3.34919)', '2026-07-23 17:49:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349194)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.34919)'))) / (select extract(epoch from '2026-07-23 17:49:25'::timestamp) - extract(epoch from '2026-07-23 17:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349194)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.34919)'))) / (select extract(epoch from '2026-07-23 17:49:25'::timestamp) - extract(epoch from '2026-07-23 17:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037689 -3.349186)', '2026-07-23 17:49:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.34919)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349186)'))) / (select extract(epoch from '2026-07-23 17:49:32'::timestamp) - extract(epoch from '2026-07-23 17:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.34919)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349186)'))) / (select extract(epoch from '2026-07-23 17:49:32'::timestamp) - extract(epoch from '2026-07-23 17:49:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037695 -3.349187)', '2026-07-23 17:49:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349186)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349187)'))) / (select extract(epoch from '2026-07-23 17:49:33'::timestamp) - extract(epoch from '2026-07-23 17:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349186)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349187)'))) / (select extract(epoch from '2026-07-23 17:49:33'::timestamp) - extract(epoch from '2026-07-23 17:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03769 -3.349188)', '2026-07-23 17:49:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349187)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349188)'))) / (select extract(epoch from '2026-07-23 17:49:34'::timestamp) - extract(epoch from '2026-07-23 17:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349187)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349188)'))) / (select extract(epoch from '2026-07-23 17:49:34'::timestamp) - extract(epoch from '2026-07-23 17:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03768 -3.34919)', '2026-07-23 17:49:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349188)'), GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.34919)'))) / (select extract(epoch from '2026-07-23 17:49:37'::timestamp) - extract(epoch from '2026-07-23 17:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349188)'), GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.34919)'))) / (select extract(epoch from '2026-07-23 17:49:37'::timestamp) - extract(epoch from '2026-07-23 17:49: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.03769 -3.349191)', '2026-07-23 17:49:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.34919)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349191)'))) / (select extract(epoch from '2026-07-23 17:49:44'::timestamp) - extract(epoch from '2026-07-23 17:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.34919)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349191)'))) / (select extract(epoch from '2026-07-23 17:49:44'::timestamp) - extract(epoch from '2026-07-23 17:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037692 -3.349187)', '2026-07-23 17:49:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349191)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349187)'))) / (select extract(epoch from '2026-07-23 17:49:51'::timestamp) - extract(epoch from '2026-07-23 17:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349191)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349187)'))) / (select extract(epoch from '2026-07-23 17:49:51'::timestamp) - extract(epoch from '2026-07-23 17:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037693 -3.349188)', '2026-07-23 17:49:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349187)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349188)'))) / (select extract(epoch from '2026-07-23 17:49:56'::timestamp) - extract(epoch from '2026-07-23 17:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349187)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349188)'))) / (select extract(epoch from '2026-07-23 17:49:56'::timestamp) - extract(epoch from '2026-07-23 17:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037688 -3.349187)', '2026-07-23 17:50:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349188)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349187)'))) / (select extract(epoch from '2026-07-23 17:50:02'::timestamp) - extract(epoch from '2026-07-23 17:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349188)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349187)'))) / (select extract(epoch from '2026-07-23 17:50:02'::timestamp) - extract(epoch from '2026-07-23 17:49: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.037696 -3.34918)', '2026-07-23 17:50:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349187)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.34918)'))) / (select extract(epoch from '2026-07-23 17:50:11'::timestamp) - extract(epoch from '2026-07-23 17:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349187)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.34918)'))) / (select extract(epoch from '2026-07-23 17:50:11'::timestamp) - extract(epoch from '2026-07-23 17:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037691 -3.349169)', '2026-07-23 17:50:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.34918)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349169)'))) / (select extract(epoch from '2026-07-23 17:50:18'::timestamp) - extract(epoch from '2026-07-23 17:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.34918)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349169)'))) / (select extract(epoch from '2026-07-23 17:50:18'::timestamp) - extract(epoch from '2026-07-23 17:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037695 -3.349166)', '2026-07-23 17:50:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349166)'))) / (select extract(epoch from '2026-07-23 17:50:25'::timestamp) - extract(epoch from '2026-07-23 17:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349166)'))) / (select extract(epoch from '2026-07-23 17:50:25'::timestamp) - extract(epoch from '2026-07-23 17:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037688 -3.349162)', '2026-07-23 17:50:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349166)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349162)'))) / (select extract(epoch from '2026-07-23 17:50:33'::timestamp) - extract(epoch from '2026-07-23 17:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349166)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349162)'))) / (select extract(epoch from '2026-07-23 17:50:33'::timestamp) - extract(epoch from '2026-07-23 17:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037685 -3.349157)', '2026-07-23 17:50:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349157)'))) / (select extract(epoch from '2026-07-23 17:50:43'::timestamp) - extract(epoch from '2026-07-23 17:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349157)'))) / (select extract(epoch from '2026-07-23 17:50:43'::timestamp) - extract(epoch from '2026-07-23 17:50: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.037696 -3.349164)', '2026-07-23 17:50:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349164)'))) / (select extract(epoch from '2026-07-23 17:50:53'::timestamp) - extract(epoch from '2026-07-23 17:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349164)'))) / (select extract(epoch from '2026-07-23 17:50:53'::timestamp) - extract(epoch from '2026-07-23 17:50: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.037695 -3.349169)', '2026-07-23 17:51:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349169)'))) / (select extract(epoch from '2026-07-23 17:51:01'::timestamp) - extract(epoch from '2026-07-23 17:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349169)'))) / (select extract(epoch from '2026-07-23 17:51:01'::timestamp) - extract(epoch from '2026-07-23 17:50: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.037697 -3.349171)', '2026-07-23 17:51:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349171)'))) / (select extract(epoch from '2026-07-23 17:51:12'::timestamp) - extract(epoch from '2026-07-23 17:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349171)'))) / (select extract(epoch from '2026-07-23 17:51:12'::timestamp) - extract(epoch from '2026-07-23 17:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037694 -3.349179)', '2026-07-23 17:51:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349171)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349179)'))) / (select extract(epoch from '2026-07-23 17:51:19'::timestamp) - extract(epoch from '2026-07-23 17:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349171)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349179)'))) / (select extract(epoch from '2026-07-23 17:51:19'::timestamp) - extract(epoch from '2026-07-23 17:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037698 -3.349173)', '2026-07-23 17:51:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349179)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349173)'))) / (select extract(epoch from '2026-07-23 17:51:29'::timestamp) - extract(epoch from '2026-07-23 17:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349179)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349173)'))) / (select extract(epoch from '2026-07-23 17:51:29'::timestamp) - extract(epoch from '2026-07-23 17:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037701 -3.349165)', '2026-07-23 17:51:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349173)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349165)'))) / (select extract(epoch from '2026-07-23 17:51:38'::timestamp) - extract(epoch from '2026-07-23 17:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349173)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349165)'))) / (select extract(epoch from '2026-07-23 17:51:38'::timestamp) - extract(epoch from '2026-07-23 17:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037697 -3.349163)', '2026-07-23 17:51:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349165)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349163)'))) / (select extract(epoch from '2026-07-23 17:51:46'::timestamp) - extract(epoch from '2026-07-23 17:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349165)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349163)'))) / (select extract(epoch from '2026-07-23 17:51:46'::timestamp) - extract(epoch from '2026-07-23 17:51: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.037697 -3.349167)', '2026-07-23 17:51:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349163)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349167)'))) / (select extract(epoch from '2026-07-23 17:51:51'::timestamp) - extract(epoch from '2026-07-23 17:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349163)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349167)'))) / (select extract(epoch from '2026-07-23 17:51:51'::timestamp) - extract(epoch from '2026-07-23 17:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037698 -3.349161)', '2026-07-23 17:52:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349167)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349161)'))) / (select extract(epoch from '2026-07-23 17:52:01'::timestamp) - extract(epoch from '2026-07-23 17:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349167)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349161)'))) / (select extract(epoch from '2026-07-23 17:52:01'::timestamp) - extract(epoch from '2026-07-23 17:51:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.0377 -3.349149)', '2026-07-23 17:52:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349149)'))) / (select extract(epoch from '2026-07-23 17:52:09'::timestamp) - extract(epoch from '2026-07-23 17:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349149)'))) / (select extract(epoch from '2026-07-23 17:52:09'::timestamp) - extract(epoch from '2026-07-23 17:52:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037689 -3.349159)', '2026-07-23 17:52:16', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349149)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349159)'))) / (select extract(epoch from '2026-07-23 17:52:16'::timestamp) - extract(epoch from '2026-07-23 17:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349149)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349159)'))) / (select extract(epoch from '2026-07-23 17:52:16'::timestamp) - extract(epoch from '2026-07-23 17:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037697 -3.349161)', '2026-07-23 17:52:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349159)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349161)'))) / (select extract(epoch from '2026-07-23 17:52:23'::timestamp) - extract(epoch from '2026-07-23 17:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349159)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349161)'))) / (select extract(epoch from '2026-07-23 17:52:23'::timestamp) - extract(epoch from '2026-07-23 17:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037702 -3.349158)', '2026-07-23 17:52:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349158)'))) / (select extract(epoch from '2026-07-23 17:52:32'::timestamp) - extract(epoch from '2026-07-23 17:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349158)'))) / (select extract(epoch from '2026-07-23 17:52:32'::timestamp) - extract(epoch from '2026-07-23 17:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037696 -3.349164)', '2026-07-23 17:52:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349164)'))) / (select extract(epoch from '2026-07-23 17:52:43'::timestamp) - extract(epoch from '2026-07-23 17:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349164)'))) / (select extract(epoch from '2026-07-23 17:52:43'::timestamp) - extract(epoch from '2026-07-23 17:52: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.0377 -3.349161)', '2026-07-23 17:52:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'))) / (select extract(epoch from '2026-07-23 17:52:52'::timestamp) - extract(epoch from '2026-07-23 17:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'))) / (select extract(epoch from '2026-07-23 17:52:52'::timestamp) - extract(epoch from '2026-07-23 17:52: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.0377 -3.349153)', '2026-07-23 17:53:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349153)'))) / (select extract(epoch from '2026-07-23 17:53:02'::timestamp) - extract(epoch from '2026-07-23 17:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349153)'))) / (select extract(epoch from '2026-07-23 17:53:02'::timestamp) - extract(epoch from '2026-07-23 17:52: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.037696 -3.349154)', '2026-07-23 17:53:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349153)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349154)'))) / (select extract(epoch from '2026-07-23 17:53:13'::timestamp) - extract(epoch from '2026-07-23 17:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349153)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349154)'))) / (select extract(epoch from '2026-07-23 17:53:13'::timestamp) - extract(epoch from '2026-07-23 17:53: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.037697 -3.349155)', '2026-07-23 17:53:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349154)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349155)'))) / (select extract(epoch from '2026-07-23 17:53:19'::timestamp) - extract(epoch from '2026-07-23 17:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349154)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349155)'))) / (select extract(epoch from '2026-07-23 17:53:19'::timestamp) - extract(epoch from '2026-07-23 17:53: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.037698 -3.349154)', '2026-07-23 17:53:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349154)'))) / (select extract(epoch from '2026-07-23 17:53:25'::timestamp) - extract(epoch from '2026-07-23 17:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349154)'))) / (select extract(epoch from '2026-07-23 17:53:25'::timestamp) - extract(epoch from '2026-07-23 17:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037697 -3.349157)', '2026-07-23 17:53:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349154)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349157)'))) / (select extract(epoch from '2026-07-23 17:53:35'::timestamp) - extract(epoch from '2026-07-23 17:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349154)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349157)'))) / (select extract(epoch from '2026-07-23 17:53:35'::timestamp) - extract(epoch from '2026-07-23 17:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037697 -3.349158)', '2026-07-23 17:53:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349158)'))) / (select extract(epoch from '2026-07-23 17:53:43'::timestamp) - extract(epoch from '2026-07-23 17:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349158)'))) / (select extract(epoch from '2026-07-23 17:53:43'::timestamp) - extract(epoch from '2026-07-23 17:53: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.037696 -3.34916)', '2026-07-23 17:53:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.34916)'))) / (select extract(epoch from '2026-07-23 17:53:48'::timestamp) - extract(epoch from '2026-07-23 17:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.34916)'))) / (select extract(epoch from '2026-07-23 17:53:48'::timestamp) - extract(epoch from '2026-07-23 17:53: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.037699 -3.349155)', '2026-07-23 17:53:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.34916)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349155)'))) / (select extract(epoch from '2026-07-23 17:53:59'::timestamp) - extract(epoch from '2026-07-23 17:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.34916)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349155)'))) / (select extract(epoch from '2026-07-23 17:53:59'::timestamp) - extract(epoch from '2026-07-23 17:53: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.037694 -3.349152)', '2026-07-23 17:54:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349152)'))) / (select extract(epoch from '2026-07-23 17:54:05'::timestamp) - extract(epoch from '2026-07-23 17:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349152)'))) / (select extract(epoch from '2026-07-23 17:54:05'::timestamp) - extract(epoch from '2026-07-23 17:53: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.0377 -3.349151)', '2026-07-23 17:54:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349151)'))) / (select extract(epoch from '2026-07-23 17:54:17'::timestamp) - extract(epoch from '2026-07-23 17:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349151)'))) / (select extract(epoch from '2026-07-23 17:54:17'::timestamp) - extract(epoch from '2026-07-23 17:54: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.037703 -3.349156)', '2026-07-23 17:54:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349151)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349156)'))) / (select extract(epoch from '2026-07-23 17:54:26'::timestamp) - extract(epoch from '2026-07-23 17:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349151)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349156)'))) / (select extract(epoch from '2026-07-23 17:54:26'::timestamp) - extract(epoch from '2026-07-23 17:54: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.037696 -3.349159)', '2026-07-23 17:54:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349156)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349159)'))) / (select extract(epoch from '2026-07-23 17:54:34'::timestamp) - extract(epoch from '2026-07-23 17:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349156)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349159)'))) / (select extract(epoch from '2026-07-23 17:54:34'::timestamp) - extract(epoch from '2026-07-23 17:54: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.037701 -3.349161)', '2026-07-23 17:54:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349159)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349161)'))) / (select extract(epoch from '2026-07-23 17:54:41'::timestamp) - extract(epoch from '2026-07-23 17:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349159)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349161)'))) / (select extract(epoch from '2026-07-23 17:54:41'::timestamp) - extract(epoch from '2026-07-23 17:54:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037703 -3.349158)', '2026-07-23 17:54:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349158)'))) / (select extract(epoch from '2026-07-23 17:54:49'::timestamp) - extract(epoch from '2026-07-23 17:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349158)'))) / (select extract(epoch from '2026-07-23 17:54:49'::timestamp) - extract(epoch from '2026-07-23 17:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037704 -3.349156)', '2026-07-23 17:55:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349156)'))) / (select extract(epoch from '2026-07-23 17:55:00'::timestamp) - extract(epoch from '2026-07-23 17:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349156)'))) / (select extract(epoch from '2026-07-23 17:55:00'::timestamp) - extract(epoch from '2026-07-23 17:54: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.037701 -3.349152)', '2026-07-23 17:55:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349156)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'))) / (select extract(epoch from '2026-07-23 17:55:06'::timestamp) - extract(epoch from '2026-07-23 17:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349156)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'))) / (select extract(epoch from '2026-07-23 17:55:06'::timestamp) - extract(epoch from '2026-07-23 17:55: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.037698 -3.349145)', '2026-07-23 17:55:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349145)'))) / (select extract(epoch from '2026-07-23 17:55:13'::timestamp) - extract(epoch from '2026-07-23 17:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349145)'))) / (select extract(epoch from '2026-07-23 17:55:13'::timestamp) - extract(epoch from '2026-07-23 17:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037686 -3.349137)', '2026-07-23 17:55:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349145)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349137)'))) / (select extract(epoch from '2026-07-23 17:55:18'::timestamp) - extract(epoch from '2026-07-23 17:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349145)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349137)'))) / (select extract(epoch from '2026-07-23 17:55:18'::timestamp) - extract(epoch from '2026-07-23 17:55: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.037679 -3.349137)', '2026-07-23 17:55:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349137)'), GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349137)'))) / (select extract(epoch from '2026-07-23 17:55:25'::timestamp) - extract(epoch from '2026-07-23 17:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349137)'), GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349137)'))) / (select extract(epoch from '2026-07-23 17:55:25'::timestamp) - extract(epoch from '2026-07-23 17:55: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.037687 -3.349145)', '2026-07-23 17:55:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349137)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349145)'))) / (select extract(epoch from '2026-07-23 17:55:30'::timestamp) - extract(epoch from '2026-07-23 17:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349137)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349145)'))) / (select extract(epoch from '2026-07-23 17:55:30'::timestamp) - extract(epoch from '2026-07-23 17:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037688 -3.349146)', '2026-07-23 17:55:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349145)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349146)'))) / (select extract(epoch from '2026-07-23 17:55:43'::timestamp) - extract(epoch from '2026-07-23 17:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349145)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349146)'))) / (select extract(epoch from '2026-07-23 17:55:43'::timestamp) - extract(epoch from '2026-07-23 17:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037687 -3.349136)', '2026-07-23 17:55:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349146)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349136)'))) / (select extract(epoch from '2026-07-23 17:55:51'::timestamp) - extract(epoch from '2026-07-23 17:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349146)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349136)'))) / (select extract(epoch from '2026-07-23 17:55:51'::timestamp) - extract(epoch from '2026-07-23 17:55:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037689 -3.349139)', '2026-07-23 17:55:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349139)'))) / (select extract(epoch from '2026-07-23 17:55:58'::timestamp) - extract(epoch from '2026-07-23 17:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349139)'))) / (select extract(epoch from '2026-07-23 17:55:58'::timestamp) - extract(epoch from '2026-07-23 17:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037691 -3.349139)', '2026-07-23 17:56:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349139)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349139)'))) / (select extract(epoch from '2026-07-23 17:56:07'::timestamp) - extract(epoch from '2026-07-23 17:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349139)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349139)'))) / (select extract(epoch from '2026-07-23 17:56:07'::timestamp) - extract(epoch from '2026-07-23 17:55:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037687 -3.349134)', '2026-07-23 17:56:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349139)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349134)'))) / (select extract(epoch from '2026-07-23 17:56:14'::timestamp) - extract(epoch from '2026-07-23 17:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349139)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349134)'))) / (select extract(epoch from '2026-07-23 17:56:14'::timestamp) - extract(epoch from '2026-07-23 17:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037687 -3.349128)', '2026-07-23 17:56:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349134)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349128)'))) / (select extract(epoch from '2026-07-23 17:56:21'::timestamp) - extract(epoch from '2026-07-23 17:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349134)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349128)'))) / (select extract(epoch from '2026-07-23 17:56:21'::timestamp) - extract(epoch from '2026-07-23 17:56: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.037688 -3.349131)', '2026-07-23 17:56:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349128)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349131)'))) / (select extract(epoch from '2026-07-23 17:56:31'::timestamp) - extract(epoch from '2026-07-23 17:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349128)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349131)'))) / (select extract(epoch from '2026-07-23 17:56:31'::timestamp) - extract(epoch from '2026-07-23 17:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03769 -3.349133)', '2026-07-23 17:56:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349131)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349133)'))) / (select extract(epoch from '2026-07-23 17:56:35'::timestamp) - extract(epoch from '2026-07-23 17:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349131)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349133)'))) / (select extract(epoch from '2026-07-23 17:56:35'::timestamp) - extract(epoch from '2026-07-23 17:56: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.037688 -3.349126)', '2026-07-23 17:56:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349133)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349126)'))) / (select extract(epoch from '2026-07-23 17:56:43'::timestamp) - extract(epoch from '2026-07-23 17:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349133)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349126)'))) / (select extract(epoch from '2026-07-23 17:56:43'::timestamp) - extract(epoch from '2026-07-23 17:56:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037684 -3.349129)', '2026-07-23 17:56:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349126)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349129)'))) / (select extract(epoch from '2026-07-23 17:56:49'::timestamp) - extract(epoch from '2026-07-23 17:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349126)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349129)'))) / (select extract(epoch from '2026-07-23 17:56:49'::timestamp) - extract(epoch from '2026-07-23 17:56: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.037687 -3.349129)', '2026-07-23 17:56:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349129)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349129)'))) / (select extract(epoch from '2026-07-23 17:56:57'::timestamp) - extract(epoch from '2026-07-23 17:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349129)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349129)'))) / (select extract(epoch from '2026-07-23 17:56:57'::timestamp) - extract(epoch from '2026-07-23 17:56: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.037686 -3.349132)', '2026-07-23 17:57:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349129)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349132)'))) / (select extract(epoch from '2026-07-23 17:57:06'::timestamp) - extract(epoch from '2026-07-23 17:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349129)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349132)'))) / (select extract(epoch from '2026-07-23 17:57:06'::timestamp) - extract(epoch from '2026-07-23 17:56: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.037683 -3.349131)', '2026-07-23 17:57:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349131)'))) / (select extract(epoch from '2026-07-23 17:57:12'::timestamp) - extract(epoch from '2026-07-23 17:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349131)'))) / (select extract(epoch from '2026-07-23 17:57:12'::timestamp) - extract(epoch from '2026-07-23 17:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037684 -3.349131)', '2026-07-23 17:57:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349131)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349131)'))) / (select extract(epoch from '2026-07-23 17:57:19'::timestamp) - extract(epoch from '2026-07-23 17:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349131)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349131)'))) / (select extract(epoch from '2026-07-23 17:57:19'::timestamp) - extract(epoch from '2026-07-23 17:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037683 -3.349127)', '2026-07-23 17:57:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349131)'), GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349127)'))) / (select extract(epoch from '2026-07-23 17:57:25'::timestamp) - extract(epoch from '2026-07-23 17:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349131)'), GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349127)'))) / (select extract(epoch from '2026-07-23 17:57:25'::timestamp) - extract(epoch from '2026-07-23 17:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037689 -3.349125)', '2026-07-23 17:57:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349127)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349125)'))) / (select extract(epoch from '2026-07-23 17:57:30'::timestamp) - extract(epoch from '2026-07-23 17:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349127)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349125)'))) / (select extract(epoch from '2026-07-23 17:57:30'::timestamp) - extract(epoch from '2026-07-23 17:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037689 -3.34912)', '2026-07-23 17:57:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349125)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.34912)'))) / (select extract(epoch from '2026-07-23 17:57:37'::timestamp) - extract(epoch from '2026-07-23 17:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349125)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.34912)'))) / (select extract(epoch from '2026-07-23 17:57:37'::timestamp) - extract(epoch from '2026-07-23 17:57: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.037694 -3.34912)', '2026-07-23 17:57:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.34912)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.34912)'))) / (select extract(epoch from '2026-07-23 17:57:42'::timestamp) - extract(epoch from '2026-07-23 17:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.34912)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.34912)'))) / (select extract(epoch from '2026-07-23 17:57:42'::timestamp) - extract(epoch from '2026-07-23 17:57: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.037696 -3.349125)', '2026-07-23 17:57:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.34912)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349125)'))) / (select extract(epoch from '2026-07-23 17:57:47'::timestamp) - extract(epoch from '2026-07-23 17:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.34912)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349125)'))) / (select extract(epoch from '2026-07-23 17:57:47'::timestamp) - extract(epoch from '2026-07-23 17:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037692 -3.349125)', '2026-07-23 17:57:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349125)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349125)'))) / (select extract(epoch from '2026-07-23 17:57:55'::timestamp) - extract(epoch from '2026-07-23 17:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349125)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349125)'))) / (select extract(epoch from '2026-07-23 17:57:55'::timestamp) - extract(epoch from '2026-07-23 17:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037687 -3.349129)', '2026-07-23 17:58:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349125)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349129)'))) / (select extract(epoch from '2026-07-23 17:58:02'::timestamp) - extract(epoch from '2026-07-23 17:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349125)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349129)'))) / (select extract(epoch from '2026-07-23 17:58:02'::timestamp) - extract(epoch from '2026-07-23 17:57: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.03768 -3.349132)', '2026-07-23 17:58:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349129)'), GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349132)'))) / (select extract(epoch from '2026-07-23 17:58:08'::timestamp) - extract(epoch from '2026-07-23 17:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349129)'), GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349132)'))) / (select extract(epoch from '2026-07-23 17:58:08'::timestamp) - extract(epoch from '2026-07-23 17:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037686 -3.349131)', '2026-07-23 17:58:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349131)'))) / (select extract(epoch from '2026-07-23 17:58:13'::timestamp) - extract(epoch from '2026-07-23 17:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349131)'))) / (select extract(epoch from '2026-07-23 17:58:13'::timestamp) - extract(epoch from '2026-07-23 17:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03769 -3.34913)', '2026-07-23 17:58:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349131)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.34913)'))) / (select extract(epoch from '2026-07-23 17:58:22'::timestamp) - extract(epoch from '2026-07-23 17:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349131)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.34913)'))) / (select extract(epoch from '2026-07-23 17:58:22'::timestamp) - extract(epoch from '2026-07-23 17:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037692 -3.349133)', '2026-07-23 17:58:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.34913)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349133)'))) / (select extract(epoch from '2026-07-23 17:58:27'::timestamp) - extract(epoch from '2026-07-23 17:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.34913)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349133)'))) / (select extract(epoch from '2026-07-23 17:58:27'::timestamp) - extract(epoch from '2026-07-23 17:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037689 -3.349127)', '2026-07-23 17:58:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349133)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349127)'))) / (select extract(epoch from '2026-07-23 17:58:34'::timestamp) - extract(epoch from '2026-07-23 17:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349133)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349127)'))) / (select extract(epoch from '2026-07-23 17:58:34'::timestamp) - extract(epoch from '2026-07-23 17:58: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.037686 -3.349117)', '2026-07-23 17:58:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349127)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349117)'))) / (select extract(epoch from '2026-07-23 17:58:44'::timestamp) - extract(epoch from '2026-07-23 17:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349127)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349117)'))) / (select extract(epoch from '2026-07-23 17:58:44'::timestamp) - extract(epoch from '2026-07-23 17:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03768 -3.349105)', '2026-07-23 17:58:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349117)'), GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349105)'))) / (select extract(epoch from '2026-07-23 17:58:55'::timestamp) - extract(epoch from '2026-07-23 17:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349117)'), GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349105)'))) / (select extract(epoch from '2026-07-23 17:58:55'::timestamp) - extract(epoch from '2026-07-23 17:58: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.037687 -3.3491)', '2026-07-23 17:59:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349105)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.3491)'))) / (select extract(epoch from '2026-07-23 17:59:01'::timestamp) - extract(epoch from '2026-07-23 17:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349105)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.3491)'))) / (select extract(epoch from '2026-07-23 17:59:01'::timestamp) - extract(epoch from '2026-07-23 17:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037684 -3.349099)', '2026-07-23 17:59:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.3491)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349099)'))) / (select extract(epoch from '2026-07-23 17:59:06'::timestamp) - extract(epoch from '2026-07-23 17:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.3491)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349099)'))) / (select extract(epoch from '2026-07-23 17:59:06'::timestamp) - extract(epoch from '2026-07-23 17:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037684 -3.349096)', '2026-07-23 17:59:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349099)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349096)'))) / (select extract(epoch from '2026-07-23 17:59:15'::timestamp) - extract(epoch from '2026-07-23 17:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349099)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349096)'))) / (select extract(epoch from '2026-07-23 17:59:15'::timestamp) - extract(epoch from '2026-07-23 17:59: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.03769 -3.349099)', '2026-07-23 17:59:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349096)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349099)'))) / (select extract(epoch from '2026-07-23 17:59:23'::timestamp) - extract(epoch from '2026-07-23 17:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349096)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349099)'))) / (select extract(epoch from '2026-07-23 17:59:23'::timestamp) - extract(epoch from '2026-07-23 17:59: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.037699 -3.349104)', '2026-07-23 17:59:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349099)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349104)'))) / (select extract(epoch from '2026-07-23 17:59:33'::timestamp) - extract(epoch from '2026-07-23 17:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349099)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349104)'))) / (select extract(epoch from '2026-07-23 17:59:33'::timestamp) - extract(epoch from '2026-07-23 17:59: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.037697 -3.349109)', '2026-07-23 17:59:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349104)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349109)'))) / (select extract(epoch from '2026-07-23 17:59:41'::timestamp) - extract(epoch from '2026-07-23 17:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349104)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349109)'))) / (select extract(epoch from '2026-07-23 17:59:41'::timestamp) - extract(epoch from '2026-07-23 17:59: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.037691 -3.349111)', '2026-07-23 17:59:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349109)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349111)'))) / (select extract(epoch from '2026-07-23 17:59:55'::timestamp) - extract(epoch from '2026-07-23 17:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349109)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349111)'))) / (select extract(epoch from '2026-07-23 17:59:55'::timestamp) - extract(epoch from '2026-07-23 17:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037695 -3.349113)', '2026-07-23 18:00:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349111)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349113)'))) / (select extract(epoch from '2026-07-23 18:00:00'::timestamp) - extract(epoch from '2026-07-23 17:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349111)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349113)'))) / (select extract(epoch from '2026-07-23 18:00:00'::timestamp) - extract(epoch from '2026-07-23 17:59: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.037697 -3.349114)', '2026-07-23 18:00:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349113)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349114)'))) / (select extract(epoch from '2026-07-23 18:00:11'::timestamp) - extract(epoch from '2026-07-23 18:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349113)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349114)'))) / (select extract(epoch from '2026-07-23 18:00:11'::timestamp) - extract(epoch from '2026-07-23 18:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037687 -3.34911)', '2026-07-23 18:00:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349114)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.34911)'))) / (select extract(epoch from '2026-07-23 18:00:17'::timestamp) - extract(epoch from '2026-07-23 18:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349114)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.34911)'))) / (select extract(epoch from '2026-07-23 18:00:17'::timestamp) - extract(epoch from '2026-07-23 18:00: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.037694 -3.349108)', '2026-07-23 18:00:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.34911)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349108)'))) / (select extract(epoch from '2026-07-23 18:00:24'::timestamp) - extract(epoch from '2026-07-23 18:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.34911)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349108)'))) / (select extract(epoch from '2026-07-23 18:00:24'::timestamp) - extract(epoch from '2026-07-23 18:00:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037688 -3.349117)', '2026-07-23 18:00:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349108)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349117)'))) / (select extract(epoch from '2026-07-23 18:00:31'::timestamp) - extract(epoch from '2026-07-23 18:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349108)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349117)'))) / (select extract(epoch from '2026-07-23 18:00:31'::timestamp) - extract(epoch from '2026-07-23 18:00: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.037682 -3.34911)', '2026-07-23 18:00:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349117)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.34911)'))) / (select extract(epoch from '2026-07-23 18:00:39'::timestamp) - extract(epoch from '2026-07-23 18:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349117)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.34911)'))) / (select extract(epoch from '2026-07-23 18:00:39'::timestamp) - extract(epoch from '2026-07-23 18:00: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.037684 -3.349111)', '2026-07-23 18:00:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.34911)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349111)'))) / (select extract(epoch from '2026-07-23 18:00:46'::timestamp) - extract(epoch from '2026-07-23 18:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.34911)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349111)'))) / (select extract(epoch from '2026-07-23 18:00:46'::timestamp) - extract(epoch from '2026-07-23 18:00:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03768 -3.349113)', '2026-07-23 18:00:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349111)'), GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349113)'))) / (select extract(epoch from '2026-07-23 18:00:51'::timestamp) - extract(epoch from '2026-07-23 18:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349111)'), GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349113)'))) / (select extract(epoch from '2026-07-23 18:00:51'::timestamp) - extract(epoch from '2026-07-23 18:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037685 -3.349113)', '2026-07-23 18:00:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349113)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349113)'))) / (select extract(epoch from '2026-07-23 18:00:56'::timestamp) - extract(epoch from '2026-07-23 18:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349113)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349113)'))) / (select extract(epoch from '2026-07-23 18:00:56'::timestamp) - extract(epoch from '2026-07-23 18:00: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.037689 -3.349108)', '2026-07-23 18:01:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349113)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349108)'))) / (select extract(epoch from '2026-07-23 18:01:07'::timestamp) - extract(epoch from '2026-07-23 18:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349113)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349108)'))) / (select extract(epoch from '2026-07-23 18:01:07'::timestamp) - extract(epoch from '2026-07-23 18:00: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.037684 -3.34911)', '2026-07-23 18:01:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349108)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.34911)'))) / (select extract(epoch from '2026-07-23 18:01:14'::timestamp) - extract(epoch from '2026-07-23 18:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349108)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.34911)'))) / (select extract(epoch from '2026-07-23 18:01:14'::timestamp) - extract(epoch from '2026-07-23 18:01: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.037684 -3.349112)', '2026-07-23 18:01:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.34911)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349112)'))) / (select extract(epoch from '2026-07-23 18:01:23'::timestamp) - extract(epoch from '2026-07-23 18:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.34911)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349112)'))) / (select extract(epoch from '2026-07-23 18:01:23'::timestamp) - extract(epoch from '2026-07-23 18:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037675 -3.349116)', '2026-07-23 18:01:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349112)'), GeomFromEWKT('SRID=4674;POINT (-39.037675 -3.349116)'))) / (select extract(epoch from '2026-07-23 18:01:27'::timestamp) - extract(epoch from '2026-07-23 18:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349112)'), GeomFromEWKT('SRID=4674;POINT (-39.037675 -3.349116)'))) / (select extract(epoch from '2026-07-23 18:01:27'::timestamp) - extract(epoch from '2026-07-23 18:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037678 -3.349117)', '2026-07-23 18:01:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037675 -3.349116)'), GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349117)'))) / (select extract(epoch from '2026-07-23 18:01:33'::timestamp) - extract(epoch from '2026-07-23 18:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037675 -3.349116)'), GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349117)'))) / (select extract(epoch from '2026-07-23 18:01:33'::timestamp) - extract(epoch from '2026-07-23 18:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037682 -3.349117)', '2026-07-23 18:01:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349117)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349117)'))) / (select extract(epoch from '2026-07-23 18:01:39'::timestamp) - extract(epoch from '2026-07-23 18:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349117)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349117)'))) / (select extract(epoch from '2026-07-23 18:01:39'::timestamp) - extract(epoch from '2026-07-23 18: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.037678 -3.34912)', '2026-07-23 18:01:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349117)'), GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.34912)'))) / (select extract(epoch from '2026-07-23 18:01:46'::timestamp) - extract(epoch from '2026-07-23 18:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349117)'), GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.34912)'))) / (select extract(epoch from '2026-07-23 18:01:46'::timestamp) - extract(epoch from '2026-07-23 18:01: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.037681 -3.34913)', '2026-07-23 18:01:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.34912)'), GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.34913)'))) / (select extract(epoch from '2026-07-23 18:01:56'::timestamp) - extract(epoch from '2026-07-23 18:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.34912)'), GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.34913)'))) / (select extract(epoch from '2026-07-23 18:01:56'::timestamp) - extract(epoch from '2026-07-23 18: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.037687 -3.349132)', '2026-07-23 18:02:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.34913)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349132)'))) / (select extract(epoch from '2026-07-23 18:02:03'::timestamp) - extract(epoch from '2026-07-23 18:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.34913)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349132)'))) / (select extract(epoch from '2026-07-23 18:02:03'::timestamp) - extract(epoch from '2026-07-23 18:01: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.037688 -3.349132)', '2026-07-23 18:02:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349132)'))) / (select extract(epoch from '2026-07-23 18:02:09'::timestamp) - extract(epoch from '2026-07-23 18:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349132)'))) / (select extract(epoch from '2026-07-23 18:02:09'::timestamp) - extract(epoch from '2026-07-23 18:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037685 -3.349136)', '2026-07-23 18:02:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:02:18'::timestamp) - extract(epoch from '2026-07-23 18:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:02:18'::timestamp) - extract(epoch from '2026-07-23 18:02: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.037673 -3.349143)', '2026-07-23 18:02:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037673 -3.349143)'))) / (select extract(epoch from '2026-07-23 18:02:25'::timestamp) - extract(epoch from '2026-07-23 18:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037673 -3.349143)'))) / (select extract(epoch from '2026-07-23 18:02:25'::timestamp) - extract(epoch from '2026-07-23 18: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.037678 -3.349141)', '2026-07-23 18:02:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037673 -3.349143)'), GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349141)'))) / (select extract(epoch from '2026-07-23 18:02:29'::timestamp) - extract(epoch from '2026-07-23 18:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037673 -3.349143)'), GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349141)'))) / (select extract(epoch from '2026-07-23 18:02:29'::timestamp) - extract(epoch from '2026-07-23 18:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037679 -3.349135)', '2026-07-23 18:02:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349141)'), GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349135)'))) / (select extract(epoch from '2026-07-23 18:02:36'::timestamp) - extract(epoch from '2026-07-23 18:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037678 -3.349141)'), GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349135)'))) / (select extract(epoch from '2026-07-23 18:02:36'::timestamp) - extract(epoch from '2026-07-23 18:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037686 -3.349135)', '2026-07-23 18:02:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349135)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349135)'))) / (select extract(epoch from '2026-07-23 18:02:42'::timestamp) - extract(epoch from '2026-07-23 18:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349135)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349135)'))) / (select extract(epoch from '2026-07-23 18:02:42'::timestamp) - extract(epoch from '2026-07-23 18:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037685 -3.34914)', '2026-07-23 18:02:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349135)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.34914)'))) / (select extract(epoch from '2026-07-23 18:02:51'::timestamp) - extract(epoch from '2026-07-23 18:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349135)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.34914)'))) / (select extract(epoch from '2026-07-23 18:02:51'::timestamp) - extract(epoch from '2026-07-23 18:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037682 -3.349135)', '2026-07-23 18:02:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.34914)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349135)'))) / (select extract(epoch from '2026-07-23 18:02:59'::timestamp) - extract(epoch from '2026-07-23 18:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.34914)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349135)'))) / (select extract(epoch from '2026-07-23 18:02:59'::timestamp) - extract(epoch from '2026-07-23 18:02: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.037685 -3.349136)', '2026-07-23 18:03:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349135)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:03:05'::timestamp) - extract(epoch from '2026-07-23 18:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349135)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:03:05'::timestamp) - extract(epoch from '2026-07-23 18:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037684 -3.34913)', '2026-07-23 18:03:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.34913)'))) / (select extract(epoch from '2026-07-23 18:03:17'::timestamp) - extract(epoch from '2026-07-23 18:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.34913)'))) / (select extract(epoch from '2026-07-23 18:03:17'::timestamp) - extract(epoch from '2026-07-23 18:03: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.037679 -3.349128)', '2026-07-23 18:03:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.34913)'), GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349128)'))) / (select extract(epoch from '2026-07-23 18:03:25'::timestamp) - extract(epoch from '2026-07-23 18:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.34913)'), GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349128)'))) / (select extract(epoch from '2026-07-23 18:03:25'::timestamp) - extract(epoch from '2026-07-23 18:03: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.037685 -3.349132)', '2026-07-23 18:03:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349128)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349132)'))) / (select extract(epoch from '2026-07-23 18:03:37'::timestamp) - extract(epoch from '2026-07-23 18:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349128)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349132)'))) / (select extract(epoch from '2026-07-23 18:03:37'::timestamp) - extract(epoch from '2026-07-23 18:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037695 -3.349141)', '2026-07-23 18:03:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349141)'))) / (select extract(epoch from '2026-07-23 18:03:47'::timestamp) - extract(epoch from '2026-07-23 18:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349141)'))) / (select extract(epoch from '2026-07-23 18:03:47'::timestamp) - extract(epoch from '2026-07-23 18:03: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.037691 -3.349148)', '2026-07-23 18:03:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349141)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349148)'))) / (select extract(epoch from '2026-07-23 18:03:53'::timestamp) - extract(epoch from '2026-07-23 18:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349141)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349148)'))) / (select extract(epoch from '2026-07-23 18:03:53'::timestamp) - extract(epoch from '2026-07-23 18:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037691 -3.349155)', '2026-07-23 18:04:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349148)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:04:00'::timestamp) - extract(epoch from '2026-07-23 18:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349148)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:04:00'::timestamp) - extract(epoch from '2026-07-23 18:03: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.037688 -3.349147)', '2026-07-23 18:04:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349147)'))) / (select extract(epoch from '2026-07-23 18:04:13'::timestamp) - extract(epoch from '2026-07-23 18:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349147)'))) / (select extract(epoch from '2026-07-23 18:04:13'::timestamp) - extract(epoch from '2026-07-23 18:04: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.037696 -3.349139)', '2026-07-23 18:04:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349147)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349139)'))) / (select extract(epoch from '2026-07-23 18:04:19'::timestamp) - extract(epoch from '2026-07-23 18:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349147)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349139)'))) / (select extract(epoch from '2026-07-23 18:04:19'::timestamp) - extract(epoch from '2026-07-23 18:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037685 -3.349139)', '2026-07-23 18:04:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349139)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349139)'))) / (select extract(epoch from '2026-07-23 18:04:25'::timestamp) - extract(epoch from '2026-07-23 18:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349139)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349139)'))) / (select extract(epoch from '2026-07-23 18:04:25'::timestamp) - extract(epoch from '2026-07-23 18: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.037687 -3.349135)', '2026-07-23 18:04:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349139)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349135)'))) / (select extract(epoch from '2026-07-23 18:04:33'::timestamp) - extract(epoch from '2026-07-23 18:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349139)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349135)'))) / (select extract(epoch from '2026-07-23 18:04:33'::timestamp) - extract(epoch from '2026-07-23 18:04: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.037684 -3.349128)', '2026-07-23 18:04:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349135)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349128)'))) / (select extract(epoch from '2026-07-23 18:04:42'::timestamp) - extract(epoch from '2026-07-23 18:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349135)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349128)'))) / (select extract(epoch from '2026-07-23 18:04:42'::timestamp) - extract(epoch from '2026-07-23 18:04: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.03768 -3.349125)', '2026-07-23 18:04:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349128)'), GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349125)'))) / (select extract(epoch from '2026-07-23 18:04:51'::timestamp) - extract(epoch from '2026-07-23 18:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349128)'), GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349125)'))) / (select extract(epoch from '2026-07-23 18:04:51'::timestamp) - extract(epoch from '2026-07-23 18:04: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.037682 -3.349128)', '2026-07-23 18:04:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349125)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349128)'))) / (select extract(epoch from '2026-07-23 18:04:58'::timestamp) - extract(epoch from '2026-07-23 18:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03768 -3.349125)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349128)'))) / (select extract(epoch from '2026-07-23 18:04:58'::timestamp) - extract(epoch from '2026-07-23 18:04: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.037686 -3.349136)', '2026-07-23 18:05:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349128)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:05:07'::timestamp) - extract(epoch from '2026-07-23 18:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349128)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:05:07'::timestamp) - extract(epoch from '2026-07-23 18:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037676 -3.349139)', '2026-07-23 18:05:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037676 -3.349139)'))) / (select extract(epoch from '2026-07-23 18:05:14'::timestamp) - extract(epoch from '2026-07-23 18:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037676 -3.349139)'))) / (select extract(epoch from '2026-07-23 18:05:14'::timestamp) - extract(epoch from '2026-07-23 18:05:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037682 -3.349137)', '2026-07-23 18:05:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037676 -3.349139)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349137)'))) / (select extract(epoch from '2026-07-23 18:05:26'::timestamp) - extract(epoch from '2026-07-23 18:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037676 -3.349139)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349137)'))) / (select extract(epoch from '2026-07-23 18:05:26'::timestamp) - extract(epoch from '2026-07-23 18:05: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.037684 -3.349136)', '2026-07-23 18:05:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349137)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:05:36'::timestamp) - extract(epoch from '2026-07-23 18:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349137)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:05:36'::timestamp) - extract(epoch from '2026-07-23 18:05: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.037677 -3.349132)', '2026-07-23 18:05:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037677 -3.349132)'))) / (select extract(epoch from '2026-07-23 18:05:45'::timestamp) - extract(epoch from '2026-07-23 18:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037677 -3.349132)'))) / (select extract(epoch from '2026-07-23 18:05:45'::timestamp) - extract(epoch from '2026-07-23 18:05: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.037682 -3.349125)', '2026-07-23 18:05:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037677 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349125)'))) / (select extract(epoch from '2026-07-23 18:05:55'::timestamp) - extract(epoch from '2026-07-23 18:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037677 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349125)'))) / (select extract(epoch from '2026-07-23 18:05:55'::timestamp) - extract(epoch from '2026-07-23 18:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037679 -3.349129)', '2026-07-23 18:06:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349125)'), GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349129)'))) / (select extract(epoch from '2026-07-23 18:06:03'::timestamp) - extract(epoch from '2026-07-23 18:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037682 -3.349125)'), GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349129)'))) / (select extract(epoch from '2026-07-23 18:06:03'::timestamp) - extract(epoch from '2026-07-23 18: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.037677 -3.34913)', '2026-07-23 18:06:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349129)'), GeomFromEWKT('SRID=4674;POINT (-39.037677 -3.34913)'))) / (select extract(epoch from '2026-07-23 18:06:10'::timestamp) - extract(epoch from '2026-07-23 18:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349129)'), GeomFromEWKT('SRID=4674;POINT (-39.037677 -3.34913)'))) / (select extract(epoch from '2026-07-23 18:06:10'::timestamp) - extract(epoch from '2026-07-23 18:06: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.037679 -3.349128)', '2026-07-23 18:06:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037677 -3.34913)'), GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349128)'))) / (select extract(epoch from '2026-07-23 18:06:16'::timestamp) - extract(epoch from '2026-07-23 18:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037677 -3.34913)'), GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349128)'))) / (select extract(epoch from '2026-07-23 18:06:16'::timestamp) - extract(epoch from '2026-07-23 18:06: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.037681 -3.349132)', '2026-07-23 18:06:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349128)'), GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.349132)'))) / (select extract(epoch from '2026-07-23 18:06:22'::timestamp) - extract(epoch from '2026-07-23 18:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037679 -3.349128)'), GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.349132)'))) / (select extract(epoch from '2026-07-23 18:06:22'::timestamp) - extract(epoch from '2026-07-23 18:06: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.037683 -3.349136)', '2026-07-23 18:06:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:06:31'::timestamp) - extract(epoch from '2026-07-23 18:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:06:31'::timestamp) - extract(epoch from '2026-07-23 18:06: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.037684 -3.349134)', '2026-07-23 18:06:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349134)'))) / (select extract(epoch from '2026-07-23 18:06:37'::timestamp) - extract(epoch from '2026-07-23 18:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349134)'))) / (select extract(epoch from '2026-07-23 18:06:37'::timestamp) - extract(epoch from '2026-07-23 18:06: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.037684 -3.349136)', '2026-07-23 18:06:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349134)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:06:46'::timestamp) - extract(epoch from '2026-07-23 18:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349134)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349136)'))) / (select extract(epoch from '2026-07-23 18:06:46'::timestamp) - extract(epoch from '2026-07-23 18:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037688 -3.349142)', '2026-07-23 18:06:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349142)'))) / (select extract(epoch from '2026-07-23 18:06:54'::timestamp) - extract(epoch from '2026-07-23 18:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349136)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349142)'))) / (select extract(epoch from '2026-07-23 18:06:54'::timestamp) - extract(epoch from '2026-07-23 18:06: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.037687 -3.349148)', '2026-07-23 18:07:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349142)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349148)'))) / (select extract(epoch from '2026-07-23 18:07:01'::timestamp) - extract(epoch from '2026-07-23 18:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349142)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349148)'))) / (select extract(epoch from '2026-07-23 18:07:01'::timestamp) - extract(epoch from '2026-07-23 18:06: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.037685 -3.34915)', '2026-07-23 18:07:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349148)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.34915)'))) / (select extract(epoch from '2026-07-23 18:07:07'::timestamp) - extract(epoch from '2026-07-23 18:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349148)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.34915)'))) / (select extract(epoch from '2026-07-23 18:07:07'::timestamp) - extract(epoch from '2026-07-23 18:07: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.037683 -3.349155)', '2026-07-23 18:07:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.34915)'), GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:07:15'::timestamp) - extract(epoch from '2026-07-23 18:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.34915)'), GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:07:15'::timestamp) - extract(epoch from '2026-07-23 18:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037681 -3.349154)', '2026-07-23 18:07:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.349154)'))) / (select extract(epoch from '2026-07-23 18:07:26'::timestamp) - extract(epoch from '2026-07-23 18:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.349154)'))) / (select extract(epoch from '2026-07-23 18:07:26'::timestamp) - extract(epoch from '2026-07-23 18:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03767 -3.349162)', '2026-07-23 18:07:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.349154)'), GeomFromEWKT('SRID=4674;POINT (-39.03767 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:07:33'::timestamp) - extract(epoch from '2026-07-23 18:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037681 -3.349154)'), GeomFromEWKT('SRID=4674;POINT (-39.03767 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:07:33'::timestamp) - extract(epoch from '2026-07-23 18: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.037684 -3.349162)', '2026-07-23 18:07:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03767 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:07:39'::timestamp) - extract(epoch from '2026-07-23 18:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03767 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:07:39'::timestamp) - extract(epoch from '2026-07-23 18: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.037686 -3.349155)', '2026-07-23 18:07:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:07:43'::timestamp) - extract(epoch from '2026-07-23 18:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:07:43'::timestamp) - extract(epoch from '2026-07-23 18:07: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.037687 -3.349157)', '2026-07-23 18:07:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349157)'))) / (select extract(epoch from '2026-07-23 18:07:50'::timestamp) - extract(epoch from '2026-07-23 18:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037686 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349157)'))) / (select extract(epoch from '2026-07-23 18:07:50'::timestamp) - extract(epoch from '2026-07-23 18:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037684 -3.349159)', '2026-07-23 18:07:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349159)'))) / (select extract(epoch from '2026-07-23 18:07:57'::timestamp) - extract(epoch from '2026-07-23 18:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349159)'))) / (select extract(epoch from '2026-07-23 18:07:57'::timestamp) - extract(epoch from '2026-07-23 18:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037688 -3.349156)', '2026-07-23 18:08:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349159)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349156)'))) / (select extract(epoch from '2026-07-23 18:08:05'::timestamp) - extract(epoch from '2026-07-23 18:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037684 -3.349159)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349156)'))) / (select extract(epoch from '2026-07-23 18:08:05'::timestamp) - extract(epoch from '2026-07-23 18:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037697 -3.349165)', '2026-07-23 18:08:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349156)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349165)'))) / (select extract(epoch from '2026-07-23 18:08:11'::timestamp) - extract(epoch from '2026-07-23 18:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349156)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349165)'))) / (select extract(epoch from '2026-07-23 18:08:11'::timestamp) - extract(epoch from '2026-07-23 18:08:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037698 -3.349168)', '2026-07-23 18:08:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349165)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349168)'))) / (select extract(epoch from '2026-07-23 18:08:19'::timestamp) - extract(epoch from '2026-07-23 18:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349165)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349168)'))) / (select extract(epoch from '2026-07-23 18:08:19'::timestamp) - extract(epoch from '2026-07-23 18:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037695 -3.349164)', '2026-07-23 18:08:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349164)'))) / (select extract(epoch from '2026-07-23 18:08:25'::timestamp) - extract(epoch from '2026-07-23 18:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349164)'))) / (select extract(epoch from '2026-07-23 18:08:25'::timestamp) - extract(epoch from '2026-07-23 18:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037698 -3.349163)', '2026-07-23 18:08:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349163)'))) / (select extract(epoch from '2026-07-23 18:08:37'::timestamp) - extract(epoch from '2026-07-23 18:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349163)'))) / (select extract(epoch from '2026-07-23 18:08:37'::timestamp) - extract(epoch from '2026-07-23 18:08: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.037701 -3.349159)', '2026-07-23 18:08:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349163)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349159)'))) / (select extract(epoch from '2026-07-23 18:08:47'::timestamp) - extract(epoch from '2026-07-23 18:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349163)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349159)'))) / (select extract(epoch from '2026-07-23 18:08:47'::timestamp) - extract(epoch from '2026-07-23 18: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.037699 -3.349162)', '2026-07-23 18:08:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349159)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:08:58'::timestamp) - extract(epoch from '2026-07-23 18:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349159)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:08:58'::timestamp) - extract(epoch from '2026-07-23 18:08: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.0377 -3.349161)', '2026-07-23 18:09:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:09:09'::timestamp) - extract(epoch from '2026-07-23 18:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:09:09'::timestamp) - extract(epoch from '2026-07-23 18:08: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.037698 -3.349164)', '2026-07-23 18:09:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349164)'))) / (select extract(epoch from '2026-07-23 18:09:15'::timestamp) - extract(epoch from '2026-07-23 18:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349164)'))) / (select extract(epoch from '2026-07-23 18:09:15'::timestamp) - extract(epoch from '2026-07-23 18:09: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.037699 -3.349168)', '2026-07-23 18:09:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349168)'))) / (select extract(epoch from '2026-07-23 18:09:20'::timestamp) - extract(epoch from '2026-07-23 18:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349168)'))) / (select extract(epoch from '2026-07-23 18:09:20'::timestamp) - extract(epoch from '2026-07-23 18:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037702 -3.349173)', '2026-07-23 18:09:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349173)'))) / (select extract(epoch from '2026-07-23 18:09:26'::timestamp) - extract(epoch from '2026-07-23 18:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349173)'))) / (select extract(epoch from '2026-07-23 18:09:26'::timestamp) - extract(epoch from '2026-07-23 18:09: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.0377 -3.34917)', '2026-07-23 18:09:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349173)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.34917)'))) / (select extract(epoch from '2026-07-23 18:09:35'::timestamp) - extract(epoch from '2026-07-23 18:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349173)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.34917)'))) / (select extract(epoch from '2026-07-23 18:09:35'::timestamp) - extract(epoch from '2026-07-23 18:09: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.037704 -3.349164)', '2026-07-23 18:09:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.34917)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349164)'))) / (select extract(epoch from '2026-07-23 18:09:44'::timestamp) - extract(epoch from '2026-07-23 18:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.34917)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349164)'))) / (select extract(epoch from '2026-07-23 18:09:44'::timestamp) - extract(epoch from '2026-07-23 18:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037705 -3.349158)', '2026-07-23 18:09:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349158)'))) / (select extract(epoch from '2026-07-23 18:09:51'::timestamp) - extract(epoch from '2026-07-23 18:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349158)'))) / (select extract(epoch from '2026-07-23 18:09:51'::timestamp) - extract(epoch from '2026-07-23 18:09: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.0377 -3.349155)', '2026-07-23 18:09:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:09:56'::timestamp) - extract(epoch from '2026-07-23 18:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:09:56'::timestamp) - extract(epoch from '2026-07-23 18:09: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.0377 -3.34915)', '2026-07-23 18:10:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.34915)'))) / (select extract(epoch from '2026-07-23 18:10:06'::timestamp) - extract(epoch from '2026-07-23 18:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.34915)'))) / (select extract(epoch from '2026-07-23 18:10:06'::timestamp) - extract(epoch from '2026-07-23 18:09: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.037702 -3.349152)', '2026-07-23 18:10:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.34915)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349152)'))) / (select extract(epoch from '2026-07-23 18:10:14'::timestamp) - extract(epoch from '2026-07-23 18:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.34915)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349152)'))) / (select extract(epoch from '2026-07-23 18:10:14'::timestamp) - extract(epoch from '2026-07-23 18:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037699 -3.349151)', '2026-07-23 18:10:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349151)'))) / (select extract(epoch from '2026-07-23 18:10:24'::timestamp) - extract(epoch from '2026-07-23 18:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349151)'))) / (select extract(epoch from '2026-07-23 18:10:24'::timestamp) - extract(epoch from '2026-07-23 18:10:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037701 -3.349152)', '2026-07-23 18:10:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349151)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'))) / (select extract(epoch from '2026-07-23 18:10:31'::timestamp) - extract(epoch from '2026-07-23 18:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349151)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'))) / (select extract(epoch from '2026-07-23 18:10:31'::timestamp) - extract(epoch from '2026-07-23 18: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.037697 -3.349153)', '2026-07-23 18:10:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349153)'))) / (select extract(epoch from '2026-07-23 18:10:37'::timestamp) - extract(epoch from '2026-07-23 18:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349153)'))) / (select extract(epoch from '2026-07-23 18:10:37'::timestamp) - extract(epoch from '2026-07-23 18:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037697 -3.349157)', '2026-07-23 18:10:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349153)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349157)'))) / (select extract(epoch from '2026-07-23 18:10:44'::timestamp) - extract(epoch from '2026-07-23 18:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349153)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349157)'))) / (select extract(epoch from '2026-07-23 18:10:44'::timestamp) - extract(epoch from '2026-07-23 18:10: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.0377 -3.349159)', '2026-07-23 18:10:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349159)'))) / (select extract(epoch from '2026-07-23 18:10:50'::timestamp) - extract(epoch from '2026-07-23 18:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349159)'))) / (select extract(epoch from '2026-07-23 18:10:50'::timestamp) - extract(epoch from '2026-07-23 18: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.037699 -3.349162)', '2026-07-23 18:11:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349159)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:11:00'::timestamp) - extract(epoch from '2026-07-23 18:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349159)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:11:00'::timestamp) - extract(epoch from '2026-07-23 18:10: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.037705 -3.349169)', '2026-07-23 18:11:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349169)'))) / (select extract(epoch from '2026-07-23 18:11:06'::timestamp) - extract(epoch from '2026-07-23 18:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349169)'))) / (select extract(epoch from '2026-07-23 18:11:06'::timestamp) - extract(epoch from '2026-07-23 18:11: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.037713 -3.34917)', '2026-07-23 18:11:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037713 -3.34917)'))) / (select extract(epoch from '2026-07-23 18:11:12'::timestamp) - extract(epoch from '2026-07-23 18:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037713 -3.34917)'))) / (select extract(epoch from '2026-07-23 18:11:12'::timestamp) - extract(epoch from '2026-07-23 18: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.037706 -3.349175)', '2026-07-23 18:11:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037713 -3.34917)'), GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349175)'))) / (select extract(epoch from '2026-07-23 18:11:18'::timestamp) - extract(epoch from '2026-07-23 18:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037713 -3.34917)'), GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349175)'))) / (select extract(epoch from '2026-07-23 18:11:18'::timestamp) - extract(epoch from '2026-07-23 18: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.037701 -3.349176)', '2026-07-23 18:11:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349175)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:11:25'::timestamp) - extract(epoch from '2026-07-23 18:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349175)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:11:25'::timestamp) - extract(epoch from '2026-07-23 18:11: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.037696 -3.349178)', '2026-07-23 18:11:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349178)'))) / (select extract(epoch from '2026-07-23 18:11:31'::timestamp) - extract(epoch from '2026-07-23 18:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349178)'))) / (select extract(epoch from '2026-07-23 18:11:31'::timestamp) - extract(epoch from '2026-07-23 18: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.037697 -3.349188)', '2026-07-23 18:11:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349178)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349188)'))) / (select extract(epoch from '2026-07-23 18:11:37'::timestamp) - extract(epoch from '2026-07-23 18:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349178)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349188)'))) / (select extract(epoch from '2026-07-23 18:11:37'::timestamp) - extract(epoch from '2026-07-23 18:11: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.037688 -3.349192)', '2026-07-23 18:11:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349188)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349192)'))) / (select extract(epoch from '2026-07-23 18:11:44'::timestamp) - extract(epoch from '2026-07-23 18:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349188)'), GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349192)'))) / (select extract(epoch from '2026-07-23 18:11:44'::timestamp) - extract(epoch from '2026-07-23 18:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037683 -3.349195)', '2026-07-23 18:11:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349192)'), GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349195)'))) / (select extract(epoch from '2026-07-23 18:11:58'::timestamp) - extract(epoch from '2026-07-23 18:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037688 -3.349192)'), GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349195)'))) / (select extract(epoch from '2026-07-23 18:11:58'::timestamp) - extract(epoch from '2026-07-23 18:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037687 -3.349197)', '2026-07-23 18:12:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349195)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349197)'))) / (select extract(epoch from '2026-07-23 18:12:03'::timestamp) - extract(epoch from '2026-07-23 18:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037683 -3.349195)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349197)'))) / (select extract(epoch from '2026-07-23 18:12:03'::timestamp) - extract(epoch from '2026-07-23 18: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.037685 -3.349196)', '2026-07-23 18:12:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349197)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349196)'))) / (select extract(epoch from '2026-07-23 18:12:07'::timestamp) - extract(epoch from '2026-07-23 18:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349197)'), GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349196)'))) / (select extract(epoch from '2026-07-23 18:12:07'::timestamp) - extract(epoch from '2026-07-23 18:12: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.037689 -3.349197)', '2026-07-23 18:12:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349196)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349197)'))) / (select extract(epoch from '2026-07-23 18:12:12'::timestamp) - extract(epoch from '2026-07-23 18:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037685 -3.349196)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349197)'))) / (select extract(epoch from '2026-07-23 18:12:12'::timestamp) - extract(epoch from '2026-07-23 18:12: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.037701 -3.349197)', '2026-07-23 18:12:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349197)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349197)'))) / (select extract(epoch from '2026-07-23 18:12:19'::timestamp) - extract(epoch from '2026-07-23 18:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349197)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349197)'))) / (select extract(epoch from '2026-07-23 18:12:19'::timestamp) - extract(epoch from '2026-07-23 18:12: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.037704 -3.349192)', '2026-07-23 18:12:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349197)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349192)'))) / (select extract(epoch from '2026-07-23 18:12:28'::timestamp) - extract(epoch from '2026-07-23 18:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349197)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349192)'))) / (select extract(epoch from '2026-07-23 18:12:28'::timestamp) - extract(epoch from '2026-07-23 18:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037694 -3.349193)', '2026-07-23 18:12:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349192)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349193)'))) / (select extract(epoch from '2026-07-23 18:12:34'::timestamp) - extract(epoch from '2026-07-23 18:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349192)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349193)'))) / (select extract(epoch from '2026-07-23 18:12:34'::timestamp) - extract(epoch from '2026-07-23 18:12: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.037692 -3.34919)', '2026-07-23 18:12:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349193)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.34919)'))) / (select extract(epoch from '2026-07-23 18:12:42'::timestamp) - extract(epoch from '2026-07-23 18:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349193)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.34919)'))) / (select extract(epoch from '2026-07-23 18:12:42'::timestamp) - extract(epoch from '2026-07-23 18:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037702 -3.349187)', '2026-07-23 18:12:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.34919)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349187)'))) / (select extract(epoch from '2026-07-23 18:12:49'::timestamp) - extract(epoch from '2026-07-23 18:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.34919)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349187)'))) / (select extract(epoch from '2026-07-23 18:12:49'::timestamp) - extract(epoch from '2026-07-23 18:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037701 -3.349188)', '2026-07-23 18:13:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349187)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349188)'))) / (select extract(epoch from '2026-07-23 18:13:01'::timestamp) - extract(epoch from '2026-07-23 18:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349187)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349188)'))) / (select extract(epoch from '2026-07-23 18:13:01'::timestamp) - extract(epoch from '2026-07-23 18:12: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.037697 -3.349194)', '2026-07-23 18:13:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349188)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349194)'))) / (select extract(epoch from '2026-07-23 18:13:13'::timestamp) - extract(epoch from '2026-07-23 18:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349188)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349194)'))) / (select extract(epoch from '2026-07-23 18:13:13'::timestamp) - extract(epoch from '2026-07-23 18:13: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.037693 -3.349188)', '2026-07-23 18:13:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349194)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349188)'))) / (select extract(epoch from '2026-07-23 18:13:22'::timestamp) - extract(epoch from '2026-07-23 18:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349194)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349188)'))) / (select extract(epoch from '2026-07-23 18:13:22'::timestamp) - extract(epoch from '2026-07-23 18: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.037696 -3.349183)', '2026-07-23 18:13:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349188)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349183)'))) / (select extract(epoch from '2026-07-23 18:13:29'::timestamp) - extract(epoch from '2026-07-23 18:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349188)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349183)'))) / (select extract(epoch from '2026-07-23 18:13:29'::timestamp) - extract(epoch from '2026-07-23 18:13: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.037691 -3.349181)', '2026-07-23 18:13:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349183)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349181)'))) / (select extract(epoch from '2026-07-23 18:13:34'::timestamp) - extract(epoch from '2026-07-23 18:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349183)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349181)'))) / (select extract(epoch from '2026-07-23 18:13:34'::timestamp) - extract(epoch from '2026-07-23 18:13: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.037697 -3.349177)', '2026-07-23 18:13:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349181)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349177)'))) / (select extract(epoch from '2026-07-23 18:13:41'::timestamp) - extract(epoch from '2026-07-23 18:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349181)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349177)'))) / (select extract(epoch from '2026-07-23 18:13:41'::timestamp) - extract(epoch from '2026-07-23 18:13: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.037697 -3.349172)', '2026-07-23 18:13:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349177)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349172)'))) / (select extract(epoch from '2026-07-23 18:13:47'::timestamp) - extract(epoch from '2026-07-23 18:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349177)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349172)'))) / (select extract(epoch from '2026-07-23 18:13:47'::timestamp) - extract(epoch from '2026-07-23 18:13:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037702 -3.349171)', '2026-07-23 18:13:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349172)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349171)'))) / (select extract(epoch from '2026-07-23 18:13:59'::timestamp) - extract(epoch from '2026-07-23 18:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349172)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349171)'))) / (select extract(epoch from '2026-07-23 18:13:59'::timestamp) - extract(epoch from '2026-07-23 18:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.0377 -3.349176)', '2026-07-23 18:14:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349171)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:14:05'::timestamp) - extract(epoch from '2026-07-23 18:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349171)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:14:05'::timestamp) - extract(epoch from '2026-07-23 18:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037702 -3.349174)', '2026-07-23 18:14:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:14:13'::timestamp) - extract(epoch from '2026-07-23 18:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:14:13'::timestamp) - extract(epoch from '2026-07-23 18:14: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.037698 -3.349176)', '2026-07-23 18:14:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:14:21'::timestamp) - extract(epoch from '2026-07-23 18:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:14:21'::timestamp) - extract(epoch from '2026-07-23 18: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.037703 -3.349179)', '2026-07-23 18:14:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349179)'))) / (select extract(epoch from '2026-07-23 18:14:28'::timestamp) - extract(epoch from '2026-07-23 18:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349179)'))) / (select extract(epoch from '2026-07-23 18:14:28'::timestamp) - extract(epoch from '2026-07-23 18:14: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.03769 -3.349175)', '2026-07-23 18:14:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349179)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349175)'))) / (select extract(epoch from '2026-07-23 18:14:33'::timestamp) - extract(epoch from '2026-07-23 18:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349179)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349175)'))) / (select extract(epoch from '2026-07-23 18:14:33'::timestamp) - extract(epoch from '2026-07-23 18:14: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.037701 -3.34918)', '2026-07-23 18:14:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349175)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.34918)'))) / (select extract(epoch from '2026-07-23 18:14:40'::timestamp) - extract(epoch from '2026-07-23 18:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349175)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.34918)'))) / (select extract(epoch from '2026-07-23 18:14:40'::timestamp) - extract(epoch from '2026-07-23 18: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.037702 -3.349179)', '2026-07-23 18:14:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.34918)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349179)'))) / (select extract(epoch from '2026-07-23 18:14:50'::timestamp) - extract(epoch from '2026-07-23 18:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.34918)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349179)'))) / (select extract(epoch from '2026-07-23 18:14:50'::timestamp) - extract(epoch from '2026-07-23 18:14: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.037698 -3.349176)', '2026-07-23 18:14:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349179)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:14:58'::timestamp) - extract(epoch from '2026-07-23 18:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349179)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:14:58'::timestamp) - extract(epoch from '2026-07-23 18: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.037701 -3.349173)', '2026-07-23 18:15:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349173)'))) / (select extract(epoch from '2026-07-23 18:15:06'::timestamp) - extract(epoch from '2026-07-23 18:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349173)'))) / (select extract(epoch from '2026-07-23 18:15:06'::timestamp) - extract(epoch from '2026-07-23 18:14: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.0377 -3.349169)', '2026-07-23 18:15:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349173)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349169)'))) / (select extract(epoch from '2026-07-23 18:15:14'::timestamp) - extract(epoch from '2026-07-23 18:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349173)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349169)'))) / (select extract(epoch from '2026-07-23 18:15:14'::timestamp) - extract(epoch from '2026-07-23 18:15: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.037697 -3.349168)', '2026-07-23 18:15:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349168)'))) / (select extract(epoch from '2026-07-23 18:15:20'::timestamp) - extract(epoch from '2026-07-23 18:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349168)'))) / (select extract(epoch from '2026-07-23 18:15:20'::timestamp) - extract(epoch from '2026-07-23 18:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037687 -3.349167)', '2026-07-23 18:15:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349167)'))) / (select extract(epoch from '2026-07-23 18:15:29'::timestamp) - extract(epoch from '2026-07-23 18:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349167)'))) / (select extract(epoch from '2026-07-23 18:15:29'::timestamp) - extract(epoch from '2026-07-23 18:15: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.037694 -3.349163)', '2026-07-23 18:15:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349167)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349163)'))) / (select extract(epoch from '2026-07-23 18:15:36'::timestamp) - extract(epoch from '2026-07-23 18:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037687 -3.349167)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349163)'))) / (select extract(epoch from '2026-07-23 18:15:36'::timestamp) - extract(epoch from '2026-07-23 18:15: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.037695 -3.349162)', '2026-07-23 18:15:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349163)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:15:44'::timestamp) - extract(epoch from '2026-07-23 18:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349163)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:15:44'::timestamp) - extract(epoch from '2026-07-23 18:15: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.037699 -3.34916)', '2026-07-23 18:15:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.34916)'))) / (select extract(epoch from '2026-07-23 18:15:55'::timestamp) - extract(epoch from '2026-07-23 18:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.34916)'))) / (select extract(epoch from '2026-07-23 18:15:55'::timestamp) - extract(epoch from '2026-07-23 18:15: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.03769 -3.349153)', '2026-07-23 18:16:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.34916)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349153)'))) / (select extract(epoch from '2026-07-23 18:16:07'::timestamp) - extract(epoch from '2026-07-23 18:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.34916)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349153)'))) / (select extract(epoch from '2026-07-23 18:16:07'::timestamp) - extract(epoch from '2026-07-23 18:15: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.037692 -3.349147)', '2026-07-23 18:16:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349153)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349147)'))) / (select extract(epoch from '2026-07-23 18:16:15'::timestamp) - extract(epoch from '2026-07-23 18:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349153)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349147)'))) / (select extract(epoch from '2026-07-23 18:16:15'::timestamp) - extract(epoch from '2026-07-23 18:16: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.037695 -3.349141)', '2026-07-23 18:16:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349147)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349141)'))) / (select extract(epoch from '2026-07-23 18:16:26'::timestamp) - extract(epoch from '2026-07-23 18:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349147)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349141)'))) / (select extract(epoch from '2026-07-23 18:16:26'::timestamp) - extract(epoch from '2026-07-23 18:16: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.037689 -3.349145)', '2026-07-23 18:16:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349141)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349145)'))) / (select extract(epoch from '2026-07-23 18:16:32'::timestamp) - extract(epoch from '2026-07-23 18:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349141)'), GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349145)'))) / (select extract(epoch from '2026-07-23 18:16:32'::timestamp) - extract(epoch from '2026-07-23 18:16: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.03769 -3.349142)', '2026-07-23 18:16:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349145)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349142)'))) / (select extract(epoch from '2026-07-23 18:16:40'::timestamp) - extract(epoch from '2026-07-23 18:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037689 -3.349145)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349142)'))) / (select extract(epoch from '2026-07-23 18:16:40'::timestamp) - extract(epoch from '2026-07-23 18:16: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.037695 -3.349147)', '2026-07-23 18:16:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349142)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349147)'))) / (select extract(epoch from '2026-07-23 18:16:54'::timestamp) - extract(epoch from '2026-07-23 18:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349142)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349147)'))) / (select extract(epoch from '2026-07-23 18:16:54'::timestamp) - extract(epoch from '2026-07-23 18:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037691 -3.349156)', '2026-07-23 18:17:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349147)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349156)'))) / (select extract(epoch from '2026-07-23 18:17:02'::timestamp) - extract(epoch from '2026-07-23 18:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349147)'), GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349156)'))) / (select extract(epoch from '2026-07-23 18:17:02'::timestamp) - extract(epoch from '2026-07-23 18:16: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.03769 -3.34916)', '2026-07-23 18:17:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349156)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.34916)'))) / (select extract(epoch from '2026-07-23 18:17:07'::timestamp) - extract(epoch from '2026-07-23 18:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037691 -3.349156)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.34916)'))) / (select extract(epoch from '2026-07-23 18:17:07'::timestamp) - extract(epoch from '2026-07-23 18:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037699 -3.349155)', '2026-07-23 18:17:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.34916)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:17:13'::timestamp) - extract(epoch from '2026-07-23 18:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.34916)'), GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:17:13'::timestamp) - extract(epoch from '2026-07-23 18:17: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.037696 -3.349158)', '2026-07-23 18:17:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349158)'))) / (select extract(epoch from '2026-07-23 18:17:19'::timestamp) - extract(epoch from '2026-07-23 18:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037699 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349158)'))) / (select extract(epoch from '2026-07-23 18:17:19'::timestamp) - extract(epoch from '2026-07-23 18:17: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.037697 -3.349161)', '2026-07-23 18:17:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:17:29'::timestamp) - extract(epoch from '2026-07-23 18:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:17:29'::timestamp) - extract(epoch from '2026-07-23 18:17: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.037701 -3.349152)', '2026-07-23 18:17:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'))) / (select extract(epoch from '2026-07-23 18:17:38'::timestamp) - extract(epoch from '2026-07-23 18:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'))) / (select extract(epoch from '2026-07-23 18:17:38'::timestamp) - extract(epoch from '2026-07-23 18: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.037702 -3.349155)', '2026-07-23 18:17:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:17:47'::timestamp) - extract(epoch from '2026-07-23 18:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349152)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:17:47'::timestamp) - extract(epoch from '2026-07-23 18: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.0377 -3.349161)', '2026-07-23 18:17:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:17:57'::timestamp) - extract(epoch from '2026-07-23 18:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:17:57'::timestamp) - extract(epoch from '2026-07-23 18:17: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.037704 -3.349161)', '2026-07-23 18:18:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:18:06'::timestamp) - extract(epoch from '2026-07-23 18:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:18:06'::timestamp) - extract(epoch from '2026-07-23 18: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.037705 -3.349158)', '2026-07-23 18:18:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349158)'))) / (select extract(epoch from '2026-07-23 18:18:17'::timestamp) - extract(epoch from '2026-07-23 18:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349158)'))) / (select extract(epoch from '2026-07-23 18:18:17'::timestamp) - extract(epoch from '2026-07-23 18:18: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.037712 -3.349161)', '2026-07-23 18:18:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037712 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:18:28'::timestamp) - extract(epoch from '2026-07-23 18:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349158)'), GeomFromEWKT('SRID=4674;POINT (-39.037712 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:18:28'::timestamp) - extract(epoch from '2026-07-23 18:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03771 -3.349161)', '2026-07-23 18:18:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037712 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:18:39'::timestamp) - extract(epoch from '2026-07-23 18:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037712 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:18:39'::timestamp) - extract(epoch from '2026-07-23 18:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037708 -3.349161)', '2026-07-23 18:18:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:18:49'::timestamp) - extract(epoch from '2026-07-23 18:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349161)'))) / (select extract(epoch from '2026-07-23 18:18:49'::timestamp) - extract(epoch from '2026-07-23 18:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037708 -3.349162)', '2026-07-23 18:18:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:18:58'::timestamp) - extract(epoch from '2026-07-23 18:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349161)'), GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:18:58'::timestamp) - extract(epoch from '2026-07-23 18:18: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.037702 -3.349157)', '2026-07-23 18:19:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349157)'))) / (select extract(epoch from '2026-07-23 18:19:06'::timestamp) - extract(epoch from '2026-07-23 18:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349157)'))) / (select extract(epoch from '2026-07-23 18:19:06'::timestamp) - extract(epoch from '2026-07-23 18:18: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.037701 -3.349154)', '2026-07-23 18:19:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349154)'))) / (select extract(epoch from '2026-07-23 18:19:13'::timestamp) - extract(epoch from '2026-07-23 18:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349157)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349154)'))) / (select extract(epoch from '2026-07-23 18:19:13'::timestamp) - extract(epoch from '2026-07-23 18:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037701 -3.349151)', '2026-07-23 18:19:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349154)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349151)'))) / (select extract(epoch from '2026-07-23 18:19:19'::timestamp) - extract(epoch from '2026-07-23 18:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349154)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349151)'))) / (select extract(epoch from '2026-07-23 18:19:19'::timestamp) - extract(epoch from '2026-07-23 18:19: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.037694 -3.349155)', '2026-07-23 18:19:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349151)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:19:26'::timestamp) - extract(epoch from '2026-07-23 18:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349151)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349155)'))) / (select extract(epoch from '2026-07-23 18:19:26'::timestamp) - extract(epoch from '2026-07-23 18:19:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037695 -3.349162)', '2026-07-23 18:19:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:19:32'::timestamp) - extract(epoch from '2026-07-23 18:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349155)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349162)'))) / (select extract(epoch from '2026-07-23 18:19:32'::timestamp) - extract(epoch from '2026-07-23 18:19: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.037698 -3.349171)', '2026-07-23 18:19:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349171)'))) / (select extract(epoch from '2026-07-23 18:19:35'::timestamp) - extract(epoch from '2026-07-23 18:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349162)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349171)'))) / (select extract(epoch from '2026-07-23 18:19:35'::timestamp) - extract(epoch from '2026-07-23 18:19: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.037703 -3.349171)', '2026-07-23 18:19:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349171)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349171)'))) / (select extract(epoch from '2026-07-23 18:19:43'::timestamp) - extract(epoch from '2026-07-23 18:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349171)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349171)'))) / (select extract(epoch from '2026-07-23 18:19:43'::timestamp) - extract(epoch from '2026-07-23 18:19: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.037703 -3.349167)', '2026-07-23 18:19:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349171)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349167)'))) / (select extract(epoch from '2026-07-23 18:19:51'::timestamp) - extract(epoch from '2026-07-23 18:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349171)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349167)'))) / (select extract(epoch from '2026-07-23 18:19:51'::timestamp) - extract(epoch from '2026-07-23 18:19: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.037695 -3.349174)', '2026-07-23 18:20:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349167)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:20:00'::timestamp) - extract(epoch from '2026-07-23 18:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349167)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:20:00'::timestamp) - extract(epoch from '2026-07-23 18:19: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.037694 -3.349168)', '2026-07-23 18:20:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349168)'))) / (select extract(epoch from '2026-07-23 18:20:09'::timestamp) - extract(epoch from '2026-07-23 18:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349168)'))) / (select extract(epoch from '2026-07-23 18:20:09'::timestamp) - extract(epoch from '2026-07-23 18:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037698 -3.349172)', '2026-07-23 18:20:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349172)'))) / (select extract(epoch from '2026-07-23 18:20:16'::timestamp) - extract(epoch from '2026-07-23 18:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037694 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349172)'))) / (select extract(epoch from '2026-07-23 18:20:16'::timestamp) - extract(epoch from '2026-07-23 18:20: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.0377 -3.349174)', '2026-07-23 18:20:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349172)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:20:26'::timestamp) - extract(epoch from '2026-07-23 18:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349172)'), GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:20:26'::timestamp) - extract(epoch from '2026-07-23 18:20: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.037705 -3.349168)', '2026-07-23 18:20:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349168)'))) / (select extract(epoch from '2026-07-23 18:20:35'::timestamp) - extract(epoch from '2026-07-23 18:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0377 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349168)'))) / (select extract(epoch from '2026-07-23 18:20:35'::timestamp) - extract(epoch from '2026-07-23 18:20: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.037704 -3.349169)', '2026-07-23 18:20:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349169)'))) / (select extract(epoch from '2026-07-23 18:20:41'::timestamp) - extract(epoch from '2026-07-23 18:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037705 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349169)'))) / (select extract(epoch from '2026-07-23 18:20:41'::timestamp) - extract(epoch from '2026-07-23 18:20: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.037701 -3.349176)', '2026-07-23 18:20:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:20:49'::timestamp) - extract(epoch from '2026-07-23 18:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:20:49'::timestamp) - extract(epoch from '2026-07-23 18:20:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037692 -3.349177)', '2026-07-23 18:20:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349177)'))) / (select extract(epoch from '2026-07-23 18:20:50'::timestamp) - extract(epoch from '2026-07-23 18:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349177)'))) / (select extract(epoch from '2026-07-23 18:20:50'::timestamp) - extract(epoch from '2026-07-23 18:20:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037696 -3.349173)', '2026-07-23 18:20:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349177)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349173)'))) / (select extract(epoch from '2026-07-23 18:20:55'::timestamp) - extract(epoch from '2026-07-23 18:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037692 -3.349177)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349173)'))) / (select extract(epoch from '2026-07-23 18:20:55'::timestamp) - extract(epoch from '2026-07-23 18:20: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.037704 -3.34917)', '2026-07-23 18:20:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349173)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.34917)'))) / (select extract(epoch from '2026-07-23 18:20:57'::timestamp) - extract(epoch from '2026-07-23 18:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349173)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.34917)'))) / (select extract(epoch from '2026-07-23 18:20:57'::timestamp) - extract(epoch from '2026-07-23 18:20: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.037697 -3.349165)', '2026-07-23 18:20:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.34917)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349165)'))) / (select extract(epoch from '2026-07-23 18:20:59'::timestamp) - extract(epoch from '2026-07-23 18:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.34917)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349165)'))) / (select extract(epoch from '2026-07-23 18:20:59'::timestamp) - extract(epoch from '2026-07-23 18:20: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.03769 -3.349164)', '2026-07-23 18:21:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349165)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349164)'))) / (select extract(epoch from '2026-07-23 18:21:06'::timestamp) - extract(epoch from '2026-07-23 18:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349165)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349164)'))) / (select extract(epoch from '2026-07-23 18:21:06'::timestamp) - extract(epoch from '2026-07-23 18: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.037698 -3.349166)', '2026-07-23 18:21:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349166)'))) / (select extract(epoch from '2026-07-23 18:21:08'::timestamp) - extract(epoch from '2026-07-23 18:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349164)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349166)'))) / (select extract(epoch from '2026-07-23 18:21:08'::timestamp) - extract(epoch from '2026-07-23 18:21: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.037703 -3.349175)', '2026-07-23 18:21:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349166)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349175)'))) / (select extract(epoch from '2026-07-23 18:21:10'::timestamp) - extract(epoch from '2026-07-23 18:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349166)'), GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349175)'))) / (select extract(epoch from '2026-07-23 18:21:10'::timestamp) - extract(epoch from '2026-07-23 18: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.037695 -3.34918)', '2026-07-23 18:21:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349175)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.34918)'))) / (select extract(epoch from '2026-07-23 18:21:17'::timestamp) - extract(epoch from '2026-07-23 18:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037703 -3.349175)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.34918)'))) / (select extract(epoch from '2026-07-23 18:21:17'::timestamp) - extract(epoch from '2026-07-23 18:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037695 -3.349166)', '2026-07-23 18:21:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.34918)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349166)'))) / (select extract(epoch from '2026-07-23 18:21:25'::timestamp) - extract(epoch from '2026-07-23 18:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.34918)'), GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349166)'))) / (select extract(epoch from '2026-07-23 18:21:25'::timestamp) - extract(epoch from '2026-07-23 18:21: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.037704 -3.349174)', '2026-07-23 18:21:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349166)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:21:31'::timestamp) - extract(epoch from '2026-07-23 18:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037695 -3.349166)'), GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:21:31'::timestamp) - extract(epoch from '2026-07-23 18:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037702 -3.349175)', '2026-07-23 18:21:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349175)'))) / (select extract(epoch from '2026-07-23 18:21:36'::timestamp) - extract(epoch from '2026-07-23 18:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037704 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349175)'))) / (select extract(epoch from '2026-07-23 18:21:36'::timestamp) - extract(epoch from '2026-07-23 18: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.037702 -3.349172)', '2026-07-23 18:21:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349175)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349172)'))) / (select extract(epoch from '2026-07-23 18:21:44'::timestamp) - extract(epoch from '2026-07-23 18:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349175)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349172)'))) / (select extract(epoch from '2026-07-23 18:21:44'::timestamp) - extract(epoch from '2026-07-23 18:21: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.037709 -3.349176)', '2026-07-23 18:21:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349172)'), GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:21:59'::timestamp) - extract(epoch from '2026-07-23 18:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349172)'), GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:21:59'::timestamp) - extract(epoch from '2026-07-23 18:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037706 -3.349179)', '2026-07-23 18:22:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349179)'))) / (select extract(epoch from '2026-07-23 18:22:05'::timestamp) - extract(epoch from '2026-07-23 18:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349179)'))) / (select extract(epoch from '2026-07-23 18:22:05'::timestamp) - extract(epoch from '2026-07-23 18: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.037711 -3.349184)', '2026-07-23 18:22:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349179)'), GeomFromEWKT('SRID=4674;POINT (-39.037711 -3.349184)'))) / (select extract(epoch from '2026-07-23 18:22:12'::timestamp) - extract(epoch from '2026-07-23 18:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.349179)'), GeomFromEWKT('SRID=4674;POINT (-39.037711 -3.349184)'))) / (select extract(epoch from '2026-07-23 18:22:12'::timestamp) - extract(epoch from '2026-07-23 18:22: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.037706 -3.34918)', '2026-07-23 18:22:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037711 -3.349184)'), GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.34918)'))) / (select extract(epoch from '2026-07-23 18:22:23'::timestamp) - extract(epoch from '2026-07-23 18:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037711 -3.349184)'), GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.34918)'))) / (select extract(epoch from '2026-07-23 18:22:23'::timestamp) - extract(epoch from '2026-07-23 18: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.037707 -3.349174)', '2026-07-23 18:22:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.34918)'), GeomFromEWKT('SRID=4674;POINT (-39.037707 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:22:28'::timestamp) - extract(epoch from '2026-07-23 18:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037706 -3.34918)'), GeomFromEWKT('SRID=4674;POINT (-39.037707 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:22:28'::timestamp) - extract(epoch from '2026-07-23 18:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037708 -3.349171)', '2026-07-23 18:22:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037707 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349171)'))) / (select extract(epoch from '2026-07-23 18:22:35'::timestamp) - extract(epoch from '2026-07-23 18:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037707 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349171)'))) / (select extract(epoch from '2026-07-23 18:22:35'::timestamp) - extract(epoch from '2026-07-23 18:22: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.03769 -3.349175)', '2026-07-23 18:22:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349171)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349175)'))) / (select extract(epoch from '2026-07-23 18:22:40'::timestamp) - extract(epoch from '2026-07-23 18:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037708 -3.349171)'), GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349175)'))) / (select extract(epoch from '2026-07-23 18:22:40'::timestamp) - extract(epoch from '2026-07-23 18:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037698 -3.349173)', '2026-07-23 18:22:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349175)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349173)'))) / (select extract(epoch from '2026-07-23 18:22:49'::timestamp) - extract(epoch from '2026-07-23 18:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03769 -3.349175)'), GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349173)'))) / (select extract(epoch from '2026-07-23 18:22:49'::timestamp) - extract(epoch from '2026-07-23 18:22: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.037693 -3.349169)', '2026-07-23 18:22:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349173)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349169)'))) / (select extract(epoch from '2026-07-23 18:22:57'::timestamp) - extract(epoch from '2026-07-23 18:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037698 -3.349173)'), GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349169)'))) / (select extract(epoch from '2026-07-23 18:22:57'::timestamp) - extract(epoch from '2026-07-23 18:22: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.037697 -3.349174)', '2026-07-23 18:23:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:23:02'::timestamp) - extract(epoch from '2026-07-23 18:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037693 -3.349169)'), GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349174)'))) / (select extract(epoch from '2026-07-23 18:23:02'::timestamp) - extract(epoch from '2026-07-23 18:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037701 -3.349176)', '2026-07-23 18:23:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:23:17'::timestamp) - extract(epoch from '2026-07-23 18:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037697 -3.349174)'), GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'))) / (select extract(epoch from '2026-07-23 18:23:17'::timestamp) - extract(epoch from '2026-07-23 18:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037712 -3.34918)', '2026-07-23 18:23:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037712 -3.34918)'))) / (select extract(epoch from '2026-07-23 18:23:28'::timestamp) - extract(epoch from '2026-07-23 18:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037701 -3.349176)'), GeomFromEWKT('SRID=4674;POINT (-39.037712 -3.34918)'))) / (select extract(epoch from '2026-07-23 18:23:28'::timestamp) - extract(epoch from '2026-07-23 18:23: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.037714 -3.349182)', '2026-07-23 18:23:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037712 -3.34918)'), GeomFromEWKT('SRID=4674;POINT (-39.037714 -3.349182)'))) / (select extract(epoch from '2026-07-23 18:23:32'::timestamp) - extract(epoch from '2026-07-23 18:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037712 -3.34918)'), GeomFromEWKT('SRID=4674;POINT (-39.037714 -3.349182)'))) / (select extract(epoch from '2026-07-23 18:23:32'::timestamp) - extract(epoch from '2026-07-23 18:23: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.03771 -3.349184)', '2026-07-23 18:23:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037714 -3.349182)'), GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349184)'))) / (select extract(epoch from '2026-07-23 18:23:38'::timestamp) - extract(epoch from '2026-07-23 18:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037714 -3.349182)'), GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349184)'))) / (select extract(epoch from '2026-07-23 18:23:38'::timestamp) - extract(epoch from '2026-07-23 18:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03771 -3.349192)', '2026-07-23 18:23:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349184)'), GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349192)'))) / (select extract(epoch from '2026-07-23 18:23:44'::timestamp) - extract(epoch from '2026-07-23 18:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349184)'), GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349192)'))) / (select extract(epoch from '2026-07-23 18:23:44'::timestamp) - extract(epoch from '2026-07-23 18:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037709 -3.349193)', '2026-07-23 18:23:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349192)'), GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.349193)'))) / (select extract(epoch from '2026-07-23 18:23:54'::timestamp) - extract(epoch from '2026-07-23 18:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03771 -3.349192)'), GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.349193)'))) / (select extract(epoch from '2026-07-23 18:23:54'::timestamp) - extract(epoch from '2026-07-23 18:23: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.037702 -3.349198)', '2026-07-23 18:24:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.349193)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349198)'))) / (select extract(epoch from '2026-07-23 18:24:06'::timestamp) - extract(epoch from '2026-07-23 18:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037709 -3.349193)'), GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349198)'))) / (select extract(epoch from '2026-07-23 18:24:06'::timestamp) - extract(epoch from '2026-07-23 18:23: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.037696 -3.349195)', '2026-07-23 18:24:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349198)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349195)'))) / (select extract(epoch from '2026-07-23 18:24:13'::timestamp) - extract(epoch from '2026-07-23 18:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037702 -3.349198)'), GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349195)'))) / (select extract(epoch from '2026-07-23 18:24:13'::timestamp) - extract(epoch from '2026-07-23 18:24: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.037675 -3.349195)', '2026-07-23 18:24:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349195)'), GeomFromEWKT('SRID=4674;POINT (-39.037675 -3.349195)'))) / (select extract(epoch from '2026-07-23 18:24:22'::timestamp) - extract(epoch from '2026-07-23 18:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037696 -3.349195)'), GeomFromEWKT('SRID=4674;POINT (-39.037675 -3.349195)'))) / (select extract(epoch from '2026-07-23 18:24:22'::timestamp) - extract(epoch from '2026-07-23 18:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037653 -3.349189)', '2026-07-23 18:24:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037675 -3.349195)'), GeomFromEWKT('SRID=4674;POINT (-39.037653 -3.349189)'))) / (select extract(epoch from '2026-07-23 18:24:29'::timestamp) - extract(epoch from '2026-07-23 18:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037675 -3.349195)'), GeomFromEWKT('SRID=4674;POINT (-39.037653 -3.349189)'))) / (select extract(epoch from '2026-07-23 18:24:29'::timestamp) - extract(epoch from '2026-07-23 18:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037626 -3.349184)', '2026-07-23 18:24:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037653 -3.349189)'), GeomFromEWKT('SRID=4674;POINT (-39.037626 -3.349184)'))) / (select extract(epoch from '2026-07-23 18:24:36'::timestamp) - extract(epoch from '2026-07-23 18:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037653 -3.349189)'), GeomFromEWKT('SRID=4674;POINT (-39.037626 -3.349184)'))) / (select extract(epoch from '2026-07-23 18:24:36'::timestamp) - extract(epoch from '2026-07-23 18:24: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.037596 -3.349193)', '2026-07-23 18:24:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037626 -3.349184)'), GeomFromEWKT('SRID=4674;POINT (-39.037596 -3.349193)'))) / (select extract(epoch from '2026-07-23 18:24:43'::timestamp) - extract(epoch from '2026-07-23 18:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037626 -3.349184)'), GeomFromEWKT('SRID=4674;POINT (-39.037596 -3.349193)'))) / (select extract(epoch from '2026-07-23 18:24:43'::timestamp) - extract(epoch from '2026-07-23 18: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.03757 -3.349194)', '2026-07-23 18:24:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037596 -3.349193)'), GeomFromEWKT('SRID=4674;POINT (-39.03757 -3.349194)'))) / (select extract(epoch from '2026-07-23 18:24:50'::timestamp) - extract(epoch from '2026-07-23 18:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037596 -3.349193)'), GeomFromEWKT('SRID=4674;POINT (-39.03757 -3.349194)'))) / (select extract(epoch from '2026-07-23 18:24:50'::timestamp) - extract(epoch from '2026-07-23 18: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.037537 -3.349194)', '2026-07-23 18:24:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03757 -3.349194)'), GeomFromEWKT('SRID=4674;POINT (-39.037537 -3.349194)'))) / (select extract(epoch from '2026-07-23 18:24:57'::timestamp) - extract(epoch from '2026-07-23 18:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03757 -3.349194)'), GeomFromEWKT('SRID=4674;POINT (-39.037537 -3.349194)'))) / (select extract(epoch from '2026-07-23 18:24:57'::timestamp) - extract(epoch from '2026-07-23 18:24: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.037514 -3.349195)', '2026-07-23 18:25:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037537 -3.349194)'), GeomFromEWKT('SRID=4674;POINT (-39.037514 -3.349195)'))) / (select extract(epoch from '2026-07-23 18:25:02'::timestamp) - extract(epoch from '2026-07-23 18:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037537 -3.349194)'), GeomFromEWKT('SRID=4674;POINT (-39.037514 -3.349195)'))) / (select extract(epoch from '2026-07-23 18:25:02'::timestamp) - extract(epoch from '2026-07-23 18:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037499 -3.349205)', '2026-07-23 18:25:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037514 -3.349195)'), GeomFromEWKT('SRID=4674;POINT (-39.037499 -3.349205)'))) / (select extract(epoch from '2026-07-23 18:25:07'::timestamp) - extract(epoch from '2026-07-23 18:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037514 -3.349195)'), GeomFromEWKT('SRID=4674;POINT (-39.037499 -3.349205)'))) / (select extract(epoch from '2026-07-23 18:25:07'::timestamp) - extract(epoch from '2026-07-23 18:25: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.037493 -3.349207)', '2026-07-23 18:25:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037499 -3.349205)'), GeomFromEWKT('SRID=4674;POINT (-39.037493 -3.349207)'))) / (select extract(epoch from '2026-07-23 18:25:08'::timestamp) - extract(epoch from '2026-07-23 18:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037499 -3.349205)'), GeomFromEWKT('SRID=4674;POINT (-39.037493 -3.349207)'))) / (select extract(epoch from '2026-07-23 18:25:08'::timestamp) - extract(epoch from '2026-07-23 18:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037466 -3.349212)', '2026-07-23 18:25:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037493 -3.349207)'), GeomFromEWKT('SRID=4674;POINT (-39.037466 -3.349212)'))) / (select extract(epoch from '2026-07-23 18:25:13'::timestamp) - extract(epoch from '2026-07-23 18:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037493 -3.349207)'), GeomFromEWKT('SRID=4674;POINT (-39.037466 -3.349212)'))) / (select extract(epoch from '2026-07-23 18:25:13'::timestamp) - extract(epoch from '2026-07-23 18:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037421 -3.349218)', '2026-07-23 18:25:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037466 -3.349212)'), GeomFromEWKT('SRID=4674;POINT (-39.037421 -3.349218)'))) / (select extract(epoch from '2026-07-23 18:25:21'::timestamp) - extract(epoch from '2026-07-23 18:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037466 -3.349212)'), GeomFromEWKT('SRID=4674;POINT (-39.037421 -3.349218)'))) / (select extract(epoch from '2026-07-23 18:25:21'::timestamp) - extract(epoch from '2026-07-23 18:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037374 -3.349216)', '2026-07-23 18:25:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037421 -3.349218)'), GeomFromEWKT('SRID=4674;POINT (-39.037374 -3.349216)'))) / (select extract(epoch from '2026-07-23 18:25:30'::timestamp) - extract(epoch from '2026-07-23 18:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037421 -3.349218)'), GeomFromEWKT('SRID=4674;POINT (-39.037374 -3.349216)'))) / (select extract(epoch from '2026-07-23 18:25:30'::timestamp) - extract(epoch from '2026-07-23 18:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037358 -3.349215)', '2026-07-23 18:25:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037374 -3.349216)'), GeomFromEWKT('SRID=4674;POINT (-39.037358 -3.349215)'))) / (select extract(epoch from '2026-07-23 18:25:38'::timestamp) - extract(epoch from '2026-07-23 18:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037374 -3.349216)'), GeomFromEWKT('SRID=4674;POINT (-39.037358 -3.349215)'))) / (select extract(epoch from '2026-07-23 18:25:38'::timestamp) - extract(epoch from '2026-07-23 18:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037362 -3.349214)', '2026-07-23 18:25:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037358 -3.349215)'), GeomFromEWKT('SRID=4674;POINT (-39.037362 -3.349214)'))) / (select extract(epoch from '2026-07-23 18:25:46'::timestamp) - extract(epoch from '2026-07-23 18:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037358 -3.349215)'), GeomFromEWKT('SRID=4674;POINT (-39.037362 -3.349214)'))) / (select extract(epoch from '2026-07-23 18:25:46'::timestamp) - extract(epoch from '2026-07-23 18:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037388 -3.349216)', '2026-07-23 18:25:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037362 -3.349214)'), GeomFromEWKT('SRID=4674;POINT (-39.037388 -3.349216)'))) / (select extract(epoch from '2026-07-23 18:25:53'::timestamp) - extract(epoch from '2026-07-23 18:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037362 -3.349214)'), GeomFromEWKT('SRID=4674;POINT (-39.037388 -3.349216)'))) / (select extract(epoch from '2026-07-23 18:25:53'::timestamp) - extract(epoch from '2026-07-23 18:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03741 -3.349216)', '2026-07-23 18:26:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037388 -3.349216)'), GeomFromEWKT('SRID=4674;POINT (-39.03741 -3.349216)'))) / (select extract(epoch from '2026-07-23 18:26:02'::timestamp) - extract(epoch from '2026-07-23 18:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037388 -3.349216)'), GeomFromEWKT('SRID=4674;POINT (-39.03741 -3.349216)'))) / (select extract(epoch from '2026-07-23 18:26:02'::timestamp) - extract(epoch from '2026-07-23 18:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037425 -3.349211)', '2026-07-23 18:26:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03741 -3.349216)'), GeomFromEWKT('SRID=4674;POINT (-39.037425 -3.349211)'))) / (select extract(epoch from '2026-07-23 18:26:10'::timestamp) - extract(epoch from '2026-07-23 18:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03741 -3.349216)'), GeomFromEWKT('SRID=4674;POINT (-39.037425 -3.349211)'))) / (select extract(epoch from '2026-07-23 18:26:10'::timestamp) - extract(epoch from '2026-07-23 18:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037436 -3.349225)', '2026-07-23 18:26:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037425 -3.349211)'), GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.349225)'))) / (select extract(epoch from '2026-07-23 18:26:22'::timestamp) - extract(epoch from '2026-07-23 18:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037425 -3.349211)'), GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.349225)'))) / (select extract(epoch from '2026-07-23 18:26:22'::timestamp) - extract(epoch from '2026-07-23 18:26: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.037443 -3.34923)', '2026-07-23 18:26:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.349225)'), GeomFromEWKT('SRID=4674;POINT (-39.037443 -3.34923)'))) / (select extract(epoch from '2026-07-23 18:26:29'::timestamp) - extract(epoch from '2026-07-23 18:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.349225)'), GeomFromEWKT('SRID=4674;POINT (-39.037443 -3.34923)'))) / (select extract(epoch from '2026-07-23 18:26:29'::timestamp) - extract(epoch from '2026-07-23 18:26: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.037448 -3.349234)', '2026-07-23 18:26:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037443 -3.34923)'), GeomFromEWKT('SRID=4674;POINT (-39.037448 -3.349234)'))) / (select extract(epoch from '2026-07-23 18:26:38'::timestamp) - extract(epoch from '2026-07-23 18:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037443 -3.34923)'), GeomFromEWKT('SRID=4674;POINT (-39.037448 -3.349234)'))) / (select extract(epoch from '2026-07-23 18:26:38'::timestamp) - extract(epoch from '2026-07-23 18:26: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.037452 -3.349236)', '2026-07-23 18:26:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037448 -3.349234)'), GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349236)'))) / (select extract(epoch from '2026-07-23 18:26:51'::timestamp) - extract(epoch from '2026-07-23 18:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037448 -3.349234)'), GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349236)'))) / (select extract(epoch from '2026-07-23 18:26:51'::timestamp) - extract(epoch from '2026-07-23 18:26:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037456 -3.349236)', '2026-07-23 18:27:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349236)'), GeomFromEWKT('SRID=4674;POINT (-39.037456 -3.349236)'))) / (select extract(epoch from '2026-07-23 18:27:01'::timestamp) - extract(epoch from '2026-07-23 18:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349236)'), GeomFromEWKT('SRID=4674;POINT (-39.037456 -3.349236)'))) / (select extract(epoch from '2026-07-23 18:27:01'::timestamp) - extract(epoch from '2026-07-23 18:26: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.037452 -3.349234)', '2026-07-23 18:27:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037456 -3.349236)'), GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349234)'))) / (select extract(epoch from '2026-07-23 18:27:14'::timestamp) - extract(epoch from '2026-07-23 18:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037456 -3.349236)'), GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349234)'))) / (select extract(epoch from '2026-07-23 18:27:14'::timestamp) - extract(epoch from '2026-07-23 18:27:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037463 -3.34924)', '2026-07-23 18:27:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349234)'), GeomFromEWKT('SRID=4674;POINT (-39.037463 -3.34924)'))) / (select extract(epoch from '2026-07-23 18:27:22'::timestamp) - extract(epoch from '2026-07-23 18:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037452 -3.349234)'), GeomFromEWKT('SRID=4674;POINT (-39.037463 -3.34924)'))) / (select extract(epoch from '2026-07-23 18:27:22'::timestamp) - extract(epoch from '2026-07-23 18:27: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.037475 -3.349245)', '2026-07-23 18:27:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037463 -3.34924)'), GeomFromEWKT('SRID=4674;POINT (-39.037475 -3.349245)'))) / (select extract(epoch from '2026-07-23 18:27:35'::timestamp) - extract(epoch from '2026-07-23 18:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037463 -3.34924)'), GeomFromEWKT('SRID=4674;POINT (-39.037475 -3.349245)'))) / (select extract(epoch from '2026-07-23 18:27:35'::timestamp) - extract(epoch from '2026-07-23 18:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037479 -3.349258)', '2026-07-23 18:27:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037475 -3.349245)'), GeomFromEWKT('SRID=4674;POINT (-39.037479 -3.349258)'))) / (select extract(epoch from '2026-07-23 18:27:43'::timestamp) - extract(epoch from '2026-07-23 18:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037475 -3.349245)'), GeomFromEWKT('SRID=4674;POINT (-39.037479 -3.349258)'))) / (select extract(epoch from '2026-07-23 18:27:43'::timestamp) - extract(epoch from '2026-07-23 18: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.037483 -3.349266)', '2026-07-23 18:27:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037479 -3.349258)'), GeomFromEWKT('SRID=4674;POINT (-39.037483 -3.349266)'))) / (select extract(epoch from '2026-07-23 18:27:51'::timestamp) - extract(epoch from '2026-07-23 18:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037479 -3.349258)'), GeomFromEWKT('SRID=4674;POINT (-39.037483 -3.349266)'))) / (select extract(epoch from '2026-07-23 18:27:51'::timestamp) - extract(epoch from '2026-07-23 18:27: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.037488 -3.349266)', '2026-07-23 18:27:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037483 -3.349266)'), GeomFromEWKT('SRID=4674;POINT (-39.037488 -3.349266)'))) / (select extract(epoch from '2026-07-23 18:27:56'::timestamp) - extract(epoch from '2026-07-23 18:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037483 -3.349266)'), GeomFromEWKT('SRID=4674;POINT (-39.037488 -3.349266)'))) / (select extract(epoch from '2026-07-23 18:27:56'::timestamp) - extract(epoch from '2026-07-23 18:27: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.037488 -3.349268)', '2026-07-23 18:28:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037488 -3.349266)'), GeomFromEWKT('SRID=4674;POINT (-39.037488 -3.349268)'))) / (select extract(epoch from '2026-07-23 18:28:09'::timestamp) - extract(epoch from '2026-07-23 18:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037488 -3.349266)'), GeomFromEWKT('SRID=4674;POINT (-39.037488 -3.349268)'))) / (select extract(epoch from '2026-07-23 18:28:09'::timestamp) - extract(epoch from '2026-07-23 18:27: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.037496 -3.349269)', '2026-07-23 18:28:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037488 -3.349268)'), GeomFromEWKT('SRID=4674;POINT (-39.037496 -3.349269)'))) / (select extract(epoch from '2026-07-23 18:28:19'::timestamp) - extract(epoch from '2026-07-23 18:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037488 -3.349268)'), GeomFromEWKT('SRID=4674;POINT (-39.037496 -3.349269)'))) / (select extract(epoch from '2026-07-23 18:28:19'::timestamp) - extract(epoch from '2026-07-23 18: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.03748 -3.349275)', '2026-07-23 18:28:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037496 -3.349269)'), GeomFromEWKT('SRID=4674;POINT (-39.03748 -3.349275)'))) / (select extract(epoch from '2026-07-23 18:28:31'::timestamp) - extract(epoch from '2026-07-23 18:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037496 -3.349269)'), GeomFromEWKT('SRID=4674;POINT (-39.03748 -3.349275)'))) / (select extract(epoch from '2026-07-23 18:28:31'::timestamp) - extract(epoch from '2026-07-23 18: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.037453 -3.349269)', '2026-07-23 18:28:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03748 -3.349275)'), GeomFromEWKT('SRID=4674;POINT (-39.037453 -3.349269)'))) / (select extract(epoch from '2026-07-23 18:28:39'::timestamp) - extract(epoch from '2026-07-23 18:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03748 -3.349275)'), GeomFromEWKT('SRID=4674;POINT (-39.037453 -3.349269)'))) / (select extract(epoch from '2026-07-23 18:28:39'::timestamp) - extract(epoch from '2026-07-23 18: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.037436 -3.349262)', '2026-07-23 18:28:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037453 -3.349269)'), GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.349262)'))) / (select extract(epoch from '2026-07-23 18:28:46'::timestamp) - extract(epoch from '2026-07-23 18:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037453 -3.349269)'), GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.349262)'))) / (select extract(epoch from '2026-07-23 18:28:46'::timestamp) - extract(epoch from '2026-07-23 18:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037415 -3.349273)', '2026-07-23 18:28:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.349262)'), GeomFromEWKT('SRID=4674;POINT (-39.037415 -3.349273)'))) / (select extract(epoch from '2026-07-23 18:28:54'::timestamp) - extract(epoch from '2026-07-23 18:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.349262)'), GeomFromEWKT('SRID=4674;POINT (-39.037415 -3.349273)'))) / (select extract(epoch from '2026-07-23 18:28:54'::timestamp) - extract(epoch from '2026-07-23 18:28: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.037385 -3.349283)', '2026-07-23 18:29:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037415 -3.349273)'), GeomFromEWKT('SRID=4674;POINT (-39.037385 -3.349283)'))) / (select extract(epoch from '2026-07-23 18:29:01'::timestamp) - extract(epoch from '2026-07-23 18:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037415 -3.349273)'), GeomFromEWKT('SRID=4674;POINT (-39.037385 -3.349283)'))) / (select extract(epoch from '2026-07-23 18:29:01'::timestamp) - extract(epoch from '2026-07-23 18:28: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.037366 -3.349282)', '2026-07-23 18:29:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037385 -3.349283)'), GeomFromEWKT('SRID=4674;POINT (-39.037366 -3.349282)'))) / (select extract(epoch from '2026-07-23 18:29:07'::timestamp) - extract(epoch from '2026-07-23 18:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037385 -3.349283)'), GeomFromEWKT('SRID=4674;POINT (-39.037366 -3.349282)'))) / (select extract(epoch from '2026-07-23 18:29:07'::timestamp) - extract(epoch from '2026-07-23 18:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037349 -3.349295)', '2026-07-23 18:29:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037366 -3.349282)'), GeomFromEWKT('SRID=4674;POINT (-39.037349 -3.349295)'))) / (select extract(epoch from '2026-07-23 18:29:15'::timestamp) - extract(epoch from '2026-07-23 18:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037366 -3.349282)'), GeomFromEWKT('SRID=4674;POINT (-39.037349 -3.349295)'))) / (select extract(epoch from '2026-07-23 18:29:15'::timestamp) - extract(epoch from '2026-07-23 18:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037329 -3.349295)', '2026-07-23 18:29:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037349 -3.349295)'), GeomFromEWKT('SRID=4674;POINT (-39.037329 -3.349295)'))) / (select extract(epoch from '2026-07-23 18:29:23'::timestamp) - extract(epoch from '2026-07-23 18:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037349 -3.349295)'), GeomFromEWKT('SRID=4674;POINT (-39.037329 -3.349295)'))) / (select extract(epoch from '2026-07-23 18:29:23'::timestamp) - extract(epoch from '2026-07-23 18:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037296 -3.349305)', '2026-07-23 18:29:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037329 -3.349295)'), GeomFromEWKT('SRID=4674;POINT (-39.037296 -3.349305)'))) / (select extract(epoch from '2026-07-23 18:29:33'::timestamp) - extract(epoch from '2026-07-23 18:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037329 -3.349295)'), GeomFromEWKT('SRID=4674;POINT (-39.037296 -3.349305)'))) / (select extract(epoch from '2026-07-23 18:29:33'::timestamp) - extract(epoch from '2026-07-23 18:29: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.037267 -3.349315)', '2026-07-23 18:29:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037296 -3.349305)'), GeomFromEWKT('SRID=4674;POINT (-39.037267 -3.349315)'))) / (select extract(epoch from '2026-07-23 18:29:41'::timestamp) - extract(epoch from '2026-07-23 18:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037296 -3.349305)'), GeomFromEWKT('SRID=4674;POINT (-39.037267 -3.349315)'))) / (select extract(epoch from '2026-07-23 18:29:41'::timestamp) - extract(epoch from '2026-07-23 18: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.037216 -3.349329)', '2026-07-23 18:29:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037267 -3.349315)'), GeomFromEWKT('SRID=4674;POINT (-39.037216 -3.349329)'))) / (select extract(epoch from '2026-07-23 18:29:52'::timestamp) - extract(epoch from '2026-07-23 18:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037267 -3.349315)'), GeomFromEWKT('SRID=4674;POINT (-39.037216 -3.349329)'))) / (select extract(epoch from '2026-07-23 18:29:52'::timestamp) - extract(epoch from '2026-07-23 18:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037184 -3.349348)', '2026-07-23 18:30:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037216 -3.349329)'), GeomFromEWKT('SRID=4674;POINT (-39.037184 -3.349348)'))) / (select extract(epoch from '2026-07-23 18:30:00'::timestamp) - extract(epoch from '2026-07-23 18:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037216 -3.349329)'), GeomFromEWKT('SRID=4674;POINT (-39.037184 -3.349348)'))) / (select extract(epoch from '2026-07-23 18:30:00'::timestamp) - extract(epoch from '2026-07-23 18:29:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.037164 -3.349348)', '2026-07-23 18:30:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037184 -3.349348)'), GeomFromEWKT('SRID=4674;POINT (-39.037164 -3.349348)'))) / (select extract(epoch from '2026-07-23 18:30:07'::timestamp) - extract(epoch from '2026-07-23 18:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037184 -3.349348)'), GeomFromEWKT('SRID=4674;POINT (-39.037164 -3.349348)'))) / (select extract(epoch from '2026-07-23 18:30:07'::timestamp) - extract(epoch from '2026-07-23 18:30: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.03714 -3.349365)', '2026-07-23 18:30:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037164 -3.349348)'), GeomFromEWKT('SRID=4674;POINT (-39.03714 -3.349365)'))) / (select extract(epoch from '2026-07-23 18:30:16'::timestamp) - extract(epoch from '2026-07-23 18:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037164 -3.349348)'), GeomFromEWKT('SRID=4674;POINT (-39.03714 -3.349365)'))) / (select extract(epoch from '2026-07-23 18:30:16'::timestamp) - extract(epoch from '2026-07-23 18:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03713 -3.349399)', '2026-07-23 18:30:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03714 -3.349365)'), GeomFromEWKT('SRID=4674;POINT (-39.03713 -3.349399)'))) / (select extract(epoch from '2026-07-23 18:30:24'::timestamp) - extract(epoch from '2026-07-23 18:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03714 -3.349365)'), GeomFromEWKT('SRID=4674;POINT (-39.03713 -3.349399)'))) / (select extract(epoch from '2026-07-23 18:30:24'::timestamp) - extract(epoch from '2026-07-23 18:30: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.037102 -3.349414)', '2026-07-23 18:30:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03713 -3.349399)'), GeomFromEWKT('SRID=4674;POINT (-39.037102 -3.349414)'))) / (select extract(epoch from '2026-07-23 18:30:33'::timestamp) - extract(epoch from '2026-07-23 18:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03713 -3.349399)'), GeomFromEWKT('SRID=4674;POINT (-39.037102 -3.349414)'))) / (select extract(epoch from '2026-07-23 18:30:33'::timestamp) - extract(epoch from '2026-07-23 18:30: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.037081 -3.349398)', '2026-07-23 18:30:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037102 -3.349414)'), GeomFromEWKT('SRID=4674;POINT (-39.037081 -3.349398)'))) / (select extract(epoch from '2026-07-23 18:30:41'::timestamp) - extract(epoch from '2026-07-23 18:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037102 -3.349414)'), GeomFromEWKT('SRID=4674;POINT (-39.037081 -3.349398)'))) / (select extract(epoch from '2026-07-23 18:30:41'::timestamp) - extract(epoch from '2026-07-23 18:30: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.037044 -3.349402)', '2026-07-23 18:30:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037081 -3.349398)'), GeomFromEWKT('SRID=4674;POINT (-39.037044 -3.349402)'))) / (select extract(epoch from '2026-07-23 18:30:49'::timestamp) - extract(epoch from '2026-07-23 18:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037081 -3.349398)'), GeomFromEWKT('SRID=4674;POINT (-39.037044 -3.349402)'))) / (select extract(epoch from '2026-07-23 18:30:49'::timestamp) - extract(epoch from '2026-07-23 18:30: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.037011 -3.349414)', '2026-07-23 18:30:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037044 -3.349402)'), GeomFromEWKT('SRID=4674;POINT (-39.037011 -3.349414)'))) / (select extract(epoch from '2026-07-23 18:30:57'::timestamp) - extract(epoch from '2026-07-23 18:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037044 -3.349402)'), GeomFromEWKT('SRID=4674;POINT (-39.037011 -3.349414)'))) / (select extract(epoch from '2026-07-23 18:30:57'::timestamp) - extract(epoch from '2026-07-23 18:30: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.03698 -3.34942)', '2026-07-23 18:31:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037011 -3.349414)'), GeomFromEWKT('SRID=4674;POINT (-39.03698 -3.34942)'))) / (select extract(epoch from '2026-07-23 18:31:04'::timestamp) - extract(epoch from '2026-07-23 18:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037011 -3.349414)'), GeomFromEWKT('SRID=4674;POINT (-39.03698 -3.34942)'))) / (select extract(epoch from '2026-07-23 18:31:04'::timestamp) - extract(epoch from '2026-07-23 18:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036952 -3.349429)', '2026-07-23 18:31:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03698 -3.34942)'), GeomFromEWKT('SRID=4674;POINT (-39.036952 -3.349429)'))) / (select extract(epoch from '2026-07-23 18:31:11'::timestamp) - extract(epoch from '2026-07-23 18:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03698 -3.34942)'), GeomFromEWKT('SRID=4674;POINT (-39.036952 -3.349429)'))) / (select extract(epoch from '2026-07-23 18:31:11'::timestamp) - extract(epoch from '2026-07-23 18:31:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036931 -3.349434)', '2026-07-23 18:31:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036952 -3.349429)'), GeomFromEWKT('SRID=4674;POINT (-39.036931 -3.349434)'))) / (select extract(epoch from '2026-07-23 18:31:15'::timestamp) - extract(epoch from '2026-07-23 18:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036952 -3.349429)'), GeomFromEWKT('SRID=4674;POINT (-39.036931 -3.349434)'))) / (select extract(epoch from '2026-07-23 18:31:15'::timestamp) - extract(epoch from '2026-07-23 18:31:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036885 -3.349446)', '2026-07-23 18:31:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036931 -3.349434)'), GeomFromEWKT('SRID=4674;POINT (-39.036885 -3.349446)'))) / (select extract(epoch from '2026-07-23 18:31:24'::timestamp) - extract(epoch from '2026-07-23 18:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036931 -3.349434)'), GeomFromEWKT('SRID=4674;POINT (-39.036885 -3.349446)'))) / (select extract(epoch from '2026-07-23 18:31:24'::timestamp) - extract(epoch from '2026-07-23 18: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.036855 -3.349446)', '2026-07-23 18:31:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036885 -3.349446)'), GeomFromEWKT('SRID=4674;POINT (-39.036855 -3.349446)'))) / (select extract(epoch from '2026-07-23 18:31:31'::timestamp) - extract(epoch from '2026-07-23 18:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036885 -3.349446)'), GeomFromEWKT('SRID=4674;POINT (-39.036855 -3.349446)'))) / (select extract(epoch from '2026-07-23 18:31:31'::timestamp) - extract(epoch from '2026-07-23 18:31: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.036834 -3.349454)', '2026-07-23 18:31:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036855 -3.349446)'), GeomFromEWKT('SRID=4674;POINT (-39.036834 -3.349454)'))) / (select extract(epoch from '2026-07-23 18:31:42'::timestamp) - extract(epoch from '2026-07-23 18:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036855 -3.349446)'), GeomFromEWKT('SRID=4674;POINT (-39.036834 -3.349454)'))) / (select extract(epoch from '2026-07-23 18:31:42'::timestamp) - extract(epoch from '2026-07-23 18:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036815 -3.349462)', '2026-07-23 18:31:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036834 -3.349454)'), GeomFromEWKT('SRID=4674;POINT (-39.036815 -3.349462)'))) / (select extract(epoch from '2026-07-23 18:31:48'::timestamp) - extract(epoch from '2026-07-23 18:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036834 -3.349454)'), GeomFromEWKT('SRID=4674;POINT (-39.036815 -3.349462)'))) / (select extract(epoch from '2026-07-23 18:31:48'::timestamp) - extract(epoch from '2026-07-23 18:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03679 -3.349477)', '2026-07-23 18:31:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036815 -3.349462)'), GeomFromEWKT('SRID=4674;POINT (-39.03679 -3.349477)'))) / (select extract(epoch from '2026-07-23 18:31:55'::timestamp) - extract(epoch from '2026-07-23 18:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036815 -3.349462)'), GeomFromEWKT('SRID=4674;POINT (-39.03679 -3.349477)'))) / (select extract(epoch from '2026-07-23 18:31:55'::timestamp) - extract(epoch from '2026-07-23 18:31: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.036786 -3.349478)', '2026-07-23 18:31:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03679 -3.349477)'), GeomFromEWKT('SRID=4674;POINT (-39.036786 -3.349478)'))) / (select extract(epoch from '2026-07-23 18:31:58'::timestamp) - extract(epoch from '2026-07-23 18:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03679 -3.349477)'), GeomFromEWKT('SRID=4674;POINT (-39.036786 -3.349478)'))) / (select extract(epoch from '2026-07-23 18:31:58'::timestamp) - extract(epoch from '2026-07-23 18:31: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.036774 -3.34948)', '2026-07-23 18:32:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036786 -3.349478)'), GeomFromEWKT('SRID=4674;POINT (-39.036774 -3.34948)'))) / (select extract(epoch from '2026-07-23 18:32:01'::timestamp) - extract(epoch from '2026-07-23 18:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036786 -3.349478)'), GeomFromEWKT('SRID=4674;POINT (-39.036774 -3.34948)'))) / (select extract(epoch from '2026-07-23 18:32:01'::timestamp) - extract(epoch from '2026-07-23 18: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.036754 -3.349481)', '2026-07-23 18:32:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036774 -3.34948)'), GeomFromEWKT('SRID=4674;POINT (-39.036754 -3.349481)'))) / (select extract(epoch from '2026-07-23 18:32:05'::timestamp) - extract(epoch from '2026-07-23 18:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036774 -3.34948)'), GeomFromEWKT('SRID=4674;POINT (-39.036754 -3.349481)'))) / (select extract(epoch from '2026-07-23 18:32:05'::timestamp) - extract(epoch from '2026-07-23 18:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036734 -3.34949)', '2026-07-23 18:32:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036754 -3.349481)'), GeomFromEWKT('SRID=4674;POINT (-39.036734 -3.34949)'))) / (select extract(epoch from '2026-07-23 18:32:11'::timestamp) - extract(epoch from '2026-07-23 18:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036754 -3.349481)'), GeomFromEWKT('SRID=4674;POINT (-39.036734 -3.34949)'))) / (select extract(epoch from '2026-07-23 18:32:11'::timestamp) - extract(epoch from '2026-07-23 18:32: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.036683 -3.349498)', '2026-07-23 18:32:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036734 -3.34949)'), GeomFromEWKT('SRID=4674;POINT (-39.036683 -3.349498)'))) / (select extract(epoch from '2026-07-23 18:32:20'::timestamp) - extract(epoch from '2026-07-23 18:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036734 -3.34949)'), GeomFromEWKT('SRID=4674;POINT (-39.036683 -3.349498)'))) / (select extract(epoch from '2026-07-23 18:32:20'::timestamp) - extract(epoch from '2026-07-23 18: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.036645 -3.34951)', '2026-07-23 18:32:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036683 -3.349498)'), GeomFromEWKT('SRID=4674;POINT (-39.036645 -3.34951)'))) / (select extract(epoch from '2026-07-23 18:32:28'::timestamp) - extract(epoch from '2026-07-23 18:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036683 -3.349498)'), GeomFromEWKT('SRID=4674;POINT (-39.036645 -3.34951)'))) / (select extract(epoch from '2026-07-23 18:32:28'::timestamp) - extract(epoch from '2026-07-23 18:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036624 -3.349529)', '2026-07-23 18:32:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036645 -3.34951)'), GeomFromEWKT('SRID=4674;POINT (-39.036624 -3.349529)'))) / (select extract(epoch from '2026-07-23 18:32:35'::timestamp) - extract(epoch from '2026-07-23 18:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036645 -3.34951)'), GeomFromEWKT('SRID=4674;POINT (-39.036624 -3.349529)'))) / (select extract(epoch from '2026-07-23 18:32:35'::timestamp) - extract(epoch from '2026-07-23 18:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.0366 -3.34954)', '2026-07-23 18:32:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036624 -3.349529)'), GeomFromEWKT('SRID=4674;POINT (-39.0366 -3.34954)'))) / (select extract(epoch from '2026-07-23 18:32:42'::timestamp) - extract(epoch from '2026-07-23 18:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036624 -3.349529)'), GeomFromEWKT('SRID=4674;POINT (-39.0366 -3.34954)'))) / (select extract(epoch from '2026-07-23 18:32:42'::timestamp) - extract(epoch from '2026-07-23 18:32: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.036579 -3.349543)', '2026-07-23 18:32:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0366 -3.34954)'), GeomFromEWKT('SRID=4674;POINT (-39.036579 -3.349543)'))) / (select extract(epoch from '2026-07-23 18:32:48'::timestamp) - extract(epoch from '2026-07-23 18:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0366 -3.34954)'), GeomFromEWKT('SRID=4674;POINT (-39.036579 -3.349543)'))) / (select extract(epoch from '2026-07-23 18:32:48'::timestamp) - extract(epoch from '2026-07-23 18:32: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.036549 -3.349547)', '2026-07-23 18:32:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036579 -3.349543)'), GeomFromEWKT('SRID=4674;POINT (-39.036549 -3.349547)'))) / (select extract(epoch from '2026-07-23 18:32:55'::timestamp) - extract(epoch from '2026-07-23 18:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036579 -3.349543)'), GeomFromEWKT('SRID=4674;POINT (-39.036549 -3.349547)'))) / (select extract(epoch from '2026-07-23 18:32:55'::timestamp) - extract(epoch from '2026-07-23 18:32: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.036515 -3.349551)', '2026-07-23 18:33:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036549 -3.349547)'), GeomFromEWKT('SRID=4674;POINT (-39.036515 -3.349551)'))) / (select extract(epoch from '2026-07-23 18:33:03'::timestamp) - extract(epoch from '2026-07-23 18:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036549 -3.349547)'), GeomFromEWKT('SRID=4674;POINT (-39.036515 -3.349551)'))) / (select extract(epoch from '2026-07-23 18:33:03'::timestamp) - extract(epoch from '2026-07-23 18:32: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.036496 -3.349552)', '2026-07-23 18:33:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036515 -3.349551)'), GeomFromEWKT('SRID=4674;POINT (-39.036496 -3.349552)'))) / (select extract(epoch from '2026-07-23 18:33:10'::timestamp) - extract(epoch from '2026-07-23 18:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036515 -3.349551)'), GeomFromEWKT('SRID=4674;POINT (-39.036496 -3.349552)'))) / (select extract(epoch from '2026-07-23 18:33:10'::timestamp) - extract(epoch from '2026-07-23 18:33:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036467 -3.349575)', '2026-07-23 18:33:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036496 -3.349552)'), GeomFromEWKT('SRID=4674;POINT (-39.036467 -3.349575)'))) / (select extract(epoch from '2026-07-23 18:33:17'::timestamp) - extract(epoch from '2026-07-23 18:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036496 -3.349552)'), GeomFromEWKT('SRID=4674;POINT (-39.036467 -3.349575)'))) / (select extract(epoch from '2026-07-23 18:33:17'::timestamp) - extract(epoch from '2026-07-23 18:33: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.036444 -3.349596)', '2026-07-23 18:33:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036467 -3.349575)'), GeomFromEWKT('SRID=4674;POINT (-39.036444 -3.349596)'))) / (select extract(epoch from '2026-07-23 18:33:24'::timestamp) - extract(epoch from '2026-07-23 18:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036467 -3.349575)'), GeomFromEWKT('SRID=4674;POINT (-39.036444 -3.349596)'))) / (select extract(epoch from '2026-07-23 18:33:24'::timestamp) - extract(epoch from '2026-07-23 18: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.036414 -3.3496)', '2026-07-23 18:33:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036444 -3.349596)'), GeomFromEWKT('SRID=4674;POINT (-39.036414 -3.3496)'))) / (select extract(epoch from '2026-07-23 18:33:32'::timestamp) - extract(epoch from '2026-07-23 18:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036444 -3.349596)'), GeomFromEWKT('SRID=4674;POINT (-39.036414 -3.3496)'))) / (select extract(epoch from '2026-07-23 18:33:32'::timestamp) - extract(epoch from '2026-07-23 18:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03639 -3.349601)', '2026-07-23 18:33:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036414 -3.3496)'), GeomFromEWKT('SRID=4674;POINT (-39.03639 -3.349601)'))) / (select extract(epoch from '2026-07-23 18:33:38'::timestamp) - extract(epoch from '2026-07-23 18:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036414 -3.3496)'), GeomFromEWKT('SRID=4674;POINT (-39.03639 -3.349601)'))) / (select extract(epoch from '2026-07-23 18:33:38'::timestamp) - extract(epoch from '2026-07-23 18:33: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.036366 -3.34962)', '2026-07-23 18:33:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03639 -3.349601)'), GeomFromEWKT('SRID=4674;POINT (-39.036366 -3.34962)'))) / (select extract(epoch from '2026-07-23 18:33:46'::timestamp) - extract(epoch from '2026-07-23 18:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03639 -3.349601)'), GeomFromEWKT('SRID=4674;POINT (-39.036366 -3.34962)'))) / (select extract(epoch from '2026-07-23 18:33:46'::timestamp) - extract(epoch from '2026-07-23 18:33: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.036333 -3.349633)', '2026-07-23 18:33:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036366 -3.34962)'), GeomFromEWKT('SRID=4674;POINT (-39.036333 -3.349633)'))) / (select extract(epoch from '2026-07-23 18:33:53'::timestamp) - extract(epoch from '2026-07-23 18:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036366 -3.34962)'), GeomFromEWKT('SRID=4674;POINT (-39.036333 -3.349633)'))) / (select extract(epoch from '2026-07-23 18:33:53'::timestamp) - extract(epoch from '2026-07-23 18:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036318 -3.34964)', '2026-07-23 18:33:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036333 -3.349633)'), GeomFromEWKT('SRID=4674;POINT (-39.036318 -3.34964)'))) / (select extract(epoch from '2026-07-23 18:33:58'::timestamp) - extract(epoch from '2026-07-23 18:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036333 -3.349633)'), GeomFromEWKT('SRID=4674;POINT (-39.036318 -3.34964)'))) / (select extract(epoch from '2026-07-23 18:33:58'::timestamp) - extract(epoch from '2026-07-23 18:33:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036312 -3.349638)', '2026-07-23 18:33:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036318 -3.34964)'), GeomFromEWKT('SRID=4674;POINT (-39.036312 -3.349638)'))) / (select extract(epoch from '2026-07-23 18:33:59'::timestamp) - extract(epoch from '2026-07-23 18:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036318 -3.34964)'), GeomFromEWKT('SRID=4674;POINT (-39.036312 -3.349638)'))) / (select extract(epoch from '2026-07-23 18:33:59'::timestamp) - extract(epoch from '2026-07-23 18:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036284 -3.349646)', '2026-07-23 18:34:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036312 -3.349638)'), GeomFromEWKT('SRID=4674;POINT (-39.036284 -3.349646)'))) / (select extract(epoch from '2026-07-23 18:34:07'::timestamp) - extract(epoch from '2026-07-23 18:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036312 -3.349638)'), GeomFromEWKT('SRID=4674;POINT (-39.036284 -3.349646)'))) / (select extract(epoch from '2026-07-23 18:34:07'::timestamp) - extract(epoch from '2026-07-23 18:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036264 -3.349653)', '2026-07-23 18:34:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036284 -3.349646)'), GeomFromEWKT('SRID=4674;POINT (-39.036264 -3.349653)'))) / (select extract(epoch from '2026-07-23 18:34:13'::timestamp) - extract(epoch from '2026-07-23 18:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036284 -3.349646)'), GeomFromEWKT('SRID=4674;POINT (-39.036264 -3.349653)'))) / (select extract(epoch from '2026-07-23 18:34:13'::timestamp) - extract(epoch from '2026-07-23 18:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036242 -3.349676)', '2026-07-23 18:34:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036264 -3.349653)'), GeomFromEWKT('SRID=4674;POINT (-39.036242 -3.349676)'))) / (select extract(epoch from '2026-07-23 18:34:23'::timestamp) - extract(epoch from '2026-07-23 18:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036264 -3.349653)'), GeomFromEWKT('SRID=4674;POINT (-39.036242 -3.349676)'))) / (select extract(epoch from '2026-07-23 18:34:23'::timestamp) - extract(epoch from '2026-07-23 18:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036207 -3.349685)', '2026-07-23 18:34:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036242 -3.349676)'), GeomFromEWKT('SRID=4674;POINT (-39.036207 -3.349685)'))) / (select extract(epoch from '2026-07-23 18:34:30'::timestamp) - extract(epoch from '2026-07-23 18:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036242 -3.349676)'), GeomFromEWKT('SRID=4674;POINT (-39.036207 -3.349685)'))) / (select extract(epoch from '2026-07-23 18:34:30'::timestamp) - extract(epoch from '2026-07-23 18:34: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.036176 -3.349694)', '2026-07-23 18:34:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036207 -3.349685)'), GeomFromEWKT('SRID=4674;POINT (-39.036176 -3.349694)'))) / (select extract(epoch from '2026-07-23 18:34:36'::timestamp) - extract(epoch from '2026-07-23 18:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036207 -3.349685)'), GeomFromEWKT('SRID=4674;POINT (-39.036176 -3.349694)'))) / (select extract(epoch from '2026-07-23 18:34:36'::timestamp) - extract(epoch from '2026-07-23 18: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.036144 -3.349702)', '2026-07-23 18:34:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036176 -3.349694)'), GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.349702)'))) / (select extract(epoch from '2026-07-23 18:34:43'::timestamp) - extract(epoch from '2026-07-23 18:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036176 -3.349694)'), GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.349702)'))) / (select extract(epoch from '2026-07-23 18:34:43'::timestamp) - extract(epoch from '2026-07-23 18:34: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.03613 -3.349718)', '2026-07-23 18:34:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.349702)'), GeomFromEWKT('SRID=4674;POINT (-39.03613 -3.349718)'))) / (select extract(epoch from '2026-07-23 18:34:49'::timestamp) - extract(epoch from '2026-07-23 18:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036144 -3.349702)'), GeomFromEWKT('SRID=4674;POINT (-39.03613 -3.349718)'))) / (select extract(epoch from '2026-07-23 18:34:49'::timestamp) - extract(epoch from '2026-07-23 18:34: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.036091 -3.34975)', '2026-07-23 18:34:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03613 -3.349718)'), GeomFromEWKT('SRID=4674;POINT (-39.036091 -3.34975)'))) / (select extract(epoch from '2026-07-23 18:34:58'::timestamp) - extract(epoch from '2026-07-23 18:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03613 -3.349718)'), GeomFromEWKT('SRID=4674;POINT (-39.036091 -3.34975)'))) / (select extract(epoch from '2026-07-23 18:34:58'::timestamp) - extract(epoch from '2026-07-23 18:34: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.036064 -3.349756)', '2026-07-23 18:35:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036091 -3.34975)'), GeomFromEWKT('SRID=4674;POINT (-39.036064 -3.349756)'))) / (select extract(epoch from '2026-07-23 18:35:05'::timestamp) - extract(epoch from '2026-07-23 18:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036091 -3.34975)'), GeomFromEWKT('SRID=4674;POINT (-39.036064 -3.349756)'))) / (select extract(epoch from '2026-07-23 18:35:05'::timestamp) - extract(epoch from '2026-07-23 18:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.036036 -3.349759)', '2026-07-23 18:35:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036064 -3.349756)'), GeomFromEWKT('SRID=4674;POINT (-39.036036 -3.349759)'))) / (select extract(epoch from '2026-07-23 18:35:13'::timestamp) - extract(epoch from '2026-07-23 18:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036064 -3.349756)'), GeomFromEWKT('SRID=4674;POINT (-39.036036 -3.349759)'))) / (select extract(epoch from '2026-07-23 18:35:13'::timestamp) - extract(epoch from '2026-07-23 18: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.036008 -3.34978)', '2026-07-23 18:35:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036036 -3.349759)'), GeomFromEWKT('SRID=4674;POINT (-39.036008 -3.34978)'))) / (select extract(epoch from '2026-07-23 18:35:20'::timestamp) - extract(epoch from '2026-07-23 18:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036036 -3.349759)'), GeomFromEWKT('SRID=4674;POINT (-39.036008 -3.34978)'))) / (select extract(epoch from '2026-07-23 18:35:20'::timestamp) - extract(epoch from '2026-07-23 18:35: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.03598 -3.349802)', '2026-07-23 18:35:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036008 -3.34978)'), GeomFromEWKT('SRID=4674;POINT (-39.03598 -3.349802)'))) / (select extract(epoch from '2026-07-23 18:35:28'::timestamp) - extract(epoch from '2026-07-23 18:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036008 -3.34978)'), GeomFromEWKT('SRID=4674;POINT (-39.03598 -3.349802)'))) / (select extract(epoch from '2026-07-23 18:35:28'::timestamp) - extract(epoch from '2026-07-23 18:35: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.035945 -3.349811)', '2026-07-23 18:35:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03598 -3.349802)'), GeomFromEWKT('SRID=4674;POINT (-39.035945 -3.349811)'))) / (select extract(epoch from '2026-07-23 18:35:35'::timestamp) - extract(epoch from '2026-07-23 18:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03598 -3.349802)'), GeomFromEWKT('SRID=4674;POINT (-39.035945 -3.349811)'))) / (select extract(epoch from '2026-07-23 18:35:35'::timestamp) - extract(epoch from '2026-07-23 18:35: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.035899 -3.349824)', '2026-07-23 18:35:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035945 -3.349811)'), GeomFromEWKT('SRID=4674;POINT (-39.035899 -3.349824)'))) / (select extract(epoch from '2026-07-23 18:35:43'::timestamp) - extract(epoch from '2026-07-23 18:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035945 -3.349811)'), GeomFromEWKT('SRID=4674;POINT (-39.035899 -3.349824)'))) / (select extract(epoch from '2026-07-23 18:35:43'::timestamp) - extract(epoch from '2026-07-23 18:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035883 -3.349857)', '2026-07-23 18:35:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035899 -3.349824)'), GeomFromEWKT('SRID=4674;POINT (-39.035883 -3.349857)'))) / (select extract(epoch from '2026-07-23 18:35:50'::timestamp) - extract(epoch from '2026-07-23 18:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035899 -3.349824)'), GeomFromEWKT('SRID=4674;POINT (-39.035883 -3.349857)'))) / (select extract(epoch from '2026-07-23 18:35:50'::timestamp) - extract(epoch from '2026-07-23 18: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.03587 -3.34987)', '2026-07-23 18:35:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035883 -3.349857)'), GeomFromEWKT('SRID=4674;POINT (-39.03587 -3.34987)'))) / (select extract(epoch from '2026-07-23 18:35:55'::timestamp) - extract(epoch from '2026-07-23 18:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035883 -3.349857)'), GeomFromEWKT('SRID=4674;POINT (-39.03587 -3.34987)'))) / (select extract(epoch from '2026-07-23 18:35:55'::timestamp) - extract(epoch from '2026-07-23 18: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.035841 -3.349866)', '2026-07-23 18:36:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03587 -3.34987)'), GeomFromEWKT('SRID=4674;POINT (-39.035841 -3.349866)'))) / (select extract(epoch from '2026-07-23 18:36:02'::timestamp) - extract(epoch from '2026-07-23 18:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03587 -3.34987)'), GeomFromEWKT('SRID=4674;POINT (-39.035841 -3.349866)'))) / (select extract(epoch from '2026-07-23 18:36:02'::timestamp) - extract(epoch from '2026-07-23 18:35: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.035833 -3.349882)', '2026-07-23 18:36:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035841 -3.349866)'), GeomFromEWKT('SRID=4674;POINT (-39.035833 -3.349882)'))) / (select extract(epoch from '2026-07-23 18:36:09'::timestamp) - extract(epoch from '2026-07-23 18:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035841 -3.349866)'), GeomFromEWKT('SRID=4674;POINT (-39.035833 -3.349882)'))) / (select extract(epoch from '2026-07-23 18:36:09'::timestamp) - extract(epoch from '2026-07-23 18:36: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.035825 -3.349925)', '2026-07-23 18:36:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035833 -3.349882)'), GeomFromEWKT('SRID=4674;POINT (-39.035825 -3.349925)'))) / (select extract(epoch from '2026-07-23 18:36:18'::timestamp) - extract(epoch from '2026-07-23 18:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035833 -3.349882)'), GeomFromEWKT('SRID=4674;POINT (-39.035825 -3.349925)'))) / (select extract(epoch from '2026-07-23 18:36:18'::timestamp) - extract(epoch from '2026-07-23 18: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.035807 -3.349925)', '2026-07-23 18:36:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035825 -3.349925)'), GeomFromEWKT('SRID=4674;POINT (-39.035807 -3.349925)'))) / (select extract(epoch from '2026-07-23 18:36:26'::timestamp) - extract(epoch from '2026-07-23 18:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035825 -3.349925)'), GeomFromEWKT('SRID=4674;POINT (-39.035807 -3.349925)'))) / (select extract(epoch from '2026-07-23 18:36:26'::timestamp) - extract(epoch from '2026-07-23 18:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035793 -3.349905)', '2026-07-23 18:36:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035807 -3.349925)'), GeomFromEWKT('SRID=4674;POINT (-39.035793 -3.349905)'))) / (select extract(epoch from '2026-07-23 18:36:34'::timestamp) - extract(epoch from '2026-07-23 18:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035807 -3.349925)'), GeomFromEWKT('SRID=4674;POINT (-39.035793 -3.349905)'))) / (select extract(epoch from '2026-07-23 18:36:34'::timestamp) - extract(epoch from '2026-07-23 18:36: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.035773 -3.349919)', '2026-07-23 18:36:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035793 -3.349905)'), GeomFromEWKT('SRID=4674;POINT (-39.035773 -3.349919)'))) / (select extract(epoch from '2026-07-23 18:36:40'::timestamp) - extract(epoch from '2026-07-23 18:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035793 -3.349905)'), GeomFromEWKT('SRID=4674;POINT (-39.035773 -3.349919)'))) / (select extract(epoch from '2026-07-23 18:36:40'::timestamp) - extract(epoch from '2026-07-23 18:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035733 -3.349957)', '2026-07-23 18:36:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035773 -3.349919)'), GeomFromEWKT('SRID=4674;POINT (-39.035733 -3.349957)'))) / (select extract(epoch from '2026-07-23 18:36:50'::timestamp) - extract(epoch from '2026-07-23 18:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035773 -3.349919)'), GeomFromEWKT('SRID=4674;POINT (-39.035733 -3.349957)'))) / (select extract(epoch from '2026-07-23 18:36:50'::timestamp) - extract(epoch from '2026-07-23 18:36: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.035704 -3.349962)', '2026-07-23 18:36:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035733 -3.349957)'), GeomFromEWKT('SRID=4674;POINT (-39.035704 -3.349962)'))) / (select extract(epoch from '2026-07-23 18:36:56'::timestamp) - extract(epoch from '2026-07-23 18:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035733 -3.349957)'), GeomFromEWKT('SRID=4674;POINT (-39.035704 -3.349962)'))) / (select extract(epoch from '2026-07-23 18:36:56'::timestamp) - extract(epoch from '2026-07-23 18:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035663 -3.34996)', '2026-07-23 18:37:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035704 -3.349962)'), GeomFromEWKT('SRID=4674;POINT (-39.035663 -3.34996)'))) / (select extract(epoch from '2026-07-23 18:37:04'::timestamp) - extract(epoch from '2026-07-23 18:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035704 -3.349962)'), GeomFromEWKT('SRID=4674;POINT (-39.035663 -3.34996)'))) / (select extract(epoch from '2026-07-23 18:37:04'::timestamp) - extract(epoch from '2026-07-23 18:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035614 -3.349972)', '2026-07-23 18:37:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035663 -3.34996)'), GeomFromEWKT('SRID=4674;POINT (-39.035614 -3.349972)'))) / (select extract(epoch from '2026-07-23 18:37:13'::timestamp) - extract(epoch from '2026-07-23 18:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035663 -3.34996)'), GeomFromEWKT('SRID=4674;POINT (-39.035614 -3.349972)'))) / (select extract(epoch from '2026-07-23 18:37:13'::timestamp) - extract(epoch from '2026-07-23 18:37: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.035602 -3.34999)', '2026-07-23 18:37:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035614 -3.349972)'), GeomFromEWKT('SRID=4674;POINT (-39.035602 -3.34999)'))) / (select extract(epoch from '2026-07-23 18:37:19'::timestamp) - extract(epoch from '2026-07-23 18:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035614 -3.349972)'), GeomFromEWKT('SRID=4674;POINT (-39.035602 -3.34999)'))) / (select extract(epoch from '2026-07-23 18:37:19'::timestamp) - extract(epoch from '2026-07-23 18:37:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035571 -3.350018)', '2026-07-23 18:37:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035602 -3.34999)'), GeomFromEWKT('SRID=4674;POINT (-39.035571 -3.350018)'))) / (select extract(epoch from '2026-07-23 18:37:27'::timestamp) - extract(epoch from '2026-07-23 18:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035602 -3.34999)'), GeomFromEWKT('SRID=4674;POINT (-39.035571 -3.350018)'))) / (select extract(epoch from '2026-07-23 18:37:27'::timestamp) - extract(epoch from '2026-07-23 18:37: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.035554 -3.350022)', '2026-07-23 18:37:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035571 -3.350018)'), GeomFromEWKT('SRID=4674;POINT (-39.035554 -3.350022)'))) / (select extract(epoch from '2026-07-23 18:37:34'::timestamp) - extract(epoch from '2026-07-23 18:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035571 -3.350018)'), GeomFromEWKT('SRID=4674;POINT (-39.035554 -3.350022)'))) / (select extract(epoch from '2026-07-23 18:37:34'::timestamp) - extract(epoch from '2026-07-23 18:37: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.035535 -3.350016)', '2026-07-23 18:37:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035554 -3.350022)'), GeomFromEWKT('SRID=4674;POINT (-39.035535 -3.350016)'))) / (select extract(epoch from '2026-07-23 18:37:41'::timestamp) - extract(epoch from '2026-07-23 18:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035554 -3.350022)'), GeomFromEWKT('SRID=4674;POINT (-39.035535 -3.350016)'))) / (select extract(epoch from '2026-07-23 18:37:41'::timestamp) - extract(epoch from '2026-07-23 18:37: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.035508 -3.350035)', '2026-07-23 18:37:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035535 -3.350016)'), GeomFromEWKT('SRID=4674;POINT (-39.035508 -3.350035)'))) / (select extract(epoch from '2026-07-23 18:37:48'::timestamp) - extract(epoch from '2026-07-23 18:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035535 -3.350016)'), GeomFromEWKT('SRID=4674;POINT (-39.035508 -3.350035)'))) / (select extract(epoch from '2026-07-23 18:37:48'::timestamp) - extract(epoch from '2026-07-23 18:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03549 -3.350052)', '2026-07-23 18:37:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035508 -3.350035)'), GeomFromEWKT('SRID=4674;POINT (-39.03549 -3.350052)'))) / (select extract(epoch from '2026-07-23 18:37:53'::timestamp) - extract(epoch from '2026-07-23 18:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035508 -3.350035)'), GeomFromEWKT('SRID=4674;POINT (-39.03549 -3.350052)'))) / (select extract(epoch from '2026-07-23 18:37:53'::timestamp) - extract(epoch from '2026-07-23 18:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035483 -3.350054)', '2026-07-23 18:37:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03549 -3.350052)'), GeomFromEWKT('SRID=4674;POINT (-39.035483 -3.350054)'))) / (select extract(epoch from '2026-07-23 18:37:54'::timestamp) - extract(epoch from '2026-07-23 18:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03549 -3.350052)'), GeomFromEWKT('SRID=4674;POINT (-39.035483 -3.350054)'))) / (select extract(epoch from '2026-07-23 18:37:54'::timestamp) - extract(epoch from '2026-07-23 18: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.035441 -3.350067)', '2026-07-23 18:38:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035483 -3.350054)'), GeomFromEWKT('SRID=4674;POINT (-39.035441 -3.350067)'))) / (select extract(epoch from '2026-07-23 18:38:02'::timestamp) - extract(epoch from '2026-07-23 18:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035483 -3.350054)'), GeomFromEWKT('SRID=4674;POINT (-39.035441 -3.350067)'))) / (select extract(epoch from '2026-07-23 18:38:02'::timestamp) - extract(epoch from '2026-07-23 18:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035408 -3.350073)', '2026-07-23 18:38:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035441 -3.350067)'), GeomFromEWKT('SRID=4674;POINT (-39.035408 -3.350073)'))) / (select extract(epoch from '2026-07-23 18:38:09'::timestamp) - extract(epoch from '2026-07-23 18:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035441 -3.350067)'), GeomFromEWKT('SRID=4674;POINT (-39.035408 -3.350073)'))) / (select extract(epoch from '2026-07-23 18:38:09'::timestamp) - extract(epoch from '2026-07-23 18:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035378 -3.350084)', '2026-07-23 18:38:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035408 -3.350073)'), GeomFromEWKT('SRID=4674;POINT (-39.035378 -3.350084)'))) / (select extract(epoch from '2026-07-23 18:38:18'::timestamp) - extract(epoch from '2026-07-23 18:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035408 -3.350073)'), GeomFromEWKT('SRID=4674;POINT (-39.035378 -3.350084)'))) / (select extract(epoch from '2026-07-23 18:38:18'::timestamp) - extract(epoch from '2026-07-23 18:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035351 -3.350114)', '2026-07-23 18:38:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035378 -3.350084)'), GeomFromEWKT('SRID=4674;POINT (-39.035351 -3.350114)'))) / (select extract(epoch from '2026-07-23 18:38:26'::timestamp) - extract(epoch from '2026-07-23 18:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035378 -3.350084)'), GeomFromEWKT('SRID=4674;POINT (-39.035351 -3.350114)'))) / (select extract(epoch from '2026-07-23 18:38:26'::timestamp) - extract(epoch from '2026-07-23 18:38: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.035315 -3.350127)', '2026-07-23 18:38:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035351 -3.350114)'), GeomFromEWKT('SRID=4674;POINT (-39.035315 -3.350127)'))) / (select extract(epoch from '2026-07-23 18:38:33'::timestamp) - extract(epoch from '2026-07-23 18:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035351 -3.350114)'), GeomFromEWKT('SRID=4674;POINT (-39.035315 -3.350127)'))) / (select extract(epoch from '2026-07-23 18:38:33'::timestamp) - extract(epoch from '2026-07-23 18:38: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.035264 -3.350127)', '2026-07-23 18:38:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035315 -3.350127)'), GeomFromEWKT('SRID=4674;POINT (-39.035264 -3.350127)'))) / (select extract(epoch from '2026-07-23 18:38:43'::timestamp) - extract(epoch from '2026-07-23 18:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035315 -3.350127)'), GeomFromEWKT('SRID=4674;POINT (-39.035264 -3.350127)'))) / (select extract(epoch from '2026-07-23 18:38:43'::timestamp) - extract(epoch from '2026-07-23 18:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035232 -3.350153)', '2026-07-23 18:38:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035264 -3.350127)'), GeomFromEWKT('SRID=4674;POINT (-39.035232 -3.350153)'))) / (select extract(epoch from '2026-07-23 18:38:50'::timestamp) - extract(epoch from '2026-07-23 18:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035264 -3.350127)'), GeomFromEWKT('SRID=4674;POINT (-39.035232 -3.350153)'))) / (select extract(epoch from '2026-07-23 18:38:50'::timestamp) - extract(epoch from '2026-07-23 18:38: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.035216 -3.350185)', '2026-07-23 18:38:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035232 -3.350153)'), GeomFromEWKT('SRID=4674;POINT (-39.035216 -3.350185)'))) / (select extract(epoch from '2026-07-23 18:38:57'::timestamp) - extract(epoch from '2026-07-23 18:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035232 -3.350153)'), GeomFromEWKT('SRID=4674;POINT (-39.035216 -3.350185)'))) / (select extract(epoch from '2026-07-23 18:38:57'::timestamp) - extract(epoch from '2026-07-23 18:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035192 -3.350201)', '2026-07-23 18:39:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035216 -3.350185)'), GeomFromEWKT('SRID=4674;POINT (-39.035192 -3.350201)'))) / (select extract(epoch from '2026-07-23 18:39:04'::timestamp) - extract(epoch from '2026-07-23 18:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035216 -3.350185)'), GeomFromEWKT('SRID=4674;POINT (-39.035192 -3.350201)'))) / (select extract(epoch from '2026-07-23 18:39:04'::timestamp) - extract(epoch from '2026-07-23 18:38:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035158 -3.350204)', '2026-07-23 18:39:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035192 -3.350201)'), GeomFromEWKT('SRID=4674;POINT (-39.035158 -3.350204)'))) / (select extract(epoch from '2026-07-23 18:39:13'::timestamp) - extract(epoch from '2026-07-23 18:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035192 -3.350201)'), GeomFromEWKT('SRID=4674;POINT (-39.035158 -3.350204)'))) / (select extract(epoch from '2026-07-23 18:39:13'::timestamp) - extract(epoch from '2026-07-23 18: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.035127 -3.350211)', '2026-07-23 18:39:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035158 -3.350204)'), GeomFromEWKT('SRID=4674;POINT (-39.035127 -3.350211)'))) / (select extract(epoch from '2026-07-23 18:39:21'::timestamp) - extract(epoch from '2026-07-23 18:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035158 -3.350204)'), GeomFromEWKT('SRID=4674;POINT (-39.035127 -3.350211)'))) / (select extract(epoch from '2026-07-23 18:39:21'::timestamp) - extract(epoch from '2026-07-23 18:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035106 -3.350233)', '2026-07-23 18:39:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035127 -3.350211)'), GeomFromEWKT('SRID=4674;POINT (-39.035106 -3.350233)'))) / (select extract(epoch from '2026-07-23 18:39:27'::timestamp) - extract(epoch from '2026-07-23 18:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035127 -3.350211)'), GeomFromEWKT('SRID=4674;POINT (-39.035106 -3.350233)'))) / (select extract(epoch from '2026-07-23 18:39:27'::timestamp) - extract(epoch from '2026-07-23 18: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.035082 -3.350257)', '2026-07-23 18:39:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035106 -3.350233)'), GeomFromEWKT('SRID=4674;POINT (-39.035082 -3.350257)'))) / (select extract(epoch from '2026-07-23 18:39:34'::timestamp) - extract(epoch from '2026-07-23 18:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035106 -3.350233)'), GeomFromEWKT('SRID=4674;POINT (-39.035082 -3.350257)'))) / (select extract(epoch from '2026-07-23 18:39:34'::timestamp) - extract(epoch from '2026-07-23 18: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.035056 -3.350267)', '2026-07-23 18:39:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035082 -3.350257)'), GeomFromEWKT('SRID=4674;POINT (-39.035056 -3.350267)'))) / (select extract(epoch from '2026-07-23 18:39:40'::timestamp) - extract(epoch from '2026-07-23 18:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035082 -3.350257)'), GeomFromEWKT('SRID=4674;POINT (-39.035056 -3.350267)'))) / (select extract(epoch from '2026-07-23 18:39:40'::timestamp) - extract(epoch from '2026-07-23 18:39:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.035031 -3.350269)', '2026-07-23 18:39:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035056 -3.350267)'), GeomFromEWKT('SRID=4674;POINT (-39.035031 -3.350269)'))) / (select extract(epoch from '2026-07-23 18:39:46'::timestamp) - extract(epoch from '2026-07-23 18:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035056 -3.350267)'), GeomFromEWKT('SRID=4674;POINT (-39.035031 -3.350269)'))) / (select extract(epoch from '2026-07-23 18:39:46'::timestamp) - extract(epoch from '2026-07-23 18:39: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.035001 -3.350276)', '2026-07-23 18:39:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035031 -3.350269)'), GeomFromEWKT('SRID=4674;POINT (-39.035001 -3.350276)'))) / (select extract(epoch from '2026-07-23 18:39:53'::timestamp) - extract(epoch from '2026-07-23 18:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035031 -3.350269)'), GeomFromEWKT('SRID=4674;POINT (-39.035001 -3.350276)'))) / (select extract(epoch from '2026-07-23 18:39:53'::timestamp) - extract(epoch from '2026-07-23 18: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.034989 -3.350294)', '2026-07-23 18:39:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035001 -3.350276)'), GeomFromEWKT('SRID=4674;POINT (-39.034989 -3.350294)'))) / (select extract(epoch from '2026-07-23 18:39:59'::timestamp) - extract(epoch from '2026-07-23 18:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035001 -3.350276)'), GeomFromEWKT('SRID=4674;POINT (-39.034989 -3.350294)'))) / (select extract(epoch from '2026-07-23 18:39:59'::timestamp) - extract(epoch from '2026-07-23 18:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034982 -3.35031)', '2026-07-23 18:40:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034989 -3.350294)'), GeomFromEWKT('SRID=4674;POINT (-39.034982 -3.35031)'))) / (select extract(epoch from '2026-07-23 18:40:04'::timestamp) - extract(epoch from '2026-07-23 18:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034989 -3.350294)'), GeomFromEWKT('SRID=4674;POINT (-39.034982 -3.35031)'))) / (select extract(epoch from '2026-07-23 18:40:04'::timestamp) - extract(epoch from '2026-07-23 18:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034952 -3.350313)', '2026-07-23 18:40:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034982 -3.35031)'), GeomFromEWKT('SRID=4674;POINT (-39.034952 -3.350313)'))) / (select extract(epoch from '2026-07-23 18:40:11'::timestamp) - extract(epoch from '2026-07-23 18:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034982 -3.35031)'), GeomFromEWKT('SRID=4674;POINT (-39.034952 -3.350313)'))) / (select extract(epoch from '2026-07-23 18:40:11'::timestamp) - extract(epoch from '2026-07-23 18:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034906 -3.35032)', '2026-07-23 18:40:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034952 -3.350313)'), GeomFromEWKT('SRID=4674;POINT (-39.034906 -3.35032)'))) / (select extract(epoch from '2026-07-23 18:40:21'::timestamp) - extract(epoch from '2026-07-23 18:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034952 -3.350313)'), GeomFromEWKT('SRID=4674;POINT (-39.034906 -3.35032)'))) / (select extract(epoch from '2026-07-23 18:40:21'::timestamp) - extract(epoch from '2026-07-23 18:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034898 -3.35034)', '2026-07-23 18:40:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034906 -3.35032)'), GeomFromEWKT('SRID=4674;POINT (-39.034898 -3.35034)'))) / (select extract(epoch from '2026-07-23 18:40:27'::timestamp) - extract(epoch from '2026-07-23 18:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034906 -3.35032)'), GeomFromEWKT('SRID=4674;POINT (-39.034898 -3.35034)'))) / (select extract(epoch from '2026-07-23 18:40:27'::timestamp) - extract(epoch from '2026-07-23 18: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.034869 -3.350365)', '2026-07-23 18:40:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034898 -3.35034)'), GeomFromEWKT('SRID=4674;POINT (-39.034869 -3.350365)'))) / (select extract(epoch from '2026-07-23 18:40:35'::timestamp) - extract(epoch from '2026-07-23 18:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034898 -3.35034)'), GeomFromEWKT('SRID=4674;POINT (-39.034869 -3.350365)'))) / (select extract(epoch from '2026-07-23 18:40:35'::timestamp) - extract(epoch from '2026-07-23 18:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034836 -3.350372)', '2026-07-23 18:40:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034869 -3.350365)'), GeomFromEWKT('SRID=4674;POINT (-39.034836 -3.350372)'))) / (select extract(epoch from '2026-07-23 18:40:42'::timestamp) - extract(epoch from '2026-07-23 18:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034869 -3.350365)'), GeomFromEWKT('SRID=4674;POINT (-39.034836 -3.350372)'))) / (select extract(epoch from '2026-07-23 18:40:42'::timestamp) - extract(epoch from '2026-07-23 18: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.034794 -3.35037)', '2026-07-23 18:40:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034836 -3.350372)'), GeomFromEWKT('SRID=4674;POINT (-39.034794 -3.35037)'))) / (select extract(epoch from '2026-07-23 18:40:49'::timestamp) - extract(epoch from '2026-07-23 18:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034836 -3.350372)'), GeomFromEWKT('SRID=4674;POINT (-39.034794 -3.35037)'))) / (select extract(epoch from '2026-07-23 18:40:49'::timestamp) - extract(epoch from '2026-07-23 18: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.034773 -3.350386)', '2026-07-23 18:40:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034794 -3.35037)'), GeomFromEWKT('SRID=4674;POINT (-39.034773 -3.350386)'))) / (select extract(epoch from '2026-07-23 18:40:56'::timestamp) - extract(epoch from '2026-07-23 18:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034794 -3.35037)'), GeomFromEWKT('SRID=4674;POINT (-39.034773 -3.350386)'))) / (select extract(epoch from '2026-07-23 18:40:56'::timestamp) - extract(epoch from '2026-07-23 18:40: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.034759 -3.350419)', '2026-07-23 18:41:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034773 -3.350386)'), GeomFromEWKT('SRID=4674;POINT (-39.034759 -3.350419)'))) / (select extract(epoch from '2026-07-23 18:41:03'::timestamp) - extract(epoch from '2026-07-23 18:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034773 -3.350386)'), GeomFromEWKT('SRID=4674;POINT (-39.034759 -3.350419)'))) / (select extract(epoch from '2026-07-23 18:41:03'::timestamp) - extract(epoch from '2026-07-23 18:40: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.034727 -3.35045)', '2026-07-23 18:41:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034759 -3.350419)'), GeomFromEWKT('SRID=4674;POINT (-39.034727 -3.35045)'))) / (select extract(epoch from '2026-07-23 18:41:12'::timestamp) - extract(epoch from '2026-07-23 18:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034759 -3.350419)'), GeomFromEWKT('SRID=4674;POINT (-39.034727 -3.35045)'))) / (select extract(epoch from '2026-07-23 18:41:12'::timestamp) - extract(epoch from '2026-07-23 18: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.034705 -3.350442)', '2026-07-23 18:41:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034727 -3.35045)'), GeomFromEWKT('SRID=4674;POINT (-39.034705 -3.350442)'))) / (select extract(epoch from '2026-07-23 18:41:19'::timestamp) - extract(epoch from '2026-07-23 18:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034727 -3.35045)'), GeomFromEWKT('SRID=4674;POINT (-39.034705 -3.350442)'))) / (select extract(epoch from '2026-07-23 18:41:19'::timestamp) - extract(epoch from '2026-07-23 18:41: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.034685 -3.350429)', '2026-07-23 18:41:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034705 -3.350442)'), GeomFromEWKT('SRID=4674;POINT (-39.034685 -3.350429)'))) / (select extract(epoch from '2026-07-23 18:41:26'::timestamp) - extract(epoch from '2026-07-23 18:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034705 -3.350442)'), GeomFromEWKT('SRID=4674;POINT (-39.034685 -3.350429)'))) / (select extract(epoch from '2026-07-23 18:41:26'::timestamp) - extract(epoch from '2026-07-23 18:41: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.034689 -3.350442)', '2026-07-23 18:41:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034685 -3.350429)'), GeomFromEWKT('SRID=4674;POINT (-39.034689 -3.350442)'))) / (select extract(epoch from '2026-07-23 18:41:30'::timestamp) - extract(epoch from '2026-07-23 18:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034685 -3.350429)'), GeomFromEWKT('SRID=4674;POINT (-39.034689 -3.350442)'))) / (select extract(epoch from '2026-07-23 18:41:30'::timestamp) - extract(epoch from '2026-07-23 18:41: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.034684 -3.35046)', '2026-07-23 18:41:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034689 -3.350442)'), GeomFromEWKT('SRID=4674;POINT (-39.034684 -3.35046)'))) / (select extract(epoch from '2026-07-23 18:41:37'::timestamp) - extract(epoch from '2026-07-23 18:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034689 -3.350442)'), GeomFromEWKT('SRID=4674;POINT (-39.034684 -3.35046)'))) / (select extract(epoch from '2026-07-23 18:41:37'::timestamp) - extract(epoch from '2026-07-23 18:41: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.034661 -3.350476)', '2026-07-23 18:41:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034684 -3.35046)'), GeomFromEWKT('SRID=4674;POINT (-39.034661 -3.350476)'))) / (select extract(epoch from '2026-07-23 18:41:43'::timestamp) - extract(epoch from '2026-07-23 18:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034684 -3.35046)'), GeomFromEWKT('SRID=4674;POINT (-39.034661 -3.350476)'))) / (select extract(epoch from '2026-07-23 18:41:43'::timestamp) - extract(epoch from '2026-07-23 18:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.03463 -3.350485)', '2026-07-23 18:41:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034661 -3.350476)'), GeomFromEWKT('SRID=4674;POINT (-39.03463 -3.350485)'))) / (select extract(epoch from '2026-07-23 18:41:49'::timestamp) - extract(epoch from '2026-07-23 18:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034661 -3.350476)'), GeomFromEWKT('SRID=4674;POINT (-39.03463 -3.350485)'))) / (select extract(epoch from '2026-07-23 18:41:49'::timestamp) - extract(epoch from '2026-07-23 18:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034597 -3.350496)', '2026-07-23 18:41:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03463 -3.350485)'), GeomFromEWKT('SRID=4674;POINT (-39.034597 -3.350496)'))) / (select extract(epoch from '2026-07-23 18:41:57'::timestamp) - extract(epoch from '2026-07-23 18:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03463 -3.350485)'), GeomFromEWKT('SRID=4674;POINT (-39.034597 -3.350496)'))) / (select extract(epoch from '2026-07-23 18:41:57'::timestamp) - extract(epoch from '2026-07-23 18: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.034573 -3.35051)', '2026-07-23 18:42:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034597 -3.350496)'), GeomFromEWKT('SRID=4674;POINT (-39.034573 -3.35051)'))) / (select extract(epoch from '2026-07-23 18:42:04'::timestamp) - extract(epoch from '2026-07-23 18:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034597 -3.350496)'), GeomFromEWKT('SRID=4674;POINT (-39.034573 -3.35051)'))) / (select extract(epoch from '2026-07-23 18:42:04'::timestamp) - extract(epoch from '2026-07-23 18: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.034548 -3.350529)', '2026-07-23 18:42:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034573 -3.35051)'), GeomFromEWKT('SRID=4674;POINT (-39.034548 -3.350529)'))) / (select extract(epoch from '2026-07-23 18:42:11'::timestamp) - extract(epoch from '2026-07-23 18:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034573 -3.35051)'), GeomFromEWKT('SRID=4674;POINT (-39.034548 -3.350529)'))) / (select extract(epoch from '2026-07-23 18:42:11'::timestamp) - extract(epoch from '2026-07-23 18:42: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.034513 -3.350557)', '2026-07-23 18:42:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034548 -3.350529)'), GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.350557)'))) / (select extract(epoch from '2026-07-23 18:42:19'::timestamp) - extract(epoch from '2026-07-23 18:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034548 -3.350529)'), GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.350557)'))) / (select extract(epoch from '2026-07-23 18:42:19'::timestamp) - extract(epoch from '2026-07-23 18:42: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.034467 -3.350579)', '2026-07-23 18:42:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.350557)'), GeomFromEWKT('SRID=4674;POINT (-39.034467 -3.350579)'))) / (select extract(epoch from '2026-07-23 18:42:28'::timestamp) - extract(epoch from '2026-07-23 18:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034513 -3.350557)'), GeomFromEWKT('SRID=4674;POINT (-39.034467 -3.350579)'))) / (select extract(epoch from '2026-07-23 18:42:28'::timestamp) - extract(epoch from '2026-07-23 18:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034445 -3.350601)', '2026-07-23 18:42:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034467 -3.350579)'), GeomFromEWKT('SRID=4674;POINT (-39.034445 -3.350601)'))) / (select extract(epoch from '2026-07-23 18:42:37'::timestamp) - extract(epoch from '2026-07-23 18:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034467 -3.350579)'), GeomFromEWKT('SRID=4674;POINT (-39.034445 -3.350601)'))) / (select extract(epoch from '2026-07-23 18:42:37'::timestamp) - extract(epoch from '2026-07-23 18:42: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.034426 -3.350601)', '2026-07-23 18:42:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034445 -3.350601)'), GeomFromEWKT('SRID=4674;POINT (-39.034426 -3.350601)'))) / (select extract(epoch from '2026-07-23 18:42:44'::timestamp) - extract(epoch from '2026-07-23 18:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034445 -3.350601)'), GeomFromEWKT('SRID=4674;POINT (-39.034426 -3.350601)'))) / (select extract(epoch from '2026-07-23 18:42:44'::timestamp) - extract(epoch from '2026-07-23 18: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.034403 -3.350605)', '2026-07-23 18:42:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034426 -3.350601)'), GeomFromEWKT('SRID=4674;POINT (-39.034403 -3.350605)'))) / (select extract(epoch from '2026-07-23 18:42:50'::timestamp) - extract(epoch from '2026-07-23 18:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034426 -3.350601)'), GeomFromEWKT('SRID=4674;POINT (-39.034403 -3.350605)'))) / (select extract(epoch from '2026-07-23 18:42:50'::timestamp) - extract(epoch from '2026-07-23 18:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034378 -3.350616)', '2026-07-23 18:42:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034403 -3.350605)'), GeomFromEWKT('SRID=4674;POINT (-39.034378 -3.350616)'))) / (select extract(epoch from '2026-07-23 18:42:55'::timestamp) - extract(epoch from '2026-07-23 18:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034403 -3.350605)'), GeomFromEWKT('SRID=4674;POINT (-39.034378 -3.350616)'))) / (select extract(epoch from '2026-07-23 18:42:55'::timestamp) - extract(epoch from '2026-07-23 18:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47446, 'SRID=4674;POINT (-39.034348 -3.350635)', '2026-07-23 18:43:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034378 -3.350616)'), GeomFromEWKT('SRID=4674;POINT (-39.034348 -3.350635)'))) / (select extract(epoch from '2026-07-23 18:43:01'::timestamp) - extract(epoch from '2026-07-23 18:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034378 -3.350616)'), GeomFromEWKT('SRID=4674;POINT (-39.034348 -3.350635)'))) / (select extract(epoch from '2026-07-23 18:43:01'::timestamp) - extract(epoch from '2026-07-23 18: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.034325 -3.350658)', '2026-07-23 18:43:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034348 -3.350635)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -3.350658)'))) / (select extract(epoch from '2026-07-23 18:43:08'::timestamp) - extract(epoch from '2026-07-23 18:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034348 -3.350635)'), GeomFromEWKT('SRID=4674;POINT (-39.034325 -3.350658)'))) / (select extract(epoch from '2026-07-23 18:43:08'::timestamp) - extract(epoch from '2026-07-23 18: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.034298 -3.350672)', '2026-07-23 18:43:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -3.350658)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -3.350672)'))) / (select extract(epoch from '2026-07-23 18:43:15'::timestamp) - extract(epoch from '2026-07-23 18:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034325 -3.350658)'), GeomFromEWKT('SRID=4674;POINT (-39.034298 -3.350672)'))) / (select extract(epoch from '2026-07-23 18:43:15'::timestamp) - extract(epoch from '2026-07-23 18:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
