BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041096 -3.411199)', '2026-06-23 17:31:20', 4.6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041156 -3.411167)', '2026-06-23 17:31:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041096 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.411167)'))) / (select extract(epoch from '2026-06-23 17:31:26'::timestamp) - extract(epoch from '2026-06-23 17:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041096 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.411167)'))) / (select extract(epoch from '2026-06-23 17:31:26'::timestamp) - extract(epoch from '2026-06-23 17:31: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'), 46587, 'SRID=4674;POINT (-39.041223 -3.411149)', '2026-06-23 17:31:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.411167)'), GeomFromEWKT('SRID=4674;POINT (-39.041223 -3.411149)'))) / (select extract(epoch from '2026-06-23 17:31:33'::timestamp) - extract(epoch from '2026-06-23 17:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.411167)'), GeomFromEWKT('SRID=4674;POINT (-39.041223 -3.411149)'))) / (select extract(epoch from '2026-06-23 17:31:33'::timestamp) - extract(epoch from '2026-06-23 17:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041296 -3.411127)', '2026-06-23 17:31:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041223 -3.411149)'), GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.411127)'))) / (select extract(epoch from '2026-06-23 17:31:41'::timestamp) - extract(epoch from '2026-06-23 17:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041223 -3.411149)'), GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.411127)'))) / (select extract(epoch from '2026-06-23 17:31:41'::timestamp) - extract(epoch from '2026-06-23 17:31: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'), 46587, 'SRID=4674;POINT (-39.041366 -3.411084)', '2026-06-23 17:31:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.411127)'), GeomFromEWKT('SRID=4674;POINT (-39.041366 -3.411084)'))) / (select extract(epoch from '2026-06-23 17:31:49'::timestamp) - extract(epoch from '2026-06-23 17:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.411127)'), GeomFromEWKT('SRID=4674;POINT (-39.041366 -3.411084)'))) / (select extract(epoch from '2026-06-23 17:31:49'::timestamp) - extract(epoch from '2026-06-23 17:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041375 -3.411083)', '2026-06-23 17:31:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041366 -3.411084)'), GeomFromEWKT('SRID=4674;POINT (-39.041375 -3.411083)'))) / (select extract(epoch from '2026-06-23 17:31:50'::timestamp) - extract(epoch from '2026-06-23 17:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041366 -3.411084)'), GeomFromEWKT('SRID=4674;POINT (-39.041375 -3.411083)'))) / (select extract(epoch from '2026-06-23 17:31:50'::timestamp) - extract(epoch from '2026-06-23 17:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041448 -3.411053)', '2026-06-23 17:31:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041375 -3.411083)'), GeomFromEWKT('SRID=4674;POINT (-39.041448 -3.411053)'))) / (select extract(epoch from '2026-06-23 17:31:58'::timestamp) - extract(epoch from '2026-06-23 17:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041375 -3.411083)'), GeomFromEWKT('SRID=4674;POINT (-39.041448 -3.411053)'))) / (select extract(epoch from '2026-06-23 17:31:58'::timestamp) - extract(epoch from '2026-06-23 17:31: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'), 46587, 'SRID=4674;POINT (-39.041481 -3.411026)', '2026-06-23 17:32:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041448 -3.411053)'), GeomFromEWKT('SRID=4674;POINT (-39.041481 -3.411026)'))) / (select extract(epoch from '2026-06-23 17:32:02'::timestamp) - extract(epoch from '2026-06-23 17:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041448 -3.411053)'), GeomFromEWKT('SRID=4674;POINT (-39.041481 -3.411026)'))) / (select extract(epoch from '2026-06-23 17:32:02'::timestamp) - extract(epoch from '2026-06-23 17:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041508 -3.411013)', '2026-06-23 17:32:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041481 -3.411026)'), GeomFromEWKT('SRID=4674;POINT (-39.041508 -3.411013)'))) / (select extract(epoch from '2026-06-23 17:32:05'::timestamp) - extract(epoch from '2026-06-23 17:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041481 -3.411026)'), GeomFromEWKT('SRID=4674;POINT (-39.041508 -3.411013)'))) / (select extract(epoch from '2026-06-23 17:32:05'::timestamp) - extract(epoch from '2026-06-23 17:32: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'), 46587, 'SRID=4674;POINT (-39.041572 -3.410956)', '2026-06-23 17:32:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041508 -3.411013)'), GeomFromEWKT('SRID=4674;POINT (-39.041572 -3.410956)'))) / (select extract(epoch from '2026-06-23 17:32:13'::timestamp) - extract(epoch from '2026-06-23 17:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041508 -3.411013)'), GeomFromEWKT('SRID=4674;POINT (-39.041572 -3.410956)'))) / (select extract(epoch from '2026-06-23 17:32:13'::timestamp) - extract(epoch from '2026-06-23 17: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'), 46587, 'SRID=4674;POINT (-39.041627 -3.410909)', '2026-06-23 17:32:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041572 -3.410956)'), GeomFromEWKT('SRID=4674;POINT (-39.041627 -3.410909)'))) / (select extract(epoch from '2026-06-23 17:32:20'::timestamp) - extract(epoch from '2026-06-23 17:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041572 -3.410956)'), GeomFromEWKT('SRID=4674;POINT (-39.041627 -3.410909)'))) / (select extract(epoch from '2026-06-23 17:32:20'::timestamp) - extract(epoch from '2026-06-23 17:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041706 -3.410871)', '2026-06-23 17:32:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041627 -3.410909)'), GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.410871)'))) / (select extract(epoch from '2026-06-23 17:32:29'::timestamp) - extract(epoch from '2026-06-23 17:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041627 -3.410909)'), GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.410871)'))) / (select extract(epoch from '2026-06-23 17:32:29'::timestamp) - extract(epoch from '2026-06-23 17:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041784 -3.410849)', '2026-06-23 17:32:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.410871)'), GeomFromEWKT('SRID=4674;POINT (-39.041784 -3.410849)'))) / (select extract(epoch from '2026-06-23 17:32:37'::timestamp) - extract(epoch from '2026-06-23 17:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.410871)'), GeomFromEWKT('SRID=4674;POINT (-39.041784 -3.410849)'))) / (select extract(epoch from '2026-06-23 17:32:37'::timestamp) - extract(epoch from '2026-06-23 17:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041846 -3.410827)', '2026-06-23 17:32:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041784 -3.410849)'), GeomFromEWKT('SRID=4674;POINT (-39.041846 -3.410827)'))) / (select extract(epoch from '2026-06-23 17:32:44'::timestamp) - extract(epoch from '2026-06-23 17:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041784 -3.410849)'), GeomFromEWKT('SRID=4674;POINT (-39.041846 -3.410827)'))) / (select extract(epoch from '2026-06-23 17:32:44'::timestamp) - extract(epoch from '2026-06-23 17:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041906 -3.410788)', '2026-06-23 17:32:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041846 -3.410827)'), GeomFromEWKT('SRID=4674;POINT (-39.041906 -3.410788)'))) / (select extract(epoch from '2026-06-23 17:32:52'::timestamp) - extract(epoch from '2026-06-23 17:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041846 -3.410827)'), GeomFromEWKT('SRID=4674;POINT (-39.041906 -3.410788)'))) / (select extract(epoch from '2026-06-23 17:32:52'::timestamp) - extract(epoch from '2026-06-23 17:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041968 -3.410756)', '2026-06-23 17:33:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041906 -3.410788)'), GeomFromEWKT('SRID=4674;POINT (-39.041968 -3.410756)'))) / (select extract(epoch from '2026-06-23 17:33:03'::timestamp) - extract(epoch from '2026-06-23 17:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041906 -3.410788)'), GeomFromEWKT('SRID=4674;POINT (-39.041968 -3.410756)'))) / (select extract(epoch from '2026-06-23 17:33:03'::timestamp) - extract(epoch from '2026-06-23 17:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042029 -3.410721)', '2026-06-23 17:33:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041968 -3.410756)'), GeomFromEWKT('SRID=4674;POINT (-39.042029 -3.410721)'))) / (select extract(epoch from '2026-06-23 17:33:17'::timestamp) - extract(epoch from '2026-06-23 17:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041968 -3.410756)'), GeomFromEWKT('SRID=4674;POINT (-39.042029 -3.410721)'))) / (select extract(epoch from '2026-06-23 17:33:17'::timestamp) - extract(epoch from '2026-06-23 17: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'), 46587, 'SRID=4674;POINT (-39.042032 -3.41071)', '2026-06-23 17:33:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042029 -3.410721)'), GeomFromEWKT('SRID=4674;POINT (-39.042032 -3.41071)'))) / (select extract(epoch from '2026-06-23 17:33:32'::timestamp) - extract(epoch from '2026-06-23 17:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042029 -3.410721)'), GeomFromEWKT('SRID=4674;POINT (-39.042032 -3.41071)'))) / (select extract(epoch from '2026-06-23 17:33:32'::timestamp) - extract(epoch from '2026-06-23 17:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042001 -3.410699)', '2026-06-23 17:33:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042032 -3.41071)'), GeomFromEWKT('SRID=4674;POINT (-39.042001 -3.410699)'))) / (select extract(epoch from '2026-06-23 17:33:56'::timestamp) - extract(epoch from '2026-06-23 17:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042032 -3.41071)'), GeomFromEWKT('SRID=4674;POINT (-39.042001 -3.410699)'))) / (select extract(epoch from '2026-06-23 17:33:56'::timestamp) - extract(epoch from '2026-06-23 17: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'), 46587, 'SRID=4674;POINT (-39.042013 -3.410695)', '2026-06-23 17:34:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042001 -3.410699)'), GeomFromEWKT('SRID=4674;POINT (-39.042013 -3.410695)'))) / (select extract(epoch from '2026-06-23 17:34:18'::timestamp) - extract(epoch from '2026-06-23 17:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042001 -3.410699)'), GeomFromEWKT('SRID=4674;POINT (-39.042013 -3.410695)'))) / (select extract(epoch from '2026-06-23 17:34:18'::timestamp) - extract(epoch from '2026-06-23 17:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042023 -3.410687)', '2026-06-23 17:34:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042013 -3.410695)'), GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.410687)'))) / (select extract(epoch from '2026-06-23 17:34:34'::timestamp) - extract(epoch from '2026-06-23 17:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042013 -3.410695)'), GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.410687)'))) / (select extract(epoch from '2026-06-23 17:34:34'::timestamp) - extract(epoch from '2026-06-23 17:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04203 -3.410704)', '2026-06-23 17:34:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.410687)'), GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410704)'))) / (select extract(epoch from '2026-06-23 17:34:48'::timestamp) - extract(epoch from '2026-06-23 17:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.410687)'), GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410704)'))) / (select extract(epoch from '2026-06-23 17:34:48'::timestamp) - extract(epoch from '2026-06-23 17:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04203 -3.410703)', '2026-06-23 17:35:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410704)'), GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410703)'))) / (select extract(epoch from '2026-06-23 17:35:06'::timestamp) - extract(epoch from '2026-06-23 17:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410704)'), GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410703)'))) / (select extract(epoch from '2026-06-23 17:35:06'::timestamp) - extract(epoch from '2026-06-23 17:34: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'), 46587, 'SRID=4674;POINT (-39.042043 -3.410702)', '2026-06-23 17:35:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410703)'), GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.410702)'))) / (select extract(epoch from '2026-06-23 17:35:21'::timestamp) - extract(epoch from '2026-06-23 17:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410703)'), GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.410702)'))) / (select extract(epoch from '2026-06-23 17:35:21'::timestamp) - extract(epoch from '2026-06-23 17:35: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'), 46587, 'SRID=4674;POINT (-39.042039 -3.410713)', '2026-06-23 17:35:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.410702)'), GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.410713)'))) / (select extract(epoch from '2026-06-23 17:35:41'::timestamp) - extract(epoch from '2026-06-23 17:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.410702)'), GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.410713)'))) / (select extract(epoch from '2026-06-23 17:35:41'::timestamp) - extract(epoch from '2026-06-23 17:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042038 -3.410717)', '2026-06-23 17:35:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.410713)'), GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.410717)'))) / (select extract(epoch from '2026-06-23 17:35:50'::timestamp) - extract(epoch from '2026-06-23 17:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.410713)'), GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.410717)'))) / (select extract(epoch from '2026-06-23 17:35:50'::timestamp) - extract(epoch from '2026-06-23 17:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042042 -3.410708)', '2026-06-23 17:36:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.410717)'), GeomFromEWKT('SRID=4674;POINT (-39.042042 -3.410708)'))) / (select extract(epoch from '2026-06-23 17:36:02'::timestamp) - extract(epoch from '2026-06-23 17:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042038 -3.410717)'), GeomFromEWKT('SRID=4674;POINT (-39.042042 -3.410708)'))) / (select extract(epoch from '2026-06-23 17:36:02'::timestamp) - extract(epoch from '2026-06-23 17:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04203 -3.410717)', '2026-06-23 17:36:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042042 -3.410708)'), GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410717)'))) / (select extract(epoch from '2026-06-23 17:36:12'::timestamp) - extract(epoch from '2026-06-23 17:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042042 -3.410708)'), GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410717)'))) / (select extract(epoch from '2026-06-23 17:36:12'::timestamp) - extract(epoch from '2026-06-23 17: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'), 46587, 'SRID=4674;POINT (-39.042039 -3.410711)', '2026-06-23 17:36:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410717)'), GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.410711)'))) / (select extract(epoch from '2026-06-23 17:36:26'::timestamp) - extract(epoch from '2026-06-23 17:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.410717)'), GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.410711)'))) / (select extract(epoch from '2026-06-23 17:36:26'::timestamp) - extract(epoch from '2026-06-23 17:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042048 -3.410701)', '2026-06-23 17:36:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.410711)'), GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.410701)'))) / (select extract(epoch from '2026-06-23 17:36:44'::timestamp) - extract(epoch from '2026-06-23 17:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.410711)'), GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.410701)'))) / (select extract(epoch from '2026-06-23 17:36:44'::timestamp) - extract(epoch from '2026-06-23 17: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'), 46587, 'SRID=4674;POINT (-39.042044 -3.410703)', '2026-06-23 17:37:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.410701)'), GeomFromEWKT('SRID=4674;POINT (-39.042044 -3.410703)'))) / (select extract(epoch from '2026-06-23 17:37:09'::timestamp) - extract(epoch from '2026-06-23 17:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.410701)'), GeomFromEWKT('SRID=4674;POINT (-39.042044 -3.410703)'))) / (select extract(epoch from '2026-06-23 17:37:09'::timestamp) - extract(epoch from '2026-06-23 17:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042047 -3.41071)', '2026-06-23 17:37:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042044 -3.410703)'), GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.41071)'))) / (select extract(epoch from '2026-06-23 17:37:19'::timestamp) - extract(epoch from '2026-06-23 17:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042044 -3.410703)'), GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.41071)'))) / (select extract(epoch from '2026-06-23 17:37:19'::timestamp) - extract(epoch from '2026-06-23 17:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042047 -3.410706)', '2026-06-23 17:37:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.41071)'), GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.410706)'))) / (select extract(epoch from '2026-06-23 17:37:32'::timestamp) - extract(epoch from '2026-06-23 17:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.41071)'), GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.410706)'))) / (select extract(epoch from '2026-06-23 17:37:32'::timestamp) - extract(epoch from '2026-06-23 17: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'), 46587, 'SRID=4674;POINT (-39.042047 -3.410714)', '2026-06-23 17:37:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.410706)'), GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.410714)'))) / (select extract(epoch from '2026-06-23 17:37:46'::timestamp) - extract(epoch from '2026-06-23 17:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.410706)'), GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.410714)'))) / (select extract(epoch from '2026-06-23 17:37:46'::timestamp) - extract(epoch from '2026-06-23 17:37: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'), 46587, 'SRID=4674;POINT (-39.042053 -3.410713)', '2026-06-23 17:38:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.410714)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.410713)'))) / (select extract(epoch from '2026-06-23 17:38:07'::timestamp) - extract(epoch from '2026-06-23 17:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042047 -3.410714)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.410713)'))) / (select extract(epoch from '2026-06-23 17:38:07'::timestamp) - extract(epoch from '2026-06-23 17:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042055 -3.410717)', '2026-06-23 17:38:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.410713)'), GeomFromEWKT('SRID=4674;POINT (-39.042055 -3.410717)'))) / (select extract(epoch from '2026-06-23 17:38:29'::timestamp) - extract(epoch from '2026-06-23 17:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.410713)'), GeomFromEWKT('SRID=4674;POINT (-39.042055 -3.410717)'))) / (select extract(epoch from '2026-06-23 17:38:29'::timestamp) - extract(epoch from '2026-06-23 17:38: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'), 46587, 'SRID=4674;POINT (-39.04205 -3.410722)', '2026-06-23 17:38:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042055 -3.410717)'), GeomFromEWKT('SRID=4674;POINT (-39.04205 -3.410722)'))) / (select extract(epoch from '2026-06-23 17:38:48'::timestamp) - extract(epoch from '2026-06-23 17:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042055 -3.410717)'), GeomFromEWKT('SRID=4674;POINT (-39.04205 -3.410722)'))) / (select extract(epoch from '2026-06-23 17:38:48'::timestamp) - extract(epoch from '2026-06-23 17:38: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'), 46587, 'SRID=4674;POINT (-39.042057 -3.410727)', '2026-06-23 17:39:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04205 -3.410722)'), GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.410727)'))) / (select extract(epoch from '2026-06-23 17:39:17'::timestamp) - extract(epoch from '2026-06-23 17:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04205 -3.410722)'), GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.410727)'))) / (select extract(epoch from '2026-06-23 17:39:17'::timestamp) - extract(epoch from '2026-06-23 17:38:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042051 -3.410724)', '2026-06-23 17:39:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.410727)'), GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410724)'))) / (select extract(epoch from '2026-06-23 17:39:35'::timestamp) - extract(epoch from '2026-06-23 17:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.410727)'), GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410724)'))) / (select extract(epoch from '2026-06-23 17:39:35'::timestamp) - extract(epoch from '2026-06-23 17:39: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'), 46587, 'SRID=4674;POINT (-39.042053 -3.410719)', '2026-06-23 17:39:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410724)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.410719)'))) / (select extract(epoch from '2026-06-23 17:39:46'::timestamp) - extract(epoch from '2026-06-23 17:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410724)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.410719)'))) / (select extract(epoch from '2026-06-23 17:39:46'::timestamp) - extract(epoch from '2026-06-23 17:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042059 -3.410714)', '2026-06-23 17:40:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.410719)'), GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.410714)'))) / (select extract(epoch from '2026-06-23 17:40:01'::timestamp) - extract(epoch from '2026-06-23 17:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.410719)'), GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.410714)'))) / (select extract(epoch from '2026-06-23 17:40:01'::timestamp) - extract(epoch from '2026-06-23 17:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042086 -3.410714)', '2026-06-23 17:40:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.410714)'), GeomFromEWKT('SRID=4674;POINT (-39.042086 -3.410714)'))) / (select extract(epoch from '2026-06-23 17:40:12'::timestamp) - extract(epoch from '2026-06-23 17:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.410714)'), GeomFromEWKT('SRID=4674;POINT (-39.042086 -3.410714)'))) / (select extract(epoch from '2026-06-23 17:40:12'::timestamp) - extract(epoch from '2026-06-23 17:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042125 -3.410714)', '2026-06-23 17:40:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042086 -3.410714)'), GeomFromEWKT('SRID=4674;POINT (-39.042125 -3.410714)'))) / (select extract(epoch from '2026-06-23 17:40:40'::timestamp) - extract(epoch from '2026-06-23 17:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042086 -3.410714)'), GeomFromEWKT('SRID=4674;POINT (-39.042125 -3.410714)'))) / (select extract(epoch from '2026-06-23 17:40:40'::timestamp) - extract(epoch from '2026-06-23 17:40: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'), 46587, 'SRID=4674;POINT (-39.042152 -3.41071)', '2026-06-23 17:40:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042125 -3.410714)'), GeomFromEWKT('SRID=4674;POINT (-39.042152 -3.41071)'))) / (select extract(epoch from '2026-06-23 17:40:56'::timestamp) - extract(epoch from '2026-06-23 17:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042125 -3.410714)'), GeomFromEWKT('SRID=4674;POINT (-39.042152 -3.41071)'))) / (select extract(epoch from '2026-06-23 17:40:56'::timestamp) - extract(epoch from '2026-06-23 17:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042177 -3.410712)', '2026-06-23 17:41:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042152 -3.41071)'), GeomFromEWKT('SRID=4674;POINT (-39.042177 -3.410712)'))) / (select extract(epoch from '2026-06-23 17:41:08'::timestamp) - extract(epoch from '2026-06-23 17:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042152 -3.41071)'), GeomFromEWKT('SRID=4674;POINT (-39.042177 -3.410712)'))) / (select extract(epoch from '2026-06-23 17:41:08'::timestamp) - extract(epoch from '2026-06-23 17: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'), 46587, 'SRID=4674;POINT (-39.042231 -3.410711)', '2026-06-23 17:41:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042177 -3.410712)'), GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.410711)'))) / (select extract(epoch from '2026-06-23 17:41:38'::timestamp) - extract(epoch from '2026-06-23 17:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042177 -3.410712)'), GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.410711)'))) / (select extract(epoch from '2026-06-23 17:41:38'::timestamp) - extract(epoch from '2026-06-23 17:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042266 -3.410728)', '2026-06-23 17:42:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.410711)'), GeomFromEWKT('SRID=4674;POINT (-39.042266 -3.410728)'))) / (select extract(epoch from '2026-06-23 17:42:00'::timestamp) - extract(epoch from '2026-06-23 17:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.410711)'), GeomFromEWKT('SRID=4674;POINT (-39.042266 -3.410728)'))) / (select extract(epoch from '2026-06-23 17:42:00'::timestamp) - extract(epoch from '2026-06-23 17:41: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'), 46587, 'SRID=4674;POINT (-39.042305 -3.410728)', '2026-06-23 17:42:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042266 -3.410728)'), GeomFromEWKT('SRID=4674;POINT (-39.042305 -3.410728)'))) / (select extract(epoch from '2026-06-23 17:42:24'::timestamp) - extract(epoch from '2026-06-23 17:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042266 -3.410728)'), GeomFromEWKT('SRID=4674;POINT (-39.042305 -3.410728)'))) / (select extract(epoch from '2026-06-23 17:42:24'::timestamp) - extract(epoch from '2026-06-23 17:42: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'), 46587, 'SRID=4674;POINT (-39.042333 -3.410734)', '2026-06-23 17:42:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042305 -3.410728)'), GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.410734)'))) / (select extract(epoch from '2026-06-23 17:42:41'::timestamp) - extract(epoch from '2026-06-23 17:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042305 -3.410728)'), GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.410734)'))) / (select extract(epoch from '2026-06-23 17:42:41'::timestamp) - extract(epoch from '2026-06-23 17:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042353 -3.41074)', '2026-06-23 17:42:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.410734)'), GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.41074)'))) / (select extract(epoch from '2026-06-23 17:42:51'::timestamp) - extract(epoch from '2026-06-23 17:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042333 -3.410734)'), GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.41074)'))) / (select extract(epoch from '2026-06-23 17:42:51'::timestamp) - extract(epoch from '2026-06-23 17:42: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'), 46587, 'SRID=4674;POINT (-39.042378 -3.410752)', '2026-06-23 17:43:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.41074)'), GeomFromEWKT('SRID=4674;POINT (-39.042378 -3.410752)'))) / (select extract(epoch from '2026-06-23 17:43:01'::timestamp) - extract(epoch from '2026-06-23 17:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.41074)'), GeomFromEWKT('SRID=4674;POINT (-39.042378 -3.410752)'))) / (select extract(epoch from '2026-06-23 17:43:01'::timestamp) - extract(epoch from '2026-06-23 17:42: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'), 46587, 'SRID=4674;POINT (-39.042384 -3.410748)', '2026-06-23 17:43:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042378 -3.410752)'), GeomFromEWKT('SRID=4674;POINT (-39.042384 -3.410748)'))) / (select extract(epoch from '2026-06-23 17:43:14'::timestamp) - extract(epoch from '2026-06-23 17:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042378 -3.410752)'), GeomFromEWKT('SRID=4674;POINT (-39.042384 -3.410748)'))) / (select extract(epoch from '2026-06-23 17:43:14'::timestamp) - extract(epoch from '2026-06-23 17:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04238 -3.410754)', '2026-06-23 17:43:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042384 -3.410748)'), GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.410754)'))) / (select extract(epoch from '2026-06-23 17:43:23'::timestamp) - extract(epoch from '2026-06-23 17:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042384 -3.410748)'), GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.410754)'))) / (select extract(epoch from '2026-06-23 17:43:23'::timestamp) - extract(epoch from '2026-06-23 17:43: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'), 46587, 'SRID=4674;POINT (-39.042385 -3.410746)', '2026-06-23 17:43:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.410754)'), GeomFromEWKT('SRID=4674;POINT (-39.042385 -3.410746)'))) / (select extract(epoch from '2026-06-23 17:43:37'::timestamp) - extract(epoch from '2026-06-23 17:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.410754)'), GeomFromEWKT('SRID=4674;POINT (-39.042385 -3.410746)'))) / (select extract(epoch from '2026-06-23 17:43:37'::timestamp) - extract(epoch from '2026-06-23 17:43: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'), 46587, 'SRID=4674;POINT (-39.042356 -3.410726)', '2026-06-23 17:43:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042385 -3.410746)'), GeomFromEWKT('SRID=4674;POINT (-39.042356 -3.410726)'))) / (select extract(epoch from '2026-06-23 17:43:47'::timestamp) - extract(epoch from '2026-06-23 17:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042385 -3.410746)'), GeomFromEWKT('SRID=4674;POINT (-39.042356 -3.410726)'))) / (select extract(epoch from '2026-06-23 17:43:47'::timestamp) - extract(epoch from '2026-06-23 17:43: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'), 46587, 'SRID=4674;POINT (-39.042326 -3.410722)', '2026-06-23 17:43:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042356 -3.410726)'), GeomFromEWKT('SRID=4674;POINT (-39.042326 -3.410722)'))) / (select extract(epoch from '2026-06-23 17:43:56'::timestamp) - extract(epoch from '2026-06-23 17:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042356 -3.410726)'), GeomFromEWKT('SRID=4674;POINT (-39.042326 -3.410722)'))) / (select extract(epoch from '2026-06-23 17:43:56'::timestamp) - extract(epoch from '2026-06-23 17:43:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042335 -3.41072)', '2026-06-23 17:44:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042326 -3.410722)'), GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.41072)'))) / (select extract(epoch from '2026-06-23 17:44:08'::timestamp) - extract(epoch from '2026-06-23 17:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042326 -3.410722)'), GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.41072)'))) / (select extract(epoch from '2026-06-23 17:44:08'::timestamp) - extract(epoch from '2026-06-23 17:43: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'), 46587, 'SRID=4674;POINT (-39.042324 -3.410671)', '2026-06-23 17:44:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.41072)'), GeomFromEWKT('SRID=4674;POINT (-39.042324 -3.410671)'))) / (select extract(epoch from '2026-06-23 17:44:20'::timestamp) - extract(epoch from '2026-06-23 17:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.41072)'), GeomFromEWKT('SRID=4674;POINT (-39.042324 -3.410671)'))) / (select extract(epoch from '2026-06-23 17:44:20'::timestamp) - extract(epoch from '2026-06-23 17:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042294 -3.41062)', '2026-06-23 17:44:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042324 -3.410671)'), GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.41062)'))) / (select extract(epoch from '2026-06-23 17:44:28'::timestamp) - extract(epoch from '2026-06-23 17:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042324 -3.410671)'), GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.41062)'))) / (select extract(epoch from '2026-06-23 17:44:28'::timestamp) - extract(epoch from '2026-06-23 17:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042236 -3.410556)', '2026-06-23 17:44:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.41062)'), GeomFromEWKT('SRID=4674;POINT (-39.042236 -3.410556)'))) / (select extract(epoch from '2026-06-23 17:44:37'::timestamp) - extract(epoch from '2026-06-23 17:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042294 -3.41062)'), GeomFromEWKT('SRID=4674;POINT (-39.042236 -3.410556)'))) / (select extract(epoch from '2026-06-23 17:44:37'::timestamp) - extract(epoch from '2026-06-23 17:44: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'), 46587, 'SRID=4674;POINT (-39.042181 -3.410506)', '2026-06-23 17:44:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042236 -3.410556)'), GeomFromEWKT('SRID=4674;POINT (-39.042181 -3.410506)'))) / (select extract(epoch from '2026-06-23 17:44:46'::timestamp) - extract(epoch from '2026-06-23 17:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042236 -3.410556)'), GeomFromEWKT('SRID=4674;POINT (-39.042181 -3.410506)'))) / (select extract(epoch from '2026-06-23 17:44:46'::timestamp) - extract(epoch from '2026-06-23 17:44: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'), 46587, 'SRID=4674;POINT (-39.042136 -3.410472)', '2026-06-23 17:44:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042181 -3.410506)'), GeomFromEWKT('SRID=4674;POINT (-39.042136 -3.410472)'))) / (select extract(epoch from '2026-06-23 17:44:53'::timestamp) - extract(epoch from '2026-06-23 17:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042181 -3.410506)'), GeomFromEWKT('SRID=4674;POINT (-39.042136 -3.410472)'))) / (select extract(epoch from '2026-06-23 17:44:53'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.042096 -3.410437)', '2026-06-23 17:45:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042136 -3.410472)'), GeomFromEWKT('SRID=4674;POINT (-39.042096 -3.410437)'))) / (select extract(epoch from '2026-06-23 17:45:00'::timestamp) - extract(epoch from '2026-06-23 17:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042136 -3.410472)'), GeomFromEWKT('SRID=4674;POINT (-39.042096 -3.410437)'))) / (select extract(epoch from '2026-06-23 17:45:00'::timestamp) - extract(epoch from '2026-06-23 17:44:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042051 -3.410391)', '2026-06-23 17:45:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042096 -3.410437)'), GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410391)'))) / (select extract(epoch from '2026-06-23 17:45:07'::timestamp) - extract(epoch from '2026-06-23 17:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042096 -3.410437)'), GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410391)'))) / (select extract(epoch from '2026-06-23 17:45:07'::timestamp) - extract(epoch from '2026-06-23 17:45: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'), 46587, 'SRID=4674;POINT (-39.042015 -3.410349)', '2026-06-23 17:45:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410391)'), GeomFromEWKT('SRID=4674;POINT (-39.042015 -3.410349)'))) / (select extract(epoch from '2026-06-23 17:45:14'::timestamp) - extract(epoch from '2026-06-23 17:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410391)'), GeomFromEWKT('SRID=4674;POINT (-39.042015 -3.410349)'))) / (select extract(epoch from '2026-06-23 17:45:14'::timestamp) - extract(epoch from '2026-06-23 17:45: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'), 46587, 'SRID=4674;POINT (-39.041974 -3.410304)', '2026-06-23 17:45:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042015 -3.410349)'), GeomFromEWKT('SRID=4674;POINT (-39.041974 -3.410304)'))) / (select extract(epoch from '2026-06-23 17:45:23'::timestamp) - extract(epoch from '2026-06-23 17:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042015 -3.410349)'), GeomFromEWKT('SRID=4674;POINT (-39.041974 -3.410304)'))) / (select extract(epoch from '2026-06-23 17:45:23'::timestamp) - extract(epoch from '2026-06-23 17:45: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'), 46587, 'SRID=4674;POINT (-39.041921 -3.41026)', '2026-06-23 17:45:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041974 -3.410304)'), GeomFromEWKT('SRID=4674;POINT (-39.041921 -3.41026)'))) / (select extract(epoch from '2026-06-23 17:45:32'::timestamp) - extract(epoch from '2026-06-23 17:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041974 -3.410304)'), GeomFromEWKT('SRID=4674;POINT (-39.041921 -3.41026)'))) / (select extract(epoch from '2026-06-23 17:45:32'::timestamp) - extract(epoch from '2026-06-23 17:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041863 -3.41022)', '2026-06-23 17:45:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041921 -3.41026)'), GeomFromEWKT('SRID=4674;POINT (-39.041863 -3.41022)'))) / (select extract(epoch from '2026-06-23 17:45:42'::timestamp) - extract(epoch from '2026-06-23 17:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041921 -3.41026)'), GeomFromEWKT('SRID=4674;POINT (-39.041863 -3.41022)'))) / (select extract(epoch from '2026-06-23 17:45:42'::timestamp) - extract(epoch from '2026-06-23 17:45: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'), 46587, 'SRID=4674;POINT (-39.041817 -3.410191)', '2026-06-23 17:45:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041863 -3.41022)'), GeomFromEWKT('SRID=4674;POINT (-39.041817 -3.410191)'))) / (select extract(epoch from '2026-06-23 17:45:50'::timestamp) - extract(epoch from '2026-06-23 17:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041863 -3.41022)'), GeomFromEWKT('SRID=4674;POINT (-39.041817 -3.410191)'))) / (select extract(epoch from '2026-06-23 17:45:50'::timestamp) - extract(epoch from '2026-06-23 17:45: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'), 46587, 'SRID=4674;POINT (-39.041774 -3.410159)', '2026-06-23 17:45:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041817 -3.410191)'), GeomFromEWKT('SRID=4674;POINT (-39.041774 -3.410159)'))) / (select extract(epoch from '2026-06-23 17:45:58'::timestamp) - extract(epoch from '2026-06-23 17:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041817 -3.410191)'), GeomFromEWKT('SRID=4674;POINT (-39.041774 -3.410159)'))) / (select extract(epoch from '2026-06-23 17:45:58'::timestamp) - extract(epoch from '2026-06-23 17:45: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'), 46587, 'SRID=4674;POINT (-39.04173 -3.410125)', '2026-06-23 17:46:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041774 -3.410159)'), GeomFromEWKT('SRID=4674;POINT (-39.04173 -3.410125)'))) / (select extract(epoch from '2026-06-23 17:46:06'::timestamp) - extract(epoch from '2026-06-23 17:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041774 -3.410159)'), GeomFromEWKT('SRID=4674;POINT (-39.04173 -3.410125)'))) / (select extract(epoch from '2026-06-23 17:46:06'::timestamp) - extract(epoch from '2026-06-23 17:45: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'), 46587, 'SRID=4674;POINT (-39.041691 -3.410093)', '2026-06-23 17:46:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04173 -3.410125)'), GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.410093)'))) / (select extract(epoch from '2026-06-23 17:46:13'::timestamp) - extract(epoch from '2026-06-23 17:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04173 -3.410125)'), GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.410093)'))) / (select extract(epoch from '2026-06-23 17:46:13'::timestamp) - extract(epoch from '2026-06-23 17:46: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'), 46587, 'SRID=4674;POINT (-39.041651 -3.410066)', '2026-06-23 17:46:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.410093)'), GeomFromEWKT('SRID=4674;POINT (-39.041651 -3.410066)'))) / (select extract(epoch from '2026-06-23 17:46:21'::timestamp) - extract(epoch from '2026-06-23 17:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.410093)'), GeomFromEWKT('SRID=4674;POINT (-39.041651 -3.410066)'))) / (select extract(epoch from '2026-06-23 17:46:21'::timestamp) - extract(epoch from '2026-06-23 17:46: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'), 46587, 'SRID=4674;POINT (-39.041615 -3.410028)', '2026-06-23 17:46:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041651 -3.410066)'), GeomFromEWKT('SRID=4674;POINT (-39.041615 -3.410028)'))) / (select extract(epoch from '2026-06-23 17:46:27'::timestamp) - extract(epoch from '2026-06-23 17:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041651 -3.410066)'), GeomFromEWKT('SRID=4674;POINT (-39.041615 -3.410028)'))) / (select extract(epoch from '2026-06-23 17:46:27'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041571 -3.409986)', '2026-06-23 17:46:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041615 -3.410028)'), GeomFromEWKT('SRID=4674;POINT (-39.041571 -3.409986)'))) / (select extract(epoch from '2026-06-23 17:46:35'::timestamp) - extract(epoch from '2026-06-23 17:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041615 -3.410028)'), GeomFromEWKT('SRID=4674;POINT (-39.041571 -3.409986)'))) / (select extract(epoch from '2026-06-23 17:46:35'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041523 -3.409958)', '2026-06-23 17:46:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041571 -3.409986)'), GeomFromEWKT('SRID=4674;POINT (-39.041523 -3.409958)'))) / (select extract(epoch from '2026-06-23 17:46:44'::timestamp) - extract(epoch from '2026-06-23 17:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041571 -3.409986)'), GeomFromEWKT('SRID=4674;POINT (-39.041523 -3.409958)'))) / (select extract(epoch from '2026-06-23 17:46:44'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041452 -3.40991)', '2026-06-23 17:46:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041523 -3.409958)'), GeomFromEWKT('SRID=4674;POINT (-39.041452 -3.40991)'))) / (select extract(epoch from '2026-06-23 17:46:56'::timestamp) - extract(epoch from '2026-06-23 17:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041523 -3.409958)'), GeomFromEWKT('SRID=4674;POINT (-39.041452 -3.40991)'))) / (select extract(epoch from '2026-06-23 17:46:56'::timestamp) - extract(epoch from '2026-06-23 17:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041388 -3.409859)', '2026-06-23 17:47:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041452 -3.40991)'), GeomFromEWKT('SRID=4674;POINT (-39.041388 -3.409859)'))) / (select extract(epoch from '2026-06-23 17:47:08'::timestamp) - extract(epoch from '2026-06-23 17:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041452 -3.40991)'), GeomFromEWKT('SRID=4674;POINT (-39.041388 -3.409859)'))) / (select extract(epoch from '2026-06-23 17:47:08'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041335 -3.409818)', '2026-06-23 17:47:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041388 -3.409859)'), GeomFromEWKT('SRID=4674;POINT (-39.041335 -3.409818)'))) / (select extract(epoch from '2026-06-23 17:47:18'::timestamp) - extract(epoch from '2026-06-23 17:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041388 -3.409859)'), GeomFromEWKT('SRID=4674;POINT (-39.041335 -3.409818)'))) / (select extract(epoch from '2026-06-23 17:47:18'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041287 -3.409784)', '2026-06-23 17:47:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041335 -3.409818)'), GeomFromEWKT('SRID=4674;POINT (-39.041287 -3.409784)'))) / (select extract(epoch from '2026-06-23 17:47:26'::timestamp) - extract(epoch from '2026-06-23 17:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041335 -3.409818)'), GeomFromEWKT('SRID=4674;POINT (-39.041287 -3.409784)'))) / (select extract(epoch from '2026-06-23 17:47:26'::timestamp) - extract(epoch from '2026-06-23 17:47: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'), 46587, 'SRID=4674;POINT (-39.041241 -3.409756)', '2026-06-23 17:47:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041287 -3.409784)'), GeomFromEWKT('SRID=4674;POINT (-39.041241 -3.409756)'))) / (select extract(epoch from '2026-06-23 17:47:34'::timestamp) - extract(epoch from '2026-06-23 17:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041287 -3.409784)'), GeomFromEWKT('SRID=4674;POINT (-39.041241 -3.409756)'))) / (select extract(epoch from '2026-06-23 17:47:34'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041191 -3.409722)', '2026-06-23 17:47:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041241 -3.409756)'), GeomFromEWKT('SRID=4674;POINT (-39.041191 -3.409722)'))) / (select extract(epoch from '2026-06-23 17:47:42'::timestamp) - extract(epoch from '2026-06-23 17:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041241 -3.409756)'), GeomFromEWKT('SRID=4674;POINT (-39.041191 -3.409722)'))) / (select extract(epoch from '2026-06-23 17:47:42'::timestamp) - extract(epoch from '2026-06-23 17:47: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'), 46587, 'SRID=4674;POINT (-39.04114 -3.40969)', '2026-06-23 17:47:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041191 -3.409722)'), GeomFromEWKT('SRID=4674;POINT (-39.04114 -3.40969)'))) / (select extract(epoch from '2026-06-23 17:47:50'::timestamp) - extract(epoch from '2026-06-23 17:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041191 -3.409722)'), GeomFromEWKT('SRID=4674;POINT (-39.04114 -3.40969)'))) / (select extract(epoch from '2026-06-23 17:47:50'::timestamp) - extract(epoch from '2026-06-23 17:47:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041086 -3.409652)', '2026-06-23 17:47:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04114 -3.40969)'), GeomFromEWKT('SRID=4674;POINT (-39.041086 -3.409652)'))) / (select extract(epoch from '2026-06-23 17:47:59'::timestamp) - extract(epoch from '2026-06-23 17:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04114 -3.40969)'), GeomFromEWKT('SRID=4674;POINT (-39.041086 -3.409652)'))) / (select extract(epoch from '2026-06-23 17:47:59'::timestamp) - extract(epoch from '2026-06-23 17:47: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'), 46587, 'SRID=4674;POINT (-39.041038 -3.409593)', '2026-06-23 17:48:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041086 -3.409652)'), GeomFromEWKT('SRID=4674;POINT (-39.041038 -3.409593)'))) / (select extract(epoch from '2026-06-23 17:48:10'::timestamp) - extract(epoch from '2026-06-23 17:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041086 -3.409652)'), GeomFromEWKT('SRID=4674;POINT (-39.041038 -3.409593)'))) / (select extract(epoch from '2026-06-23 17:48:10'::timestamp) - extract(epoch from '2026-06-23 17:47: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'), 46587, 'SRID=4674;POINT (-39.040994 -3.409555)', '2026-06-23 17:48:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041038 -3.409593)'), GeomFromEWKT('SRID=4674;POINT (-39.040994 -3.409555)'))) / (select extract(epoch from '2026-06-23 17:48:17'::timestamp) - extract(epoch from '2026-06-23 17:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041038 -3.409593)'), GeomFromEWKT('SRID=4674;POINT (-39.040994 -3.409555)'))) / (select extract(epoch from '2026-06-23 17:48:17'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.040944 -3.409505)', '2026-06-23 17:48:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040994 -3.409555)'), GeomFromEWKT('SRID=4674;POINT (-39.040944 -3.409505)'))) / (select extract(epoch from '2026-06-23 17:48:27'::timestamp) - extract(epoch from '2026-06-23 17:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040994 -3.409555)'), GeomFromEWKT('SRID=4674;POINT (-39.040944 -3.409505)'))) / (select extract(epoch from '2026-06-23 17:48:27'::timestamp) - extract(epoch from '2026-06-23 17:48: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'), 46587, 'SRID=4674;POINT (-39.040921 -3.409461)', '2026-06-23 17:48:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040944 -3.409505)'), GeomFromEWKT('SRID=4674;POINT (-39.040921 -3.409461)'))) / (select extract(epoch from '2026-06-23 17:48:34'::timestamp) - extract(epoch from '2026-06-23 17:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040944 -3.409505)'), GeomFromEWKT('SRID=4674;POINT (-39.040921 -3.409461)'))) / (select extract(epoch from '2026-06-23 17:48:34'::timestamp) - extract(epoch from '2026-06-23 17:48: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'), 46587, 'SRID=4674;POINT (-39.040887 -3.409423)', '2026-06-23 17:48:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040921 -3.409461)'), GeomFromEWKT('SRID=4674;POINT (-39.040887 -3.409423)'))) / (select extract(epoch from '2026-06-23 17:48:42'::timestamp) - extract(epoch from '2026-06-23 17:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040921 -3.409461)'), GeomFromEWKT('SRID=4674;POINT (-39.040887 -3.409423)'))) / (select extract(epoch from '2026-06-23 17:48:42'::timestamp) - extract(epoch from '2026-06-23 17:48: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'), 46587, 'SRID=4674;POINT (-39.040863 -3.409399)', '2026-06-23 17:48:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040887 -3.409423)'), GeomFromEWKT('SRID=4674;POINT (-39.040863 -3.409399)'))) / (select extract(epoch from '2026-06-23 17:48:48'::timestamp) - extract(epoch from '2026-06-23 17:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040887 -3.409423)'), GeomFromEWKT('SRID=4674;POINT (-39.040863 -3.409399)'))) / (select extract(epoch from '2026-06-23 17:48:48'::timestamp) - extract(epoch from '2026-06-23 17:48: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'), 46587, 'SRID=4674;POINT (-39.040842 -3.409382)', '2026-06-23 17:48:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040863 -3.409399)'), GeomFromEWKT('SRID=4674;POINT (-39.040842 -3.409382)'))) / (select extract(epoch from '2026-06-23 17:48:51'::timestamp) - extract(epoch from '2026-06-23 17:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040863 -3.409399)'), GeomFromEWKT('SRID=4674;POINT (-39.040842 -3.409382)'))) / (select extract(epoch from '2026-06-23 17:48:51'::timestamp) - extract(epoch from '2026-06-23 17:48: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'), 46587, 'SRID=4674;POINT (-39.040827 -3.409363)', '2026-06-23 17:48:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040842 -3.409382)'), GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.409363)'))) / (select extract(epoch from '2026-06-23 17:48:54'::timestamp) - extract(epoch from '2026-06-23 17:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040842 -3.409382)'), GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.409363)'))) / (select extract(epoch from '2026-06-23 17:48:54'::timestamp) - extract(epoch from '2026-06-23 17:48: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'), 46587, 'SRID=4674;POINT (-39.040792 -3.40933)', '2026-06-23 17:49:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.409363)'), GeomFromEWKT('SRID=4674;POINT (-39.040792 -3.40933)'))) / (select extract(epoch from '2026-06-23 17:49:01'::timestamp) - extract(epoch from '2026-06-23 17:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.409363)'), GeomFromEWKT('SRID=4674;POINT (-39.040792 -3.40933)'))) / (select extract(epoch from '2026-06-23 17:49:01'::timestamp) - extract(epoch from '2026-06-23 17:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040736 -3.409296)', '2026-06-23 17:49:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040792 -3.40933)'), GeomFromEWKT('SRID=4674;POINT (-39.040736 -3.409296)'))) / (select extract(epoch from '2026-06-23 17:49:11'::timestamp) - extract(epoch from '2026-06-23 17:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040792 -3.40933)'), GeomFromEWKT('SRID=4674;POINT (-39.040736 -3.409296)'))) / (select extract(epoch from '2026-06-23 17:49:11'::timestamp) - extract(epoch from '2026-06-23 17:49: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'), 46587, 'SRID=4674;POINT (-39.040686 -3.409279)', '2026-06-23 17:49:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040736 -3.409296)'), GeomFromEWKT('SRID=4674;POINT (-39.040686 -3.409279)'))) / (select extract(epoch from '2026-06-23 17:49:19'::timestamp) - extract(epoch from '2026-06-23 17:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040736 -3.409296)'), GeomFromEWKT('SRID=4674;POINT (-39.040686 -3.409279)'))) / (select extract(epoch from '2026-06-23 17:49:19'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.040616 -3.409278)', '2026-06-23 17:49:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040686 -3.409279)'), GeomFromEWKT('SRID=4674;POINT (-39.040616 -3.409278)'))) / (select extract(epoch from '2026-06-23 17:49:30'::timestamp) - extract(epoch from '2026-06-23 17:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040686 -3.409279)'), GeomFromEWKT('SRID=4674;POINT (-39.040616 -3.409278)'))) / (select extract(epoch from '2026-06-23 17:49:30'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.040549 -3.409281)', '2026-06-23 17:49:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040616 -3.409278)'), GeomFromEWKT('SRID=4674;POINT (-39.040549 -3.409281)'))) / (select extract(epoch from '2026-06-23 17:49:39'::timestamp) - extract(epoch from '2026-06-23 17:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040616 -3.409278)'), GeomFromEWKT('SRID=4674;POINT (-39.040549 -3.409281)'))) / (select extract(epoch from '2026-06-23 17:49:39'::timestamp) - extract(epoch from '2026-06-23 17:49:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040494 -3.409286)', '2026-06-23 17:49:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040549 -3.409281)'), GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.409286)'))) / (select extract(epoch from '2026-06-23 17:49:46'::timestamp) - extract(epoch from '2026-06-23 17:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040549 -3.409281)'), GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.409286)'))) / (select extract(epoch from '2026-06-23 17:49:46'::timestamp) - extract(epoch from '2026-06-23 17:49: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'), 46587, 'SRID=4674;POINT (-39.040429 -3.40929)', '2026-06-23 17:49:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.409286)'), GeomFromEWKT('SRID=4674;POINT (-39.040429 -3.40929)'))) / (select extract(epoch from '2026-06-23 17:49:55'::timestamp) - extract(epoch from '2026-06-23 17:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040494 -3.409286)'), GeomFromEWKT('SRID=4674;POINT (-39.040429 -3.40929)'))) / (select extract(epoch from '2026-06-23 17:49:55'::timestamp) - extract(epoch from '2026-06-23 17:49: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'), 46587, 'SRID=4674;POINT (-39.040375 -3.409297)', '2026-06-23 17:50:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040429 -3.40929)'), GeomFromEWKT('SRID=4674;POINT (-39.040375 -3.409297)'))) / (select extract(epoch from '2026-06-23 17:50:04'::timestamp) - extract(epoch from '2026-06-23 17:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040429 -3.40929)'), GeomFromEWKT('SRID=4674;POINT (-39.040375 -3.409297)'))) / (select extract(epoch from '2026-06-23 17:50:04'::timestamp) - extract(epoch from '2026-06-23 17:49:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040328 -3.409305)', '2026-06-23 17:50:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040375 -3.409297)'), GeomFromEWKT('SRID=4674;POINT (-39.040328 -3.409305)'))) / (select extract(epoch from '2026-06-23 17:50:12'::timestamp) - extract(epoch from '2026-06-23 17:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040375 -3.409297)'), GeomFromEWKT('SRID=4674;POINT (-39.040328 -3.409305)'))) / (select extract(epoch from '2026-06-23 17:50:12'::timestamp) - extract(epoch from '2026-06-23 17:50: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'), 46587, 'SRID=4674;POINT (-39.040265 -3.409308)', '2026-06-23 17:50:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040328 -3.409305)'), GeomFromEWKT('SRID=4674;POINT (-39.040265 -3.409308)'))) / (select extract(epoch from '2026-06-23 17:50:20'::timestamp) - extract(epoch from '2026-06-23 17:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040328 -3.409305)'), GeomFromEWKT('SRID=4674;POINT (-39.040265 -3.409308)'))) / (select extract(epoch from '2026-06-23 17:50:20'::timestamp) - extract(epoch from '2026-06-23 17:50: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'), 46587, 'SRID=4674;POINT (-39.040189 -3.409326)', '2026-06-23 17:50:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040265 -3.409308)'), GeomFromEWKT('SRID=4674;POINT (-39.040189 -3.409326)'))) / (select extract(epoch from '2026-06-23 17:50:30'::timestamp) - extract(epoch from '2026-06-23 17:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040265 -3.409308)'), GeomFromEWKT('SRID=4674;POINT (-39.040189 -3.409326)'))) / (select extract(epoch from '2026-06-23 17:50:30'::timestamp) - extract(epoch from '2026-06-23 17:50: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'), 46587, 'SRID=4674;POINT (-39.04011 -3.409331)', '2026-06-23 17:50:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040189 -3.409326)'), GeomFromEWKT('SRID=4674;POINT (-39.04011 -3.409331)'))) / (select extract(epoch from '2026-06-23 17:50:40'::timestamp) - extract(epoch from '2026-06-23 17:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040189 -3.409326)'), GeomFromEWKT('SRID=4674;POINT (-39.04011 -3.409331)'))) / (select extract(epoch from '2026-06-23 17:50:40'::timestamp) - extract(epoch from '2026-06-23 17:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04005 -3.409337)', '2026-06-23 17:50:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04011 -3.409331)'), GeomFromEWKT('SRID=4674;POINT (-39.04005 -3.409337)'))) / (select extract(epoch from '2026-06-23 17:50:49'::timestamp) - extract(epoch from '2026-06-23 17:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04011 -3.409331)'), GeomFromEWKT('SRID=4674;POINT (-39.04005 -3.409337)'))) / (select extract(epoch from '2026-06-23 17:50:49'::timestamp) - extract(epoch from '2026-06-23 17:50: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'), 46587, 'SRID=4674;POINT (-39.040026 -3.409344)', '2026-06-23 17:50:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04005 -3.409337)'), GeomFromEWKT('SRID=4674;POINT (-39.040026 -3.409344)'))) / (select extract(epoch from '2026-06-23 17:50:56'::timestamp) - extract(epoch from '2026-06-23 17:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04005 -3.409337)'), GeomFromEWKT('SRID=4674;POINT (-39.040026 -3.409344)'))) / (select extract(epoch from '2026-06-23 17:50:56'::timestamp) - extract(epoch from '2026-06-23 17:50: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'), 46587, 'SRID=4674;POINT (-39.04003 -3.409351)', '2026-06-23 17:51:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040026 -3.409344)'), GeomFromEWKT('SRID=4674;POINT (-39.04003 -3.409351)'))) / (select extract(epoch from '2026-06-23 17:51:09'::timestamp) - extract(epoch from '2026-06-23 17:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040026 -3.409344)'), GeomFromEWKT('SRID=4674;POINT (-39.04003 -3.409351)'))) / (select extract(epoch from '2026-06-23 17:51:09'::timestamp) - extract(epoch from '2026-06-23 17:50: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'), 46587, 'SRID=4674;POINT (-39.040061 -3.409358)', '2026-06-23 17:51:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04003 -3.409351)'), GeomFromEWKT('SRID=4674;POINT (-39.040061 -3.409358)'))) / (select extract(epoch from '2026-06-23 17:51:22'::timestamp) - extract(epoch from '2026-06-23 17:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04003 -3.409351)'), GeomFromEWKT('SRID=4674;POINT (-39.040061 -3.409358)'))) / (select extract(epoch from '2026-06-23 17:51:22'::timestamp) - extract(epoch from '2026-06-23 17:51: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'), 46587, 'SRID=4674;POINT (-39.040097 -3.409357)', '2026-06-23 17:51:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040061 -3.409358)'), GeomFromEWKT('SRID=4674;POINT (-39.040097 -3.409357)'))) / (select extract(epoch from '2026-06-23 17:51:34'::timestamp) - extract(epoch from '2026-06-23 17:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040061 -3.409358)'), GeomFromEWKT('SRID=4674;POINT (-39.040097 -3.409357)'))) / (select extract(epoch from '2026-06-23 17:51:34'::timestamp) - extract(epoch from '2026-06-23 17:51: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'), 46587, 'SRID=4674;POINT (-39.040118 -3.409355)', '2026-06-23 17:51:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040097 -3.409357)'), GeomFromEWKT('SRID=4674;POINT (-39.040118 -3.409355)'))) / (select extract(epoch from '2026-06-23 17:51:43'::timestamp) - extract(epoch from '2026-06-23 17:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040097 -3.409357)'), GeomFromEWKT('SRID=4674;POINT (-39.040118 -3.409355)'))) / (select extract(epoch from '2026-06-23 17:51:43'::timestamp) - extract(epoch from '2026-06-23 17:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040154 -3.409347)', '2026-06-23 17:51:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040118 -3.409355)'), GeomFromEWKT('SRID=4674;POINT (-39.040154 -3.409347)'))) / (select extract(epoch from '2026-06-23 17:51:53'::timestamp) - extract(epoch from '2026-06-23 17:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040118 -3.409355)'), GeomFromEWKT('SRID=4674;POINT (-39.040154 -3.409347)'))) / (select extract(epoch from '2026-06-23 17:51:53'::timestamp) - extract(epoch from '2026-06-23 17:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040203 -3.409341)', '2026-06-23 17:52:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040154 -3.409347)'), GeomFromEWKT('SRID=4674;POINT (-39.040203 -3.409341)'))) / (select extract(epoch from '2026-06-23 17:52:07'::timestamp) - extract(epoch from '2026-06-23 17:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040154 -3.409347)'), GeomFromEWKT('SRID=4674;POINT (-39.040203 -3.409341)'))) / (select extract(epoch from '2026-06-23 17:52:07'::timestamp) - extract(epoch from '2026-06-23 17:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040243 -3.409334)', '2026-06-23 17:52:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040203 -3.409341)'), GeomFromEWKT('SRID=4674;POINT (-39.040243 -3.409334)'))) / (select extract(epoch from '2026-06-23 17:52:22'::timestamp) - extract(epoch from '2026-06-23 17:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040203 -3.409341)'), GeomFromEWKT('SRID=4674;POINT (-39.040243 -3.409334)'))) / (select extract(epoch from '2026-06-23 17:52:22'::timestamp) - extract(epoch from '2026-06-23 17:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.0403 -3.409354)', '2026-06-23 17:52:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040243 -3.409334)'), GeomFromEWKT('SRID=4674;POINT (-39.0403 -3.409354)'))) / (select extract(epoch from '2026-06-23 17:52:44'::timestamp) - extract(epoch from '2026-06-23 17:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040243 -3.409334)'), GeomFromEWKT('SRID=4674;POINT (-39.0403 -3.409354)'))) / (select extract(epoch from '2026-06-23 17:52:44'::timestamp) - extract(epoch from '2026-06-23 17:52: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'), 46587, 'SRID=4674;POINT (-39.040345 -3.40936)', '2026-06-23 17:53:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0403 -3.409354)'), GeomFromEWKT('SRID=4674;POINT (-39.040345 -3.40936)'))) / (select extract(epoch from '2026-06-23 17:53:04'::timestamp) - extract(epoch from '2026-06-23 17:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0403 -3.409354)'), GeomFromEWKT('SRID=4674;POINT (-39.040345 -3.40936)'))) / (select extract(epoch from '2026-06-23 17:53:04'::timestamp) - extract(epoch from '2026-06-23 17:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040343 -3.409354)', '2026-06-23 17:53:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040345 -3.40936)'), GeomFromEWKT('SRID=4674;POINT (-39.040343 -3.409354)'))) / (select extract(epoch from '2026-06-23 17:53:22'::timestamp) - extract(epoch from '2026-06-23 17:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040345 -3.40936)'), GeomFromEWKT('SRID=4674;POINT (-39.040343 -3.409354)'))) / (select extract(epoch from '2026-06-23 17:53:22'::timestamp) - extract(epoch from '2026-06-23 17:53: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'), 46587, 'SRID=4674;POINT (-39.040382 -3.409364)', '2026-06-23 17:53:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040343 -3.409354)'), GeomFromEWKT('SRID=4674;POINT (-39.040382 -3.409364)'))) / (select extract(epoch from '2026-06-23 17:53:43'::timestamp) - extract(epoch from '2026-06-23 17:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040343 -3.409354)'), GeomFromEWKT('SRID=4674;POINT (-39.040382 -3.409364)'))) / (select extract(epoch from '2026-06-23 17:53:43'::timestamp) - extract(epoch from '2026-06-23 17:53: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'), 46587, 'SRID=4674;POINT (-39.040413 -3.40938)', '2026-06-23 17:54:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040382 -3.409364)'), GeomFromEWKT('SRID=4674;POINT (-39.040413 -3.40938)'))) / (select extract(epoch from '2026-06-23 17:54:06'::timestamp) - extract(epoch from '2026-06-23 17:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040382 -3.409364)'), GeomFromEWKT('SRID=4674;POINT (-39.040413 -3.40938)'))) / (select extract(epoch from '2026-06-23 17:54:06'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.040432 -3.409393)', '2026-06-23 17:54:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040413 -3.40938)'), GeomFromEWKT('SRID=4674;POINT (-39.040432 -3.409393)'))) / (select extract(epoch from '2026-06-23 17:54:29'::timestamp) - extract(epoch from '2026-06-23 17:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040413 -3.40938)'), GeomFromEWKT('SRID=4674;POINT (-39.040432 -3.409393)'))) / (select extract(epoch from '2026-06-23 17:54:29'::timestamp) - extract(epoch from '2026-06-23 17:54: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'), 46587, 'SRID=4674;POINT (-39.040463 -3.409389)', '2026-06-23 17:54:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040432 -3.409393)'), GeomFromEWKT('SRID=4674;POINT (-39.040463 -3.409389)'))) / (select extract(epoch from '2026-06-23 17:54:53'::timestamp) - extract(epoch from '2026-06-23 17:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040432 -3.409393)'), GeomFromEWKT('SRID=4674;POINT (-39.040463 -3.409389)'))) / (select extract(epoch from '2026-06-23 17:54:53'::timestamp) - extract(epoch from '2026-06-23 17:54: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'), 46587, 'SRID=4674;POINT (-39.040492 -3.409368)', '2026-06-23 17:55:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040463 -3.409389)'), GeomFromEWKT('SRID=4674;POINT (-39.040492 -3.409368)'))) / (select extract(epoch from '2026-06-23 17:55:18'::timestamp) - extract(epoch from '2026-06-23 17:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040463 -3.409389)'), GeomFromEWKT('SRID=4674;POINT (-39.040492 -3.409368)'))) / (select extract(epoch from '2026-06-23 17:55:18'::timestamp) - extract(epoch from '2026-06-23 17:54:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040533 -3.409362)', '2026-06-23 17:55:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040492 -3.409368)'), GeomFromEWKT('SRID=4674;POINT (-39.040533 -3.409362)'))) / (select extract(epoch from '2026-06-23 17:55:40'::timestamp) - extract(epoch from '2026-06-23 17:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040492 -3.409368)'), GeomFromEWKT('SRID=4674;POINT (-39.040533 -3.409362)'))) / (select extract(epoch from '2026-06-23 17:55:40'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.040556 -3.409374)', '2026-06-23 17:55:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040533 -3.409362)'), GeomFromEWKT('SRID=4674;POINT (-39.040556 -3.409374)'))) / (select extract(epoch from '2026-06-23 17:55:54'::timestamp) - extract(epoch from '2026-06-23 17:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040533 -3.409362)'), GeomFromEWKT('SRID=4674;POINT (-39.040556 -3.409374)'))) / (select extract(epoch from '2026-06-23 17:55:54'::timestamp) - extract(epoch from '2026-06-23 17:55:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040578 -3.409377)', '2026-06-23 17:56:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040556 -3.409374)'), GeomFromEWKT('SRID=4674;POINT (-39.040578 -3.409377)'))) / (select extract(epoch from '2026-06-23 17:56:07'::timestamp) - extract(epoch from '2026-06-23 17:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040556 -3.409374)'), GeomFromEWKT('SRID=4674;POINT (-39.040578 -3.409377)'))) / (select extract(epoch from '2026-06-23 17:56:07'::timestamp) - extract(epoch from '2026-06-23 17:55: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'), 46587, 'SRID=4674;POINT (-39.040593 -3.409376)', '2026-06-23 17:56:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040578 -3.409377)'), GeomFromEWKT('SRID=4674;POINT (-39.040593 -3.409376)'))) / (select extract(epoch from '2026-06-23 17:56:17'::timestamp) - extract(epoch from '2026-06-23 17:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040578 -3.409377)'), GeomFromEWKT('SRID=4674;POINT (-39.040593 -3.409376)'))) / (select extract(epoch from '2026-06-23 17:56:17'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.040625 -3.409377)', '2026-06-23 17:56:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040593 -3.409376)'), GeomFromEWKT('SRID=4674;POINT (-39.040625 -3.409377)'))) / (select extract(epoch from '2026-06-23 17:56:29'::timestamp) - extract(epoch from '2026-06-23 17:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040593 -3.409376)'), GeomFromEWKT('SRID=4674;POINT (-39.040625 -3.409377)'))) / (select extract(epoch from '2026-06-23 17:56:29'::timestamp) - extract(epoch from '2026-06-23 17:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040649 -3.409372)', '2026-06-23 17:56:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040625 -3.409377)'), GeomFromEWKT('SRID=4674;POINT (-39.040649 -3.409372)'))) / (select extract(epoch from '2026-06-23 17:56:39'::timestamp) - extract(epoch from '2026-06-23 17:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040625 -3.409377)'), GeomFromEWKT('SRID=4674;POINT (-39.040649 -3.409372)'))) / (select extract(epoch from '2026-06-23 17:56:39'::timestamp) - extract(epoch from '2026-06-23 17:56: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'), 46587, 'SRID=4674;POINT (-39.040684 -3.409372)', '2026-06-23 17:56:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040649 -3.409372)'), GeomFromEWKT('SRID=4674;POINT (-39.040684 -3.409372)'))) / (select extract(epoch from '2026-06-23 17:56:53'::timestamp) - extract(epoch from '2026-06-23 17:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040649 -3.409372)'), GeomFromEWKT('SRID=4674;POINT (-39.040684 -3.409372)'))) / (select extract(epoch from '2026-06-23 17:56:53'::timestamp) - extract(epoch from '2026-06-23 17:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040711 -3.409371)', '2026-06-23 17:57:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040684 -3.409372)'), GeomFromEWKT('SRID=4674;POINT (-39.040711 -3.409371)'))) / (select extract(epoch from '2026-06-23 17:57:02'::timestamp) - extract(epoch from '2026-06-23 17:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040684 -3.409372)'), GeomFromEWKT('SRID=4674;POINT (-39.040711 -3.409371)'))) / (select extract(epoch from '2026-06-23 17:57:02'::timestamp) - extract(epoch from '2026-06-23 17:56:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040738 -3.409365)', '2026-06-23 17:57:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040711 -3.409371)'), GeomFromEWKT('SRID=4674;POINT (-39.040738 -3.409365)'))) / (select extract(epoch from '2026-06-23 17:57:12'::timestamp) - extract(epoch from '2026-06-23 17:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040711 -3.409371)'), GeomFromEWKT('SRID=4674;POINT (-39.040738 -3.409365)'))) / (select extract(epoch from '2026-06-23 17:57:12'::timestamp) - extract(epoch from '2026-06-23 17:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040796 -3.409357)', '2026-06-23 17:57:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040738 -3.409365)'), GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.409357)'))) / (select extract(epoch from '2026-06-23 17:57:30'::timestamp) - extract(epoch from '2026-06-23 17:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040738 -3.409365)'), GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.409357)'))) / (select extract(epoch from '2026-06-23 17:57:30'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.040861 -3.409346)', '2026-06-23 17:57:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.409357)'), GeomFromEWKT('SRID=4674;POINT (-39.040861 -3.409346)'))) / (select extract(epoch from '2026-06-23 17:57:53'::timestamp) - extract(epoch from '2026-06-23 17:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.409357)'), GeomFromEWKT('SRID=4674;POINT (-39.040861 -3.409346)'))) / (select extract(epoch from '2026-06-23 17:57:53'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.0409 -3.40935)', '2026-06-23 17:58:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040861 -3.409346)'), GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.40935)'))) / (select extract(epoch from '2026-06-23 17:58:11'::timestamp) - extract(epoch from '2026-06-23 17:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040861 -3.409346)'), GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.40935)'))) / (select extract(epoch from '2026-06-23 17:58:11'::timestamp) - extract(epoch from '2026-06-23 17:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.040922 -3.409352)', '2026-06-23 17:58:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.40935)'), GeomFromEWKT('SRID=4674;POINT (-39.040922 -3.409352)'))) / (select extract(epoch from '2026-06-23 17:58:24'::timestamp) - extract(epoch from '2026-06-23 17:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0409 -3.40935)'), GeomFromEWKT('SRID=4674;POINT (-39.040922 -3.409352)'))) / (select extract(epoch from '2026-06-23 17:58:24'::timestamp) - extract(epoch from '2026-06-23 17:58: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'), 46587, 'SRID=4674;POINT (-39.040952 -3.409353)', '2026-06-23 17:58:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040922 -3.409352)'), GeomFromEWKT('SRID=4674;POINT (-39.040952 -3.409353)'))) / (select extract(epoch from '2026-06-23 17:58:36'::timestamp) - extract(epoch from '2026-06-23 17:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040922 -3.409352)'), GeomFromEWKT('SRID=4674;POINT (-39.040952 -3.409353)'))) / (select extract(epoch from '2026-06-23 17:58:36'::timestamp) - extract(epoch from '2026-06-23 17:58: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'), 46587, 'SRID=4674;POINT (-39.040981 -3.409345)', '2026-06-23 17:58:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040952 -3.409353)'), GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.409345)'))) / (select extract(epoch from '2026-06-23 17:58:47'::timestamp) - extract(epoch from '2026-06-23 17:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040952 -3.409353)'), GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.409345)'))) / (select extract(epoch from '2026-06-23 17:58:47'::timestamp) - extract(epoch from '2026-06-23 17:58: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'), 46587, 'SRID=4674;POINT (-39.041003 -3.409343)', '2026-06-23 17:58:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.409345)'), GeomFromEWKT('SRID=4674;POINT (-39.041003 -3.409343)'))) / (select extract(epoch from '2026-06-23 17:58:59'::timestamp) - extract(epoch from '2026-06-23 17:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.409345)'), GeomFromEWKT('SRID=4674;POINT (-39.041003 -3.409343)'))) / (select extract(epoch from '2026-06-23 17:58:59'::timestamp) - extract(epoch from '2026-06-23 17:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041042 -3.409354)', '2026-06-23 17:59:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041003 -3.409343)'), GeomFromEWKT('SRID=4674;POINT (-39.041042 -3.409354)'))) / (select extract(epoch from '2026-06-23 17:59:17'::timestamp) - extract(epoch from '2026-06-23 17:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041003 -3.409343)'), GeomFromEWKT('SRID=4674;POINT (-39.041042 -3.409354)'))) / (select extract(epoch from '2026-06-23 17:59:17'::timestamp) - extract(epoch from '2026-06-23 17:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041075 -3.409356)', '2026-06-23 17:59:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041042 -3.409354)'), GeomFromEWKT('SRID=4674;POINT (-39.041075 -3.409356)'))) / (select extract(epoch from '2026-06-23 17:59:34'::timestamp) - extract(epoch from '2026-06-23 17:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041042 -3.409354)'), GeomFromEWKT('SRID=4674;POINT (-39.041075 -3.409356)'))) / (select extract(epoch from '2026-06-23 17:59:34'::timestamp) - extract(epoch from '2026-06-23 17:59: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'), 46587, 'SRID=4674;POINT (-39.041099 -3.409349)', '2026-06-23 17:59:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041075 -3.409356)'), GeomFromEWKT('SRID=4674;POINT (-39.041099 -3.409349)'))) / (select extract(epoch from '2026-06-23 17:59:46'::timestamp) - extract(epoch from '2026-06-23 17:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041075 -3.409356)'), GeomFromEWKT('SRID=4674;POINT (-39.041099 -3.409349)'))) / (select extract(epoch from '2026-06-23 17:59:46'::timestamp) - extract(epoch from '2026-06-23 17:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041121 -3.409346)', '2026-06-23 18:00:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041099 -3.409349)'), GeomFromEWKT('SRID=4674;POINT (-39.041121 -3.409346)'))) / (select extract(epoch from '2026-06-23 18:00:00'::timestamp) - extract(epoch from '2026-06-23 17:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041099 -3.409349)'), GeomFromEWKT('SRID=4674;POINT (-39.041121 -3.409346)'))) / (select extract(epoch from '2026-06-23 18:00:00'::timestamp) - extract(epoch from '2026-06-23 17:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041142 -3.409349)', '2026-06-23 18:00:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041121 -3.409346)'), GeomFromEWKT('SRID=4674;POINT (-39.041142 -3.409349)'))) / (select extract(epoch from '2026-06-23 18:00:11'::timestamp) - extract(epoch from '2026-06-23 18:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041121 -3.409346)'), GeomFromEWKT('SRID=4674;POINT (-39.041142 -3.409349)'))) / (select extract(epoch from '2026-06-23 18:00:11'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041188 -3.409344)', '2026-06-23 18:00:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041142 -3.409349)'), GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.409344)'))) / (select extract(epoch from '2026-06-23 18:00:33'::timestamp) - extract(epoch from '2026-06-23 18:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041142 -3.409349)'), GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.409344)'))) / (select extract(epoch from '2026-06-23 18:00:33'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041235 -3.409349)', '2026-06-23 18:00:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.409344)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.409349)'))) / (select extract(epoch from '2026-06-23 18:00:51'::timestamp) - extract(epoch from '2026-06-23 18:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.409344)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.409349)'))) / (select extract(epoch from '2026-06-23 18:00:51'::timestamp) - extract(epoch from '2026-06-23 18:00: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'), 46587, 'SRID=4674;POINT (-39.041271 -3.409346)', '2026-06-23 18:01:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.409349)'), GeomFromEWKT('SRID=4674;POINT (-39.041271 -3.409346)'))) / (select extract(epoch from '2026-06-23 18:01:03'::timestamp) - extract(epoch from '2026-06-23 18:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.409349)'), GeomFromEWKT('SRID=4674;POINT (-39.041271 -3.409346)'))) / (select extract(epoch from '2026-06-23 18:01:03'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041282 -3.409345)', '2026-06-23 18:01:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041271 -3.409346)'), GeomFromEWKT('SRID=4674;POINT (-39.041282 -3.409345)'))) / (select extract(epoch from '2026-06-23 18:01:15'::timestamp) - extract(epoch from '2026-06-23 18:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041271 -3.409346)'), GeomFromEWKT('SRID=4674;POINT (-39.041282 -3.409345)'))) / (select extract(epoch from '2026-06-23 18:01:15'::timestamp) - extract(epoch from '2026-06-23 18:01: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'), 46587, 'SRID=4674;POINT (-39.041289 -3.409348)', '2026-06-23 18:01:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041282 -3.409345)'), GeomFromEWKT('SRID=4674;POINT (-39.041289 -3.409348)'))) / (select extract(epoch from '2026-06-23 18:01:23'::timestamp) - extract(epoch from '2026-06-23 18:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041282 -3.409345)'), GeomFromEWKT('SRID=4674;POINT (-39.041289 -3.409348)'))) / (select extract(epoch from '2026-06-23 18:01:23'::timestamp) - extract(epoch from '2026-06-23 18:01: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'), 46587, 'SRID=4674;POINT (-39.041306 -3.409352)', '2026-06-23 18:01:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041289 -3.409348)'), GeomFromEWKT('SRID=4674;POINT (-39.041306 -3.409352)'))) / (select extract(epoch from '2026-06-23 18:01:30'::timestamp) - extract(epoch from '2026-06-23 18:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041289 -3.409348)'), GeomFromEWKT('SRID=4674;POINT (-39.041306 -3.409352)'))) / (select extract(epoch from '2026-06-23 18:01:30'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041322 -3.409351)', '2026-06-23 18:01:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041306 -3.409352)'), GeomFromEWKT('SRID=4674;POINT (-39.041322 -3.409351)'))) / (select extract(epoch from '2026-06-23 18:01:38'::timestamp) - extract(epoch from '2026-06-23 18:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041306 -3.409352)'), GeomFromEWKT('SRID=4674;POINT (-39.041322 -3.409351)'))) / (select extract(epoch from '2026-06-23 18:01:38'::timestamp) - extract(epoch from '2026-06-23 18:01: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'), 46587, 'SRID=4674;POINT (-39.041351 -3.409348)', '2026-06-23 18:01:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041322 -3.409351)'), GeomFromEWKT('SRID=4674;POINT (-39.041351 -3.409348)'))) / (select extract(epoch from '2026-06-23 18:01:50'::timestamp) - extract(epoch from '2026-06-23 18:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041322 -3.409351)'), GeomFromEWKT('SRID=4674;POINT (-39.041351 -3.409348)'))) / (select extract(epoch from '2026-06-23 18:01:50'::timestamp) - extract(epoch from '2026-06-23 18:01: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'), 46587, 'SRID=4674;POINT (-39.04136 -3.409338)', '2026-06-23 18:02:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041351 -3.409348)'), GeomFromEWKT('SRID=4674;POINT (-39.04136 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:02:01'::timestamp) - extract(epoch from '2026-06-23 18:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041351 -3.409348)'), GeomFromEWKT('SRID=4674;POINT (-39.04136 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:02:01'::timestamp) - extract(epoch from '2026-06-23 18:01: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'), 46587, 'SRID=4674;POINT (-39.041372 -3.409329)', '2026-06-23 18:02:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04136 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.041372 -3.409329)'))) / (select extract(epoch from '2026-06-23 18:02:12'::timestamp) - extract(epoch from '2026-06-23 18:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04136 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.041372 -3.409329)'))) / (select extract(epoch from '2026-06-23 18:02:12'::timestamp) - extract(epoch from '2026-06-23 18:02: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'), 46587, 'SRID=4674;POINT (-39.041391 -3.409326)', '2026-06-23 18:02:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041372 -3.409329)'), GeomFromEWKT('SRID=4674;POINT (-39.041391 -3.409326)'))) / (select extract(epoch from '2026-06-23 18:02:20'::timestamp) - extract(epoch from '2026-06-23 18:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041372 -3.409329)'), GeomFromEWKT('SRID=4674;POINT (-39.041391 -3.409326)'))) / (select extract(epoch from '2026-06-23 18:02:20'::timestamp) - extract(epoch from '2026-06-23 18:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041406 -3.409332)', '2026-06-23 18:02:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041391 -3.409326)'), GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.409332)'))) / (select extract(epoch from '2026-06-23 18:02:29'::timestamp) - extract(epoch from '2026-06-23 18:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041391 -3.409326)'), GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.409332)'))) / (select extract(epoch from '2026-06-23 18:02:29'::timestamp) - extract(epoch from '2026-06-23 18:02: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'), 46587, 'SRID=4674;POINT (-39.041412 -3.409345)', '2026-06-23 18:02:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.409332)'), GeomFromEWKT('SRID=4674;POINT (-39.041412 -3.409345)'))) / (select extract(epoch from '2026-06-23 18:02:38'::timestamp) - extract(epoch from '2026-06-23 18:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041406 -3.409332)'), GeomFromEWKT('SRID=4674;POINT (-39.041412 -3.409345)'))) / (select extract(epoch from '2026-06-23 18:02:38'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.041427 -3.409332)', '2026-06-23 18:02:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041412 -3.409345)'), GeomFromEWKT('SRID=4674;POINT (-39.041427 -3.409332)'))) / (select extract(epoch from '2026-06-23 18:02:45'::timestamp) - extract(epoch from '2026-06-23 18:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041412 -3.409345)'), GeomFromEWKT('SRID=4674;POINT (-39.041427 -3.409332)'))) / (select extract(epoch from '2026-06-23 18:02:45'::timestamp) - extract(epoch from '2026-06-23 18:02: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'), 46587, 'SRID=4674;POINT (-39.041451 -3.409332)', '2026-06-23 18:02:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041427 -3.409332)'), GeomFromEWKT('SRID=4674;POINT (-39.041451 -3.409332)'))) / (select extract(epoch from '2026-06-23 18:02:55'::timestamp) - extract(epoch from '2026-06-23 18:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041427 -3.409332)'), GeomFromEWKT('SRID=4674;POINT (-39.041451 -3.409332)'))) / (select extract(epoch from '2026-06-23 18:02:55'::timestamp) - extract(epoch from '2026-06-23 18:02: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'), 46587, 'SRID=4674;POINT (-39.041474 -3.40933)', '2026-06-23 18:03:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041451 -3.409332)'), GeomFromEWKT('SRID=4674;POINT (-39.041474 -3.40933)'))) / (select extract(epoch from '2026-06-23 18:03:06'::timestamp) - extract(epoch from '2026-06-23 18:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041451 -3.409332)'), GeomFromEWKT('SRID=4674;POINT (-39.041474 -3.40933)'))) / (select extract(epoch from '2026-06-23 18:03:06'::timestamp) - extract(epoch from '2026-06-23 18:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041498 -3.409338)', '2026-06-23 18:03:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041474 -3.40933)'), GeomFromEWKT('SRID=4674;POINT (-39.041498 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:03:16'::timestamp) - extract(epoch from '2026-06-23 18:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041474 -3.40933)'), GeomFromEWKT('SRID=4674;POINT (-39.041498 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:03:16'::timestamp) - extract(epoch from '2026-06-23 18:03: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'), 46587, 'SRID=4674;POINT (-39.041511 -3.409338)', '2026-06-23 18:03:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041498 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.041511 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:03:24'::timestamp) - extract(epoch from '2026-06-23 18:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041498 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.041511 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:03:24'::timestamp) - extract(epoch from '2026-06-23 18:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041532 -3.409341)', '2026-06-23 18:03:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041511 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.041532 -3.409341)'))) / (select extract(epoch from '2026-06-23 18:03:34'::timestamp) - extract(epoch from '2026-06-23 18:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041511 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.041532 -3.409341)'))) / (select extract(epoch from '2026-06-23 18:03:34'::timestamp) - extract(epoch from '2026-06-23 18:03: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'), 46587, 'SRID=4674;POINT (-39.041552 -3.409341)', '2026-06-23 18:03:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041532 -3.409341)'), GeomFromEWKT('SRID=4674;POINT (-39.041552 -3.409341)'))) / (select extract(epoch from '2026-06-23 18:03:44'::timestamp) - extract(epoch from '2026-06-23 18:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041532 -3.409341)'), GeomFromEWKT('SRID=4674;POINT (-39.041552 -3.409341)'))) / (select extract(epoch from '2026-06-23 18:03:44'::timestamp) - extract(epoch from '2026-06-23 18:03: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'), 46587, 'SRID=4674;POINT (-39.041568 -3.409335)', '2026-06-23 18:03:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041552 -3.409341)'), GeomFromEWKT('SRID=4674;POINT (-39.041568 -3.409335)'))) / (select extract(epoch from '2026-06-23 18:03:57'::timestamp) - extract(epoch from '2026-06-23 18:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041552 -3.409341)'), GeomFromEWKT('SRID=4674;POINT (-39.041568 -3.409335)'))) / (select extract(epoch from '2026-06-23 18:03:57'::timestamp) - extract(epoch from '2026-06-23 18:03: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'), 46587, 'SRID=4674;POINT (-39.041591 -3.409331)', '2026-06-23 18:04:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041568 -3.409335)'), GeomFromEWKT('SRID=4674;POINT (-39.041591 -3.409331)'))) / (select extract(epoch from '2026-06-23 18:04:14'::timestamp) - extract(epoch from '2026-06-23 18:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041568 -3.409335)'), GeomFromEWKT('SRID=4674;POINT (-39.041591 -3.409331)'))) / (select extract(epoch from '2026-06-23 18:04:14'::timestamp) - extract(epoch from '2026-06-23 18:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041616 -3.409342)', '2026-06-23 18:04:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041591 -3.409331)'), GeomFromEWKT('SRID=4674;POINT (-39.041616 -3.409342)'))) / (select extract(epoch from '2026-06-23 18:04:34'::timestamp) - extract(epoch from '2026-06-23 18:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041591 -3.409331)'), GeomFromEWKT('SRID=4674;POINT (-39.041616 -3.409342)'))) / (select extract(epoch from '2026-06-23 18:04:34'::timestamp) - extract(epoch from '2026-06-23 18:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041632 -3.409344)', '2026-06-23 18:04:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041616 -3.409342)'), GeomFromEWKT('SRID=4674;POINT (-39.041632 -3.409344)'))) / (select extract(epoch from '2026-06-23 18:04:44'::timestamp) - extract(epoch from '2026-06-23 18:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041616 -3.409342)'), GeomFromEWKT('SRID=4674;POINT (-39.041632 -3.409344)'))) / (select extract(epoch from '2026-06-23 18:04:44'::timestamp) - extract(epoch from '2026-06-23 18:04: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'), 46587, 'SRID=4674;POINT (-39.041642 -3.409352)', '2026-06-23 18:04:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041632 -3.409344)'), GeomFromEWKT('SRID=4674;POINT (-39.041642 -3.409352)'))) / (select extract(epoch from '2026-06-23 18:04:52'::timestamp) - extract(epoch from '2026-06-23 18:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041632 -3.409344)'), GeomFromEWKT('SRID=4674;POINT (-39.041642 -3.409352)'))) / (select extract(epoch from '2026-06-23 18:04:52'::timestamp) - extract(epoch from '2026-06-23 18:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041652 -3.409351)', '2026-06-23 18:05:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041642 -3.409352)'), GeomFromEWKT('SRID=4674;POINT (-39.041652 -3.409351)'))) / (select extract(epoch from '2026-06-23 18:05:01'::timestamp) - extract(epoch from '2026-06-23 18:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041642 -3.409352)'), GeomFromEWKT('SRID=4674;POINT (-39.041652 -3.409351)'))) / (select extract(epoch from '2026-06-23 18:05:01'::timestamp) - extract(epoch from '2026-06-23 18:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041669 -3.409346)', '2026-06-23 18:05:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041652 -3.409351)'), GeomFromEWKT('SRID=4674;POINT (-39.041669 -3.409346)'))) / (select extract(epoch from '2026-06-23 18:05:17'::timestamp) - extract(epoch from '2026-06-23 18:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041652 -3.409351)'), GeomFromEWKT('SRID=4674;POINT (-39.041669 -3.409346)'))) / (select extract(epoch from '2026-06-23 18:05:17'::timestamp) - extract(epoch from '2026-06-23 18:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04169 -3.409349)', '2026-06-23 18:05:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041669 -3.409346)'), GeomFromEWKT('SRID=4674;POINT (-39.04169 -3.409349)'))) / (select extract(epoch from '2026-06-23 18:05:31'::timestamp) - extract(epoch from '2026-06-23 18:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041669 -3.409346)'), GeomFromEWKT('SRID=4674;POINT (-39.04169 -3.409349)'))) / (select extract(epoch from '2026-06-23 18:05:31'::timestamp) - extract(epoch from '2026-06-23 18:05: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'), 46587, 'SRID=4674;POINT (-39.041702 -3.409352)', '2026-06-23 18:05:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04169 -3.409349)'), GeomFromEWKT('SRID=4674;POINT (-39.041702 -3.409352)'))) / (select extract(epoch from '2026-06-23 18:05:39'::timestamp) - extract(epoch from '2026-06-23 18:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04169 -3.409349)'), GeomFromEWKT('SRID=4674;POINT (-39.041702 -3.409352)'))) / (select extract(epoch from '2026-06-23 18:05:39'::timestamp) - extract(epoch from '2026-06-23 18:05: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'), 46587, 'SRID=4674;POINT (-39.041715 -3.409353)', '2026-06-23 18:05:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041702 -3.409352)'), GeomFromEWKT('SRID=4674;POINT (-39.041715 -3.409353)'))) / (select extract(epoch from '2026-06-23 18:05:47'::timestamp) - extract(epoch from '2026-06-23 18:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041702 -3.409352)'), GeomFromEWKT('SRID=4674;POINT (-39.041715 -3.409353)'))) / (select extract(epoch from '2026-06-23 18:05:47'::timestamp) - extract(epoch from '2026-06-23 18:05: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'), 46587, 'SRID=4674;POINT (-39.041729 -3.409355)', '2026-06-23 18:05:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041715 -3.409353)'), GeomFromEWKT('SRID=4674;POINT (-39.041729 -3.409355)'))) / (select extract(epoch from '2026-06-23 18:05:53'::timestamp) - extract(epoch from '2026-06-23 18:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041715 -3.409353)'), GeomFromEWKT('SRID=4674;POINT (-39.041729 -3.409355)'))) / (select extract(epoch from '2026-06-23 18:05:53'::timestamp) - extract(epoch from '2026-06-23 18:05: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'), 46587, 'SRID=4674;POINT (-39.041743 -3.409352)', '2026-06-23 18:06:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041729 -3.409355)'), GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.409352)'))) / (select extract(epoch from '2026-06-23 18:06:01'::timestamp) - extract(epoch from '2026-06-23 18:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041729 -3.409355)'), GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.409352)'))) / (select extract(epoch from '2026-06-23 18:06:01'::timestamp) - extract(epoch from '2026-06-23 18:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041755 -3.409351)', '2026-06-23 18:06:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.409352)'), GeomFromEWKT('SRID=4674;POINT (-39.041755 -3.409351)'))) / (select extract(epoch from '2026-06-23 18:06:08'::timestamp) - extract(epoch from '2026-06-23 18:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041743 -3.409352)'), GeomFromEWKT('SRID=4674;POINT (-39.041755 -3.409351)'))) / (select extract(epoch from '2026-06-23 18:06:08'::timestamp) - extract(epoch from '2026-06-23 18:06: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'), 46587, 'SRID=4674;POINT (-39.041772 -3.409347)', '2026-06-23 18:06:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041755 -3.409351)'), GeomFromEWKT('SRID=4674;POINT (-39.041772 -3.409347)'))) / (select extract(epoch from '2026-06-23 18:06:17'::timestamp) - extract(epoch from '2026-06-23 18:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041755 -3.409351)'), GeomFromEWKT('SRID=4674;POINT (-39.041772 -3.409347)'))) / (select extract(epoch from '2026-06-23 18:06:17'::timestamp) - extract(epoch from '2026-06-23 18:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041788 -3.40935)', '2026-06-23 18:06:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041772 -3.409347)'), GeomFromEWKT('SRID=4674;POINT (-39.041788 -3.40935)'))) / (select extract(epoch from '2026-06-23 18:06:26'::timestamp) - extract(epoch from '2026-06-23 18:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041772 -3.409347)'), GeomFromEWKT('SRID=4674;POINT (-39.041788 -3.40935)'))) / (select extract(epoch from '2026-06-23 18:06:26'::timestamp) - extract(epoch from '2026-06-23 18:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041809 -3.409347)', '2026-06-23 18:06:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041788 -3.40935)'), GeomFromEWKT('SRID=4674;POINT (-39.041809 -3.409347)'))) / (select extract(epoch from '2026-06-23 18:06:35'::timestamp) - extract(epoch from '2026-06-23 18:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041788 -3.40935)'), GeomFromEWKT('SRID=4674;POINT (-39.041809 -3.409347)'))) / (select extract(epoch from '2026-06-23 18:06:35'::timestamp) - extract(epoch from '2026-06-23 18:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041824 -3.409347)', '2026-06-23 18:06:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041809 -3.409347)'), GeomFromEWKT('SRID=4674;POINT (-39.041824 -3.409347)'))) / (select extract(epoch from '2026-06-23 18:06:47'::timestamp) - extract(epoch from '2026-06-23 18:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041809 -3.409347)'), GeomFromEWKT('SRID=4674;POINT (-39.041824 -3.409347)'))) / (select extract(epoch from '2026-06-23 18:06:47'::timestamp) - extract(epoch from '2026-06-23 18:06: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'), 46587, 'SRID=4674;POINT (-39.041825 -3.409342)', '2026-06-23 18:06:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041824 -3.409347)'), GeomFromEWKT('SRID=4674;POINT (-39.041825 -3.409342)'))) / (select extract(epoch from '2026-06-23 18:06:53'::timestamp) - extract(epoch from '2026-06-23 18:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041824 -3.409347)'), GeomFromEWKT('SRID=4674;POINT (-39.041825 -3.409342)'))) / (select extract(epoch from '2026-06-23 18:06:53'::timestamp) - extract(epoch from '2026-06-23 18:06: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'), 46587, 'SRID=4674;POINT (-39.041835 -3.409343)', '2026-06-23 18:06:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041825 -3.409342)'), GeomFromEWKT('SRID=4674;POINT (-39.041835 -3.409343)'))) / (select extract(epoch from '2026-06-23 18:06:58'::timestamp) - extract(epoch from '2026-06-23 18:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041825 -3.409342)'), GeomFromEWKT('SRID=4674;POINT (-39.041835 -3.409343)'))) / (select extract(epoch from '2026-06-23 18:06:58'::timestamp) - extract(epoch from '2026-06-23 18:06: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'), 46587, 'SRID=4674;POINT (-39.041847 -3.409344)', '2026-06-23 18:07:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041835 -3.409343)'), GeomFromEWKT('SRID=4674;POINT (-39.041847 -3.409344)'))) / (select extract(epoch from '2026-06-23 18:07:09'::timestamp) - extract(epoch from '2026-06-23 18:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041835 -3.409343)'), GeomFromEWKT('SRID=4674;POINT (-39.041847 -3.409344)'))) / (select extract(epoch from '2026-06-23 18:07:09'::timestamp) - extract(epoch from '2026-06-23 18:06: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'), 46587, 'SRID=4674;POINT (-39.041858 -3.409338)', '2026-06-23 18:07:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041847 -3.409344)'), GeomFromEWKT('SRID=4674;POINT (-39.041858 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:07:17'::timestamp) - extract(epoch from '2026-06-23 18:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041847 -3.409344)'), GeomFromEWKT('SRID=4674;POINT (-39.041858 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:07:17'::timestamp) - extract(epoch from '2026-06-23 18:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041879 -3.409336)', '2026-06-23 18:07:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041858 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.041879 -3.409336)'))) / (select extract(epoch from '2026-06-23 18:07:25'::timestamp) - extract(epoch from '2026-06-23 18:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041858 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.041879 -3.409336)'))) / (select extract(epoch from '2026-06-23 18:07:25'::timestamp) - extract(epoch from '2026-06-23 18:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041896 -3.409333)', '2026-06-23 18:07:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041879 -3.409336)'), GeomFromEWKT('SRID=4674;POINT (-39.041896 -3.409333)'))) / (select extract(epoch from '2026-06-23 18:07:35'::timestamp) - extract(epoch from '2026-06-23 18:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041879 -3.409336)'), GeomFromEWKT('SRID=4674;POINT (-39.041896 -3.409333)'))) / (select extract(epoch from '2026-06-23 18:07:35'::timestamp) - extract(epoch from '2026-06-23 18:07: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'), 46587, 'SRID=4674;POINT (-39.041935 -3.409334)', '2026-06-23 18:07:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041896 -3.409333)'), GeomFromEWKT('SRID=4674;POINT (-39.041935 -3.409334)'))) / (select extract(epoch from '2026-06-23 18:07:55'::timestamp) - extract(epoch from '2026-06-23 18:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041896 -3.409333)'), GeomFromEWKT('SRID=4674;POINT (-39.041935 -3.409334)'))) / (select extract(epoch from '2026-06-23 18:07:55'::timestamp) - extract(epoch from '2026-06-23 18:07: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'), 46587, 'SRID=4674;POINT (-39.041984 -3.409338)', '2026-06-23 18:08:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041935 -3.409334)'), GeomFromEWKT('SRID=4674;POINT (-39.041984 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:08:13'::timestamp) - extract(epoch from '2026-06-23 18:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041935 -3.409334)'), GeomFromEWKT('SRID=4674;POINT (-39.041984 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:08:13'::timestamp) - extract(epoch from '2026-06-23 18:07: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'), 46587, 'SRID=4674;POINT (-39.04202 -3.409336)', '2026-06-23 18:08:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041984 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.04202 -3.409336)'))) / (select extract(epoch from '2026-06-23 18:08:28'::timestamp) - extract(epoch from '2026-06-23 18:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041984 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.04202 -3.409336)'))) / (select extract(epoch from '2026-06-23 18:08:28'::timestamp) - extract(epoch from '2026-06-23 18:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042053 -3.409332)', '2026-06-23 18:08:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04202 -3.409336)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.409332)'))) / (select extract(epoch from '2026-06-23 18:08:52'::timestamp) - extract(epoch from '2026-06-23 18:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04202 -3.409336)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.409332)'))) / (select extract(epoch from '2026-06-23 18:08:52'::timestamp) - extract(epoch from '2026-06-23 18:08: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'), 46587, 'SRID=4674;POINT (-39.042093 -3.409338)', '2026-06-23 18:09:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.409332)'), GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:09:12'::timestamp) - extract(epoch from '2026-06-23 18:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.409332)'), GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.409338)'))) / (select extract(epoch from '2026-06-23 18:09:12'::timestamp) - extract(epoch from '2026-06-23 18:08: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'), 46587, 'SRID=4674;POINT (-39.042118 -3.409342)', '2026-06-23 18:09:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.409342)'))) / (select extract(epoch from '2026-06-23 18:09:31'::timestamp) - extract(epoch from '2026-06-23 18:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.409338)'), GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.409342)'))) / (select extract(epoch from '2026-06-23 18:09:31'::timestamp) - extract(epoch from '2026-06-23 18:09: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'), 46587, 'SRID=4674;POINT (-39.042142 -3.409331)', '2026-06-23 18:09:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.409342)'), GeomFromEWKT('SRID=4674;POINT (-39.042142 -3.409331)'))) / (select extract(epoch from '2026-06-23 18:09:48'::timestamp) - extract(epoch from '2026-06-23 18:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.409342)'), GeomFromEWKT('SRID=4674;POINT (-39.042142 -3.409331)'))) / (select extract(epoch from '2026-06-23 18:09:48'::timestamp) - extract(epoch from '2026-06-23 18:09: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'), 46587, 'SRID=4674;POINT (-39.042173 -3.409325)', '2026-06-23 18:10:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042142 -3.409331)'), GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.409325)'))) / (select extract(epoch from '2026-06-23 18:10:00'::timestamp) - extract(epoch from '2026-06-23 18:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042142 -3.409331)'), GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.409325)'))) / (select extract(epoch from '2026-06-23 18:10:00'::timestamp) - extract(epoch from '2026-06-23 18:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042195 -3.409333)', '2026-06-23 18:10:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.409325)'), GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.409333)'))) / (select extract(epoch from '2026-06-23 18:10:11'::timestamp) - extract(epoch from '2026-06-23 18:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.409325)'), GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.409333)'))) / (select extract(epoch from '2026-06-23 18:10:11'::timestamp) - extract(epoch from '2026-06-23 18:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042233 -3.409325)', '2026-06-23 18:10:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.409333)'), GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.409325)'))) / (select extract(epoch from '2026-06-23 18:10:27'::timestamp) - extract(epoch from '2026-06-23 18:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.409333)'), GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.409325)'))) / (select extract(epoch from '2026-06-23 18:10:27'::timestamp) - extract(epoch from '2026-06-23 18:10: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'), 46587, 'SRID=4674;POINT (-39.042268 -3.409312)', '2026-06-23 18:10:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.409325)'), GeomFromEWKT('SRID=4674;POINT (-39.042268 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:10:44'::timestamp) - extract(epoch from '2026-06-23 18:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.409325)'), GeomFromEWKT('SRID=4674;POINT (-39.042268 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:10:44'::timestamp) - extract(epoch from '2026-06-23 18:10: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'), 46587, 'SRID=4674;POINT (-39.042292 -3.409314)', '2026-06-23 18:11:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042268 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042292 -3.409314)'))) / (select extract(epoch from '2026-06-23 18:11:04'::timestamp) - extract(epoch from '2026-06-23 18:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042268 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042292 -3.409314)'))) / (select extract(epoch from '2026-06-23 18:11:04'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.042283 -3.409311)', '2026-06-23 18:11:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042292 -3.409314)'), GeomFromEWKT('SRID=4674;POINT (-39.042283 -3.409311)'))) / (select extract(epoch from '2026-06-23 18:11:21'::timestamp) - extract(epoch from '2026-06-23 18:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042292 -3.409314)'), GeomFromEWKT('SRID=4674;POINT (-39.042283 -3.409311)'))) / (select extract(epoch from '2026-06-23 18:11:21'::timestamp) - extract(epoch from '2026-06-23 18:11: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'), 46587, 'SRID=4674;POINT (-39.042301 -3.409318)', '2026-06-23 18:11:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042283 -3.409311)'), GeomFromEWKT('SRID=4674;POINT (-39.042301 -3.409318)'))) / (select extract(epoch from '2026-06-23 18:11:32'::timestamp) - extract(epoch from '2026-06-23 18:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042283 -3.409311)'), GeomFromEWKT('SRID=4674;POINT (-39.042301 -3.409318)'))) / (select extract(epoch from '2026-06-23 18:11:32'::timestamp) - extract(epoch from '2026-06-23 18:11: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'), 46587, 'SRID=4674;POINT (-39.042316 -3.409318)', '2026-06-23 18:11:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042301 -3.409318)'), GeomFromEWKT('SRID=4674;POINT (-39.042316 -3.409318)'))) / (select extract(epoch from '2026-06-23 18:11:41'::timestamp) - extract(epoch from '2026-06-23 18:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042301 -3.409318)'), GeomFromEWKT('SRID=4674;POINT (-39.042316 -3.409318)'))) / (select extract(epoch from '2026-06-23 18:11:41'::timestamp) - extract(epoch from '2026-06-23 18:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042337 -3.409317)', '2026-06-23 18:11:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042316 -3.409318)'), GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.409317)'))) / (select extract(epoch from '2026-06-23 18:11:48'::timestamp) - extract(epoch from '2026-06-23 18:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042316 -3.409318)'), GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.409317)'))) / (select extract(epoch from '2026-06-23 18:11:48'::timestamp) - extract(epoch from '2026-06-23 18:11: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'), 46587, 'SRID=4674;POINT (-39.042351 -3.409312)', '2026-06-23 18:11:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.409317)'), GeomFromEWKT('SRID=4674;POINT (-39.042351 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:11:56'::timestamp) - extract(epoch from '2026-06-23 18:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.409317)'), GeomFromEWKT('SRID=4674;POINT (-39.042351 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:11:56'::timestamp) - extract(epoch from '2026-06-23 18:11: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'), 46587, 'SRID=4674;POINT (-39.042371 -3.409303)', '2026-06-23 18:12:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042351 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042371 -3.409303)'))) / (select extract(epoch from '2026-06-23 18:12:06'::timestamp) - extract(epoch from '2026-06-23 18:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042351 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042371 -3.409303)'))) / (select extract(epoch from '2026-06-23 18:12:06'::timestamp) - extract(epoch from '2026-06-23 18:11: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'), 46587, 'SRID=4674;POINT (-39.042371 -3.409305)', '2026-06-23 18:12:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042371 -3.409303)'), GeomFromEWKT('SRID=4674;POINT (-39.042371 -3.409305)'))) / (select extract(epoch from '2026-06-23 18:12:16'::timestamp) - extract(epoch from '2026-06-23 18:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042371 -3.409303)'), GeomFromEWKT('SRID=4674;POINT (-39.042371 -3.409305)'))) / (select extract(epoch from '2026-06-23 18:12:16'::timestamp) - extract(epoch from '2026-06-23 18:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042376 -3.409317)', '2026-06-23 18:12:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042371 -3.409305)'), GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.409317)'))) / (select extract(epoch from '2026-06-23 18:12:27'::timestamp) - extract(epoch from '2026-06-23 18:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042371 -3.409305)'), GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.409317)'))) / (select extract(epoch from '2026-06-23 18:12:27'::timestamp) - extract(epoch from '2026-06-23 18:12: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'), 46587, 'SRID=4674;POINT (-39.042376 -3.40931)', '2026-06-23 18:12:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.409317)'), GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.40931)'))) / (select extract(epoch from '2026-06-23 18:12:36'::timestamp) - extract(epoch from '2026-06-23 18:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.409317)'), GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.40931)'))) / (select extract(epoch from '2026-06-23 18:12:36'::timestamp) - extract(epoch from '2026-06-23 18:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042384 -3.40932)', '2026-06-23 18:12:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.40931)'), GeomFromEWKT('SRID=4674;POINT (-39.042384 -3.40932)'))) / (select extract(epoch from '2026-06-23 18:12:47'::timestamp) - extract(epoch from '2026-06-23 18:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.40931)'), GeomFromEWKT('SRID=4674;POINT (-39.042384 -3.40932)'))) / (select extract(epoch from '2026-06-23 18:12:47'::timestamp) - extract(epoch from '2026-06-23 18:12: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'), 46587, 'SRID=4674;POINT (-39.042389 -3.409312)', '2026-06-23 18:12:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042384 -3.40932)'), GeomFromEWKT('SRID=4674;POINT (-39.042389 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:12:54'::timestamp) - extract(epoch from '2026-06-23 18:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042384 -3.40932)'), GeomFromEWKT('SRID=4674;POINT (-39.042389 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:12:54'::timestamp) - extract(epoch from '2026-06-23 18:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042396 -3.409312)', '2026-06-23 18:13:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042389 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042396 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:13:05'::timestamp) - extract(epoch from '2026-06-23 18:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042389 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042396 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:13:05'::timestamp) - extract(epoch from '2026-06-23 18:12: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'), 46587, 'SRID=4674;POINT (-39.042409 -3.409305)', '2026-06-23 18:13:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042396 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042409 -3.409305)'))) / (select extract(epoch from '2026-06-23 18:13:17'::timestamp) - extract(epoch from '2026-06-23 18:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042396 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042409 -3.409305)'))) / (select extract(epoch from '2026-06-23 18:13:17'::timestamp) - extract(epoch from '2026-06-23 18:13: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'), 46587, 'SRID=4674;POINT (-39.042421 -3.409311)', '2026-06-23 18:13:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042409 -3.409305)'), GeomFromEWKT('SRID=4674;POINT (-39.042421 -3.409311)'))) / (select extract(epoch from '2026-06-23 18:13:27'::timestamp) - extract(epoch from '2026-06-23 18:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042409 -3.409305)'), GeomFromEWKT('SRID=4674;POINT (-39.042421 -3.409311)'))) / (select extract(epoch from '2026-06-23 18:13:27'::timestamp) - extract(epoch from '2026-06-23 18:13: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'), 46587, 'SRID=4674;POINT (-39.042428 -3.409321)', '2026-06-23 18:13:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042421 -3.409311)'), GeomFromEWKT('SRID=4674;POINT (-39.042428 -3.409321)'))) / (select extract(epoch from '2026-06-23 18:13:39'::timestamp) - extract(epoch from '2026-06-23 18:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042421 -3.409311)'), GeomFromEWKT('SRID=4674;POINT (-39.042428 -3.409321)'))) / (select extract(epoch from '2026-06-23 18:13:39'::timestamp) - extract(epoch from '2026-06-23 18:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042446 -3.409321)', '2026-06-23 18:13:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042428 -3.409321)'), GeomFromEWKT('SRID=4674;POINT (-39.042446 -3.409321)'))) / (select extract(epoch from '2026-06-23 18:13:49'::timestamp) - extract(epoch from '2026-06-23 18:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042428 -3.409321)'), GeomFromEWKT('SRID=4674;POINT (-39.042446 -3.409321)'))) / (select extract(epoch from '2026-06-23 18:13:49'::timestamp) - extract(epoch from '2026-06-23 18:13: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'), 46587, 'SRID=4674;POINT (-39.042444 -3.409323)', '2026-06-23 18:14:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042446 -3.409321)'), GeomFromEWKT('SRID=4674;POINT (-39.042444 -3.409323)'))) / (select extract(epoch from '2026-06-23 18:14:01'::timestamp) - extract(epoch from '2026-06-23 18:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042446 -3.409321)'), GeomFromEWKT('SRID=4674;POINT (-39.042444 -3.409323)'))) / (select extract(epoch from '2026-06-23 18:14:01'::timestamp) - extract(epoch from '2026-06-23 18:13: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'), 46587, 'SRID=4674;POINT (-39.042469 -3.409327)', '2026-06-23 18:14:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042444 -3.409323)'), GeomFromEWKT('SRID=4674;POINT (-39.042469 -3.409327)'))) / (select extract(epoch from '2026-06-23 18:14:19'::timestamp) - extract(epoch from '2026-06-23 18:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042444 -3.409323)'), GeomFromEWKT('SRID=4674;POINT (-39.042469 -3.409327)'))) / (select extract(epoch from '2026-06-23 18:14:19'::timestamp) - extract(epoch from '2026-06-23 18:14: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'), 46587, 'SRID=4674;POINT (-39.042483 -3.409326)', '2026-06-23 18:14:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042469 -3.409327)'), GeomFromEWKT('SRID=4674;POINT (-39.042483 -3.409326)'))) / (select extract(epoch from '2026-06-23 18:14:30'::timestamp) - extract(epoch from '2026-06-23 18:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042469 -3.409327)'), GeomFromEWKT('SRID=4674;POINT (-39.042483 -3.409326)'))) / (select extract(epoch from '2026-06-23 18:14:30'::timestamp) - extract(epoch from '2026-06-23 18:14: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'), 46587, 'SRID=4674;POINT (-39.042492 -3.409321)', '2026-06-23 18:14:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042483 -3.409326)'), GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.409321)'))) / (select extract(epoch from '2026-06-23 18:14:44'::timestamp) - extract(epoch from '2026-06-23 18:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042483 -3.409326)'), GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.409321)'))) / (select extract(epoch from '2026-06-23 18:14:44'::timestamp) - extract(epoch from '2026-06-23 18:14: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'), 46587, 'SRID=4674;POINT (-39.042508 -3.409316)', '2026-06-23 18:14:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.409321)'), GeomFromEWKT('SRID=4674;POINT (-39.042508 -3.409316)'))) / (select extract(epoch from '2026-06-23 18:14:57'::timestamp) - extract(epoch from '2026-06-23 18:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.409321)'), GeomFromEWKT('SRID=4674;POINT (-39.042508 -3.409316)'))) / (select extract(epoch from '2026-06-23 18:14:57'::timestamp) - extract(epoch from '2026-06-23 18:14: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'), 46587, 'SRID=4674;POINT (-39.042545 -3.409315)', '2026-06-23 18:15:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042508 -3.409316)'), GeomFromEWKT('SRID=4674;POINT (-39.042545 -3.409315)'))) / (select extract(epoch from '2026-06-23 18:15:11'::timestamp) - extract(epoch from '2026-06-23 18:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042508 -3.409316)'), GeomFromEWKT('SRID=4674;POINT (-39.042545 -3.409315)'))) / (select extract(epoch from '2026-06-23 18:15:11'::timestamp) - extract(epoch from '2026-06-23 18:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042559 -3.409314)', '2026-06-23 18:15:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042545 -3.409315)'), GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.409314)'))) / (select extract(epoch from '2026-06-23 18:15:20'::timestamp) - extract(epoch from '2026-06-23 18:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042545 -3.409315)'), GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.409314)'))) / (select extract(epoch from '2026-06-23 18:15:20'::timestamp) - extract(epoch from '2026-06-23 18:15: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'), 46587, 'SRID=4674;POINT (-39.042571 -3.40931)', '2026-06-23 18:15:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.409314)'), GeomFromEWKT('SRID=4674;POINT (-39.042571 -3.40931)'))) / (select extract(epoch from '2026-06-23 18:15:30'::timestamp) - extract(epoch from '2026-06-23 18:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.409314)'), GeomFromEWKT('SRID=4674;POINT (-39.042571 -3.40931)'))) / (select extract(epoch from '2026-06-23 18:15:30'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.04258 -3.409317)', '2026-06-23 18:15:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042571 -3.40931)'), GeomFromEWKT('SRID=4674;POINT (-39.04258 -3.409317)'))) / (select extract(epoch from '2026-06-23 18:15:37'::timestamp) - extract(epoch from '2026-06-23 18:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042571 -3.40931)'), GeomFromEWKT('SRID=4674;POINT (-39.04258 -3.409317)'))) / (select extract(epoch from '2026-06-23 18:15:37'::timestamp) - extract(epoch from '2026-06-23 18:15: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'), 46587, 'SRID=4674;POINT (-39.042602 -3.409311)', '2026-06-23 18:15:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04258 -3.409317)'), GeomFromEWKT('SRID=4674;POINT (-39.042602 -3.409311)'))) / (select extract(epoch from '2026-06-23 18:15:46'::timestamp) - extract(epoch from '2026-06-23 18:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04258 -3.409317)'), GeomFromEWKT('SRID=4674;POINT (-39.042602 -3.409311)'))) / (select extract(epoch from '2026-06-23 18:15:46'::timestamp) - extract(epoch from '2026-06-23 18:15: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'), 46587, 'SRID=4674;POINT (-39.042606 -3.409312)', '2026-06-23 18:15:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042602 -3.409311)'), GeomFromEWKT('SRID=4674;POINT (-39.042606 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:15:53'::timestamp) - extract(epoch from '2026-06-23 18:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042602 -3.409311)'), GeomFromEWKT('SRID=4674;POINT (-39.042606 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:15:53'::timestamp) - extract(epoch from '2026-06-23 18:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042623 -3.409315)', '2026-06-23 18:16:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042606 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042623 -3.409315)'))) / (select extract(epoch from '2026-06-23 18:16:11'::timestamp) - extract(epoch from '2026-06-23 18:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042606 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042623 -3.409315)'))) / (select extract(epoch from '2026-06-23 18:16:11'::timestamp) - extract(epoch from '2026-06-23 18:15: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'), 46587, 'SRID=4674;POINT (-39.042625 -3.409311)', '2026-06-23 18:16:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042623 -3.409315)'), GeomFromEWKT('SRID=4674;POINT (-39.042625 -3.409311)'))) / (select extract(epoch from '2026-06-23 18:16:25'::timestamp) - extract(epoch from '2026-06-23 18:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042623 -3.409315)'), GeomFromEWKT('SRID=4674;POINT (-39.042625 -3.409311)'))) / (select extract(epoch from '2026-06-23 18:16:25'::timestamp) - extract(epoch from '2026-06-23 18:16: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'), 46587, 'SRID=4674;POINT (-39.042626 -3.409314)', '2026-06-23 18:16:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042625 -3.409311)'), GeomFromEWKT('SRID=4674;POINT (-39.042626 -3.409314)'))) / (select extract(epoch from '2026-06-23 18:16:31'::timestamp) - extract(epoch from '2026-06-23 18:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042625 -3.409311)'), GeomFromEWKT('SRID=4674;POINT (-39.042626 -3.409314)'))) / (select extract(epoch from '2026-06-23 18:16:31'::timestamp) - extract(epoch from '2026-06-23 18:16: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'), 46587, 'SRID=4674;POINT (-39.042633 -3.40931)', '2026-06-23 18:16:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042626 -3.409314)'), GeomFromEWKT('SRID=4674;POINT (-39.042633 -3.40931)'))) / (select extract(epoch from '2026-06-23 18:16:41'::timestamp) - extract(epoch from '2026-06-23 18:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042626 -3.409314)'), GeomFromEWKT('SRID=4674;POINT (-39.042633 -3.40931)'))) / (select extract(epoch from '2026-06-23 18:16:41'::timestamp) - extract(epoch from '2026-06-23 18:16: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'), 46587, 'SRID=4674;POINT (-39.042643 -3.409316)', '2026-06-23 18:16:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042633 -3.40931)'), GeomFromEWKT('SRID=4674;POINT (-39.042643 -3.409316)'))) / (select extract(epoch from '2026-06-23 18:16:50'::timestamp) - extract(epoch from '2026-06-23 18:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042633 -3.40931)'), GeomFromEWKT('SRID=4674;POINT (-39.042643 -3.409316)'))) / (select extract(epoch from '2026-06-23 18:16:50'::timestamp) - extract(epoch from '2026-06-23 18:16: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'), 46587, 'SRID=4674;POINT (-39.042653 -3.409324)', '2026-06-23 18:17:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042643 -3.409316)'), GeomFromEWKT('SRID=4674;POINT (-39.042653 -3.409324)'))) / (select extract(epoch from '2026-06-23 18:17:00'::timestamp) - extract(epoch from '2026-06-23 18:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042643 -3.409316)'), GeomFromEWKT('SRID=4674;POINT (-39.042653 -3.409324)'))) / (select extract(epoch from '2026-06-23 18:17:00'::timestamp) - extract(epoch from '2026-06-23 18:16: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'), 46587, 'SRID=4674;POINT (-39.042656 -3.40932)', '2026-06-23 18:17:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042653 -3.409324)'), GeomFromEWKT('SRID=4674;POINT (-39.042656 -3.40932)'))) / (select extract(epoch from '2026-06-23 18:17:09'::timestamp) - extract(epoch from '2026-06-23 18:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042653 -3.409324)'), GeomFromEWKT('SRID=4674;POINT (-39.042656 -3.40932)'))) / (select extract(epoch from '2026-06-23 18:17:09'::timestamp) - extract(epoch from '2026-06-23 18:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042668 -3.409316)', '2026-06-23 18:17:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042656 -3.40932)'), GeomFromEWKT('SRID=4674;POINT (-39.042668 -3.409316)'))) / (select extract(epoch from '2026-06-23 18:17:19'::timestamp) - extract(epoch from '2026-06-23 18:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042656 -3.40932)'), GeomFromEWKT('SRID=4674;POINT (-39.042668 -3.409316)'))) / (select extract(epoch from '2026-06-23 18:17:19'::timestamp) - extract(epoch from '2026-06-23 18:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04269 -3.409319)', '2026-06-23 18:17:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042668 -3.409316)'), GeomFromEWKT('SRID=4674;POINT (-39.04269 -3.409319)'))) / (select extract(epoch from '2026-06-23 18:17:27'::timestamp) - extract(epoch from '2026-06-23 18:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042668 -3.409316)'), GeomFromEWKT('SRID=4674;POINT (-39.04269 -3.409319)'))) / (select extract(epoch from '2026-06-23 18:17:27'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.042698 -3.409318)', '2026-06-23 18:17:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04269 -3.409319)'), GeomFromEWKT('SRID=4674;POINT (-39.042698 -3.409318)'))) / (select extract(epoch from '2026-06-23 18:17:39'::timestamp) - extract(epoch from '2026-06-23 18:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04269 -3.409319)'), GeomFromEWKT('SRID=4674;POINT (-39.042698 -3.409318)'))) / (select extract(epoch from '2026-06-23 18:17:39'::timestamp) - extract(epoch from '2026-06-23 18:17: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'), 46587, 'SRID=4674;POINT (-39.042725 -3.409315)', '2026-06-23 18:17:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042698 -3.409318)'), GeomFromEWKT('SRID=4674;POINT (-39.042725 -3.409315)'))) / (select extract(epoch from '2026-06-23 18:17:49'::timestamp) - extract(epoch from '2026-06-23 18:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042698 -3.409318)'), GeomFromEWKT('SRID=4674;POINT (-39.042725 -3.409315)'))) / (select extract(epoch from '2026-06-23 18:17:49'::timestamp) - extract(epoch from '2026-06-23 18:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042737 -3.409312)', '2026-06-23 18:17:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042725 -3.409315)'), GeomFromEWKT('SRID=4674;POINT (-39.042737 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:17:56'::timestamp) - extract(epoch from '2026-06-23 18:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042725 -3.409315)'), GeomFromEWKT('SRID=4674;POINT (-39.042737 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:17:56'::timestamp) - extract(epoch from '2026-06-23 18:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042754 -3.409309)', '2026-06-23 18:18:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042737 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042754 -3.409309)'))) / (select extract(epoch from '2026-06-23 18:18:04'::timestamp) - extract(epoch from '2026-06-23 18:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042737 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042754 -3.409309)'))) / (select extract(epoch from '2026-06-23 18:18:04'::timestamp) - extract(epoch from '2026-06-23 18:17: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'), 46587, 'SRID=4674;POINT (-39.042769 -3.409302)', '2026-06-23 18:18:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042754 -3.409309)'), GeomFromEWKT('SRID=4674;POINT (-39.042769 -3.409302)'))) / (select extract(epoch from '2026-06-23 18:18:14'::timestamp) - extract(epoch from '2026-06-23 18:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042754 -3.409309)'), GeomFromEWKT('SRID=4674;POINT (-39.042769 -3.409302)'))) / (select extract(epoch from '2026-06-23 18:18:14'::timestamp) - extract(epoch from '2026-06-23 18:18: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'), 46587, 'SRID=4674;POINT (-39.042792 -3.409308)', '2026-06-23 18:18:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042769 -3.409302)'), GeomFromEWKT('SRID=4674;POINT (-39.042792 -3.409308)'))) / (select extract(epoch from '2026-06-23 18:18:23'::timestamp) - extract(epoch from '2026-06-23 18:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042769 -3.409302)'), GeomFromEWKT('SRID=4674;POINT (-39.042792 -3.409308)'))) / (select extract(epoch from '2026-06-23 18:18:23'::timestamp) - extract(epoch from '2026-06-23 18:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.0428 -3.409314)', '2026-06-23 18:18:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042792 -3.409308)'), GeomFromEWKT('SRID=4674;POINT (-39.0428 -3.409314)'))) / (select extract(epoch from '2026-06-23 18:18:37'::timestamp) - extract(epoch from '2026-06-23 18:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042792 -3.409308)'), GeomFromEWKT('SRID=4674;POINT (-39.0428 -3.409314)'))) / (select extract(epoch from '2026-06-23 18:18:37'::timestamp) - extract(epoch from '2026-06-23 18:18: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'), 46587, 'SRID=4674;POINT (-39.042789 -3.409322)', '2026-06-23 18:18:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0428 -3.409314)'), GeomFromEWKT('SRID=4674;POINT (-39.042789 -3.409322)'))) / (select extract(epoch from '2026-06-23 18:18:45'::timestamp) - extract(epoch from '2026-06-23 18:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0428 -3.409314)'), GeomFromEWKT('SRID=4674;POINT (-39.042789 -3.409322)'))) / (select extract(epoch from '2026-06-23 18:18:45'::timestamp) - extract(epoch from '2026-06-23 18:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042801 -3.409323)', '2026-06-23 18:18:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042789 -3.409322)'), GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.409323)'))) / (select extract(epoch from '2026-06-23 18:18:53'::timestamp) - extract(epoch from '2026-06-23 18:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042789 -3.409322)'), GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.409323)'))) / (select extract(epoch from '2026-06-23 18:18:53'::timestamp) - extract(epoch from '2026-06-23 18:18: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'), 46587, 'SRID=4674;POINT (-39.042823 -3.409316)', '2026-06-23 18:19:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.409323)'), GeomFromEWKT('SRID=4674;POINT (-39.042823 -3.409316)'))) / (select extract(epoch from '2026-06-23 18:19:01'::timestamp) - extract(epoch from '2026-06-23 18:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042801 -3.409323)'), GeomFromEWKT('SRID=4674;POINT (-39.042823 -3.409316)'))) / (select extract(epoch from '2026-06-23 18:19:01'::timestamp) - extract(epoch from '2026-06-23 18:18: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'), 46587, 'SRID=4674;POINT (-39.042831 -3.409318)', '2026-06-23 18:19:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042823 -3.409316)'), GeomFromEWKT('SRID=4674;POINT (-39.042831 -3.409318)'))) / (select extract(epoch from '2026-06-23 18:19:10'::timestamp) - extract(epoch from '2026-06-23 18:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042823 -3.409316)'), GeomFromEWKT('SRID=4674;POINT (-39.042831 -3.409318)'))) / (select extract(epoch from '2026-06-23 18:19:10'::timestamp) - extract(epoch from '2026-06-23 18:19: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'), 46587, 'SRID=4674;POINT (-39.042845 -3.40932)', '2026-06-23 18:19:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042831 -3.409318)'), GeomFromEWKT('SRID=4674;POINT (-39.042845 -3.40932)'))) / (select extract(epoch from '2026-06-23 18:19:17'::timestamp) - extract(epoch from '2026-06-23 18:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042831 -3.409318)'), GeomFromEWKT('SRID=4674;POINT (-39.042845 -3.40932)'))) / (select extract(epoch from '2026-06-23 18:19:17'::timestamp) - extract(epoch from '2026-06-23 18:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04286 -3.409312)', '2026-06-23 18:19:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042845 -3.40932)'), GeomFromEWKT('SRID=4674;POINT (-39.04286 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:19:25'::timestamp) - extract(epoch from '2026-06-23 18:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042845 -3.40932)'), GeomFromEWKT('SRID=4674;POINT (-39.04286 -3.409312)'))) / (select extract(epoch from '2026-06-23 18:19:25'::timestamp) - extract(epoch from '2026-06-23 18:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042881 -3.409306)', '2026-06-23 18:19:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04286 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042881 -3.409306)'))) / (select extract(epoch from '2026-06-23 18:19:37'::timestamp) - extract(epoch from '2026-06-23 18:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04286 -3.409312)'), GeomFromEWKT('SRID=4674;POINT (-39.042881 -3.409306)'))) / (select extract(epoch from '2026-06-23 18:19:37'::timestamp) - extract(epoch from '2026-06-23 18:19: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'), 46587, 'SRID=4674;POINT (-39.042901 -3.409294)', '2026-06-23 18:19:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042881 -3.409306)'), GeomFromEWKT('SRID=4674;POINT (-39.042901 -3.409294)'))) / (select extract(epoch from '2026-06-23 18:19:48'::timestamp) - extract(epoch from '2026-06-23 18:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042881 -3.409306)'), GeomFromEWKT('SRID=4674;POINT (-39.042901 -3.409294)'))) / (select extract(epoch from '2026-06-23 18:19:48'::timestamp) - extract(epoch from '2026-06-23 18:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04292 -3.409292)', '2026-06-23 18:19:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042901 -3.409294)'), GeomFromEWKT('SRID=4674;POINT (-39.04292 -3.409292)'))) / (select extract(epoch from '2026-06-23 18:19:58'::timestamp) - extract(epoch from '2026-06-23 18:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042901 -3.409294)'), GeomFromEWKT('SRID=4674;POINT (-39.04292 -3.409292)'))) / (select extract(epoch from '2026-06-23 18:19:58'::timestamp) - extract(epoch from '2026-06-23 18:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042954 -3.409288)', '2026-06-23 18:20:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04292 -3.409292)'), GeomFromEWKT('SRID=4674;POINT (-39.042954 -3.409288)'))) / (select extract(epoch from '2026-06-23 18:20:21'::timestamp) - extract(epoch from '2026-06-23 18:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04292 -3.409292)'), GeomFromEWKT('SRID=4674;POINT (-39.042954 -3.409288)'))) / (select extract(epoch from '2026-06-23 18:20:21'::timestamp) - extract(epoch from '2026-06-23 18:19: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'), 46587, 'SRID=4674;POINT (-39.042981 -3.409273)', '2026-06-23 18:20:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042954 -3.409288)'), GeomFromEWKT('SRID=4674;POINT (-39.042981 -3.409273)'))) / (select extract(epoch from '2026-06-23 18:20:37'::timestamp) - extract(epoch from '2026-06-23 18:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042954 -3.409288)'), GeomFromEWKT('SRID=4674;POINT (-39.042981 -3.409273)'))) / (select extract(epoch from '2026-06-23 18:20:37'::timestamp) - extract(epoch from '2026-06-23 18:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043031 -3.409289)', '2026-06-23 18:21:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042981 -3.409273)'), GeomFromEWKT('SRID=4674;POINT (-39.043031 -3.409289)'))) / (select extract(epoch from '2026-06-23 18:21:02'::timestamp) - extract(epoch from '2026-06-23 18:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042981 -3.409273)'), GeomFromEWKT('SRID=4674;POINT (-39.043031 -3.409289)'))) / (select extract(epoch from '2026-06-23 18:21:02'::timestamp) - extract(epoch from '2026-06-23 18:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043078 -3.409292)', '2026-06-23 18:21:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043031 -3.409289)'), GeomFromEWKT('SRID=4674;POINT (-39.043078 -3.409292)'))) / (select extract(epoch from '2026-06-23 18:21:34'::timestamp) - extract(epoch from '2026-06-23 18:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043031 -3.409289)'), GeomFromEWKT('SRID=4674;POINT (-39.043078 -3.409292)'))) / (select extract(epoch from '2026-06-23 18:21:34'::timestamp) - extract(epoch from '2026-06-23 18:21: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'), 46587, 'SRID=4674;POINT (-39.043104 -3.409301)', '2026-06-23 18:21:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043078 -3.409292)'), GeomFromEWKT('SRID=4674;POINT (-39.043104 -3.409301)'))) / (select extract(epoch from '2026-06-23 18:21:49'::timestamp) - extract(epoch from '2026-06-23 18:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043078 -3.409292)'), GeomFromEWKT('SRID=4674;POINT (-39.043104 -3.409301)'))) / (select extract(epoch from '2026-06-23 18:21:49'::timestamp) - extract(epoch from '2026-06-23 18:21: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'), 46587, 'SRID=4674;POINT (-39.043127 -3.409306)', '2026-06-23 18:22:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043104 -3.409301)'), GeomFromEWKT('SRID=4674;POINT (-39.043127 -3.409306)'))) / (select extract(epoch from '2026-06-23 18:22:01'::timestamp) - extract(epoch from '2026-06-23 18:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043104 -3.409301)'), GeomFromEWKT('SRID=4674;POINT (-39.043127 -3.409306)'))) / (select extract(epoch from '2026-06-23 18:22:01'::timestamp) - extract(epoch from '2026-06-23 18:21: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'), 46587, 'SRID=4674;POINT (-39.043148 -3.409298)', '2026-06-23 18:22:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043127 -3.409306)'), GeomFromEWKT('SRID=4674;POINT (-39.043148 -3.409298)'))) / (select extract(epoch from '2026-06-23 18:22:10'::timestamp) - extract(epoch from '2026-06-23 18:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043127 -3.409306)'), GeomFromEWKT('SRID=4674;POINT (-39.043148 -3.409298)'))) / (select extract(epoch from '2026-06-23 18:22:10'::timestamp) - extract(epoch from '2026-06-23 18:22: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'), 46587, 'SRID=4674;POINT (-39.043168 -3.409294)', '2026-06-23 18:22:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043148 -3.409298)'), GeomFromEWKT('SRID=4674;POINT (-39.043168 -3.409294)'))) / (select extract(epoch from '2026-06-23 18:22:18'::timestamp) - extract(epoch from '2026-06-23 18:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043148 -3.409298)'), GeomFromEWKT('SRID=4674;POINT (-39.043168 -3.409294)'))) / (select extract(epoch from '2026-06-23 18:22:18'::timestamp) - extract(epoch from '2026-06-23 18:22: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'), 46587, 'SRID=4674;POINT (-39.043181 -3.409284)', '2026-06-23 18:22:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043168 -3.409294)'), GeomFromEWKT('SRID=4674;POINT (-39.043181 -3.409284)'))) / (select extract(epoch from '2026-06-23 18:22:28'::timestamp) - extract(epoch from '2026-06-23 18:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043168 -3.409294)'), GeomFromEWKT('SRID=4674;POINT (-39.043181 -3.409284)'))) / (select extract(epoch from '2026-06-23 18:22:28'::timestamp) - extract(epoch from '2026-06-23 18:22: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'), 46587, 'SRID=4674;POINT (-39.043202 -3.409274)', '2026-06-23 18:22:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043181 -3.409284)'), GeomFromEWKT('SRID=4674;POINT (-39.043202 -3.409274)'))) / (select extract(epoch from '2026-06-23 18:22:40'::timestamp) - extract(epoch from '2026-06-23 18:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043181 -3.409284)'), GeomFromEWKT('SRID=4674;POINT (-39.043202 -3.409274)'))) / (select extract(epoch from '2026-06-23 18:22:40'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.043216 -3.409252)', '2026-06-23 18:22:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043202 -3.409274)'), GeomFromEWKT('SRID=4674;POINT (-39.043216 -3.409252)'))) / (select extract(epoch from '2026-06-23 18:22:47'::timestamp) - extract(epoch from '2026-06-23 18:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043202 -3.409274)'), GeomFromEWKT('SRID=4674;POINT (-39.043216 -3.409252)'))) / (select extract(epoch from '2026-06-23 18:22:47'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.04323 -3.409256)', '2026-06-23 18:22:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043216 -3.409252)'), GeomFromEWKT('SRID=4674;POINT (-39.04323 -3.409256)'))) / (select extract(epoch from '2026-06-23 18:22:56'::timestamp) - extract(epoch from '2026-06-23 18:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043216 -3.409252)'), GeomFromEWKT('SRID=4674;POINT (-39.04323 -3.409256)'))) / (select extract(epoch from '2026-06-23 18:22:56'::timestamp) - extract(epoch from '2026-06-23 18:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043256 -3.409268)', '2026-06-23 18:23:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04323 -3.409256)'), GeomFromEWKT('SRID=4674;POINT (-39.043256 -3.409268)'))) / (select extract(epoch from '2026-06-23 18:23:07'::timestamp) - extract(epoch from '2026-06-23 18:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04323 -3.409256)'), GeomFromEWKT('SRID=4674;POINT (-39.043256 -3.409268)'))) / (select extract(epoch from '2026-06-23 18:23:07'::timestamp) - extract(epoch from '2026-06-23 18:22: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'), 46587, 'SRID=4674;POINT (-39.043277 -3.409254)', '2026-06-23 18:23:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043256 -3.409268)'), GeomFromEWKT('SRID=4674;POINT (-39.043277 -3.409254)'))) / (select extract(epoch from '2026-06-23 18:23:18'::timestamp) - extract(epoch from '2026-06-23 18:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043256 -3.409268)'), GeomFromEWKT('SRID=4674;POINT (-39.043277 -3.409254)'))) / (select extract(epoch from '2026-06-23 18:23:18'::timestamp) - extract(epoch from '2026-06-23 18:23: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'), 46587, 'SRID=4674;POINT (-39.043297 -3.409256)', '2026-06-23 18:23:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043277 -3.409254)'), GeomFromEWKT('SRID=4674;POINT (-39.043297 -3.409256)'))) / (select extract(epoch from '2026-06-23 18:23:26'::timestamp) - extract(epoch from '2026-06-23 18:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043277 -3.409254)'), GeomFromEWKT('SRID=4674;POINT (-39.043297 -3.409256)'))) / (select extract(epoch from '2026-06-23 18:23:26'::timestamp) - extract(epoch from '2026-06-23 18:23: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'), 46587, 'SRID=4674;POINT (-39.043318 -3.409259)', '2026-06-23 18:23:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043297 -3.409256)'), GeomFromEWKT('SRID=4674;POINT (-39.043318 -3.409259)'))) / (select extract(epoch from '2026-06-23 18:23:33'::timestamp) - extract(epoch from '2026-06-23 18:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043297 -3.409256)'), GeomFromEWKT('SRID=4674;POINT (-39.043318 -3.409259)'))) / (select extract(epoch from '2026-06-23 18:23:33'::timestamp) - extract(epoch from '2026-06-23 18:23: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'), 46587, 'SRID=4674;POINT (-39.04334 -3.409255)', '2026-06-23 18:23:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043318 -3.409259)'), GeomFromEWKT('SRID=4674;POINT (-39.04334 -3.409255)'))) / (select extract(epoch from '2026-06-23 18:23:43'::timestamp) - extract(epoch from '2026-06-23 18:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043318 -3.409259)'), GeomFromEWKT('SRID=4674;POINT (-39.04334 -3.409255)'))) / (select extract(epoch from '2026-06-23 18:23:43'::timestamp) - extract(epoch from '2026-06-23 18:23: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'), 46587, 'SRID=4674;POINT (-39.043348 -3.409256)', '2026-06-23 18:23:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04334 -3.409255)'), GeomFromEWKT('SRID=4674;POINT (-39.043348 -3.409256)'))) / (select extract(epoch from '2026-06-23 18:23:50'::timestamp) - extract(epoch from '2026-06-23 18:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04334 -3.409255)'), GeomFromEWKT('SRID=4674;POINT (-39.043348 -3.409256)'))) / (select extract(epoch from '2026-06-23 18:23:50'::timestamp) - extract(epoch from '2026-06-23 18:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043347 -3.409258)', '2026-06-23 18:24:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043348 -3.409256)'), GeomFromEWKT('SRID=4674;POINT (-39.043347 -3.409258)'))) / (select extract(epoch from '2026-06-23 18:24:05'::timestamp) - extract(epoch from '2026-06-23 18:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043348 -3.409256)'), GeomFromEWKT('SRID=4674;POINT (-39.043347 -3.409258)'))) / (select extract(epoch from '2026-06-23 18:24:05'::timestamp) - extract(epoch from '2026-06-23 18:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043349 -3.409264)', '2026-06-23 18:24:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043347 -3.409258)'), GeomFromEWKT('SRID=4674;POINT (-39.043349 -3.409264)'))) / (select extract(epoch from '2026-06-23 18:24:13'::timestamp) - extract(epoch from '2026-06-23 18:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043347 -3.409258)'), GeomFromEWKT('SRID=4674;POINT (-39.043349 -3.409264)'))) / (select extract(epoch from '2026-06-23 18:24:13'::timestamp) - extract(epoch from '2026-06-23 18:24: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'), 46587, 'SRID=4674;POINT (-39.043366 -3.409251)', '2026-06-23 18:24:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043349 -3.409264)'), GeomFromEWKT('SRID=4674;POINT (-39.043366 -3.409251)'))) / (select extract(epoch from '2026-06-23 18:24:23'::timestamp) - extract(epoch from '2026-06-23 18:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043349 -3.409264)'), GeomFromEWKT('SRID=4674;POINT (-39.043366 -3.409251)'))) / (select extract(epoch from '2026-06-23 18:24:23'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.043379 -3.409259)', '2026-06-23 18:24:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043366 -3.409251)'), GeomFromEWKT('SRID=4674;POINT (-39.043379 -3.409259)'))) / (select extract(epoch from '2026-06-23 18:24:35'::timestamp) - extract(epoch from '2026-06-23 18:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043366 -3.409251)'), GeomFromEWKT('SRID=4674;POINT (-39.043379 -3.409259)'))) / (select extract(epoch from '2026-06-23 18:24:35'::timestamp) - extract(epoch from '2026-06-23 18:24: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'), 46587, 'SRID=4674;POINT (-39.043396 -3.409259)', '2026-06-23 18:24:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043379 -3.409259)'), GeomFromEWKT('SRID=4674;POINT (-39.043396 -3.409259)'))) / (select extract(epoch from '2026-06-23 18:24:45'::timestamp) - extract(epoch from '2026-06-23 18:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043379 -3.409259)'), GeomFromEWKT('SRID=4674;POINT (-39.043396 -3.409259)'))) / (select extract(epoch from '2026-06-23 18:24:45'::timestamp) - extract(epoch from '2026-06-23 18:24:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043414 -3.409258)', '2026-06-23 18:24:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043396 -3.409259)'), GeomFromEWKT('SRID=4674;POINT (-39.043414 -3.409258)'))) / (select extract(epoch from '2026-06-23 18:24:55'::timestamp) - extract(epoch from '2026-06-23 18:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043396 -3.409259)'), GeomFromEWKT('SRID=4674;POINT (-39.043414 -3.409258)'))) / (select extract(epoch from '2026-06-23 18:24:55'::timestamp) - extract(epoch from '2026-06-23 18:24: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'), 46587, 'SRID=4674;POINT (-39.043431 -3.409242)', '2026-06-23 18:25:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043414 -3.409258)'), GeomFromEWKT('SRID=4674;POINT (-39.043431 -3.409242)'))) / (select extract(epoch from '2026-06-23 18:25:06'::timestamp) - extract(epoch from '2026-06-23 18:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043414 -3.409258)'), GeomFromEWKT('SRID=4674;POINT (-39.043431 -3.409242)'))) / (select extract(epoch from '2026-06-23 18:25:06'::timestamp) - extract(epoch from '2026-06-23 18:24: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'), 46587, 'SRID=4674;POINT (-39.043456 -3.40924)', '2026-06-23 18:25:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043431 -3.409242)'), GeomFromEWKT('SRID=4674;POINT (-39.043456 -3.40924)'))) / (select extract(epoch from '2026-06-23 18:25:17'::timestamp) - extract(epoch from '2026-06-23 18:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043431 -3.409242)'), GeomFromEWKT('SRID=4674;POINT (-39.043456 -3.40924)'))) / (select extract(epoch from '2026-06-23 18:25:17'::timestamp) - extract(epoch from '2026-06-23 18:25: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'), 46587, 'SRID=4674;POINT (-39.043477 -3.409253)', '2026-06-23 18:25:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043456 -3.40924)'), GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.409253)'))) / (select extract(epoch from '2026-06-23 18:25:32'::timestamp) - extract(epoch from '2026-06-23 18:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043456 -3.40924)'), GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.409253)'))) / (select extract(epoch from '2026-06-23 18:25:32'::timestamp) - extract(epoch from '2026-06-23 18:25: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'), 46587, 'SRID=4674;POINT (-39.0435 -3.409242)', '2026-06-23 18:25:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.409253)'), GeomFromEWKT('SRID=4674;POINT (-39.0435 -3.409242)'))) / (select extract(epoch from '2026-06-23 18:25:42'::timestamp) - extract(epoch from '2026-06-23 18:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.409253)'), GeomFromEWKT('SRID=4674;POINT (-39.0435 -3.409242)'))) / (select extract(epoch from '2026-06-23 18:25:42'::timestamp) - extract(epoch from '2026-06-23 18:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043512 -3.409237)', '2026-06-23 18:25:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0435 -3.409242)'), GeomFromEWKT('SRID=4674;POINT (-39.043512 -3.409237)'))) / (select extract(epoch from '2026-06-23 18:25:50'::timestamp) - extract(epoch from '2026-06-23 18:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0435 -3.409242)'), GeomFromEWKT('SRID=4674;POINT (-39.043512 -3.409237)'))) / (select extract(epoch from '2026-06-23 18:25:50'::timestamp) - extract(epoch from '2026-06-23 18:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043534 -3.409237)', '2026-06-23 18:26:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043512 -3.409237)'), GeomFromEWKT('SRID=4674;POINT (-39.043534 -3.409237)'))) / (select extract(epoch from '2026-06-23 18:26:00'::timestamp) - extract(epoch from '2026-06-23 18:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043512 -3.409237)'), GeomFromEWKT('SRID=4674;POINT (-39.043534 -3.409237)'))) / (select extract(epoch from '2026-06-23 18:26:00'::timestamp) - extract(epoch from '2026-06-23 18:25: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'), 46587, 'SRID=4674;POINT (-39.043542 -3.409229)', '2026-06-23 18:26:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043534 -3.409237)'), GeomFromEWKT('SRID=4674;POINT (-39.043542 -3.409229)'))) / (select extract(epoch from '2026-06-23 18:26:12'::timestamp) - extract(epoch from '2026-06-23 18:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043534 -3.409237)'), GeomFromEWKT('SRID=4674;POINT (-39.043542 -3.409229)'))) / (select extract(epoch from '2026-06-23 18:26:12'::timestamp) - extract(epoch from '2026-06-23 18:26: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'), 46587, 'SRID=4674;POINT (-39.043546 -3.409235)', '2026-06-23 18:26:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043542 -3.409229)'), GeomFromEWKT('SRID=4674;POINT (-39.043546 -3.409235)'))) / (select extract(epoch from '2026-06-23 18:26:21'::timestamp) - extract(epoch from '2026-06-23 18:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043542 -3.409229)'), GeomFromEWKT('SRID=4674;POINT (-39.043546 -3.409235)'))) / (select extract(epoch from '2026-06-23 18:26:21'::timestamp) - extract(epoch from '2026-06-23 18:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043562 -3.409229)', '2026-06-23 18:26:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043546 -3.409235)'), GeomFromEWKT('SRID=4674;POINT (-39.043562 -3.409229)'))) / (select extract(epoch from '2026-06-23 18:26:31'::timestamp) - extract(epoch from '2026-06-23 18:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043546 -3.409235)'), GeomFromEWKT('SRID=4674;POINT (-39.043562 -3.409229)'))) / (select extract(epoch from '2026-06-23 18:26:31'::timestamp) - extract(epoch from '2026-06-23 18:26: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'), 46587, 'SRID=4674;POINT (-39.043578 -3.409216)', '2026-06-23 18:26:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043562 -3.409229)'), GeomFromEWKT('SRID=4674;POINT (-39.043578 -3.409216)'))) / (select extract(epoch from '2026-06-23 18:26:41'::timestamp) - extract(epoch from '2026-06-23 18:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043562 -3.409229)'), GeomFromEWKT('SRID=4674;POINT (-39.043578 -3.409216)'))) / (select extract(epoch from '2026-06-23 18:26:41'::timestamp) - extract(epoch from '2026-06-23 18:26: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'), 46587, 'SRID=4674;POINT (-39.043587 -3.409215)', '2026-06-23 18:26:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043578 -3.409216)'), GeomFromEWKT('SRID=4674;POINT (-39.043587 -3.409215)'))) / (select extract(epoch from '2026-06-23 18:26:52'::timestamp) - extract(epoch from '2026-06-23 18:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043578 -3.409216)'), GeomFromEWKT('SRID=4674;POINT (-39.043587 -3.409215)'))) / (select extract(epoch from '2026-06-23 18:26:52'::timestamp) - extract(epoch from '2026-06-23 18:26: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'), 46587, 'SRID=4674;POINT (-39.043583 -3.409235)', '2026-06-23 18:26:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043587 -3.409215)'), GeomFromEWKT('SRID=4674;POINT (-39.043583 -3.409235)'))) / (select extract(epoch from '2026-06-23 18:26:58'::timestamp) - extract(epoch from '2026-06-23 18:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043587 -3.409215)'), GeomFromEWKT('SRID=4674;POINT (-39.043583 -3.409235)'))) / (select extract(epoch from '2026-06-23 18:26:58'::timestamp) - extract(epoch from '2026-06-23 18:26:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043585 -3.409218)', '2026-06-23 18:27:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043583 -3.409235)'), GeomFromEWKT('SRID=4674;POINT (-39.043585 -3.409218)'))) / (select extract(epoch from '2026-06-23 18:27:07'::timestamp) - extract(epoch from '2026-06-23 18:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043583 -3.409235)'), GeomFromEWKT('SRID=4674;POINT (-39.043585 -3.409218)'))) / (select extract(epoch from '2026-06-23 18:27:07'::timestamp) - extract(epoch from '2026-06-23 18:26: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'), 46587, 'SRID=4674;POINT (-39.043599 -3.409222)', '2026-06-23 18:27:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043585 -3.409218)'), GeomFromEWKT('SRID=4674;POINT (-39.043599 -3.409222)'))) / (select extract(epoch from '2026-06-23 18:27:16'::timestamp) - extract(epoch from '2026-06-23 18:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043585 -3.409218)'), GeomFromEWKT('SRID=4674;POINT (-39.043599 -3.409222)'))) / (select extract(epoch from '2026-06-23 18:27:16'::timestamp) - extract(epoch from '2026-06-23 18:27: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'), 46587, 'SRID=4674;POINT (-39.043616 -3.409224)', '2026-06-23 18:27:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043599 -3.409222)'), GeomFromEWKT('SRID=4674;POINT (-39.043616 -3.409224)'))) / (select extract(epoch from '2026-06-23 18:27:24'::timestamp) - extract(epoch from '2026-06-23 18:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043599 -3.409222)'), GeomFromEWKT('SRID=4674;POINT (-39.043616 -3.409224)'))) / (select extract(epoch from '2026-06-23 18:27:24'::timestamp) - extract(epoch from '2026-06-23 18:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043618 -3.409217)', '2026-06-23 18:27:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043616 -3.409224)'), GeomFromEWKT('SRID=4674;POINT (-39.043618 -3.409217)'))) / (select extract(epoch from '2026-06-23 18:27:29'::timestamp) - extract(epoch from '2026-06-23 18:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043616 -3.409224)'), GeomFromEWKT('SRID=4674;POINT (-39.043618 -3.409217)'))) / (select extract(epoch from '2026-06-23 18:27:29'::timestamp) - extract(epoch from '2026-06-23 18:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04362 -3.40922)', '2026-06-23 18:27:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043618 -3.409217)'), GeomFromEWKT('SRID=4674;POINT (-39.04362 -3.40922)'))) / (select extract(epoch from '2026-06-23 18:27:30'::timestamp) - extract(epoch from '2026-06-23 18:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043618 -3.409217)'), GeomFromEWKT('SRID=4674;POINT (-39.04362 -3.40922)'))) / (select extract(epoch from '2026-06-23 18:27:30'::timestamp) - extract(epoch from '2026-06-23 18:27: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'), 46587, 'SRID=4674;POINT (-39.043627 -3.409222)', '2026-06-23 18:27:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04362 -3.40922)'), GeomFromEWKT('SRID=4674;POINT (-39.043627 -3.409222)'))) / (select extract(epoch from '2026-06-23 18:27:37'::timestamp) - extract(epoch from '2026-06-23 18:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04362 -3.40922)'), GeomFromEWKT('SRID=4674;POINT (-39.043627 -3.409222)'))) / (select extract(epoch from '2026-06-23 18:27:37'::timestamp) - extract(epoch from '2026-06-23 18:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043637 -3.409224)', '2026-06-23 18:27:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043627 -3.409222)'), GeomFromEWKT('SRID=4674;POINT (-39.043637 -3.409224)'))) / (select extract(epoch from '2026-06-23 18:27:46'::timestamp) - extract(epoch from '2026-06-23 18:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043627 -3.409222)'), GeomFromEWKT('SRID=4674;POINT (-39.043637 -3.409224)'))) / (select extract(epoch from '2026-06-23 18:27:46'::timestamp) - extract(epoch from '2026-06-23 18:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043652 -3.409228)', '2026-06-23 18:27:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043637 -3.409224)'), GeomFromEWKT('SRID=4674;POINT (-39.043652 -3.409228)'))) / (select extract(epoch from '2026-06-23 18:27:54'::timestamp) - extract(epoch from '2026-06-23 18:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043637 -3.409224)'), GeomFromEWKT('SRID=4674;POINT (-39.043652 -3.409228)'))) / (select extract(epoch from '2026-06-23 18:27:54'::timestamp) - extract(epoch from '2026-06-23 18:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043667 -3.409234)', '2026-06-23 18:28:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043652 -3.409228)'), GeomFromEWKT('SRID=4674;POINT (-39.043667 -3.409234)'))) / (select extract(epoch from '2026-06-23 18:28:04'::timestamp) - extract(epoch from '2026-06-23 18:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043652 -3.409228)'), GeomFromEWKT('SRID=4674;POINT (-39.043667 -3.409234)'))) / (select extract(epoch from '2026-06-23 18:28:04'::timestamp) - extract(epoch from '2026-06-23 18:27:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043676 -3.409235)', '2026-06-23 18:28:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043667 -3.409234)'), GeomFromEWKT('SRID=4674;POINT (-39.043676 -3.409235)'))) / (select extract(epoch from '2026-06-23 18:28:11'::timestamp) - extract(epoch from '2026-06-23 18:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043667 -3.409234)'), GeomFromEWKT('SRID=4674;POINT (-39.043676 -3.409235)'))) / (select extract(epoch from '2026-06-23 18:28:11'::timestamp) - extract(epoch from '2026-06-23 18:28:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043687 -3.409244)', '2026-06-23 18:28:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043676 -3.409235)'), GeomFromEWKT('SRID=4674;POINT (-39.043687 -3.409244)'))) / (select extract(epoch from '2026-06-23 18:28:16'::timestamp) - extract(epoch from '2026-06-23 18:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043676 -3.409235)'), GeomFromEWKT('SRID=4674;POINT (-39.043687 -3.409244)'))) / (select extract(epoch from '2026-06-23 18:28:16'::timestamp) - extract(epoch from '2026-06-23 18:28:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043696 -3.409234)', '2026-06-23 18:28:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043687 -3.409244)'), GeomFromEWKT('SRID=4674;POINT (-39.043696 -3.409234)'))) / (select extract(epoch from '2026-06-23 18:28:27'::timestamp) - extract(epoch from '2026-06-23 18:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043687 -3.409244)'), GeomFromEWKT('SRID=4674;POINT (-39.043696 -3.409234)'))) / (select extract(epoch from '2026-06-23 18:28:27'::timestamp) - extract(epoch from '2026-06-23 18:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043706 -3.409237)', '2026-06-23 18:28:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043696 -3.409234)'), GeomFromEWKT('SRID=4674;POINT (-39.043706 -3.409237)'))) / (select extract(epoch from '2026-06-23 18:28:36'::timestamp) - extract(epoch from '2026-06-23 18:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043696 -3.409234)'), GeomFromEWKT('SRID=4674;POINT (-39.043706 -3.409237)'))) / (select extract(epoch from '2026-06-23 18:28:36'::timestamp) - extract(epoch from '2026-06-23 18:28: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'), 46587, 'SRID=4674;POINT (-39.04373 -3.40924)', '2026-06-23 18:28:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043706 -3.409237)'), GeomFromEWKT('SRID=4674;POINT (-39.04373 -3.40924)'))) / (select extract(epoch from '2026-06-23 18:28:49'::timestamp) - extract(epoch from '2026-06-23 18:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043706 -3.409237)'), GeomFromEWKT('SRID=4674;POINT (-39.04373 -3.40924)'))) / (select extract(epoch from '2026-06-23 18:28:49'::timestamp) - extract(epoch from '2026-06-23 18:28:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043753 -3.409241)', '2026-06-23 18:29:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04373 -3.40924)'), GeomFromEWKT('SRID=4674;POINT (-39.043753 -3.409241)'))) / (select extract(epoch from '2026-06-23 18:29:01'::timestamp) - extract(epoch from '2026-06-23 18:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04373 -3.40924)'), GeomFromEWKT('SRID=4674;POINT (-39.043753 -3.409241)'))) / (select extract(epoch from '2026-06-23 18:29:01'::timestamp) - extract(epoch from '2026-06-23 18:28: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'), 46587, 'SRID=4674;POINT (-39.043761 -3.409249)', '2026-06-23 18:29:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043753 -3.409241)'), GeomFromEWKT('SRID=4674;POINT (-39.043761 -3.409249)'))) / (select extract(epoch from '2026-06-23 18:29:07'::timestamp) - extract(epoch from '2026-06-23 18:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043753 -3.409241)'), GeomFromEWKT('SRID=4674;POINT (-39.043761 -3.409249)'))) / (select extract(epoch from '2026-06-23 18:29:07'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.043778 -3.409242)', '2026-06-23 18:29:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043761 -3.409249)'), GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.409242)'))) / (select extract(epoch from '2026-06-23 18:29:19'::timestamp) - extract(epoch from '2026-06-23 18:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043761 -3.409249)'), GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.409242)'))) / (select extract(epoch from '2026-06-23 18:29:19'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.043795 -3.409237)', '2026-06-23 18:29:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.409242)'), GeomFromEWKT('SRID=4674;POINT (-39.043795 -3.409237)'))) / (select extract(epoch from '2026-06-23 18:29:38'::timestamp) - extract(epoch from '2026-06-23 18:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.409242)'), GeomFromEWKT('SRID=4674;POINT (-39.043795 -3.409237)'))) / (select extract(epoch from '2026-06-23 18:29:38'::timestamp) - extract(epoch from '2026-06-23 18:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043807 -3.409233)', '2026-06-23 18:29:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043795 -3.409237)'), GeomFromEWKT('SRID=4674;POINT (-39.043807 -3.409233)'))) / (select extract(epoch from '2026-06-23 18:29:49'::timestamp) - extract(epoch from '2026-06-23 18:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043795 -3.409237)'), GeomFromEWKT('SRID=4674;POINT (-39.043807 -3.409233)'))) / (select extract(epoch from '2026-06-23 18:29:49'::timestamp) - extract(epoch from '2026-06-23 18:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043813 -3.409234)', '2026-06-23 18:30:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043807 -3.409233)'), GeomFromEWKT('SRID=4674;POINT (-39.043813 -3.409234)'))) / (select extract(epoch from '2026-06-23 18:30:03'::timestamp) - extract(epoch from '2026-06-23 18:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043807 -3.409233)'), GeomFromEWKT('SRID=4674;POINT (-39.043813 -3.409234)'))) / (select extract(epoch from '2026-06-23 18:30:03'::timestamp) - extract(epoch from '2026-06-23 18:29: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'), 46587, 'SRID=4674;POINT (-39.043823 -3.409227)', '2026-06-23 18:30:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043813 -3.409234)'), GeomFromEWKT('SRID=4674;POINT (-39.043823 -3.409227)'))) / (select extract(epoch from '2026-06-23 18:30:11'::timestamp) - extract(epoch from '2026-06-23 18:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043813 -3.409234)'), GeomFromEWKT('SRID=4674;POINT (-39.043823 -3.409227)'))) / (select extract(epoch from '2026-06-23 18:30:11'::timestamp) - extract(epoch from '2026-06-23 18:30: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'), 46587, 'SRID=4674;POINT (-39.043827 -3.409223)', '2026-06-23 18:30:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043823 -3.409227)'), GeomFromEWKT('SRID=4674;POINT (-39.043827 -3.409223)'))) / (select extract(epoch from '2026-06-23 18:30:20'::timestamp) - extract(epoch from '2026-06-23 18:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043823 -3.409227)'), GeomFromEWKT('SRID=4674;POINT (-39.043827 -3.409223)'))) / (select extract(epoch from '2026-06-23 18:30:20'::timestamp) - extract(epoch from '2026-06-23 18:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043834 -3.409224)', '2026-06-23 18:30:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043827 -3.409223)'), GeomFromEWKT('SRID=4674;POINT (-39.043834 -3.409224)'))) / (select extract(epoch from '2026-06-23 18:30:32'::timestamp) - extract(epoch from '2026-06-23 18:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043827 -3.409223)'), GeomFromEWKT('SRID=4674;POINT (-39.043834 -3.409224)'))) / (select extract(epoch from '2026-06-23 18:30:32'::timestamp) - extract(epoch from '2026-06-23 18:30: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'), 46587, 'SRID=4674;POINT (-39.043845 -3.409221)', '2026-06-23 18:30:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043834 -3.409224)'), GeomFromEWKT('SRID=4674;POINT (-39.043845 -3.409221)'))) / (select extract(epoch from '2026-06-23 18:30:43'::timestamp) - extract(epoch from '2026-06-23 18:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043834 -3.409224)'), GeomFromEWKT('SRID=4674;POINT (-39.043845 -3.409221)'))) / (select extract(epoch from '2026-06-23 18:30:43'::timestamp) - extract(epoch from '2026-06-23 18:30: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'), 46587, 'SRID=4674;POINT (-39.04386 -3.409221)', '2026-06-23 18:30:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043845 -3.409221)'), GeomFromEWKT('SRID=4674;POINT (-39.04386 -3.409221)'))) / (select extract(epoch from '2026-06-23 18:30:50'::timestamp) - extract(epoch from '2026-06-23 18:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043845 -3.409221)'), GeomFromEWKT('SRID=4674;POINT (-39.04386 -3.409221)'))) / (select extract(epoch from '2026-06-23 18:30:50'::timestamp) - extract(epoch from '2026-06-23 18:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043861 -3.409223)', '2026-06-23 18:31:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04386 -3.409221)'), GeomFromEWKT('SRID=4674;POINT (-39.043861 -3.409223)'))) / (select extract(epoch from '2026-06-23 18:31:03'::timestamp) - extract(epoch from '2026-06-23 18:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04386 -3.409221)'), GeomFromEWKT('SRID=4674;POINT (-39.043861 -3.409223)'))) / (select extract(epoch from '2026-06-23 18:31:03'::timestamp) - extract(epoch from '2026-06-23 18:30:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043872 -3.409228)', '2026-06-23 18:31:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043861 -3.409223)'), GeomFromEWKT('SRID=4674;POINT (-39.043872 -3.409228)'))) / (select extract(epoch from '2026-06-23 18:31:10'::timestamp) - extract(epoch from '2026-06-23 18:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043861 -3.409223)'), GeomFromEWKT('SRID=4674;POINT (-39.043872 -3.409228)'))) / (select extract(epoch from '2026-06-23 18:31:10'::timestamp) - extract(epoch from '2026-06-23 18:31: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'), 46587, 'SRID=4674;POINT (-39.043884 -3.409238)', '2026-06-23 18:31:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043872 -3.409228)'), GeomFromEWKT('SRID=4674;POINT (-39.043884 -3.409238)'))) / (select extract(epoch from '2026-06-23 18:31:17'::timestamp) - extract(epoch from '2026-06-23 18:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043872 -3.409228)'), GeomFromEWKT('SRID=4674;POINT (-39.043884 -3.409238)'))) / (select extract(epoch from '2026-06-23 18:31:17'::timestamp) - extract(epoch from '2026-06-23 18:31: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'), 46587, 'SRID=4674;POINT (-39.043899 -3.409235)', '2026-06-23 18:31:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043884 -3.409238)'), GeomFromEWKT('SRID=4674;POINT (-39.043899 -3.409235)'))) / (select extract(epoch from '2026-06-23 18:31:27'::timestamp) - extract(epoch from '2026-06-23 18:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043884 -3.409238)'), GeomFromEWKT('SRID=4674;POINT (-39.043899 -3.409235)'))) / (select extract(epoch from '2026-06-23 18:31:27'::timestamp) - extract(epoch from '2026-06-23 18:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043906 -3.409233)', '2026-06-23 18:31:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043899 -3.409235)'), GeomFromEWKT('SRID=4674;POINT (-39.043906 -3.409233)'))) / (select extract(epoch from '2026-06-23 18:31:39'::timestamp) - extract(epoch from '2026-06-23 18:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043899 -3.409235)'), GeomFromEWKT('SRID=4674;POINT (-39.043906 -3.409233)'))) / (select extract(epoch from '2026-06-23 18:31:39'::timestamp) - extract(epoch from '2026-06-23 18:31: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'), 46587, 'SRID=4674;POINT (-39.043923 -3.409227)', '2026-06-23 18:31:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043906 -3.409233)'), GeomFromEWKT('SRID=4674;POINT (-39.043923 -3.409227)'))) / (select extract(epoch from '2026-06-23 18:31:45'::timestamp) - extract(epoch from '2026-06-23 18:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043906 -3.409233)'), GeomFromEWKT('SRID=4674;POINT (-39.043923 -3.409227)'))) / (select extract(epoch from '2026-06-23 18:31:45'::timestamp) - extract(epoch from '2026-06-23 18:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043934 -3.409231)', '2026-06-23 18:31:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043923 -3.409227)'), GeomFromEWKT('SRID=4674;POINT (-39.043934 -3.409231)'))) / (select extract(epoch from '2026-06-23 18:31:57'::timestamp) - extract(epoch from '2026-06-23 18:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043923 -3.409227)'), GeomFromEWKT('SRID=4674;POINT (-39.043934 -3.409231)'))) / (select extract(epoch from '2026-06-23 18:31:57'::timestamp) - extract(epoch from '2026-06-23 18:31: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'), 46587, 'SRID=4674;POINT (-39.043962 -3.409241)', '2026-06-23 18:32:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043934 -3.409231)'), GeomFromEWKT('SRID=4674;POINT (-39.043962 -3.409241)'))) / (select extract(epoch from '2026-06-23 18:32:08'::timestamp) - extract(epoch from '2026-06-23 18:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043934 -3.409231)'), GeomFromEWKT('SRID=4674;POINT (-39.043962 -3.409241)'))) / (select extract(epoch from '2026-06-23 18:32:08'::timestamp) - extract(epoch from '2026-06-23 18:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043983 -3.409248)', '2026-06-23 18:32:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043962 -3.409241)'), GeomFromEWKT('SRID=4674;POINT (-39.043983 -3.409248)'))) / (select extract(epoch from '2026-06-23 18:32:15'::timestamp) - extract(epoch from '2026-06-23 18:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043962 -3.409241)'), GeomFromEWKT('SRID=4674;POINT (-39.043983 -3.409248)'))) / (select extract(epoch from '2026-06-23 18:32:15'::timestamp) - extract(epoch from '2026-06-23 18:32: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'), 46587, 'SRID=4674;POINT (-39.044014 -3.409249)', '2026-06-23 18:32:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043983 -3.409248)'), GeomFromEWKT('SRID=4674;POINT (-39.044014 -3.409249)'))) / (select extract(epoch from '2026-06-23 18:32:23'::timestamp) - extract(epoch from '2026-06-23 18:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043983 -3.409248)'), GeomFromEWKT('SRID=4674;POINT (-39.044014 -3.409249)'))) / (select extract(epoch from '2026-06-23 18:32:23'::timestamp) - extract(epoch from '2026-06-23 18:32: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'), 46587, 'SRID=4674;POINT (-39.04403 -3.409239)', '2026-06-23 18:32:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044014 -3.409249)'), GeomFromEWKT('SRID=4674;POINT (-39.04403 -3.409239)'))) / (select extract(epoch from '2026-06-23 18:32:30'::timestamp) - extract(epoch from '2026-06-23 18:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044014 -3.409249)'), GeomFromEWKT('SRID=4674;POINT (-39.04403 -3.409239)'))) / (select extract(epoch from '2026-06-23 18:32:30'::timestamp) - extract(epoch from '2026-06-23 18:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044032 -3.40925)', '2026-06-23 18:32:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04403 -3.409239)'), GeomFromEWKT('SRID=4674;POINT (-39.044032 -3.40925)'))) / (select extract(epoch from '2026-06-23 18:32:39'::timestamp) - extract(epoch from '2026-06-23 18:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04403 -3.409239)'), GeomFromEWKT('SRID=4674;POINT (-39.044032 -3.40925)'))) / (select extract(epoch from '2026-06-23 18:32:39'::timestamp) - extract(epoch from '2026-06-23 18:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044034 -3.409243)', '2026-06-23 18:32:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044032 -3.40925)'), GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.409243)'))) / (select extract(epoch from '2026-06-23 18:32:49'::timestamp) - extract(epoch from '2026-06-23 18:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044032 -3.40925)'), GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.409243)'))) / (select extract(epoch from '2026-06-23 18:32:49'::timestamp) - extract(epoch from '2026-06-23 18:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044054 -3.409238)', '2026-06-23 18:32:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.409243)'), GeomFromEWKT('SRID=4674;POINT (-39.044054 -3.409238)'))) / (select extract(epoch from '2026-06-23 18:32:57'::timestamp) - extract(epoch from '2026-06-23 18:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.409243)'), GeomFromEWKT('SRID=4674;POINT (-39.044054 -3.409238)'))) / (select extract(epoch from '2026-06-23 18:32:57'::timestamp) - extract(epoch from '2026-06-23 18:32: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'), 46587, 'SRID=4674;POINT (-39.044081 -3.40924)', '2026-06-23 18:33:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044054 -3.409238)'), GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.40924)'))) / (select extract(epoch from '2026-06-23 18:33:10'::timestamp) - extract(epoch from '2026-06-23 18:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044054 -3.409238)'), GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.40924)'))) / (select extract(epoch from '2026-06-23 18:33:10'::timestamp) - extract(epoch from '2026-06-23 18:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044093 -3.409235)', '2026-06-23 18:33:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.40924)'), GeomFromEWKT('SRID=4674;POINT (-39.044093 -3.409235)'))) / (select extract(epoch from '2026-06-23 18:33:20'::timestamp) - extract(epoch from '2026-06-23 18:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.40924)'), GeomFromEWKT('SRID=4674;POINT (-39.044093 -3.409235)'))) / (select extract(epoch from '2026-06-23 18:33:20'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.044112 -3.409227)', '2026-06-23 18:33:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044093 -3.409235)'), GeomFromEWKT('SRID=4674;POINT (-39.044112 -3.409227)'))) / (select extract(epoch from '2026-06-23 18:33:35'::timestamp) - extract(epoch from '2026-06-23 18:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044093 -3.409235)'), GeomFromEWKT('SRID=4674;POINT (-39.044112 -3.409227)'))) / (select extract(epoch from '2026-06-23 18:33:35'::timestamp) - extract(epoch from '2026-06-23 18:33: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'), 46587, 'SRID=4674;POINT (-39.044121 -3.40923)', '2026-06-23 18:33:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044112 -3.409227)'), GeomFromEWKT('SRID=4674;POINT (-39.044121 -3.40923)'))) / (select extract(epoch from '2026-06-23 18:33:45'::timestamp) - extract(epoch from '2026-06-23 18:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044112 -3.409227)'), GeomFromEWKT('SRID=4674;POINT (-39.044121 -3.40923)'))) / (select extract(epoch from '2026-06-23 18:33:45'::timestamp) - extract(epoch from '2026-06-23 18:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044135 -3.409222)', '2026-06-23 18:33:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044121 -3.40923)'), GeomFromEWKT('SRID=4674;POINT (-39.044135 -3.409222)'))) / (select extract(epoch from '2026-06-23 18:33:54'::timestamp) - extract(epoch from '2026-06-23 18:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044121 -3.40923)'), GeomFromEWKT('SRID=4674;POINT (-39.044135 -3.409222)'))) / (select extract(epoch from '2026-06-23 18:33:54'::timestamp) - extract(epoch from '2026-06-23 18:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044172 -3.409237)', '2026-06-23 18:34:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044135 -3.409222)'), GeomFromEWKT('SRID=4674;POINT (-39.044172 -3.409237)'))) / (select extract(epoch from '2026-06-23 18:34:12'::timestamp) - extract(epoch from '2026-06-23 18:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044135 -3.409222)'), GeomFromEWKT('SRID=4674;POINT (-39.044172 -3.409237)'))) / (select extract(epoch from '2026-06-23 18:34:12'::timestamp) - extract(epoch from '2026-06-23 18:33: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'), 46587, 'SRID=4674;POINT (-39.04419 -3.409236)', '2026-06-23 18:34:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044172 -3.409237)'), GeomFromEWKT('SRID=4674;POINT (-39.04419 -3.409236)'))) / (select extract(epoch from '2026-06-23 18:34:21'::timestamp) - extract(epoch from '2026-06-23 18:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044172 -3.409237)'), GeomFromEWKT('SRID=4674;POINT (-39.04419 -3.409236)'))) / (select extract(epoch from '2026-06-23 18:34:21'::timestamp) - extract(epoch from '2026-06-23 18:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044198 -3.409228)', '2026-06-23 18:34:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04419 -3.409236)'), GeomFromEWKT('SRID=4674;POINT (-39.044198 -3.409228)'))) / (select extract(epoch from '2026-06-23 18:34:30'::timestamp) - extract(epoch from '2026-06-23 18:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04419 -3.409236)'), GeomFromEWKT('SRID=4674;POINT (-39.044198 -3.409228)'))) / (select extract(epoch from '2026-06-23 18:34:30'::timestamp) - extract(epoch from '2026-06-23 18:34:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04421 -3.409226)', '2026-06-23 18:34:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044198 -3.409228)'), GeomFromEWKT('SRID=4674;POINT (-39.04421 -3.409226)'))) / (select extract(epoch from '2026-06-23 18:34:38'::timestamp) - extract(epoch from '2026-06-23 18:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044198 -3.409228)'), GeomFromEWKT('SRID=4674;POINT (-39.04421 -3.409226)'))) / (select extract(epoch from '2026-06-23 18:34:38'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.044226 -3.409224)', '2026-06-23 18:34:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04421 -3.409226)'), GeomFromEWKT('SRID=4674;POINT (-39.044226 -3.409224)'))) / (select extract(epoch from '2026-06-23 18:34:45'::timestamp) - extract(epoch from '2026-06-23 18:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04421 -3.409226)'), GeomFromEWKT('SRID=4674;POINT (-39.044226 -3.409224)'))) / (select extract(epoch from '2026-06-23 18:34:45'::timestamp) - extract(epoch from '2026-06-23 18:34: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'), 46587, 'SRID=4674;POINT (-39.044233 -3.409224)', '2026-06-23 18:34:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044226 -3.409224)'), GeomFromEWKT('SRID=4674;POINT (-39.044233 -3.409224)'))) / (select extract(epoch from '2026-06-23 18:34:55'::timestamp) - extract(epoch from '2026-06-23 18:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044226 -3.409224)'), GeomFromEWKT('SRID=4674;POINT (-39.044233 -3.409224)'))) / (select extract(epoch from '2026-06-23 18:34:55'::timestamp) - extract(epoch from '2026-06-23 18:34: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'), 46587, 'SRID=4674;POINT (-39.044248 -3.40922)', '2026-06-23 18:35:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044233 -3.409224)'), GeomFromEWKT('SRID=4674;POINT (-39.044248 -3.40922)'))) / (select extract(epoch from '2026-06-23 18:35:04'::timestamp) - extract(epoch from '2026-06-23 18:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044233 -3.409224)'), GeomFromEWKT('SRID=4674;POINT (-39.044248 -3.40922)'))) / (select extract(epoch from '2026-06-23 18:35:04'::timestamp) - extract(epoch from '2026-06-23 18:34: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'), 46587, 'SRID=4674;POINT (-39.044267 -3.409225)', '2026-06-23 18:35:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044248 -3.40922)'), GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.409225)'))) / (select extract(epoch from '2026-06-23 18:35:11'::timestamp) - extract(epoch from '2026-06-23 18:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044248 -3.40922)'), GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.409225)'))) / (select extract(epoch from '2026-06-23 18:35:11'::timestamp) - extract(epoch from '2026-06-23 18:35: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'), 46587, 'SRID=4674;POINT (-39.044285 -3.409215)', '2026-06-23 18:35:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.409225)'), GeomFromEWKT('SRID=4674;POINT (-39.044285 -3.409215)'))) / (select extract(epoch from '2026-06-23 18:35:19'::timestamp) - extract(epoch from '2026-06-23 18:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.409225)'), GeomFromEWKT('SRID=4674;POINT (-39.044285 -3.409215)'))) / (select extract(epoch from '2026-06-23 18:35:19'::timestamp) - extract(epoch from '2026-06-23 18:35: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'), 46587, 'SRID=4674;POINT (-39.044295 -3.409223)', '2026-06-23 18:35:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044285 -3.409215)'), GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.409223)'))) / (select extract(epoch from '2026-06-23 18:35:29'::timestamp) - extract(epoch from '2026-06-23 18:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044285 -3.409215)'), GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.409223)'))) / (select extract(epoch from '2026-06-23 18:35:29'::timestamp) - extract(epoch from '2026-06-23 18:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044308 -3.409231)', '2026-06-23 18:35:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.409223)'), GeomFromEWKT('SRID=4674;POINT (-39.044308 -3.409231)'))) / (select extract(epoch from '2026-06-23 18:35:38'::timestamp) - extract(epoch from '2026-06-23 18:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.409223)'), GeomFromEWKT('SRID=4674;POINT (-39.044308 -3.409231)'))) / (select extract(epoch from '2026-06-23 18:35:38'::timestamp) - extract(epoch from '2026-06-23 18:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04432 -3.409236)', '2026-06-23 18:35:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044308 -3.409231)'), GeomFromEWKT('SRID=4674;POINT (-39.04432 -3.409236)'))) / (select extract(epoch from '2026-06-23 18:35:46'::timestamp) - extract(epoch from '2026-06-23 18:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044308 -3.409231)'), GeomFromEWKT('SRID=4674;POINT (-39.04432 -3.409236)'))) / (select extract(epoch from '2026-06-23 18:35:46'::timestamp) - extract(epoch from '2026-06-23 18:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044327 -3.409222)', '2026-06-23 18:35:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04432 -3.409236)'), GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.409222)'))) / (select extract(epoch from '2026-06-23 18:35:56'::timestamp) - extract(epoch from '2026-06-23 18:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04432 -3.409236)'), GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.409222)'))) / (select extract(epoch from '2026-06-23 18:35:56'::timestamp) - extract(epoch from '2026-06-23 18:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044333 -3.409207)', '2026-06-23 18:36:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.409222)'), GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.409207)'))) / (select extract(epoch from '2026-06-23 18:36:06'::timestamp) - extract(epoch from '2026-06-23 18:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.409222)'), GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.409207)'))) / (select extract(epoch from '2026-06-23 18:36:06'::timestamp) - extract(epoch from '2026-06-23 18:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044354 -3.409207)', '2026-06-23 18:36:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.409207)'), GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.409207)'))) / (select extract(epoch from '2026-06-23 18:36:14'::timestamp) - extract(epoch from '2026-06-23 18:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.409207)'), GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.409207)'))) / (select extract(epoch from '2026-06-23 18:36:14'::timestamp) - extract(epoch from '2026-06-23 18:36:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044363 -3.409228)', '2026-06-23 18:36:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.409207)'), GeomFromEWKT('SRID=4674;POINT (-39.044363 -3.409228)'))) / (select extract(epoch from '2026-06-23 18:36:22'::timestamp) - extract(epoch from '2026-06-23 18:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.409207)'), GeomFromEWKT('SRID=4674;POINT (-39.044363 -3.409228)'))) / (select extract(epoch from '2026-06-23 18:36:22'::timestamp) - extract(epoch from '2026-06-23 18:36: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'), 46587, 'SRID=4674;POINT (-39.044338 -3.409262)', '2026-06-23 18:36:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044363 -3.409228)'), GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.409262)'))) / (select extract(epoch from '2026-06-23 18:36:29'::timestamp) - extract(epoch from '2026-06-23 18:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044363 -3.409228)'), GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.409262)'))) / (select extract(epoch from '2026-06-23 18:36:29'::timestamp) - extract(epoch from '2026-06-23 18:36: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'), 46587, 'SRID=4674;POINT (-39.044307 -3.409299)', '2026-06-23 18:36:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.409262)'), GeomFromEWKT('SRID=4674;POINT (-39.044307 -3.409299)'))) / (select extract(epoch from '2026-06-23 18:36:36'::timestamp) - extract(epoch from '2026-06-23 18:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.409262)'), GeomFromEWKT('SRID=4674;POINT (-39.044307 -3.409299)'))) / (select extract(epoch from '2026-06-23 18:36:36'::timestamp) - extract(epoch from '2026-06-23 18:36: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'), 46587, 'SRID=4674;POINT (-39.044267 -3.409341)', '2026-06-23 18:36:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044307 -3.409299)'), GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.409341)'))) / (select extract(epoch from '2026-06-23 18:36:44'::timestamp) - extract(epoch from '2026-06-23 18:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044307 -3.409299)'), GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.409341)'))) / (select extract(epoch from '2026-06-23 18:36:44'::timestamp) - extract(epoch from '2026-06-23 18:36: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'), 46587, 'SRID=4674;POINT (-39.044236 -3.409379)', '2026-06-23 18:36:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.409341)'), GeomFromEWKT('SRID=4674;POINT (-39.044236 -3.409379)'))) / (select extract(epoch from '2026-06-23 18:36:51'::timestamp) - extract(epoch from '2026-06-23 18:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044267 -3.409341)'), GeomFromEWKT('SRID=4674;POINT (-39.044236 -3.409379)'))) / (select extract(epoch from '2026-06-23 18:36:51'::timestamp) - extract(epoch from '2026-06-23 18:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044212 -3.409434)', '2026-06-23 18:36:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044236 -3.409379)'), GeomFromEWKT('SRID=4674;POINT (-39.044212 -3.409434)'))) / (select extract(epoch from '2026-06-23 18:36:59'::timestamp) - extract(epoch from '2026-06-23 18:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044236 -3.409379)'), GeomFromEWKT('SRID=4674;POINT (-39.044212 -3.409434)'))) / (select extract(epoch from '2026-06-23 18:36:59'::timestamp) - extract(epoch from '2026-06-23 18:36: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'), 46587, 'SRID=4674;POINT (-39.044172 -3.409475)', '2026-06-23 18:37:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044212 -3.409434)'), GeomFromEWKT('SRID=4674;POINT (-39.044172 -3.409475)'))) / (select extract(epoch from '2026-06-23 18:37:08'::timestamp) - extract(epoch from '2026-06-23 18:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044212 -3.409434)'), GeomFromEWKT('SRID=4674;POINT (-39.044172 -3.409475)'))) / (select extract(epoch from '2026-06-23 18:37:08'::timestamp) - extract(epoch from '2026-06-23 18:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044142 -3.409511)', '2026-06-23 18:37:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044172 -3.409475)'), GeomFromEWKT('SRID=4674;POINT (-39.044142 -3.409511)'))) / (select extract(epoch from '2026-06-23 18:37:15'::timestamp) - extract(epoch from '2026-06-23 18:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044172 -3.409475)'), GeomFromEWKT('SRID=4674;POINT (-39.044142 -3.409511)'))) / (select extract(epoch from '2026-06-23 18:37:15'::timestamp) - extract(epoch from '2026-06-23 18:37: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'), 46587, 'SRID=4674;POINT (-39.044114 -3.409548)', '2026-06-23 18:37:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044142 -3.409511)'), GeomFromEWKT('SRID=4674;POINT (-39.044114 -3.409548)'))) / (select extract(epoch from '2026-06-23 18:37:21'::timestamp) - extract(epoch from '2026-06-23 18:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044142 -3.409511)'), GeomFromEWKT('SRID=4674;POINT (-39.044114 -3.409548)'))) / (select extract(epoch from '2026-06-23 18:37:21'::timestamp) - extract(epoch from '2026-06-23 18:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04408 -3.409589)', '2026-06-23 18:37:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044114 -3.409548)'), GeomFromEWKT('SRID=4674;POINT (-39.04408 -3.409589)'))) / (select extract(epoch from '2026-06-23 18:37:30'::timestamp) - extract(epoch from '2026-06-23 18:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044114 -3.409548)'), GeomFromEWKT('SRID=4674;POINT (-39.04408 -3.409589)'))) / (select extract(epoch from '2026-06-23 18:37:30'::timestamp) - extract(epoch from '2026-06-23 18:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044055 -3.409636)', '2026-06-23 18:37:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04408 -3.409589)'), GeomFromEWKT('SRID=4674;POINT (-39.044055 -3.409636)'))) / (select extract(epoch from '2026-06-23 18:37:38'::timestamp) - extract(epoch from '2026-06-23 18:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04408 -3.409589)'), GeomFromEWKT('SRID=4674;POINT (-39.044055 -3.409636)'))) / (select extract(epoch from '2026-06-23 18:37:38'::timestamp) - extract(epoch from '2026-06-23 18:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044047 -3.40965)', '2026-06-23 18:37:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044055 -3.409636)'), GeomFromEWKT('SRID=4674;POINT (-39.044047 -3.40965)'))) / (select extract(epoch from '2026-06-23 18:37:40'::timestamp) - extract(epoch from '2026-06-23 18:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044055 -3.409636)'), GeomFromEWKT('SRID=4674;POINT (-39.044047 -3.40965)'))) / (select extract(epoch from '2026-06-23 18:37:40'::timestamp) - extract(epoch from '2026-06-23 18:37: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'), 46587, 'SRID=4674;POINT (-39.044029 -3.409686)', '2026-06-23 18:37:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044047 -3.40965)'), GeomFromEWKT('SRID=4674;POINT (-39.044029 -3.409686)'))) / (select extract(epoch from '2026-06-23 18:37:46'::timestamp) - extract(epoch from '2026-06-23 18:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044047 -3.40965)'), GeomFromEWKT('SRID=4674;POINT (-39.044029 -3.409686)'))) / (select extract(epoch from '2026-06-23 18:37:46'::timestamp) - extract(epoch from '2026-06-23 18:37: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'), 46587, 'SRID=4674;POINT (-39.044012 -3.409704)', '2026-06-23 18:37:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044029 -3.409686)'), GeomFromEWKT('SRID=4674;POINT (-39.044012 -3.409704)'))) / (select extract(epoch from '2026-06-23 18:37:50'::timestamp) - extract(epoch from '2026-06-23 18:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044029 -3.409686)'), GeomFromEWKT('SRID=4674;POINT (-39.044012 -3.409704)'))) / (select extract(epoch from '2026-06-23 18:37:50'::timestamp) - extract(epoch from '2026-06-23 18:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.044002 -3.409729)', '2026-06-23 18:37:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044012 -3.409704)'), GeomFromEWKT('SRID=4674;POINT (-39.044002 -3.409729)'))) / (select extract(epoch from '2026-06-23 18:37:53'::timestamp) - extract(epoch from '2026-06-23 18:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044012 -3.409704)'), GeomFromEWKT('SRID=4674;POINT (-39.044002 -3.409729)'))) / (select extract(epoch from '2026-06-23 18:37:53'::timestamp) - extract(epoch from '2026-06-23 18:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043976 -3.409759)', '2026-06-23 18:37:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044002 -3.409729)'), GeomFromEWKT('SRID=4674;POINT (-39.043976 -3.409759)'))) / (select extract(epoch from '2026-06-23 18:37:59'::timestamp) - extract(epoch from '2026-06-23 18:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044002 -3.409729)'), GeomFromEWKT('SRID=4674;POINT (-39.043976 -3.409759)'))) / (select extract(epoch from '2026-06-23 18:37:59'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.043946 -3.409803)', '2026-06-23 18:38:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043976 -3.409759)'), GeomFromEWKT('SRID=4674;POINT (-39.043946 -3.409803)'))) / (select extract(epoch from '2026-06-23 18:38:07'::timestamp) - extract(epoch from '2026-06-23 18:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043976 -3.409759)'), GeomFromEWKT('SRID=4674;POINT (-39.043946 -3.409803)'))) / (select extract(epoch from '2026-06-23 18:38:07'::timestamp) - extract(epoch from '2026-06-23 18:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04391 -3.409847)', '2026-06-23 18:38:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043946 -3.409803)'), GeomFromEWKT('SRID=4674;POINT (-39.04391 -3.409847)'))) / (select extract(epoch from '2026-06-23 18:38:14'::timestamp) - extract(epoch from '2026-06-23 18:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043946 -3.409803)'), GeomFromEWKT('SRID=4674;POINT (-39.04391 -3.409847)'))) / (select extract(epoch from '2026-06-23 18:38:14'::timestamp) - extract(epoch from '2026-06-23 18:38: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'), 46587, 'SRID=4674;POINT (-39.043885 -3.409874)', '2026-06-23 18:38:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04391 -3.409847)'), GeomFromEWKT('SRID=4674;POINT (-39.043885 -3.409874)'))) / (select extract(epoch from '2026-06-23 18:38:20'::timestamp) - extract(epoch from '2026-06-23 18:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04391 -3.409847)'), GeomFromEWKT('SRID=4674;POINT (-39.043885 -3.409874)'))) / (select extract(epoch from '2026-06-23 18:38:20'::timestamp) - extract(epoch from '2026-06-23 18:38: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'), 46587, 'SRID=4674;POINT (-39.043871 -3.409899)', '2026-06-23 18:38:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043885 -3.409874)'), GeomFromEWKT('SRID=4674;POINT (-39.043871 -3.409899)'))) / (select extract(epoch from '2026-06-23 18:38:23'::timestamp) - extract(epoch from '2026-06-23 18:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043885 -3.409874)'), GeomFromEWKT('SRID=4674;POINT (-39.043871 -3.409899)'))) / (select extract(epoch from '2026-06-23 18:38:23'::timestamp) - extract(epoch from '2026-06-23 18:38: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'), 46587, 'SRID=4674;POINT (-39.043859 -3.409907)', '2026-06-23 18:38:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043871 -3.409899)'), GeomFromEWKT('SRID=4674;POINT (-39.043859 -3.409907)'))) / (select extract(epoch from '2026-06-23 18:38:25'::timestamp) - extract(epoch from '2026-06-23 18:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043871 -3.409899)'), GeomFromEWKT('SRID=4674;POINT (-39.043859 -3.409907)'))) / (select extract(epoch from '2026-06-23 18:38:25'::timestamp) - extract(epoch from '2026-06-23 18:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043806 -3.409967)', '2026-06-23 18:38:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043859 -3.409907)'), GeomFromEWKT('SRID=4674;POINT (-39.043806 -3.409967)'))) / (select extract(epoch from '2026-06-23 18:38:36'::timestamp) - extract(epoch from '2026-06-23 18:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043859 -3.409907)'), GeomFromEWKT('SRID=4674;POINT (-39.043806 -3.409967)'))) / (select extract(epoch from '2026-06-23 18:38:36'::timestamp) - extract(epoch from '2026-06-23 18:38:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043766 -3.410003)', '2026-06-23 18:38:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043806 -3.409967)'), GeomFromEWKT('SRID=4674;POINT (-39.043766 -3.410003)'))) / (select extract(epoch from '2026-06-23 18:38:44'::timestamp) - extract(epoch from '2026-06-23 18:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043806 -3.409967)'), GeomFromEWKT('SRID=4674;POINT (-39.043766 -3.410003)'))) / (select extract(epoch from '2026-06-23 18:38:44'::timestamp) - extract(epoch from '2026-06-23 18:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043726 -3.410045)', '2026-06-23 18:38:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043766 -3.410003)'), GeomFromEWKT('SRID=4674;POINT (-39.043726 -3.410045)'))) / (select extract(epoch from '2026-06-23 18:38:52'::timestamp) - extract(epoch from '2026-06-23 18:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043766 -3.410003)'), GeomFromEWKT('SRID=4674;POINT (-39.043726 -3.410045)'))) / (select extract(epoch from '2026-06-23 18:38:52'::timestamp) - extract(epoch from '2026-06-23 18:38: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'), 46587, 'SRID=4674;POINT (-39.043685 -3.410082)', '2026-06-23 18:39:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043726 -3.410045)'), GeomFromEWKT('SRID=4674;POINT (-39.043685 -3.410082)'))) / (select extract(epoch from '2026-06-23 18:39:00'::timestamp) - extract(epoch from '2026-06-23 18:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043726 -3.410045)'), GeomFromEWKT('SRID=4674;POINT (-39.043685 -3.410082)'))) / (select extract(epoch from '2026-06-23 18:39:00'::timestamp) - extract(epoch from '2026-06-23 18:38: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'), 46587, 'SRID=4674;POINT (-39.043655 -3.410109)', '2026-06-23 18:39:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043685 -3.410082)'), GeomFromEWKT('SRID=4674;POINT (-39.043655 -3.410109)'))) / (select extract(epoch from '2026-06-23 18:39:06'::timestamp) - extract(epoch from '2026-06-23 18:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043685 -3.410082)'), GeomFromEWKT('SRID=4674;POINT (-39.043655 -3.410109)'))) / (select extract(epoch from '2026-06-23 18:39:06'::timestamp) - extract(epoch from '2026-06-23 18:39: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'), 46587, 'SRID=4674;POINT (-39.043606 -3.41015)', '2026-06-23 18:39:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043655 -3.410109)'), GeomFromEWKT('SRID=4674;POINT (-39.043606 -3.41015)'))) / (select extract(epoch from '2026-06-23 18:39:16'::timestamp) - extract(epoch from '2026-06-23 18:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043655 -3.410109)'), GeomFromEWKT('SRID=4674;POINT (-39.043606 -3.41015)'))) / (select extract(epoch from '2026-06-23 18:39:16'::timestamp) - extract(epoch from '2026-06-23 18:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043574 -3.410193)', '2026-06-23 18:39:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043606 -3.41015)'), GeomFromEWKT('SRID=4674;POINT (-39.043574 -3.410193)'))) / (select extract(epoch from '2026-06-23 18:39:24'::timestamp) - extract(epoch from '2026-06-23 18:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043606 -3.41015)'), GeomFromEWKT('SRID=4674;POINT (-39.043574 -3.410193)'))) / (select extract(epoch from '2026-06-23 18:39:24'::timestamp) - extract(epoch from '2026-06-23 18:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043533 -3.410269)', '2026-06-23 18:39:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043574 -3.410193)'), GeomFromEWKT('SRID=4674;POINT (-39.043533 -3.410269)'))) / (select extract(epoch from '2026-06-23 18:39:33'::timestamp) - extract(epoch from '2026-06-23 18:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043574 -3.410193)'), GeomFromEWKT('SRID=4674;POINT (-39.043533 -3.410269)'))) / (select extract(epoch from '2026-06-23 18:39:33'::timestamp) - extract(epoch from '2026-06-23 18:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043504 -3.410286)', '2026-06-23 18:39:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043533 -3.410269)'), GeomFromEWKT('SRID=4674;POINT (-39.043504 -3.410286)'))) / (select extract(epoch from '2026-06-23 18:39:38'::timestamp) - extract(epoch from '2026-06-23 18:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043533 -3.410269)'), GeomFromEWKT('SRID=4674;POINT (-39.043504 -3.410286)'))) / (select extract(epoch from '2026-06-23 18:39:38'::timestamp) - extract(epoch from '2026-06-23 18:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043473 -3.410321)', '2026-06-23 18:39:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043504 -3.410286)'), GeomFromEWKT('SRID=4674;POINT (-39.043473 -3.410321)'))) / (select extract(epoch from '2026-06-23 18:39:44'::timestamp) - extract(epoch from '2026-06-23 18:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043504 -3.410286)'), GeomFromEWKT('SRID=4674;POINT (-39.043473 -3.410321)'))) / (select extract(epoch from '2026-06-23 18:39:44'::timestamp) - extract(epoch from '2026-06-23 18:39: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'), 46587, 'SRID=4674;POINT (-39.043449 -3.410347)', '2026-06-23 18:39:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043473 -3.410321)'), GeomFromEWKT('SRID=4674;POINT (-39.043449 -3.410347)'))) / (select extract(epoch from '2026-06-23 18:39:49'::timestamp) - extract(epoch from '2026-06-23 18:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043473 -3.410321)'), GeomFromEWKT('SRID=4674;POINT (-39.043449 -3.410347)'))) / (select extract(epoch from '2026-06-23 18:39:49'::timestamp) - extract(epoch from '2026-06-23 18:39: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'), 46587, 'SRID=4674;POINT (-39.043416 -3.410389)', '2026-06-23 18:39:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043449 -3.410347)'), GeomFromEWKT('SRID=4674;POINT (-39.043416 -3.410389)'))) / (select extract(epoch from '2026-06-23 18:39:58'::timestamp) - extract(epoch from '2026-06-23 18:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043449 -3.410347)'), GeomFromEWKT('SRID=4674;POINT (-39.043416 -3.410389)'))) / (select extract(epoch from '2026-06-23 18:39:58'::timestamp) - extract(epoch from '2026-06-23 18:39: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'), 46587, 'SRID=4674;POINT (-39.043382 -3.41043)', '2026-06-23 18:40:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043416 -3.410389)'), GeomFromEWKT('SRID=4674;POINT (-39.043382 -3.41043)'))) / (select extract(epoch from '2026-06-23 18:40:06'::timestamp) - extract(epoch from '2026-06-23 18:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043416 -3.410389)'), GeomFromEWKT('SRID=4674;POINT (-39.043382 -3.41043)'))) / (select extract(epoch from '2026-06-23 18:40:06'::timestamp) - extract(epoch from '2026-06-23 18:39: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'), 46587, 'SRID=4674;POINT (-39.043364 -3.410471)', '2026-06-23 18:40:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043382 -3.41043)'), GeomFromEWKT('SRID=4674;POINT (-39.043364 -3.410471)'))) / (select extract(epoch from '2026-06-23 18:40:13'::timestamp) - extract(epoch from '2026-06-23 18:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043382 -3.41043)'), GeomFromEWKT('SRID=4674;POINT (-39.043364 -3.410471)'))) / (select extract(epoch from '2026-06-23 18:40:13'::timestamp) - extract(epoch from '2026-06-23 18:40: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'), 46587, 'SRID=4674;POINT (-39.043319 -3.410511)', '2026-06-23 18:40:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043364 -3.410471)'), GeomFromEWKT('SRID=4674;POINT (-39.043319 -3.410511)'))) / (select extract(epoch from '2026-06-23 18:40:22'::timestamp) - extract(epoch from '2026-06-23 18:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043364 -3.410471)'), GeomFromEWKT('SRID=4674;POINT (-39.043319 -3.410511)'))) / (select extract(epoch from '2026-06-23 18:40:22'::timestamp) - extract(epoch from '2026-06-23 18:40: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'), 46587, 'SRID=4674;POINT (-39.043274 -3.410554)', '2026-06-23 18:40:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043319 -3.410511)'), GeomFromEWKT('SRID=4674;POINT (-39.043274 -3.410554)'))) / (select extract(epoch from '2026-06-23 18:40:31'::timestamp) - extract(epoch from '2026-06-23 18:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043319 -3.410511)'), GeomFromEWKT('SRID=4674;POINT (-39.043274 -3.410554)'))) / (select extract(epoch from '2026-06-23 18:40:31'::timestamp) - extract(epoch from '2026-06-23 18:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.043223 -3.41061)', '2026-06-23 18:40:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043274 -3.410554)'), GeomFromEWKT('SRID=4674;POINT (-39.043223 -3.41061)'))) / (select extract(epoch from '2026-06-23 18:40:42'::timestamp) - extract(epoch from '2026-06-23 18:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043274 -3.410554)'), GeomFromEWKT('SRID=4674;POINT (-39.043223 -3.41061)'))) / (select extract(epoch from '2026-06-23 18:40:42'::timestamp) - extract(epoch from '2026-06-23 18:40: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'), 46587, 'SRID=4674;POINT (-39.043185 -3.410657)', '2026-06-23 18:40:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043223 -3.41061)'), GeomFromEWKT('SRID=4674;POINT (-39.043185 -3.410657)'))) / (select extract(epoch from '2026-06-23 18:40:50'::timestamp) - extract(epoch from '2026-06-23 18:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043223 -3.41061)'), GeomFromEWKT('SRID=4674;POINT (-39.043185 -3.410657)'))) / (select extract(epoch from '2026-06-23 18:40:50'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.043146 -3.410698)', '2026-06-23 18:40:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043185 -3.410657)'), GeomFromEWKT('SRID=4674;POINT (-39.043146 -3.410698)'))) / (select extract(epoch from '2026-06-23 18:40:59'::timestamp) - extract(epoch from '2026-06-23 18:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043185 -3.410657)'), GeomFromEWKT('SRID=4674;POINT (-39.043146 -3.410698)'))) / (select extract(epoch from '2026-06-23 18:40:59'::timestamp) - extract(epoch from '2026-06-23 18:40: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'), 46587, 'SRID=4674;POINT (-39.043096 -3.410739)', '2026-06-23 18:41:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043146 -3.410698)'), GeomFromEWKT('SRID=4674;POINT (-39.043096 -3.410739)'))) / (select extract(epoch from '2026-06-23 18:41:09'::timestamp) - extract(epoch from '2026-06-23 18:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043146 -3.410698)'), GeomFromEWKT('SRID=4674;POINT (-39.043096 -3.410739)'))) / (select extract(epoch from '2026-06-23 18:41:09'::timestamp) - extract(epoch from '2026-06-23 18:40: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'), 46587, 'SRID=4674;POINT (-39.043026 -3.410784)', '2026-06-23 18:41:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043096 -3.410739)'), GeomFromEWKT('SRID=4674;POINT (-39.043026 -3.410784)'))) / (select extract(epoch from '2026-06-23 18:41:21'::timestamp) - extract(epoch from '2026-06-23 18:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043096 -3.410739)'), GeomFromEWKT('SRID=4674;POINT (-39.043026 -3.410784)'))) / (select extract(epoch from '2026-06-23 18:41:21'::timestamp) - extract(epoch from '2026-06-23 18:41: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'), 46587, 'SRID=4674;POINT (-39.042974 -3.410816)', '2026-06-23 18:41:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043026 -3.410784)'), GeomFromEWKT('SRID=4674;POINT (-39.042974 -3.410816)'))) / (select extract(epoch from '2026-06-23 18:41:29'::timestamp) - extract(epoch from '2026-06-23 18:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043026 -3.410784)'), GeomFromEWKT('SRID=4674;POINT (-39.042974 -3.410816)'))) / (select extract(epoch from '2026-06-23 18:41:29'::timestamp) - extract(epoch from '2026-06-23 18:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042929 -3.410865)', '2026-06-23 18:41:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042974 -3.410816)'), GeomFromEWKT('SRID=4674;POINT (-39.042929 -3.410865)'))) / (select extract(epoch from '2026-06-23 18:41:37'::timestamp) - extract(epoch from '2026-06-23 18:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042974 -3.410816)'), GeomFromEWKT('SRID=4674;POINT (-39.042929 -3.410865)'))) / (select extract(epoch from '2026-06-23 18:41:37'::timestamp) - extract(epoch from '2026-06-23 18:41: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'), 46587, 'SRID=4674;POINT (-39.042889 -3.410919)', '2026-06-23 18:41:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042929 -3.410865)'), GeomFromEWKT('SRID=4674;POINT (-39.042889 -3.410919)'))) / (select extract(epoch from '2026-06-23 18:41:45'::timestamp) - extract(epoch from '2026-06-23 18:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042929 -3.410865)'), GeomFromEWKT('SRID=4674;POINT (-39.042889 -3.410919)'))) / (select extract(epoch from '2026-06-23 18:41:45'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.042876 -3.410925)', '2026-06-23 18:41:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042889 -3.410919)'), GeomFromEWKT('SRID=4674;POINT (-39.042876 -3.410925)'))) / (select extract(epoch from '2026-06-23 18:41:47'::timestamp) - extract(epoch from '2026-06-23 18:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042889 -3.410919)'), GeomFromEWKT('SRID=4674;POINT (-39.042876 -3.410925)'))) / (select extract(epoch from '2026-06-23 18:41:47'::timestamp) - extract(epoch from '2026-06-23 18:41: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'), 46587, 'SRID=4674;POINT (-39.042834 -3.410953)', '2026-06-23 18:41:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042876 -3.410925)'), GeomFromEWKT('SRID=4674;POINT (-39.042834 -3.410953)'))) / (select extract(epoch from '2026-06-23 18:41:55'::timestamp) - extract(epoch from '2026-06-23 18:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042876 -3.410925)'), GeomFromEWKT('SRID=4674;POINT (-39.042834 -3.410953)'))) / (select extract(epoch from '2026-06-23 18:41:55'::timestamp) - extract(epoch from '2026-06-23 18:41: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'), 46587, 'SRID=4674;POINT (-39.042796 -3.410994)', '2026-06-23 18:42:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042834 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.042796 -3.410994)'))) / (select extract(epoch from '2026-06-23 18:42:03'::timestamp) - extract(epoch from '2026-06-23 18:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042834 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.042796 -3.410994)'))) / (select extract(epoch from '2026-06-23 18:42:03'::timestamp) - extract(epoch from '2026-06-23 18:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04273 -3.411043)', '2026-06-23 18:42:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042796 -3.410994)'), GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.411043)'))) / (select extract(epoch from '2026-06-23 18:42:14'::timestamp) - extract(epoch from '2026-06-23 18:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042796 -3.410994)'), GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.411043)'))) / (select extract(epoch from '2026-06-23 18:42:14'::timestamp) - extract(epoch from '2026-06-23 18:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042686 -3.41107)', '2026-06-23 18:42:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.411043)'), GeomFromEWKT('SRID=4674;POINT (-39.042686 -3.41107)'))) / (select extract(epoch from '2026-06-23 18:42:22'::timestamp) - extract(epoch from '2026-06-23 18:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04273 -3.411043)'), GeomFromEWKT('SRID=4674;POINT (-39.042686 -3.41107)'))) / (select extract(epoch from '2026-06-23 18:42:22'::timestamp) - extract(epoch from '2026-06-23 18:42:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042637 -3.411095)', '2026-06-23 18:42:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042686 -3.41107)'), GeomFromEWKT('SRID=4674;POINT (-39.042637 -3.411095)'))) / (select extract(epoch from '2026-06-23 18:42:29'::timestamp) - extract(epoch from '2026-06-23 18:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042686 -3.41107)'), GeomFromEWKT('SRID=4674;POINT (-39.042637 -3.411095)'))) / (select extract(epoch from '2026-06-23 18:42:29'::timestamp) - extract(epoch from '2026-06-23 18:42: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'), 46587, 'SRID=4674;POINT (-39.042583 -3.411115)', '2026-06-23 18:42:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042637 -3.411095)'), GeomFromEWKT('SRID=4674;POINT (-39.042583 -3.411115)'))) / (select extract(epoch from '2026-06-23 18:42:37'::timestamp) - extract(epoch from '2026-06-23 18:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042637 -3.411095)'), GeomFromEWKT('SRID=4674;POINT (-39.042583 -3.411115)'))) / (select extract(epoch from '2026-06-23 18:42:37'::timestamp) - extract(epoch from '2026-06-23 18:42: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'), 46587, 'SRID=4674;POINT (-39.042553 -3.411143)', '2026-06-23 18:42:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042583 -3.411115)'), GeomFromEWKT('SRID=4674;POINT (-39.042553 -3.411143)'))) / (select extract(epoch from '2026-06-23 18:42:45'::timestamp) - extract(epoch from '2026-06-23 18:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042583 -3.411115)'), GeomFromEWKT('SRID=4674;POINT (-39.042553 -3.411143)'))) / (select extract(epoch from '2026-06-23 18:42:45'::timestamp) - extract(epoch from '2026-06-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'), 46587, 'SRID=4674;POINT (-39.042525 -3.411162)', '2026-06-23 18:42:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042553 -3.411143)'), GeomFromEWKT('SRID=4674;POINT (-39.042525 -3.411162)'))) / (select extract(epoch from '2026-06-23 18:42:53'::timestamp) - extract(epoch from '2026-06-23 18:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042553 -3.411143)'), GeomFromEWKT('SRID=4674;POINT (-39.042525 -3.411162)'))) / (select extract(epoch from '2026-06-23 18:42:53'::timestamp) - extract(epoch from '2026-06-23 18:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042479 -3.411154)', '2026-06-23 18:43:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042525 -3.411162)'), GeomFromEWKT('SRID=4674;POINT (-39.042479 -3.411154)'))) / (select extract(epoch from '2026-06-23 18:43:02'::timestamp) - extract(epoch from '2026-06-23 18:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042525 -3.411162)'), GeomFromEWKT('SRID=4674;POINT (-39.042479 -3.411154)'))) / (select extract(epoch from '2026-06-23 18:43:02'::timestamp) - extract(epoch from '2026-06-23 18:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042471 -3.411152)', '2026-06-23 18:43:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042479 -3.411154)'), GeomFromEWKT('SRID=4674;POINT (-39.042471 -3.411152)'))) / (select extract(epoch from '2026-06-23 18:43:03'::timestamp) - extract(epoch from '2026-06-23 18:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042479 -3.411154)'), GeomFromEWKT('SRID=4674;POINT (-39.042471 -3.411152)'))) / (select extract(epoch from '2026-06-23 18:43:03'::timestamp) - extract(epoch from '2026-06-23 18:43:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042432 -3.411159)', '2026-06-23 18:43:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042471 -3.411152)'), GeomFromEWKT('SRID=4674;POINT (-39.042432 -3.411159)'))) / (select extract(epoch from '2026-06-23 18:43:09'::timestamp) - extract(epoch from '2026-06-23 18:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042471 -3.411152)'), GeomFromEWKT('SRID=4674;POINT (-39.042432 -3.411159)'))) / (select extract(epoch from '2026-06-23 18:43:09'::timestamp) - extract(epoch from '2026-06-23 18:43:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042366 -3.41117)', '2026-06-23 18:43:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042432 -3.411159)'), GeomFromEWKT('SRID=4674;POINT (-39.042366 -3.41117)'))) / (select extract(epoch from '2026-06-23 18:43:19'::timestamp) - extract(epoch from '2026-06-23 18:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042432 -3.411159)'), GeomFromEWKT('SRID=4674;POINT (-39.042366 -3.41117)'))) / (select extract(epoch from '2026-06-23 18:43:19'::timestamp) - extract(epoch from '2026-06-23 18:43: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'), 46587, 'SRID=4674;POINT (-39.042334 -3.411198)', '2026-06-23 18:43:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042366 -3.41117)'), GeomFromEWKT('SRID=4674;POINT (-39.042334 -3.411198)'))) / (select extract(epoch from '2026-06-23 18:43:28'::timestamp) - extract(epoch from '2026-06-23 18:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042366 -3.41117)'), GeomFromEWKT('SRID=4674;POINT (-39.042334 -3.411198)'))) / (select extract(epoch from '2026-06-23 18:43:28'::timestamp) - extract(epoch from '2026-06-23 18:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042288 -3.411228)', '2026-06-23 18:43:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042334 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042288 -3.411228)'))) / (select extract(epoch from '2026-06-23 18:43:37'::timestamp) - extract(epoch from '2026-06-23 18:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042334 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042288 -3.411228)'))) / (select extract(epoch from '2026-06-23 18:43:37'::timestamp) - extract(epoch from '2026-06-23 18:43: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'), 46587, 'SRID=4674;POINT (-39.042269 -3.411245)', '2026-06-23 18:43:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042288 -3.411228)'), GeomFromEWKT('SRID=4674;POINT (-39.042269 -3.411245)'))) / (select extract(epoch from '2026-06-23 18:43:40'::timestamp) - extract(epoch from '2026-06-23 18:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042288 -3.411228)'), GeomFromEWKT('SRID=4674;POINT (-39.042269 -3.411245)'))) / (select extract(epoch from '2026-06-23 18:43:40'::timestamp) - extract(epoch from '2026-06-23 18:43: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'), 46587, 'SRID=4674;POINT (-39.042245 -3.411252)', '2026-06-23 18:43:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042269 -3.411245)'), GeomFromEWKT('SRID=4674;POINT (-39.042245 -3.411252)'))) / (select extract(epoch from '2026-06-23 18:43:44'::timestamp) - extract(epoch from '2026-06-23 18:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042269 -3.411245)'), GeomFromEWKT('SRID=4674;POINT (-39.042245 -3.411252)'))) / (select extract(epoch from '2026-06-23 18:43:44'::timestamp) - extract(epoch from '2026-06-23 18:43: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'), 46587, 'SRID=4674;POINT (-39.042204 -3.411266)', '2026-06-23 18:43:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042245 -3.411252)'), GeomFromEWKT('SRID=4674;POINT (-39.042204 -3.411266)'))) / (select extract(epoch from '2026-06-23 18:43:54'::timestamp) - extract(epoch from '2026-06-23 18:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042245 -3.411252)'), GeomFromEWKT('SRID=4674;POINT (-39.042204 -3.411266)'))) / (select extract(epoch from '2026-06-23 18:43:54'::timestamp) - extract(epoch from '2026-06-23 18:43:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042204 -3.411263)', '2026-06-23 18:44:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042204 -3.411266)'), GeomFromEWKT('SRID=4674;POINT (-39.042204 -3.411263)'))) / (select extract(epoch from '2026-06-23 18:44:04'::timestamp) - extract(epoch from '2026-06-23 18:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042204 -3.411266)'), GeomFromEWKT('SRID=4674;POINT (-39.042204 -3.411263)'))) / (select extract(epoch from '2026-06-23 18:44:04'::timestamp) - extract(epoch from '2026-06-23 18:43: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'), 46587, 'SRID=4674;POINT (-39.0422 -3.411282)', '2026-06-23 18:44:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042204 -3.411263)'), GeomFromEWKT('SRID=4674;POINT (-39.0422 -3.411282)'))) / (select extract(epoch from '2026-06-23 18:44:14'::timestamp) - extract(epoch from '2026-06-23 18:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042204 -3.411263)'), GeomFromEWKT('SRID=4674;POINT (-39.0422 -3.411282)'))) / (select extract(epoch from '2026-06-23 18:44:14'::timestamp) - extract(epoch from '2026-06-23 18:44:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042144 -3.411311)', '2026-06-23 18:44:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0422 -3.411282)'), GeomFromEWKT('SRID=4674;POINT (-39.042144 -3.411311)'))) / (select extract(epoch from '2026-06-23 18:44:31'::timestamp) - extract(epoch from '2026-06-23 18:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0422 -3.411282)'), GeomFromEWKT('SRID=4674;POINT (-39.042144 -3.411311)'))) / (select extract(epoch from '2026-06-23 18:44:31'::timestamp) - extract(epoch from '2026-06-23 18:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042107 -3.411331)', '2026-06-23 18:44:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042144 -3.411311)'), GeomFromEWKT('SRID=4674;POINT (-39.042107 -3.411331)'))) / (select extract(epoch from '2026-06-23 18:44:50'::timestamp) - extract(epoch from '2026-06-23 18:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042144 -3.411311)'), GeomFromEWKT('SRID=4674;POINT (-39.042107 -3.411331)'))) / (select extract(epoch from '2026-06-23 18:44:50'::timestamp) - extract(epoch from '2026-06-23 18:44: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'), 46587, 'SRID=4674;POINT (-39.042094 -3.411312)', '2026-06-23 18:45:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042107 -3.411331)'), GeomFromEWKT('SRID=4674;POINT (-39.042094 -3.411312)'))) / (select extract(epoch from '2026-06-23 18:45:05'::timestamp) - extract(epoch from '2026-06-23 18:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042107 -3.411331)'), GeomFromEWKT('SRID=4674;POINT (-39.042094 -3.411312)'))) / (select extract(epoch from '2026-06-23 18:45:05'::timestamp) - extract(epoch from '2026-06-23 18:44: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'), 46587, 'SRID=4674;POINT (-39.042069 -3.411295)', '2026-06-23 18:45:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042094 -3.411312)'), GeomFromEWKT('SRID=4674;POINT (-39.042069 -3.411295)'))) / (select extract(epoch from '2026-06-23 18:45:17'::timestamp) - extract(epoch from '2026-06-23 18:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042094 -3.411312)'), GeomFromEWKT('SRID=4674;POINT (-39.042069 -3.411295)'))) / (select extract(epoch from '2026-06-23 18:45:17'::timestamp) - extract(epoch from '2026-06-23 18:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042076 -3.411262)', '2026-06-23 18:45:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042069 -3.411295)'), GeomFromEWKT('SRID=4674;POINT (-39.042076 -3.411262)'))) / (select extract(epoch from '2026-06-23 18:45:33'::timestamp) - extract(epoch from '2026-06-23 18:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042069 -3.411295)'), GeomFromEWKT('SRID=4674;POINT (-39.042076 -3.411262)'))) / (select extract(epoch from '2026-06-23 18:45:33'::timestamp) - extract(epoch from '2026-06-23 18: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'), 46587, 'SRID=4674;POINT (-39.042104 -3.411256)', '2026-06-23 18:45:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042076 -3.411262)'), GeomFromEWKT('SRID=4674;POINT (-39.042104 -3.411256)'))) / (select extract(epoch from '2026-06-23 18:45:57'::timestamp) - extract(epoch from '2026-06-23 18:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042076 -3.411262)'), GeomFromEWKT('SRID=4674;POINT (-39.042104 -3.411256)'))) / (select extract(epoch from '2026-06-23 18:45:57'::timestamp) - extract(epoch from '2026-06-23 18:45: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'), 46587, 'SRID=4674;POINT (-39.042107 -3.411241)', '2026-06-23 18:46:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042104 -3.411256)'), GeomFromEWKT('SRID=4674;POINT (-39.042107 -3.411241)'))) / (select extract(epoch from '2026-06-23 18:46:12'::timestamp) - extract(epoch from '2026-06-23 18:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042104 -3.411256)'), GeomFromEWKT('SRID=4674;POINT (-39.042107 -3.411241)'))) / (select extract(epoch from '2026-06-23 18:46:12'::timestamp) - extract(epoch from '2026-06-23 18:45: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'), 46587, 'SRID=4674;POINT (-39.042112 -3.411241)', '2026-06-23 18:46:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042107 -3.411241)'), GeomFromEWKT('SRID=4674;POINT (-39.042112 -3.411241)'))) / (select extract(epoch from '2026-06-23 18:46:34'::timestamp) - extract(epoch from '2026-06-23 18:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042107 -3.411241)'), GeomFromEWKT('SRID=4674;POINT (-39.042112 -3.411241)'))) / (select extract(epoch from '2026-06-23 18:46:34'::timestamp) - extract(epoch from '2026-06-23 18:46: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'), 46587, 'SRID=4674;POINT (-39.042109 -3.411226)', '2026-06-23 18:46:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042112 -3.411241)'), GeomFromEWKT('SRID=4674;POINT (-39.042109 -3.411226)'))) / (select extract(epoch from '2026-06-23 18:46:57'::timestamp) - extract(epoch from '2026-06-23 18:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042112 -3.411241)'), GeomFromEWKT('SRID=4674;POINT (-39.042109 -3.411226)'))) / (select extract(epoch from '2026-06-23 18:46:57'::timestamp) - extract(epoch from '2026-06-23 18:46: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'), 46587, 'SRID=4674;POINT (-39.042112 -3.411221)', '2026-06-23 18:47:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042109 -3.411226)'), GeomFromEWKT('SRID=4674;POINT (-39.042112 -3.411221)'))) / (select extract(epoch from '2026-06-23 18:47:10'::timestamp) - extract(epoch from '2026-06-23 18:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042109 -3.411226)'), GeomFromEWKT('SRID=4674;POINT (-39.042112 -3.411221)'))) / (select extract(epoch from '2026-06-23 18:47:10'::timestamp) - extract(epoch from '2026-06-23 18:46: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'), 46587, 'SRID=4674;POINT (-39.042094 -3.411221)', '2026-06-23 18:47:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042112 -3.411221)'), GeomFromEWKT('SRID=4674;POINT (-39.042094 -3.411221)'))) / (select extract(epoch from '2026-06-23 18:47:27'::timestamp) - extract(epoch from '2026-06-23 18:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042112 -3.411221)'), GeomFromEWKT('SRID=4674;POINT (-39.042094 -3.411221)'))) / (select extract(epoch from '2026-06-23 18:47:27'::timestamp) - extract(epoch from '2026-06-23 18:47: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'), 46587, 'SRID=4674;POINT (-39.042053 -3.411204)', '2026-06-23 18:47:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042094 -3.411221)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.411204)'))) / (select extract(epoch from '2026-06-23 18:47:37'::timestamp) - extract(epoch from '2026-06-23 18:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042094 -3.411221)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.411204)'))) / (select extract(epoch from '2026-06-23 18:47:37'::timestamp) - extract(epoch from '2026-06-23 18:47: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'), 46587, 'SRID=4674;POINT (-39.04203 -3.41119)', '2026-06-23 18:47:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.411204)'), GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.41119)'))) / (select extract(epoch from '2026-06-23 18:47:51'::timestamp) - extract(epoch from '2026-06-23 18:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.411204)'), GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.41119)'))) / (select extract(epoch from '2026-06-23 18:47:51'::timestamp) - extract(epoch from '2026-06-23 18:47: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'), 46587, 'SRID=4674;POINT (-39.042039 -3.411193)', '2026-06-23 18:47:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.41119)'), GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.411193)'))) / (select extract(epoch from '2026-06-23 18:47:58'::timestamp) - extract(epoch from '2026-06-23 18:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04203 -3.41119)'), GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.411193)'))) / (select extract(epoch from '2026-06-23 18:47:58'::timestamp) - extract(epoch from '2026-06-23 18:47: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'), 46587, 'SRID=4674;POINT (-39.042059 -3.411198)', '2026-06-23 18:48:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.411193)'), GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.411198)'))) / (select extract(epoch from '2026-06-23 18:48:08'::timestamp) - extract(epoch from '2026-06-23 18:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042039 -3.411193)'), GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.411198)'))) / (select extract(epoch from '2026-06-23 18:48:08'::timestamp) - extract(epoch from '2026-06-23 18:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042078 -3.411187)', '2026-06-23 18:48:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042078 -3.411187)'))) / (select extract(epoch from '2026-06-23 18:48:21'::timestamp) - extract(epoch from '2026-06-23 18:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042059 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042078 -3.411187)'))) / (select extract(epoch from '2026-06-23 18:48:21'::timestamp) - extract(epoch from '2026-06-23 18:48: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'), 46587, 'SRID=4674;POINT (-39.042083 -3.411178)', '2026-06-23 18:48:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042078 -3.411187)'), GeomFromEWKT('SRID=4674;POINT (-39.042083 -3.411178)'))) / (select extract(epoch from '2026-06-23 18:48:30'::timestamp) - extract(epoch from '2026-06-23 18:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042078 -3.411187)'), GeomFromEWKT('SRID=4674;POINT (-39.042083 -3.411178)'))) / (select extract(epoch from '2026-06-23 18:48:30'::timestamp) - extract(epoch from '2026-06-23 18:48: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'), 46587, 'SRID=4674;POINT (-39.04209 -3.411178)', '2026-06-23 18:48:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042083 -3.411178)'), GeomFromEWKT('SRID=4674;POINT (-39.04209 -3.411178)'))) / (select extract(epoch from '2026-06-23 18:48:40'::timestamp) - extract(epoch from '2026-06-23 18:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042083 -3.411178)'), GeomFromEWKT('SRID=4674;POINT (-39.04209 -3.411178)'))) / (select extract(epoch from '2026-06-23 18:48:40'::timestamp) - extract(epoch from '2026-06-23 18:48: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'), 46587, 'SRID=4674;POINT (-39.042115 -3.41118)', '2026-06-23 18:48:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04209 -3.411178)'), GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.41118)'))) / (select extract(epoch from '2026-06-23 18:48:56'::timestamp) - extract(epoch from '2026-06-23 18:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04209 -3.411178)'), GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.41118)'))) / (select extract(epoch from '2026-06-23 18:48:56'::timestamp) - extract(epoch from '2026-06-23 18:48: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'), 46587, 'SRID=4674;POINT (-39.042148 -3.411171)', '2026-06-23 18:49:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.41118)'), GeomFromEWKT('SRID=4674;POINT (-39.042148 -3.411171)'))) / (select extract(epoch from '2026-06-23 18:49:24'::timestamp) - extract(epoch from '2026-06-23 18:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.41118)'), GeomFromEWKT('SRID=4674;POINT (-39.042148 -3.411171)'))) / (select extract(epoch from '2026-06-23 18:49:24'::timestamp) - extract(epoch from '2026-06-23 18:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04217 -3.411164)', '2026-06-23 18:49:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042148 -3.411171)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.411164)'))) / (select extract(epoch from '2026-06-23 18:49:43'::timestamp) - extract(epoch from '2026-06-23 18:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042148 -3.411171)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.411164)'))) / (select extract(epoch from '2026-06-23 18:49:43'::timestamp) - extract(epoch from '2026-06-23 18:49: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'), 46587, 'SRID=4674;POINT (-39.042161 -3.411167)', '2026-06-23 18:50:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.411164)'), GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.411167)'))) / (select extract(epoch from '2026-06-23 18:50:11'::timestamp) - extract(epoch from '2026-06-23 18:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.411164)'), GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.411167)'))) / (select extract(epoch from '2026-06-23 18:50:11'::timestamp) - extract(epoch from '2026-06-23 18:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04217 -3.411177)', '2026-06-23 18:50:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.411167)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.411177)'))) / (select extract(epoch from '2026-06-23 18:50:33'::timestamp) - extract(epoch from '2026-06-23 18:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042161 -3.411167)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.411177)'))) / (select extract(epoch from '2026-06-23 18:50:33'::timestamp) - extract(epoch from '2026-06-23 18:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042174 -3.411185)', '2026-06-23 18:50:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.411177)'), GeomFromEWKT('SRID=4674;POINT (-39.042174 -3.411185)'))) / (select extract(epoch from '2026-06-23 18:50:43'::timestamp) - extract(epoch from '2026-06-23 18:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.411177)'), GeomFromEWKT('SRID=4674;POINT (-39.042174 -3.411185)'))) / (select extract(epoch from '2026-06-23 18:50:43'::timestamp) - extract(epoch from '2026-06-23 18: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'), 46587, 'SRID=4674;POINT (-39.042195 -3.411183)', '2026-06-23 18:51:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042174 -3.411185)'), GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.411183)'))) / (select extract(epoch from '2026-06-23 18:51:01'::timestamp) - extract(epoch from '2026-06-23 18:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042174 -3.411185)'), GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.411183)'))) / (select extract(epoch from '2026-06-23 18:51:01'::timestamp) - extract(epoch from '2026-06-23 18: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'), 46587, 'SRID=4674;POINT (-39.042202 -3.411186)', '2026-06-23 18:51:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.411183)'), GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.411186)'))) / (select extract(epoch from '2026-06-23 18:51:14'::timestamp) - extract(epoch from '2026-06-23 18:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.411183)'), GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.411186)'))) / (select extract(epoch from '2026-06-23 18:51:14'::timestamp) - extract(epoch from '2026-06-23 18:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.0422 -3.411189)', '2026-06-23 18:51:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.411186)'), GeomFromEWKT('SRID=4674;POINT (-39.0422 -3.411189)'))) / (select extract(epoch from '2026-06-23 18:51:21'::timestamp) - extract(epoch from '2026-06-23 18:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.411186)'), GeomFromEWKT('SRID=4674;POINT (-39.0422 -3.411189)'))) / (select extract(epoch from '2026-06-23 18:51:21'::timestamp) - extract(epoch from '2026-06-23 18:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042206 -3.411183)', '2026-06-23 18:51:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0422 -3.411189)'), GeomFromEWKT('SRID=4674;POINT (-39.042206 -3.411183)'))) / (select extract(epoch from '2026-06-23 18:51:30'::timestamp) - extract(epoch from '2026-06-23 18:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0422 -3.411189)'), GeomFromEWKT('SRID=4674;POINT (-39.042206 -3.411183)'))) / (select extract(epoch from '2026-06-23 18:51:30'::timestamp) - extract(epoch from '2026-06-23 18:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042212 -3.411179)', '2026-06-23 18:51:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042206 -3.411183)'), GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.411179)'))) / (select extract(epoch from '2026-06-23 18:51:44'::timestamp) - extract(epoch from '2026-06-23 18:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042206 -3.411183)'), GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.411179)'))) / (select extract(epoch from '2026-06-23 18:51:44'::timestamp) - extract(epoch from '2026-06-23 18:51: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'), 46587, 'SRID=4674;POINT (-39.042224 -3.411182)', '2026-06-23 18:51:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.411179)'), GeomFromEWKT('SRID=4674;POINT (-39.042224 -3.411182)'))) / (select extract(epoch from '2026-06-23 18:51:59'::timestamp) - extract(epoch from '2026-06-23 18:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.411179)'), GeomFromEWKT('SRID=4674;POINT (-39.042224 -3.411182)'))) / (select extract(epoch from '2026-06-23 18:51:59'::timestamp) - extract(epoch from '2026-06-23 18:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042232 -3.41119)', '2026-06-23 18:52:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042224 -3.411182)'), GeomFromEWKT('SRID=4674;POINT (-39.042232 -3.41119)'))) / (select extract(epoch from '2026-06-23 18:52:12'::timestamp) - extract(epoch from '2026-06-23 18:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042224 -3.411182)'), GeomFromEWKT('SRID=4674;POINT (-39.042232 -3.41119)'))) / (select extract(epoch from '2026-06-23 18:52:12'::timestamp) - extract(epoch from '2026-06-23 18:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042239 -3.411188)', '2026-06-23 18:52:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042232 -3.41119)'), GeomFromEWKT('SRID=4674;POINT (-39.042239 -3.411188)'))) / (select extract(epoch from '2026-06-23 18:52:19'::timestamp) - extract(epoch from '2026-06-23 18:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042232 -3.41119)'), GeomFromEWKT('SRID=4674;POINT (-39.042239 -3.411188)'))) / (select extract(epoch from '2026-06-23 18:52:19'::timestamp) - extract(epoch from '2026-06-23 18:52: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'), 46587, 'SRID=4674;POINT (-39.042244 -3.411187)', '2026-06-23 18:52:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042239 -3.411188)'), GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.411187)'))) / (select extract(epoch from '2026-06-23 18:52:29'::timestamp) - extract(epoch from '2026-06-23 18:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042239 -3.411188)'), GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.411187)'))) / (select extract(epoch from '2026-06-23 18:52:29'::timestamp) - extract(epoch from '2026-06-23 18:52: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'), 46587, 'SRID=4674;POINT (-39.042259 -3.411192)', '2026-06-23 18:52:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.411187)'), GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411192)'))) / (select extract(epoch from '2026-06-23 18:52:42'::timestamp) - extract(epoch from '2026-06-23 18:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.411187)'), GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411192)'))) / (select extract(epoch from '2026-06-23 18:52:42'::timestamp) - extract(epoch from '2026-06-23 18:52: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'), 46587, 'SRID=4674;POINT (-39.042281 -3.411187)', '2026-06-23 18:52:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411192)'), GeomFromEWKT('SRID=4674;POINT (-39.042281 -3.411187)'))) / (select extract(epoch from '2026-06-23 18:52:54'::timestamp) - extract(epoch from '2026-06-23 18:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411192)'), GeomFromEWKT('SRID=4674;POINT (-39.042281 -3.411187)'))) / (select extract(epoch from '2026-06-23 18:52:54'::timestamp) - extract(epoch from '2026-06-23 18:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042293 -3.411193)', '2026-06-23 18:53:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042281 -3.411187)'), GeomFromEWKT('SRID=4674;POINT (-39.042293 -3.411193)'))) / (select extract(epoch from '2026-06-23 18:53:05'::timestamp) - extract(epoch from '2026-06-23 18:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042281 -3.411187)'), GeomFromEWKT('SRID=4674;POINT (-39.042293 -3.411193)'))) / (select extract(epoch from '2026-06-23 18:53:05'::timestamp) - extract(epoch from '2026-06-23 18:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04231 -3.411199)', '2026-06-23 18:53:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042293 -3.411193)'), GeomFromEWKT('SRID=4674;POINT (-39.04231 -3.411199)'))) / (select extract(epoch from '2026-06-23 18:53:16'::timestamp) - extract(epoch from '2026-06-23 18:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042293 -3.411193)'), GeomFromEWKT('SRID=4674;POINT (-39.04231 -3.411199)'))) / (select extract(epoch from '2026-06-23 18:53:16'::timestamp) - extract(epoch from '2026-06-23 18:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042318 -3.411196)', '2026-06-23 18:53:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04231 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042318 -3.411196)'))) / (select extract(epoch from '2026-06-23 18:53:31'::timestamp) - extract(epoch from '2026-06-23 18:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04231 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042318 -3.411196)'))) / (select extract(epoch from '2026-06-23 18:53:31'::timestamp) - extract(epoch from '2026-06-23 18:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042337 -3.411202)', '2026-06-23 18:53:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042318 -3.411196)'), GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.411202)'))) / (select extract(epoch from '2026-06-23 18:53:45'::timestamp) - extract(epoch from '2026-06-23 18:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042318 -3.411196)'), GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.411202)'))) / (select extract(epoch from '2026-06-23 18:53:45'::timestamp) - extract(epoch from '2026-06-23 18:53:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042344 -3.411198)', '2026-06-23 18:54:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.411202)'), GeomFromEWKT('SRID=4674;POINT (-39.042344 -3.411198)'))) / (select extract(epoch from '2026-06-23 18:54:01'::timestamp) - extract(epoch from '2026-06-23 18:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.411202)'), GeomFromEWKT('SRID=4674;POINT (-39.042344 -3.411198)'))) / (select extract(epoch from '2026-06-23 18:54:01'::timestamp) - extract(epoch from '2026-06-23 18:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042362 -3.411202)', '2026-06-23 18:54:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042344 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042362 -3.411202)'))) / (select extract(epoch from '2026-06-23 18:54:11'::timestamp) - extract(epoch from '2026-06-23 18:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042344 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042362 -3.411202)'))) / (select extract(epoch from '2026-06-23 18:54:11'::timestamp) - extract(epoch from '2026-06-23 18:54: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'), 46587, 'SRID=4674;POINT (-39.042376 -3.411199)', '2026-06-23 18:54:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042362 -3.411202)'), GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.411199)'))) / (select extract(epoch from '2026-06-23 18:54:17'::timestamp) - extract(epoch from '2026-06-23 18:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042362 -3.411202)'), GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.411199)'))) / (select extract(epoch from '2026-06-23 18:54:17'::timestamp) - extract(epoch from '2026-06-23 18:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042368 -3.41117)', '2026-06-23 18:54:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042368 -3.41117)'))) / (select extract(epoch from '2026-06-23 18:54:25'::timestamp) - extract(epoch from '2026-06-23 18:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042368 -3.41117)'))) / (select extract(epoch from '2026-06-23 18:54:25'::timestamp) - extract(epoch from '2026-06-23 18: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'), 46587, 'SRID=4674;POINT (-39.042344 -3.411146)', '2026-06-23 18:54:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042368 -3.41117)'), GeomFromEWKT('SRID=4674;POINT (-39.042344 -3.411146)'))) / (select extract(epoch from '2026-06-23 18:54:32'::timestamp) - extract(epoch from '2026-06-23 18:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042368 -3.41117)'), GeomFromEWKT('SRID=4674;POINT (-39.042344 -3.411146)'))) / (select extract(epoch from '2026-06-23 18:54:32'::timestamp) - extract(epoch from '2026-06-23 18:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042299 -3.411115)', '2026-06-23 18:54:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042344 -3.411146)'), GeomFromEWKT('SRID=4674;POINT (-39.042299 -3.411115)'))) / (select extract(epoch from '2026-06-23 18:54:41'::timestamp) - extract(epoch from '2026-06-23 18:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042344 -3.411146)'), GeomFromEWKT('SRID=4674;POINT (-39.042299 -3.411115)'))) / (select extract(epoch from '2026-06-23 18:54:41'::timestamp) - extract(epoch from '2026-06-23 18:54: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'), 46587, 'SRID=4674;POINT (-39.042258 -3.411094)', '2026-06-23 18:54:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042299 -3.411115)'), GeomFromEWKT('SRID=4674;POINT (-39.042258 -3.411094)'))) / (select extract(epoch from '2026-06-23 18:54:50'::timestamp) - extract(epoch from '2026-06-23 18:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042299 -3.411115)'), GeomFromEWKT('SRID=4674;POINT (-39.042258 -3.411094)'))) / (select extract(epoch from '2026-06-23 18:54:50'::timestamp) - extract(epoch from '2026-06-23 18:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042243 -3.411084)', '2026-06-23 18:54:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042258 -3.411094)'), GeomFromEWKT('SRID=4674;POINT (-39.042243 -3.411084)'))) / (select extract(epoch from '2026-06-23 18:54:59'::timestamp) - extract(epoch from '2026-06-23 18:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042258 -3.411094)'), GeomFromEWKT('SRID=4674;POINT (-39.042243 -3.411084)'))) / (select extract(epoch from '2026-06-23 18:54:59'::timestamp) - extract(epoch from '2026-06-23 18:54: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'), 46587, 'SRID=4674;POINT (-39.042212 -3.411094)', '2026-06-23 18:55:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042243 -3.411084)'), GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.411094)'))) / (select extract(epoch from '2026-06-23 18:55:06'::timestamp) - extract(epoch from '2026-06-23 18:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042243 -3.411084)'), GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.411094)'))) / (select extract(epoch from '2026-06-23 18:55:06'::timestamp) - extract(epoch from '2026-06-23 18:54: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'), 46587, 'SRID=4674;POINT (-39.042183 -3.411086)', '2026-06-23 18:55:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.411094)'), GeomFromEWKT('SRID=4674;POINT (-39.042183 -3.411086)'))) / (select extract(epoch from '2026-06-23 18:55:16'::timestamp) - extract(epoch from '2026-06-23 18:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042212 -3.411094)'), GeomFromEWKT('SRID=4674;POINT (-39.042183 -3.411086)'))) / (select extract(epoch from '2026-06-23 18:55:16'::timestamp) - extract(epoch from '2026-06-23 18: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'), 46587, 'SRID=4674;POINT (-39.042173 -3.411075)', '2026-06-23 18:55:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042183 -3.411086)'), GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.411075)'))) / (select extract(epoch from '2026-06-23 18:55:30'::timestamp) - extract(epoch from '2026-06-23 18:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042183 -3.411086)'), GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.411075)'))) / (select extract(epoch from '2026-06-23 18:55:30'::timestamp) - extract(epoch from '2026-06-23 18:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042151 -3.411072)', '2026-06-23 18:55:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.411075)'), GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.411072)'))) / (select extract(epoch from '2026-06-23 18:55:40'::timestamp) - extract(epoch from '2026-06-23 18:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.411075)'), GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.411072)'))) / (select extract(epoch from '2026-06-23 18:55:40'::timestamp) - extract(epoch from '2026-06-23 18:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042151 -3.411063)', '2026-06-23 18:55:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.411072)'), GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.411063)'))) / (select extract(epoch from '2026-06-23 18:55:47'::timestamp) - extract(epoch from '2026-06-23 18:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.411072)'), GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.411063)'))) / (select extract(epoch from '2026-06-23 18:55:47'::timestamp) - extract(epoch from '2026-06-23 18:55:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042176 -3.411055)', '2026-06-23 18:55:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.411063)'), GeomFromEWKT('SRID=4674;POINT (-39.042176 -3.411055)'))) / (select extract(epoch from '2026-06-23 18:55:56'::timestamp) - extract(epoch from '2026-06-23 18:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042151 -3.411063)'), GeomFromEWKT('SRID=4674;POINT (-39.042176 -3.411055)'))) / (select extract(epoch from '2026-06-23 18:55:56'::timestamp) - extract(epoch from '2026-06-23 18:55: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'), 46587, 'SRID=4674;POINT (-39.042215 -3.411076)', '2026-06-23 18:56:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042176 -3.411055)'), GeomFromEWKT('SRID=4674;POINT (-39.042215 -3.411076)'))) / (select extract(epoch from '2026-06-23 18:56:05'::timestamp) - extract(epoch from '2026-06-23 18:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042176 -3.411055)'), GeomFromEWKT('SRID=4674;POINT (-39.042215 -3.411076)'))) / (select extract(epoch from '2026-06-23 18:56:05'::timestamp) - extract(epoch from '2026-06-23 18:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042231 -3.411103)', '2026-06-23 18:56:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042215 -3.411076)'), GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.411103)'))) / (select extract(epoch from '2026-06-23 18:56:12'::timestamp) - extract(epoch from '2026-06-23 18:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042215 -3.411076)'), GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.411103)'))) / (select extract(epoch from '2026-06-23 18:56:12'::timestamp) - extract(epoch from '2026-06-23 18:56: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'), 46587, 'SRID=4674;POINT (-39.042221 -3.411103)', '2026-06-23 18:56:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.411103)'), GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.411103)'))) / (select extract(epoch from '2026-06-23 18:56:22'::timestamp) - extract(epoch from '2026-06-23 18:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.411103)'), GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.411103)'))) / (select extract(epoch from '2026-06-23 18:56:22'::timestamp) - extract(epoch from '2026-06-23 18:56: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'), 46587, 'SRID=4674;POINT (-39.042219 -3.411085)', '2026-06-23 18:56:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.411103)'), GeomFromEWKT('SRID=4674;POINT (-39.042219 -3.411085)'))) / (select extract(epoch from '2026-06-23 18:56:32'::timestamp) - extract(epoch from '2026-06-23 18:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.411103)'), GeomFromEWKT('SRID=4674;POINT (-39.042219 -3.411085)'))) / (select extract(epoch from '2026-06-23 18:56:32'::timestamp) - extract(epoch from '2026-06-23 18:56: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'), 46587, 'SRID=4674;POINT (-39.042228 -3.411076)', '2026-06-23 18:56:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042219 -3.411085)'), GeomFromEWKT('SRID=4674;POINT (-39.042228 -3.411076)'))) / (select extract(epoch from '2026-06-23 18:56:38'::timestamp) - extract(epoch from '2026-06-23 18:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042219 -3.411085)'), GeomFromEWKT('SRID=4674;POINT (-39.042228 -3.411076)'))) / (select extract(epoch from '2026-06-23 18:56:38'::timestamp) - extract(epoch from '2026-06-23 18:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042244 -3.411075)', '2026-06-23 18:56:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042228 -3.411076)'), GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.411075)'))) / (select extract(epoch from '2026-06-23 18:56:48'::timestamp) - extract(epoch from '2026-06-23 18:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042228 -3.411076)'), GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.411075)'))) / (select extract(epoch from '2026-06-23 18:56:48'::timestamp) - extract(epoch from '2026-06-23 18:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042283 -3.411089)', '2026-06-23 18:56:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.411075)'), GeomFromEWKT('SRID=4674;POINT (-39.042283 -3.411089)'))) / (select extract(epoch from '2026-06-23 18:56:57'::timestamp) - extract(epoch from '2026-06-23 18:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042244 -3.411075)'), GeomFromEWKT('SRID=4674;POINT (-39.042283 -3.411089)'))) / (select extract(epoch from '2026-06-23 18:56:57'::timestamp) - extract(epoch from '2026-06-23 18:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042259 -3.411085)', '2026-06-23 18:57:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042283 -3.411089)'), GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411085)'))) / (select extract(epoch from '2026-06-23 18:57:05'::timestamp) - extract(epoch from '2026-06-23 18:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042283 -3.411089)'), GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411085)'))) / (select extract(epoch from '2026-06-23 18:57:05'::timestamp) - extract(epoch from '2026-06-23 18: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'), 46587, 'SRID=4674;POINT (-39.04222 -3.411071)', '2026-06-23 18:57:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411085)'), GeomFromEWKT('SRID=4674;POINT (-39.04222 -3.411071)'))) / (select extract(epoch from '2026-06-23 18:57:14'::timestamp) - extract(epoch from '2026-06-23 18:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042259 -3.411085)'), GeomFromEWKT('SRID=4674;POINT (-39.04222 -3.411071)'))) / (select extract(epoch from '2026-06-23 18:57:14'::timestamp) - extract(epoch from '2026-06-23 18:57: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'), 46587, 'SRID=4674;POINT (-39.042194 -3.411066)', '2026-06-23 18:57:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04222 -3.411071)'), GeomFromEWKT('SRID=4674;POINT (-39.042194 -3.411066)'))) / (select extract(epoch from '2026-06-23 18:57:24'::timestamp) - extract(epoch from '2026-06-23 18:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04222 -3.411071)'), GeomFromEWKT('SRID=4674;POINT (-39.042194 -3.411066)'))) / (select extract(epoch from '2026-06-23 18:57:24'::timestamp) - extract(epoch from '2026-06-23 18:57: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'), 46587, 'SRID=4674;POINT (-39.04215 -3.411065)', '2026-06-23 18:57:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042194 -3.411066)'), GeomFromEWKT('SRID=4674;POINT (-39.04215 -3.411065)'))) / (select extract(epoch from '2026-06-23 18:57:37'::timestamp) - extract(epoch from '2026-06-23 18:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042194 -3.411066)'), GeomFromEWKT('SRID=4674;POINT (-39.04215 -3.411065)'))) / (select extract(epoch from '2026-06-23 18:57:37'::timestamp) - extract(epoch from '2026-06-23 18:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04211 -3.411061)', '2026-06-23 18:57:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04215 -3.411065)'), GeomFromEWKT('SRID=4674;POINT (-39.04211 -3.411061)'))) / (select extract(epoch from '2026-06-23 18:57:49'::timestamp) - extract(epoch from '2026-06-23 18:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04215 -3.411065)'), GeomFromEWKT('SRID=4674;POINT (-39.04211 -3.411061)'))) / (select extract(epoch from '2026-06-23 18:57:49'::timestamp) - extract(epoch from '2026-06-23 18: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'), 46587, 'SRID=4674;POINT (-39.042084 -3.411058)', '2026-06-23 18:57:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04211 -3.411061)'), GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.411058)'))) / (select extract(epoch from '2026-06-23 18:57:59'::timestamp) - extract(epoch from '2026-06-23 18:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04211 -3.411061)'), GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.411058)'))) / (select extract(epoch from '2026-06-23 18:57:59'::timestamp) - extract(epoch from '2026-06-23 18:57: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'), 46587, 'SRID=4674;POINT (-39.042049 -3.411045)', '2026-06-23 18:58:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.411058)'), GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.411045)'))) / (select extract(epoch from '2026-06-23 18:58:11'::timestamp) - extract(epoch from '2026-06-23 18:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042084 -3.411058)'), GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.411045)'))) / (select extract(epoch from '2026-06-23 18:58:11'::timestamp) - extract(epoch from '2026-06-23 18:57:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042023 -3.411027)', '2026-06-23 18:58:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.411045)'), GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.411027)'))) / (select extract(epoch from '2026-06-23 18:58:20'::timestamp) - extract(epoch from '2026-06-23 18:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.411045)'), GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.411027)'))) / (select extract(epoch from '2026-06-23 18:58:20'::timestamp) - extract(epoch from '2026-06-23 18:58: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'), 46587, 'SRID=4674;POINT (-39.042002 -3.411009)', '2026-06-23 18:58:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.411027)'), GeomFromEWKT('SRID=4674;POINT (-39.042002 -3.411009)'))) / (select extract(epoch from '2026-06-23 18:58:29'::timestamp) - extract(epoch from '2026-06-23 18:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.411027)'), GeomFromEWKT('SRID=4674;POINT (-39.042002 -3.411009)'))) / (select extract(epoch from '2026-06-23 18:58:29'::timestamp) - extract(epoch from '2026-06-23 18:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041996 -3.410998)', '2026-06-23 18:58:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042002 -3.411009)'), GeomFromEWKT('SRID=4674;POINT (-39.041996 -3.410998)'))) / (select extract(epoch from '2026-06-23 18:58:40'::timestamp) - extract(epoch from '2026-06-23 18:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042002 -3.411009)'), GeomFromEWKT('SRID=4674;POINT (-39.041996 -3.410998)'))) / (select extract(epoch from '2026-06-23 18:58:40'::timestamp) - extract(epoch from '2026-06-23 18:58: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'), 46587, 'SRID=4674;POINT (-39.041999 -3.410998)', '2026-06-23 18:58:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041996 -3.410998)'), GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.410998)'))) / (select extract(epoch from '2026-06-23 18:58:55'::timestamp) - extract(epoch from '2026-06-23 18:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041996 -3.410998)'), GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.410998)'))) / (select extract(epoch from '2026-06-23 18:58:55'::timestamp) - extract(epoch from '2026-06-23 18:58: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'), 46587, 'SRID=4674;POINT (-39.042006 -3.410993)', '2026-06-23 18:59:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.410998)'), GeomFromEWKT('SRID=4674;POINT (-39.042006 -3.410993)'))) / (select extract(epoch from '2026-06-23 18:59:03'::timestamp) - extract(epoch from '2026-06-23 18:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.410998)'), GeomFromEWKT('SRID=4674;POINT (-39.042006 -3.410993)'))) / (select extract(epoch from '2026-06-23 18:59:03'::timestamp) - extract(epoch from '2026-06-23 18: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'), 46587, 'SRID=4674;POINT (-39.042015 -3.410982)', '2026-06-23 18:59:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042006 -3.410993)'), GeomFromEWKT('SRID=4674;POINT (-39.042015 -3.410982)'))) / (select extract(epoch from '2026-06-23 18:59:19'::timestamp) - extract(epoch from '2026-06-23 18:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042006 -3.410993)'), GeomFromEWKT('SRID=4674;POINT (-39.042015 -3.410982)'))) / (select extract(epoch from '2026-06-23 18:59:19'::timestamp) - extract(epoch from '2026-06-23 18:59: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'), 46587, 'SRID=4674;POINT (-39.042044 -3.410977)', '2026-06-23 18:59:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042015 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.042044 -3.410977)'))) / (select extract(epoch from '2026-06-23 18:59:49'::timestamp) - extract(epoch from '2026-06-23 18:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042015 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.042044 -3.410977)'))) / (select extract(epoch from '2026-06-23 18:59:49'::timestamp) - extract(epoch from '2026-06-23 18:59: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'), 46587, 'SRID=4674;POINT (-39.042058 -3.410972)', '2026-06-23 19:00:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042044 -3.410977)'), GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.410972)'))) / (select extract(epoch from '2026-06-23 19:00:03'::timestamp) - extract(epoch from '2026-06-23 18:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042044 -3.410977)'), GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.410972)'))) / (select extract(epoch from '2026-06-23 19:00:03'::timestamp) - extract(epoch from '2026-06-23 18:59: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'), 46587, 'SRID=4674;POINT (-39.042073 -3.41097)', '2026-06-23 19:00:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.410972)'), GeomFromEWKT('SRID=4674;POINT (-39.042073 -3.41097)'))) / (select extract(epoch from '2026-06-23 19:00:16'::timestamp) - extract(epoch from '2026-06-23 19:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042058 -3.410972)'), GeomFromEWKT('SRID=4674;POINT (-39.042073 -3.41097)'))) / (select extract(epoch from '2026-06-23 19:00:16'::timestamp) - extract(epoch from '2026-06-23 19:00: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'), 46587, 'SRID=4674;POINT (-39.042085 -3.410968)', '2026-06-23 19:00:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042073 -3.41097)'), GeomFromEWKT('SRID=4674;POINT (-39.042085 -3.410968)'))) / (select extract(epoch from '2026-06-23 19:00:31'::timestamp) - extract(epoch from '2026-06-23 19:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042073 -3.41097)'), GeomFromEWKT('SRID=4674;POINT (-39.042085 -3.410968)'))) / (select extract(epoch from '2026-06-23 19:00:31'::timestamp) - extract(epoch from '2026-06-23 19:00: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'), 46587, 'SRID=4674;POINT (-39.042093 -3.410953)', '2026-06-23 19:00:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042085 -3.410968)'), GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.410953)'))) / (select extract(epoch from '2026-06-23 19:00:52'::timestamp) - extract(epoch from '2026-06-23 19:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042085 -3.410968)'), GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.410953)'))) / (select extract(epoch from '2026-06-23 19:00:52'::timestamp) - extract(epoch from '2026-06-23 19: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'), 46587, 'SRID=4674;POINT (-39.042115 -3.410951)', '2026-06-23 19:01:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.410951)'))) / (select extract(epoch from '2026-06-23 19:01:09'::timestamp) - extract(epoch from '2026-06-23 19:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042093 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.410951)'))) / (select extract(epoch from '2026-06-23 19:01:09'::timestamp) - extract(epoch from '2026-06-23 19:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042131 -3.410947)', '2026-06-23 19:01:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.410947)'))) / (select extract(epoch from '2026-06-23 19:01:18'::timestamp) - extract(epoch from '2026-06-23 19:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.410947)'))) / (select extract(epoch from '2026-06-23 19:01:18'::timestamp) - extract(epoch from '2026-06-23 19:01: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'), 46587, 'SRID=4674;POINT (-39.042126 -3.410949)', '2026-06-23 19:01:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.410947)'), GeomFromEWKT('SRID=4674;POINT (-39.042126 -3.410949)'))) / (select extract(epoch from '2026-06-23 19:01:32'::timestamp) - extract(epoch from '2026-06-23 19:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.410947)'), GeomFromEWKT('SRID=4674;POINT (-39.042126 -3.410949)'))) / (select extract(epoch from '2026-06-23 19:01:32'::timestamp) - extract(epoch from '2026-06-23 19:01: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'), 46587, 'SRID=4674;POINT (-39.042136 -3.410962)', '2026-06-23 19:01:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042126 -3.410949)'), GeomFromEWKT('SRID=4674;POINT (-39.042136 -3.410962)'))) / (select extract(epoch from '2026-06-23 19:01:50'::timestamp) - extract(epoch from '2026-06-23 19:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042126 -3.410949)'), GeomFromEWKT('SRID=4674;POINT (-39.042136 -3.410962)'))) / (select extract(epoch from '2026-06-23 19:01:50'::timestamp) - extract(epoch from '2026-06-23 19:01: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'), 46587, 'SRID=4674;POINT (-39.042139 -3.410951)', '2026-06-23 19:02:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042136 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-39.042139 -3.410951)'))) / (select extract(epoch from '2026-06-23 19:02:06'::timestamp) - extract(epoch from '2026-06-23 19:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042136 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-39.042139 -3.410951)'))) / (select extract(epoch from '2026-06-23 19:02:06'::timestamp) - extract(epoch from '2026-06-23 19:01: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'), 46587, 'SRID=4674;POINT (-39.04216 -3.410949)', '2026-06-23 19:02:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042139 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.04216 -3.410949)'))) / (select extract(epoch from '2026-06-23 19:02:21'::timestamp) - extract(epoch from '2026-06-23 19:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042139 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.04216 -3.410949)'))) / (select extract(epoch from '2026-06-23 19:02:21'::timestamp) - extract(epoch from '2026-06-23 19:02: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'), 46587, 'SRID=4674;POINT (-39.04218 -3.410953)', '2026-06-23 19:02:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04216 -3.410949)'), GeomFromEWKT('SRID=4674;POINT (-39.04218 -3.410953)'))) / (select extract(epoch from '2026-06-23 19:02:42'::timestamp) - extract(epoch from '2026-06-23 19:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04216 -3.410949)'), GeomFromEWKT('SRID=4674;POINT (-39.04218 -3.410953)'))) / (select extract(epoch from '2026-06-23 19:02:42'::timestamp) - extract(epoch from '2026-06-23 19:02: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'), 46587, 'SRID=4674;POINT (-39.04219 -3.410951)', '2026-06-23 19:03:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04218 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.04219 -3.410951)'))) / (select extract(epoch from '2026-06-23 19:03:11'::timestamp) - extract(epoch from '2026-06-23 19:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04218 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.04219 -3.410951)'))) / (select extract(epoch from '2026-06-23 19:03:11'::timestamp) - extract(epoch from '2026-06-23 19:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042217 -3.410946)', '2026-06-23 19:03:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04219 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.042217 -3.410946)'))) / (select extract(epoch from '2026-06-23 19:03:31'::timestamp) - extract(epoch from '2026-06-23 19:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04219 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.042217 -3.410946)'))) / (select extract(epoch from '2026-06-23 19:03:31'::timestamp) - extract(epoch from '2026-06-23 19:03: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'), 46587, 'SRID=4674;POINT (-39.042243 -3.410933)', '2026-06-23 19:03:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042217 -3.410946)'), GeomFromEWKT('SRID=4674;POINT (-39.042243 -3.410933)'))) / (select extract(epoch from '2026-06-23 19:03:48'::timestamp) - extract(epoch from '2026-06-23 19:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042217 -3.410946)'), GeomFromEWKT('SRID=4674;POINT (-39.042243 -3.410933)'))) / (select extract(epoch from '2026-06-23 19:03:48'::timestamp) - extract(epoch from '2026-06-23 19:03: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'), 46587, 'SRID=4674;POINT (-39.04227 -3.410939)', '2026-06-23 19:04:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042243 -3.410933)'), GeomFromEWKT('SRID=4674;POINT (-39.04227 -3.410939)'))) / (select extract(epoch from '2026-06-23 19:04:02'::timestamp) - extract(epoch from '2026-06-23 19:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042243 -3.410933)'), GeomFromEWKT('SRID=4674;POINT (-39.04227 -3.410939)'))) / (select extract(epoch from '2026-06-23 19:04:02'::timestamp) - extract(epoch from '2026-06-23 19:03: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'), 46587, 'SRID=4674;POINT (-39.042308 -3.410948)', '2026-06-23 19:04:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04227 -3.410939)'), GeomFromEWKT('SRID=4674;POINT (-39.042308 -3.410948)'))) / (select extract(epoch from '2026-06-23 19:04:17'::timestamp) - extract(epoch from '2026-06-23 19:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04227 -3.410939)'), GeomFromEWKT('SRID=4674;POINT (-39.042308 -3.410948)'))) / (select extract(epoch from '2026-06-23 19:04:17'::timestamp) - extract(epoch from '2026-06-23 19:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042349 -3.410915)', '2026-06-23 19:04:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042308 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.042349 -3.410915)'))) / (select extract(epoch from '2026-06-23 19:04:34'::timestamp) - extract(epoch from '2026-06-23 19:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042308 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.042349 -3.410915)'))) / (select extract(epoch from '2026-06-23 19:04:34'::timestamp) - extract(epoch from '2026-06-23 19:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042365 -3.410856)', '2026-06-23 19:04:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042349 -3.410915)'), GeomFromEWKT('SRID=4674;POINT (-39.042365 -3.410856)'))) / (select extract(epoch from '2026-06-23 19:04:43'::timestamp) - extract(epoch from '2026-06-23 19:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042349 -3.410915)'), GeomFromEWKT('SRID=4674;POINT (-39.042365 -3.410856)'))) / (select extract(epoch from '2026-06-23 19:04:43'::timestamp) - extract(epoch from '2026-06-23 19:04: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'), 46587, 'SRID=4674;POINT (-39.042376 -3.410794)', '2026-06-23 19:04:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042365 -3.410856)'), GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.410794)'))) / (select extract(epoch from '2026-06-23 19:04:52'::timestamp) - extract(epoch from '2026-06-23 19:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042365 -3.410856)'), GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.410794)'))) / (select extract(epoch from '2026-06-23 19:04:52'::timestamp) - extract(epoch from '2026-06-23 19:04: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'), 46587, 'SRID=4674;POINT (-39.042373 -3.41073)', '2026-06-23 19:05:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.410794)'), GeomFromEWKT('SRID=4674;POINT (-39.042373 -3.41073)'))) / (select extract(epoch from '2026-06-23 19:05:01'::timestamp) - extract(epoch from '2026-06-23 19:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042376 -3.410794)'), GeomFromEWKT('SRID=4674;POINT (-39.042373 -3.41073)'))) / (select extract(epoch from '2026-06-23 19:05:01'::timestamp) - extract(epoch from '2026-06-23 19:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042363 -3.410683)', '2026-06-23 19:05:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042373 -3.41073)'), GeomFromEWKT('SRID=4674;POINT (-39.042363 -3.410683)'))) / (select extract(epoch from '2026-06-23 19:05:10'::timestamp) - extract(epoch from '2026-06-23 19:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042373 -3.41073)'), GeomFromEWKT('SRID=4674;POINT (-39.042363 -3.410683)'))) / (select extract(epoch from '2026-06-23 19:05:10'::timestamp) - extract(epoch from '2026-06-23 19:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042335 -3.410691)', '2026-06-23 19:05:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042363 -3.410683)'), GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.410691)'))) / (select extract(epoch from '2026-06-23 19:05:19'::timestamp) - extract(epoch from '2026-06-23 19:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042363 -3.410683)'), GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.410691)'))) / (select extract(epoch from '2026-06-23 19:05:19'::timestamp) - extract(epoch from '2026-06-23 19:05: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'), 46587, 'SRID=4674;POINT (-39.042307 -3.4107)', '2026-06-23 19:05:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.410691)'), GeomFromEWKT('SRID=4674;POINT (-39.042307 -3.4107)'))) / (select extract(epoch from '2026-06-23 19:05:28'::timestamp) - extract(epoch from '2026-06-23 19:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042335 -3.410691)'), GeomFromEWKT('SRID=4674;POINT (-39.042307 -3.4107)'))) / (select extract(epoch from '2026-06-23 19:05:28'::timestamp) - extract(epoch from '2026-06-23 19:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042284 -3.410711)', '2026-06-23 19:05:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042307 -3.4107)'), GeomFromEWKT('SRID=4674;POINT (-39.042284 -3.410711)'))) / (select extract(epoch from '2026-06-23 19:05:36'::timestamp) - extract(epoch from '2026-06-23 19:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042307 -3.4107)'), GeomFromEWKT('SRID=4674;POINT (-39.042284 -3.410711)'))) / (select extract(epoch from '2026-06-23 19:05:36'::timestamp) - extract(epoch from '2026-06-23 19:05:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042261 -3.410719)', '2026-06-23 19:05:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042284 -3.410711)'), GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.410719)'))) / (select extract(epoch from '2026-06-23 19:05:47'::timestamp) - extract(epoch from '2026-06-23 19:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042284 -3.410711)'), GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.410719)'))) / (select extract(epoch from '2026-06-23 19:05:47'::timestamp) - extract(epoch from '2026-06-23 19: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'), 46587, 'SRID=4674;POINT (-39.04224 -3.410716)', '2026-06-23 19:05:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.410719)'), GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.410716)'))) / (select extract(epoch from '2026-06-23 19:05:56'::timestamp) - extract(epoch from '2026-06-23 19:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.410719)'), GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.410716)'))) / (select extract(epoch from '2026-06-23 19:05:56'::timestamp) - extract(epoch from '2026-06-23 19:05: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'), 46587, 'SRID=4674;POINT (-39.042208 -3.410704)', '2026-06-23 19:06:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.410716)'), GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.410704)'))) / (select extract(epoch from '2026-06-23 19:06:05'::timestamp) - extract(epoch from '2026-06-23 19:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.410716)'), GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.410704)'))) / (select extract(epoch from '2026-06-23 19:06:05'::timestamp) - extract(epoch from '2026-06-23 19:05: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'), 46587, 'SRID=4674;POINT (-39.042133 -3.4107)', '2026-06-23 19:06:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.410704)'), GeomFromEWKT('SRID=4674;POINT (-39.042133 -3.4107)'))) / (select extract(epoch from '2026-06-23 19:06:26'::timestamp) - extract(epoch from '2026-06-23 19:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.410704)'), GeomFromEWKT('SRID=4674;POINT (-39.042133 -3.4107)'))) / (select extract(epoch from '2026-06-23 19:06:26'::timestamp) - extract(epoch from '2026-06-23 19:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.042114 -3.410697)', '2026-06-23 19:06:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042133 -3.4107)'), GeomFromEWKT('SRID=4674;POINT (-39.042114 -3.410697)'))) / (select extract(epoch from '2026-06-23 19:06:44'::timestamp) - extract(epoch from '2026-06-23 19:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042133 -3.4107)'), GeomFromEWKT('SRID=4674;POINT (-39.042114 -3.410697)'))) / (select extract(epoch from '2026-06-23 19:06:44'::timestamp) - extract(epoch from '2026-06-23 19:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04207 -3.410675)', '2026-06-23 19:07:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042114 -3.410697)'), GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.410675)'))) / (select extract(epoch from '2026-06-23 19:07:01'::timestamp) - extract(epoch from '2026-06-23 19:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042114 -3.410697)'), GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.410675)'))) / (select extract(epoch from '2026-06-23 19:07:01'::timestamp) - extract(epoch from '2026-06-23 19:06: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'), 46587, 'SRID=4674;POINT (-39.042049 -3.410689)', '2026-06-23 19:07:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.410675)'), GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.410689)'))) / (select extract(epoch from '2026-06-23 19:07:20'::timestamp) - extract(epoch from '2026-06-23 19:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04207 -3.410675)'), GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.410689)'))) / (select extract(epoch from '2026-06-23 19:07:20'::timestamp) - extract(epoch from '2026-06-23 19: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'), 46587, 'SRID=4674;POINT (-39.042012 -3.410695)', '2026-06-23 19:07:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.410689)'), GeomFromEWKT('SRID=4674;POINT (-39.042012 -3.410695)'))) / (select extract(epoch from '2026-06-23 19:07:28'::timestamp) - extract(epoch from '2026-06-23 19:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.410689)'), GeomFromEWKT('SRID=4674;POINT (-39.042012 -3.410695)'))) / (select extract(epoch from '2026-06-23 19:07:28'::timestamp) - extract(epoch from '2026-06-23 19:07: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'), 46587, 'SRID=4674;POINT (-39.041967 -3.410717)', '2026-06-23 19:07:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042012 -3.410695)'), GeomFromEWKT('SRID=4674;POINT (-39.041967 -3.410717)'))) / (select extract(epoch from '2026-06-23 19:07:38'::timestamp) - extract(epoch from '2026-06-23 19:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042012 -3.410695)'), GeomFromEWKT('SRID=4674;POINT (-39.041967 -3.410717)'))) / (select extract(epoch from '2026-06-23 19:07:38'::timestamp) - extract(epoch from '2026-06-23 19:07: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'), 46587, 'SRID=4674;POINT (-39.041919 -3.41074)', '2026-06-23 19:07:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041967 -3.410717)'), GeomFromEWKT('SRID=4674;POINT (-39.041919 -3.41074)'))) / (select extract(epoch from '2026-06-23 19:07:47'::timestamp) - extract(epoch from '2026-06-23 19:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041967 -3.410717)'), GeomFromEWKT('SRID=4674;POINT (-39.041919 -3.41074)'))) / (select extract(epoch from '2026-06-23 19:07:47'::timestamp) - extract(epoch from '2026-06-23 19:07: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'), 46587, 'SRID=4674;POINT (-39.041863 -3.410763)', '2026-06-23 19:07:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041919 -3.41074)'), GeomFromEWKT('SRID=4674;POINT (-39.041863 -3.410763)'))) / (select extract(epoch from '2026-06-23 19:07:55'::timestamp) - extract(epoch from '2026-06-23 19:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041919 -3.41074)'), GeomFromEWKT('SRID=4674;POINT (-39.041863 -3.410763)'))) / (select extract(epoch from '2026-06-23 19:07:55'::timestamp) - extract(epoch from '2026-06-23 19:07: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'), 46587, 'SRID=4674;POINT (-39.04184 -3.410778)', '2026-06-23 19:07:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041863 -3.410763)'), GeomFromEWKT('SRID=4674;POINT (-39.04184 -3.410778)'))) / (select extract(epoch from '2026-06-23 19:07:58'::timestamp) - extract(epoch from '2026-06-23 19:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041863 -3.410763)'), GeomFromEWKT('SRID=4674;POINT (-39.04184 -3.410778)'))) / (select extract(epoch from '2026-06-23 19:07:58'::timestamp) - extract(epoch from '2026-06-23 19:07: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'), 46587, 'SRID=4674;POINT (-39.04182 -3.410789)', '2026-06-23 19:08:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04184 -3.410778)'), GeomFromEWKT('SRID=4674;POINT (-39.04182 -3.410789)'))) / (select extract(epoch from '2026-06-23 19:08:01'::timestamp) - extract(epoch from '2026-06-23 19:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04184 -3.410778)'), GeomFromEWKT('SRID=4674;POINT (-39.04182 -3.410789)'))) / (select extract(epoch from '2026-06-23 19:08:01'::timestamp) - extract(epoch from '2026-06-23 19:07: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'), 46587, 'SRID=4674;POINT (-39.041792 -3.410819)', '2026-06-23 19:08:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04182 -3.410789)'), GeomFromEWKT('SRID=4674;POINT (-39.041792 -3.410819)'))) / (select extract(epoch from '2026-06-23 19:08:07'::timestamp) - extract(epoch from '2026-06-23 19:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04182 -3.410789)'), GeomFromEWKT('SRID=4674;POINT (-39.041792 -3.410819)'))) / (select extract(epoch from '2026-06-23 19:08:07'::timestamp) - extract(epoch from '2026-06-23 19:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041759 -3.410843)', '2026-06-23 19:08:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041792 -3.410819)'), GeomFromEWKT('SRID=4674;POINT (-39.041759 -3.410843)'))) / (select extract(epoch from '2026-06-23 19:08:14'::timestamp) - extract(epoch from '2026-06-23 19:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041792 -3.410819)'), GeomFromEWKT('SRID=4674;POINT (-39.041759 -3.410843)'))) / (select extract(epoch from '2026-06-23 19:08:14'::timestamp) - extract(epoch from '2026-06-23 19:08: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'), 46587, 'SRID=4674;POINT (-39.041726 -3.410875)', '2026-06-23 19:08:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041759 -3.410843)'), GeomFromEWKT('SRID=4674;POINT (-39.041726 -3.410875)'))) / (select extract(epoch from '2026-06-23 19:08:20'::timestamp) - extract(epoch from '2026-06-23 19:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041759 -3.410843)'), GeomFromEWKT('SRID=4674;POINT (-39.041726 -3.410875)'))) / (select extract(epoch from '2026-06-23 19:08:20'::timestamp) - extract(epoch from '2026-06-23 19:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041691 -3.410895)', '2026-06-23 19:08:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041726 -3.410875)'), GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.410895)'))) / (select extract(epoch from '2026-06-23 19:08:26'::timestamp) - extract(epoch from '2026-06-23 19:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041726 -3.410875)'), GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.410895)'))) / (select extract(epoch from '2026-06-23 19:08:26'::timestamp) - extract(epoch from '2026-06-23 19:08: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'), 46587, 'SRID=4674;POINT (-39.041648 -3.410913)', '2026-06-23 19:08:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.410895)'), GeomFromEWKT('SRID=4674;POINT (-39.041648 -3.410913)'))) / (select extract(epoch from '2026-06-23 19:08:34'::timestamp) - extract(epoch from '2026-06-23 19:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.410895)'), GeomFromEWKT('SRID=4674;POINT (-39.041648 -3.410913)'))) / (select extract(epoch from '2026-06-23 19:08:34'::timestamp) - extract(epoch from '2026-06-23 19:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041603 -3.410933)', '2026-06-23 19:08:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041648 -3.410913)'), GeomFromEWKT('SRID=4674;POINT (-39.041603 -3.410933)'))) / (select extract(epoch from '2026-06-23 19:08:43'::timestamp) - extract(epoch from '2026-06-23 19:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041648 -3.410913)'), GeomFromEWKT('SRID=4674;POINT (-39.041603 -3.410933)'))) / (select extract(epoch from '2026-06-23 19:08:43'::timestamp) - extract(epoch from '2026-06-23 19:08: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'), 46587, 'SRID=4674;POINT (-39.041553 -3.410962)', '2026-06-23 19:08:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041603 -3.410933)'), GeomFromEWKT('SRID=4674;POINT (-39.041553 -3.410962)'))) / (select extract(epoch from '2026-06-23 19:08:52'::timestamp) - extract(epoch from '2026-06-23 19:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041603 -3.410933)'), GeomFromEWKT('SRID=4674;POINT (-39.041553 -3.410962)'))) / (select extract(epoch from '2026-06-23 19:08:52'::timestamp) - extract(epoch from '2026-06-23 19:08: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'), 46587, 'SRID=4674;POINT (-39.041506 -3.410977)', '2026-06-23 19:09:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041553 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-39.041506 -3.410977)'))) / (select extract(epoch from '2026-06-23 19:09:02'::timestamp) - extract(epoch from '2026-06-23 19:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041553 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-39.041506 -3.410977)'))) / (select extract(epoch from '2026-06-23 19:09:02'::timestamp) - extract(epoch from '2026-06-23 19:08: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'), 46587, 'SRID=4674;POINT (-39.041452 -3.41094)', '2026-06-23 19:09:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041506 -3.410977)'), GeomFromEWKT('SRID=4674;POINT (-39.041452 -3.41094)'))) / (select extract(epoch from '2026-06-23 19:09:13'::timestamp) - extract(epoch from '2026-06-23 19:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041506 -3.410977)'), GeomFromEWKT('SRID=4674;POINT (-39.041452 -3.41094)'))) / (select extract(epoch from '2026-06-23 19:09:13'::timestamp) - extract(epoch from '2026-06-23 19:09: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'), 46587, 'SRID=4674;POINT (-39.041418 -3.410891)', '2026-06-23 19:09:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041452 -3.41094)'), GeomFromEWKT('SRID=4674;POINT (-39.041418 -3.410891)'))) / (select extract(epoch from '2026-06-23 19:09:27'::timestamp) - extract(epoch from '2026-06-23 19:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041452 -3.41094)'), GeomFromEWKT('SRID=4674;POINT (-39.041418 -3.410891)'))) / (select extract(epoch from '2026-06-23 19:09:27'::timestamp) - extract(epoch from '2026-06-23 19:09: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'), 46587, 'SRID=4674;POINT (-39.041388 -3.41091)', '2026-06-23 19:09:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041418 -3.410891)'), GeomFromEWKT('SRID=4674;POINT (-39.041388 -3.41091)'))) / (select extract(epoch from '2026-06-23 19:09:40'::timestamp) - extract(epoch from '2026-06-23 19:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041418 -3.410891)'), GeomFromEWKT('SRID=4674;POINT (-39.041388 -3.41091)'))) / (select extract(epoch from '2026-06-23 19:09:40'::timestamp) - extract(epoch from '2026-06-23 19:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041344 -3.410897)', '2026-06-23 19:09:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041388 -3.41091)'), GeomFromEWKT('SRID=4674;POINT (-39.041344 -3.410897)'))) / (select extract(epoch from '2026-06-23 19:09:52'::timestamp) - extract(epoch from '2026-06-23 19:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041388 -3.41091)'), GeomFromEWKT('SRID=4674;POINT (-39.041344 -3.410897)'))) / (select extract(epoch from '2026-06-23 19:09:52'::timestamp) - extract(epoch from '2026-06-23 19:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041273 -3.410884)', '2026-06-23 19:10:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041344 -3.410897)'), GeomFromEWKT('SRID=4674;POINT (-39.041273 -3.410884)'))) / (select extract(epoch from '2026-06-23 19:10:12'::timestamp) - extract(epoch from '2026-06-23 19:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041344 -3.410897)'), GeomFromEWKT('SRID=4674;POINT (-39.041273 -3.410884)'))) / (select extract(epoch from '2026-06-23 19:10:12'::timestamp) - extract(epoch from '2026-06-23 19:09:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.04125 -3.410876)', '2026-06-23 19:10:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041273 -3.410884)'), GeomFromEWKT('SRID=4674;POINT (-39.04125 -3.410876)'))) / (select extract(epoch from '2026-06-23 19:10:28'::timestamp) - extract(epoch from '2026-06-23 19:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041273 -3.410884)'), GeomFromEWKT('SRID=4674;POINT (-39.04125 -3.410876)'))) / (select extract(epoch from '2026-06-23 19:10:28'::timestamp) - extract(epoch from '2026-06-23 19:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041233 -3.410846)', '2026-06-23 19:10:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04125 -3.410876)'), GeomFromEWKT('SRID=4674;POINT (-39.041233 -3.410846)'))) / (select extract(epoch from '2026-06-23 19:10:35'::timestamp) - extract(epoch from '2026-06-23 19:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04125 -3.410876)'), GeomFromEWKT('SRID=4674;POINT (-39.041233 -3.410846)'))) / (select extract(epoch from '2026-06-23 19:10:35'::timestamp) - extract(epoch from '2026-06-23 19:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041199 -3.410817)', '2026-06-23 19:10:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041233 -3.410846)'), GeomFromEWKT('SRID=4674;POINT (-39.041199 -3.410817)'))) / (select extract(epoch from '2026-06-23 19:10:44'::timestamp) - extract(epoch from '2026-06-23 19:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041233 -3.410846)'), GeomFromEWKT('SRID=4674;POINT (-39.041199 -3.410817)'))) / (select extract(epoch from '2026-06-23 19:10:44'::timestamp) - extract(epoch from '2026-06-23 19:10: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'), 46587, 'SRID=4674;POINT (-39.041197 -3.410805)', '2026-06-23 19:10:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041199 -3.410817)'), GeomFromEWKT('SRID=4674;POINT (-39.041197 -3.410805)'))) / (select extract(epoch from '2026-06-23 19:10:56'::timestamp) - extract(epoch from '2026-06-23 19:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041199 -3.410817)'), GeomFromEWKT('SRID=4674;POINT (-39.041197 -3.410805)'))) / (select extract(epoch from '2026-06-23 19:10:56'::timestamp) - extract(epoch from '2026-06-23 19: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'), 46587, 'SRID=4674;POINT (-39.041219 -3.410817)', '2026-06-23 19:11:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041197 -3.410805)'), GeomFromEWKT('SRID=4674;POINT (-39.041219 -3.410817)'))) / (select extract(epoch from '2026-06-23 19:11:05'::timestamp) - extract(epoch from '2026-06-23 19:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041197 -3.410805)'), GeomFromEWKT('SRID=4674;POINT (-39.041219 -3.410817)'))) / (select extract(epoch from '2026-06-23 19:11:05'::timestamp) - extract(epoch from '2026-06-23 19:10: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'), 46587, 'SRID=4674;POINT (-39.041247 -3.410815)', '2026-06-23 19:11:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041219 -3.410817)'), GeomFromEWKT('SRID=4674;POINT (-39.041247 -3.410815)'))) / (select extract(epoch from '2026-06-23 19:11:15'::timestamp) - extract(epoch from '2026-06-23 19:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041219 -3.410817)'), GeomFromEWKT('SRID=4674;POINT (-39.041247 -3.410815)'))) / (select extract(epoch from '2026-06-23 19:11:15'::timestamp) - extract(epoch from '2026-06-23 19:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041264 -3.410822)', '2026-06-23 19:11:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041247 -3.410815)'), GeomFromEWKT('SRID=4674;POINT (-39.041264 -3.410822)'))) / (select extract(epoch from '2026-06-23 19:11:24'::timestamp) - extract(epoch from '2026-06-23 19:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041247 -3.410815)'), GeomFromEWKT('SRID=4674;POINT (-39.041264 -3.410822)'))) / (select extract(epoch from '2026-06-23 19:11:24'::timestamp) - extract(epoch from '2026-06-23 19:11: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'), 46587, 'SRID=4674;POINT (-39.041279 -3.410834)', '2026-06-23 19:11:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041264 -3.410822)'), GeomFromEWKT('SRID=4674;POINT (-39.041279 -3.410834)'))) / (select extract(epoch from '2026-06-23 19:11:38'::timestamp) - extract(epoch from '2026-06-23 19:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041264 -3.410822)'), GeomFromEWKT('SRID=4674;POINT (-39.041279 -3.410834)'))) / (select extract(epoch from '2026-06-23 19:11:38'::timestamp) - extract(epoch from '2026-06-23 19:11: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'), 46587, 'SRID=4674;POINT (-39.041297 -3.410841)', '2026-06-23 19:11:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041279 -3.410834)'), GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.410841)'))) / (select extract(epoch from '2026-06-23 19:11:50'::timestamp) - extract(epoch from '2026-06-23 19:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041279 -3.410834)'), GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.410841)'))) / (select extract(epoch from '2026-06-23 19:11:50'::timestamp) - extract(epoch from '2026-06-23 19:11: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'), 46587, 'SRID=4674;POINT (-39.041313 -3.410844)', '2026-06-23 19:11:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.410841)'), GeomFromEWKT('SRID=4674;POINT (-39.041313 -3.410844)'))) / (select extract(epoch from '2026-06-23 19:11:59'::timestamp) - extract(epoch from '2026-06-23 19:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.410841)'), GeomFromEWKT('SRID=4674;POINT (-39.041313 -3.410844)'))) / (select extract(epoch from '2026-06-23 19:11:59'::timestamp) - extract(epoch from '2026-06-23 19:11: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'), 46587, 'SRID=4674;POINT (-39.041348 -3.410857)', '2026-06-23 19:12:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041313 -3.410844)'), GeomFromEWKT('SRID=4674;POINT (-39.041348 -3.410857)'))) / (select extract(epoch from '2026-06-23 19:12:18'::timestamp) - extract(epoch from '2026-06-23 19:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041313 -3.410844)'), GeomFromEWKT('SRID=4674;POINT (-39.041348 -3.410857)'))) / (select extract(epoch from '2026-06-23 19:12:18'::timestamp) - extract(epoch from '2026-06-23 19:11: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'), 46587, 'SRID=4674;POINT (-39.041376 -3.410863)', '2026-06-23 19:12:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041348 -3.410857)'), GeomFromEWKT('SRID=4674;POINT (-39.041376 -3.410863)'))) / (select extract(epoch from '2026-06-23 19:12:36'::timestamp) - extract(epoch from '2026-06-23 19:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041348 -3.410857)'), GeomFromEWKT('SRID=4674;POINT (-39.041376 -3.410863)'))) / (select extract(epoch from '2026-06-23 19:12:36'::timestamp) - extract(epoch from '2026-06-23 19:12: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'), 46587, 'SRID=4674;POINT (-39.041402 -3.410884)', '2026-06-23 19:13:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041376 -3.410863)'), GeomFromEWKT('SRID=4674;POINT (-39.041402 -3.410884)'))) / (select extract(epoch from '2026-06-23 19:13:04'::timestamp) - extract(epoch from '2026-06-23 19:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041376 -3.410863)'), GeomFromEWKT('SRID=4674;POINT (-39.041402 -3.410884)'))) / (select extract(epoch from '2026-06-23 19:13:04'::timestamp) - extract(epoch from '2026-06-23 19:12: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'), 46587, 'SRID=4674;POINT (-39.041442 -3.410897)', '2026-06-23 19:13:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041402 -3.410884)'), GeomFromEWKT('SRID=4674;POINT (-39.041442 -3.410897)'))) / (select extract(epoch from '2026-06-23 19:13:19'::timestamp) - extract(epoch from '2026-06-23 19:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041402 -3.410884)'), GeomFromEWKT('SRID=4674;POINT (-39.041442 -3.410897)'))) / (select extract(epoch from '2026-06-23 19:13:19'::timestamp) - extract(epoch from '2026-06-23 19:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041467 -3.410893)', '2026-06-23 19:13:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041442 -3.410897)'), GeomFromEWKT('SRID=4674;POINT (-39.041467 -3.410893)'))) / (select extract(epoch from '2026-06-23 19:13:42'::timestamp) - extract(epoch from '2026-06-23 19:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041442 -3.410897)'), GeomFromEWKT('SRID=4674;POINT (-39.041467 -3.410893)'))) / (select extract(epoch from '2026-06-23 19:13:42'::timestamp) - extract(epoch from '2026-06-23 19:13: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'), 46587, 'SRID=4674;POINT (-39.041473 -3.410897)', '2026-06-23 19:13:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041467 -3.410893)'), GeomFromEWKT('SRID=4674;POINT (-39.041473 -3.410897)'))) / (select extract(epoch from '2026-06-23 19:13:54'::timestamp) - extract(epoch from '2026-06-23 19:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041467 -3.410893)'), GeomFromEWKT('SRID=4674;POINT (-39.041473 -3.410897)'))) / (select extract(epoch from '2026-06-23 19:13:54'::timestamp) - extract(epoch from '2026-06-23 19:13: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'), 46587, 'SRID=4674;POINT (-39.041411 -3.410919)', '2026-06-23 19:14:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041473 -3.410897)'), GeomFromEWKT('SRID=4674;POINT (-39.041411 -3.410919)'))) / (select extract(epoch from '2026-06-23 19:14:03'::timestamp) - extract(epoch from '2026-06-23 19:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041473 -3.410897)'), GeomFromEWKT('SRID=4674;POINT (-39.041411 -3.410919)'))) / (select extract(epoch from '2026-06-23 19:14:03'::timestamp) - extract(epoch from '2026-06-23 19:13: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'), 46587, 'SRID=4674;POINT (-39.04135 -3.410951)', '2026-06-23 19:14:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041411 -3.410919)'), GeomFromEWKT('SRID=4674;POINT (-39.04135 -3.410951)'))) / (select extract(epoch from '2026-06-23 19:14:11'::timestamp) - extract(epoch from '2026-06-23 19:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041411 -3.410919)'), GeomFromEWKT('SRID=4674;POINT (-39.04135 -3.410951)'))) / (select extract(epoch from '2026-06-23 19:14:11'::timestamp) - extract(epoch from '2026-06-23 19:14: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'), 46587, 'SRID=4674;POINT (-39.041335 -3.410961)', '2026-06-23 19:14:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04135 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.041335 -3.410961)'))) / (select extract(epoch from '2026-06-23 19:14:13'::timestamp) - extract(epoch from '2026-06-23 19:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04135 -3.410951)'), GeomFromEWKT('SRID=4674;POINT (-39.041335 -3.410961)'))) / (select extract(epoch from '2026-06-23 19:14:13'::timestamp) - extract(epoch from '2026-06-23 19:14: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'), 46587, 'SRID=4674;POINT (-39.041297 -3.410964)', '2026-06-23 19:14:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041335 -3.410961)'), GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.410964)'))) / (select extract(epoch from '2026-06-23 19:14:18'::timestamp) - extract(epoch from '2026-06-23 19:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041335 -3.410961)'), GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.410964)'))) / (select extract(epoch from '2026-06-23 19:14:18'::timestamp) - extract(epoch from '2026-06-23 19: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'), 46587, 'SRID=4674;POINT (-39.041235 -3.410989)', '2026-06-23 19:14:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410989)'))) / (select extract(epoch from '2026-06-23 19:14:27'::timestamp) - extract(epoch from '2026-06-23 19:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410989)'))) / (select extract(epoch from '2026-06-23 19:14:27'::timestamp) - extract(epoch from '2026-06-23 19:14: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'), 46587, 'SRID=4674;POINT (-39.041174 -3.411022)', '2026-06-23 19:14:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410989)'), GeomFromEWKT('SRID=4674;POINT (-39.041174 -3.411022)'))) / (select extract(epoch from '2026-06-23 19:14:35'::timestamp) - extract(epoch from '2026-06-23 19:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410989)'), GeomFromEWKT('SRID=4674;POINT (-39.041174 -3.411022)'))) / (select extract(epoch from '2026-06-23 19:14:35'::timestamp) - extract(epoch from '2026-06-23 19:14:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46587, 'SRID=4674;POINT (-39.041116 -3.411049)', '2026-06-23 19:14:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041174 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.041116 -3.411049)'))) / (select extract(epoch from '2026-06-23 19:14:43'::timestamp) - extract(epoch from '2026-06-23 19:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041174 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.041116 -3.411049)'))) / (select extract(epoch from '2026-06-23 19:14:43'::timestamp) - extract(epoch from '2026-06-23 19:14: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'), 46587, 'SRID=4674;POINT (-39.041065 -3.411085)', '2026-06-23 19:14:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041116 -3.411049)'), GeomFromEWKT('SRID=4674;POINT (-39.041065 -3.411085)'))) / (select extract(epoch from '2026-06-23 19:14:50'::timestamp) - extract(epoch from '2026-06-23 19:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041116 -3.411049)'), GeomFromEWKT('SRID=4674;POINT (-39.041065 -3.411085)'))) / (select extract(epoch from '2026-06-23 19:14:50'::timestamp) - extract(epoch from '2026-06-23 19:14: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'), 46587, 'SRID=4674;POINT (-39.041057 -3.41109)', '2026-06-23 19:14:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041065 -3.411085)'), GeomFromEWKT('SRID=4674;POINT (-39.041057 -3.41109)'))) / (select extract(epoch from '2026-06-23 19:14:51'::timestamp) - extract(epoch from '2026-06-23 19:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041065 -3.411085)'), GeomFromEWKT('SRID=4674;POINT (-39.041057 -3.41109)'))) / (select extract(epoch from '2026-06-23 19:14:51'::timestamp) - extract(epoch from '2026-06-23 19: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'), 46587, 'SRID=4674;POINT (-39.041018 -3.411106)', '2026-06-23 19:14:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041057 -3.41109)'), GeomFromEWKT('SRID=4674;POINT (-39.041018 -3.411106)'))) / (select extract(epoch from '2026-06-23 19:14:57'::timestamp) - extract(epoch from '2026-06-23 19:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041057 -3.41109)'), GeomFromEWKT('SRID=4674;POINT (-39.041018 -3.411106)'))) / (select extract(epoch from '2026-06-23 19:14:57'::timestamp) - extract(epoch from '2026-06-23 19:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
