 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030025 -3.363303)', '2026-07-17 17:51:02', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363293)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363303)'))) / (select extract(epoch from '2026-07-17 17:51:02'::timestamp) - extract(epoch from '2026-07-17 17:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363293)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363303)'))) / (select extract(epoch from '2026-07-17 17:51:02'::timestamp) - extract(epoch from '2026-07-17 17:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030032 -3.36331)', '2026-07-17 17:51:11', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363303)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.36331)'))) / (select extract(epoch from '2026-07-17 17:51:11'::timestamp) - extract(epoch from '2026-07-17 17:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363303)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.36331)'))) / (select extract(epoch from '2026-07-17 17:51:11'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47442, 'SRID=4674;POINT (-39.03002 -3.363312)', '2026-07-17 17:51:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.36331)'), GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363312)'))) / (select extract(epoch from '2026-07-17 17:51:16'::timestamp) - extract(epoch from '2026-07-17 17:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.36331)'), GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363312)'))) / (select extract(epoch from '2026-07-17 17:51:16'::timestamp) - extract(epoch from '2026-07-17 17:51:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030024 -3.36331)', '2026-07-17 17:51:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363312)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.36331)'))) / (select extract(epoch from '2026-07-17 17:51:24'::timestamp) - extract(epoch from '2026-07-17 17:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363312)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.36331)'))) / (select extract(epoch from '2026-07-17 17:51:24'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47442, 'SRID=4674;POINT (-39.030033 -3.363303)', '2026-07-17 17:51:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.36331)'), GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363303)'))) / (select extract(epoch from '2026-07-17 17:51:32'::timestamp) - extract(epoch from '2026-07-17 17:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.36331)'), GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363303)'))) / (select extract(epoch from '2026-07-17 17:51:32'::timestamp) - extract(epoch from '2026-07-17 17:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030025 -3.363299)', '2026-07-17 17:51:40', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363303)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363299)'))) / (select extract(epoch from '2026-07-17 17:51:40'::timestamp) - extract(epoch from '2026-07-17 17:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363303)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363299)'))) / (select extract(epoch from '2026-07-17 17:51:40'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47442, 'SRID=4674;POINT (-39.030033 -3.363298)', '2026-07-17 17:51:50', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363299)'), GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363298)'))) / (select extract(epoch from '2026-07-17 17:51:50'::timestamp) - extract(epoch from '2026-07-17 17:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363299)'), GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363298)'))) / (select extract(epoch from '2026-07-17 17:51:50'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47442, 'SRID=4674;POINT (-39.03003 -3.363292)', '2026-07-17 17:52:00', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363298)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363292)'))) / (select extract(epoch from '2026-07-17 17:52:00'::timestamp) - extract(epoch from '2026-07-17 17:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363298)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363292)'))) / (select extract(epoch from '2026-07-17 17:52:00'::timestamp) - extract(epoch from '2026-07-17 17:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030027 -3.36329)', '2026-07-17 17:52:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36329)'))) / (select extract(epoch from '2026-07-17 17:52:06'::timestamp) - extract(epoch from '2026-07-17 17:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36329)'))) / (select extract(epoch from '2026-07-17 17:52:06'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47442, 'SRID=4674;POINT (-39.030021 -3.36329)', '2026-07-17 17:52:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.36329)'))) / (select extract(epoch from '2026-07-17 17:52:15'::timestamp) - extract(epoch from '2026-07-17 17:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.36329)'))) / (select extract(epoch from '2026-07-17 17:52:15'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47442, 'SRID=4674;POINT (-39.03003 -3.363286)', '2026-07-17 17:52:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363286)'))) / (select extract(epoch from '2026-07-17 17:52:25'::timestamp) - extract(epoch from '2026-07-17 17:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363286)'))) / (select extract(epoch from '2026-07-17 17:52:25'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47442, 'SRID=4674;POINT (-39.030038 -3.363292)', '2026-07-17 17:52:32', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363286)'), GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363292)'))) / (select extract(epoch from '2026-07-17 17:52:32'::timestamp) - extract(epoch from '2026-07-17 17:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363286)'), GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363292)'))) / (select extract(epoch from '2026-07-17 17:52:32'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47442, 'SRID=4674;POINT (-39.030042 -3.363293)', '2026-07-17 17:52:38', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363293)'))) / (select extract(epoch from '2026-07-17 17:52:38'::timestamp) - extract(epoch from '2026-07-17 17:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363293)'))) / (select extract(epoch from '2026-07-17 17:52:38'::timestamp) - extract(epoch from '2026-07-17 17:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030047 -3.363289)', '2026-07-17 17:52:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363293)'), GeomFromEWKT('SRID=4674;POINT (-39.030047 -3.363289)'))) / (select extract(epoch from '2026-07-17 17:52:44'::timestamp) - extract(epoch from '2026-07-17 17:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363293)'), GeomFromEWKT('SRID=4674;POINT (-39.030047 -3.363289)'))) / (select extract(epoch from '2026-07-17 17:52:44'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47442, 'SRID=4674;POINT (-39.030038 -3.363292)', '2026-07-17 17:52:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030047 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363292)'))) / (select extract(epoch from '2026-07-17 17:52:53'::timestamp) - extract(epoch from '2026-07-17 17:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030047 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363292)'))) / (select extract(epoch from '2026-07-17 17:52:53'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030036 -3.363287)', '2026-07-17 17:53:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363287)'))) / (select extract(epoch from '2026-07-17 17:53:06'::timestamp) - extract(epoch from '2026-07-17 17:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363287)'))) / (select extract(epoch from '2026-07-17 17:53:06'::timestamp) - extract(epoch from '2026-07-17 17:52: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'), 47442, 'SRID=4674;POINT (-39.030034 -3.363291)', '2026-07-17 17:53:11', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363287)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363291)'))) / (select extract(epoch from '2026-07-17 17:53:11'::timestamp) - extract(epoch from '2026-07-17 17:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363287)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363291)'))) / (select extract(epoch from '2026-07-17 17:53:11'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47442, 'SRID=4674;POINT (-39.030026 -3.363278)', '2026-07-17 17:53:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363291)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363278)'))) / (select extract(epoch from '2026-07-17 17:53:20'::timestamp) - extract(epoch from '2026-07-17 17:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363291)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363278)'))) / (select extract(epoch from '2026-07-17 17:53:20'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47442, 'SRID=4674;POINT (-39.030031 -3.363277)', '2026-07-17 17:53:28', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363277)'))) / (select extract(epoch from '2026-07-17 17:53:28'::timestamp) - extract(epoch from '2026-07-17 17:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363277)'))) / (select extract(epoch from '2026-07-17 17:53:28'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47442, 'SRID=4674;POINT (-39.030028 -3.36328)', '2026-07-17 17:53:39', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36328)'))) / (select extract(epoch from '2026-07-17 17:53:39'::timestamp) - extract(epoch from '2026-07-17 17:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36328)'))) / (select extract(epoch from '2026-07-17 17:53:39'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47442, 'SRID=4674;POINT (-39.030021 -3.363285)', '2026-07-17 17:53:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363285)'))) / (select extract(epoch from '2026-07-17 17:53:44'::timestamp) - extract(epoch from '2026-07-17 17:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363285)'))) / (select extract(epoch from '2026-07-17 17:53:44'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47442, 'SRID=4674;POINT (-39.030029 -3.363286)', '2026-07-17 17:53:52', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363285)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363286)'))) / (select extract(epoch from '2026-07-17 17:53:52'::timestamp) - extract(epoch from '2026-07-17 17:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363285)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363286)'))) / (select extract(epoch from '2026-07-17 17:53:52'::timestamp) - extract(epoch from '2026-07-17 17:53:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030023 -3.36329)', '2026-07-17 17:54:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363286)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.36329)'))) / (select extract(epoch from '2026-07-17 17:54:01'::timestamp) - extract(epoch from '2026-07-17 17:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363286)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.36329)'))) / (select extract(epoch from '2026-07-17 17:54:01'::timestamp) - extract(epoch from '2026-07-17 17:53: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'), 47442, 'SRID=4674;POINT (-39.030021 -3.363295)', '2026-07-17 17:54:11', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363295)'))) / (select extract(epoch from '2026-07-17 17:54:11'::timestamp) - extract(epoch from '2026-07-17 17:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363295)'))) / (select extract(epoch from '2026-07-17 17:54:11'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030016 -3.363296)', '2026-07-17 17:54:24', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363295)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363296)'))) / (select extract(epoch from '2026-07-17 17:54:24'::timestamp) - extract(epoch from '2026-07-17 17:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363295)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363296)'))) / (select extract(epoch from '2026-07-17 17:54:24'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030031 -3.363293)', '2026-07-17 17:54:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363296)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363293)'))) / (select extract(epoch from '2026-07-17 17:54:31'::timestamp) - extract(epoch from '2026-07-17 17:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363296)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363293)'))) / (select extract(epoch from '2026-07-17 17:54:31'::timestamp) - extract(epoch from '2026-07-17 17:54: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'), 47442, 'SRID=4674;POINT (-39.03003 -3.363293)', '2026-07-17 17:54:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363293)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363293)'))) / (select extract(epoch from '2026-07-17 17:54:37'::timestamp) - extract(epoch from '2026-07-17 17:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363293)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363293)'))) / (select extract(epoch from '2026-07-17 17:54:37'::timestamp) - extract(epoch from '2026-07-17 17:54: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'), 47442, 'SRID=4674;POINT (-39.03003 -3.363302)', '2026-07-17 17:54:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363293)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363302)'))) / (select extract(epoch from '2026-07-17 17:54:46'::timestamp) - extract(epoch from '2026-07-17 17:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363293)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363302)'))) / (select extract(epoch from '2026-07-17 17:54:46'::timestamp) - extract(epoch from '2026-07-17 17:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030022 -3.363298)', '2026-07-17 17:54:55', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363302)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363298)'))) / (select extract(epoch from '2026-07-17 17:54:55'::timestamp) - extract(epoch from '2026-07-17 17:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363302)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363298)'))) / (select extract(epoch from '2026-07-17 17:54:55'::timestamp) - extract(epoch from '2026-07-17 17:54: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'), 47442, 'SRID=4674;POINT (-39.030023 -3.363317)', '2026-07-17 17:55:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363298)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363317)'))) / (select extract(epoch from '2026-07-17 17:55:05'::timestamp) - extract(epoch from '2026-07-17 17:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363298)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363317)'))) / (select extract(epoch from '2026-07-17 17:55:05'::timestamp) - extract(epoch from '2026-07-17 17:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030028 -3.363311)', '2026-07-17 17:55:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363317)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363311)'))) / (select extract(epoch from '2026-07-17 17:55:13'::timestamp) - extract(epoch from '2026-07-17 17:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363317)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363311)'))) / (select extract(epoch from '2026-07-17 17:55:13'::timestamp) - extract(epoch from '2026-07-17 17:55: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'), 47442, 'SRID=4674;POINT (-39.030028 -3.363309)', '2026-07-17 17:55:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363311)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363309)'))) / (select extract(epoch from '2026-07-17 17:55:23'::timestamp) - extract(epoch from '2026-07-17 17:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363311)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363309)'))) / (select extract(epoch from '2026-07-17 17:55:23'::timestamp) - extract(epoch from '2026-07-17 17:55:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030021 -3.363315)', '2026-07-17 17:55:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363309)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363315)'))) / (select extract(epoch from '2026-07-17 17:55:31'::timestamp) - extract(epoch from '2026-07-17 17:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363309)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363315)'))) / (select extract(epoch from '2026-07-17 17:55:31'::timestamp) - extract(epoch from '2026-07-17 17:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030026 -3.363301)', '2026-07-17 17:55:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363315)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363301)'))) / (select extract(epoch from '2026-07-17 17:55:41'::timestamp) - extract(epoch from '2026-07-17 17:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363315)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363301)'))) / (select extract(epoch from '2026-07-17 17:55:41'::timestamp) - extract(epoch from '2026-07-17 17:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030024 -3.363296)', '2026-07-17 17:55:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363301)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363296)'))) / (select extract(epoch from '2026-07-17 17:55:48'::timestamp) - extract(epoch from '2026-07-17 17:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363301)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363296)'))) / (select extract(epoch from '2026-07-17 17:55:48'::timestamp) - extract(epoch from '2026-07-17 17:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030032 -3.363293)', '2026-07-17 17:55:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363296)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363293)'))) / (select extract(epoch from '2026-07-17 17:55:53'::timestamp) - extract(epoch from '2026-07-17 17:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363296)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363293)'))) / (select extract(epoch from '2026-07-17 17:55:53'::timestamp) - extract(epoch from '2026-07-17 17:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030036 -3.363289)', '2026-07-17 17:55:59', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363293)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363289)'))) / (select extract(epoch from '2026-07-17 17:55:59'::timestamp) - extract(epoch from '2026-07-17 17:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363293)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363289)'))) / (select extract(epoch from '2026-07-17 17:55:59'::timestamp) - extract(epoch from '2026-07-17 17:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030038 -3.363285)', '2026-07-17 17:56:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363285)'))) / (select extract(epoch from '2026-07-17 17:56:07'::timestamp) - extract(epoch from '2026-07-17 17:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363285)'))) / (select extract(epoch from '2026-07-17 17:56:07'::timestamp) - extract(epoch from '2026-07-17 17:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030029 -3.363285)', '2026-07-17 17:56:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363285)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363285)'))) / (select extract(epoch from '2026-07-17 17:56:20'::timestamp) - extract(epoch from '2026-07-17 17:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363285)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363285)'))) / (select extract(epoch from '2026-07-17 17:56:20'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030034 -3.363282)', '2026-07-17 17:56:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363285)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363282)'))) / (select extract(epoch from '2026-07-17 17:56:30'::timestamp) - extract(epoch from '2026-07-17 17:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363285)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363282)'))) / (select extract(epoch from '2026-07-17 17:56:30'::timestamp) - extract(epoch from '2026-07-17 17:56: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'), 47442, 'SRID=4674;POINT (-39.030035 -3.363278)', '2026-07-17 17:56:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363278)'))) / (select extract(epoch from '2026-07-17 17:56:36'::timestamp) - extract(epoch from '2026-07-17 17:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363278)'))) / (select extract(epoch from '2026-07-17 17:56:36'::timestamp) - extract(epoch from '2026-07-17 17:56: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'), 47442, 'SRID=4674;POINT (-39.030037 -3.363273)', '2026-07-17 17:56:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:56:45'::timestamp) - extract(epoch from '2026-07-17 17:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363273)'))) / (select extract(epoch from '2026-07-17 17:56:45'::timestamp) - extract(epoch from '2026-07-17 17:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030031 -3.363277)', '2026-07-17 17:56:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363277)'))) / (select extract(epoch from '2026-07-17 17:56:53'::timestamp) - extract(epoch from '2026-07-17 17:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363277)'))) / (select extract(epoch from '2026-07-17 17:56:53'::timestamp) - extract(epoch from '2026-07-17 17:56: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'), 47442, 'SRID=4674;POINT (-39.03002 -3.363272)', '2026-07-17 17:57:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:57:05'::timestamp) - extract(epoch from '2026-07-17 17:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:57:05'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030024 -3.363274)', '2026-07-17 17:57:12', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363274)'))) / (select extract(epoch from '2026-07-17 17:57:12'::timestamp) - extract(epoch from '2026-07-17 17:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363274)'))) / (select extract(epoch from '2026-07-17 17:57:12'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.03003 -3.363277)', '2026-07-17 17:57:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363277)'))) / (select extract(epoch from '2026-07-17 17:57:28'::timestamp) - extract(epoch from '2026-07-17 17:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363277)'))) / (select extract(epoch from '2026-07-17 17:57:28'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030031 -3.36329)', '2026-07-17 17:57:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36329)'))) / (select extract(epoch from '2026-07-17 17:57:34'::timestamp) - extract(epoch from '2026-07-17 17:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36329)'))) / (select extract(epoch from '2026-07-17 17:57:34'::timestamp) - extract(epoch from '2026-07-17 17:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.03003 -3.363299)', '2026-07-17 17:57:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363299)'))) / (select extract(epoch from '2026-07-17 17:57:41'::timestamp) - extract(epoch from '2026-07-17 17:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363299)'))) / (select extract(epoch from '2026-07-17 17:57:41'::timestamp) - extract(epoch from '2026-07-17 17:57: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'), 47442, 'SRID=4674;POINT (-39.030024 -3.363303)', '2026-07-17 17:57:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363299)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363303)'))) / (select extract(epoch from '2026-07-17 17:57:48'::timestamp) - extract(epoch from '2026-07-17 17:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363299)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363303)'))) / (select extract(epoch from '2026-07-17 17:57:48'::timestamp) - extract(epoch from '2026-07-17 17:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030034 -3.363306)', '2026-07-17 17:57:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363303)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363306)'))) / (select extract(epoch from '2026-07-17 17:57:58'::timestamp) - extract(epoch from '2026-07-17 17:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363303)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363306)'))) / (select extract(epoch from '2026-07-17 17:57:58'::timestamp) - extract(epoch from '2026-07-17 17:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030032 -3.363301)', '2026-07-17 17:58:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363306)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363301)'))) / (select extract(epoch from '2026-07-17 17:58:08'::timestamp) - extract(epoch from '2026-07-17 17:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363306)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363301)'))) / (select extract(epoch from '2026-07-17 17:58:08'::timestamp) - extract(epoch from '2026-07-17 17:57: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'), 47442, 'SRID=4674;POINT (-39.030032 -3.363295)', '2026-07-17 17:58:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363301)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363295)'))) / (select extract(epoch from '2026-07-17 17:58:23'::timestamp) - extract(epoch from '2026-07-17 17:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363301)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363295)'))) / (select extract(epoch from '2026-07-17 17:58:23'::timestamp) - extract(epoch from '2026-07-17 17:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.03003 -3.363292)', '2026-07-17 17:58:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363295)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363292)'))) / (select extract(epoch from '2026-07-17 17:58:29'::timestamp) - extract(epoch from '2026-07-17 17:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363295)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363292)'))) / (select extract(epoch from '2026-07-17 17:58:29'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47442, 'SRID=4674;POINT (-39.030031 -3.363279)', '2026-07-17 17:58:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363279)'))) / (select extract(epoch from '2026-07-17 17:58:42'::timestamp) - extract(epoch from '2026-07-17 17:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363279)'))) / (select extract(epoch from '2026-07-17 17:58:42'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47442, 'SRID=4674;POINT (-39.030036 -3.363279)', '2026-07-17 17:58:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363279)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363279)'))) / (select extract(epoch from '2026-07-17 17:58:52'::timestamp) - extract(epoch from '2026-07-17 17:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363279)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363279)'))) / (select extract(epoch from '2026-07-17 17:58:52'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47442, 'SRID=4674;POINT (-39.030025 -3.363278)', '2026-07-17 17:59:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363279)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363278)'))) / (select extract(epoch from '2026-07-17 17:59:00'::timestamp) - extract(epoch from '2026-07-17 17:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363279)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363278)'))) / (select extract(epoch from '2026-07-17 17:59:00'::timestamp) - extract(epoch from '2026-07-17 17:58: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'), 47442, 'SRID=4674;POINT (-39.030024 -3.363272)', '2026-07-17 17:59:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:59:05'::timestamp) - extract(epoch from '2026-07-17 17:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:59:05'::timestamp) - extract(epoch from '2026-07-17 17:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030029 -3.363272)', '2026-07-17 17:59:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:59:11'::timestamp) - extract(epoch from '2026-07-17 17:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:59:11'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47442, 'SRID=4674;POINT (-39.030021 -3.363269)', '2026-07-17 17:59:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363269)'))) / (select extract(epoch from '2026-07-17 17:59:12'::timestamp) - extract(epoch from '2026-07-17 17:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363269)'))) / (select extract(epoch from '2026-07-17 17:59:12'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47442, 'SRID=4674;POINT (-39.03003 -3.363268)', '2026-07-17 17:59:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363269)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:59:17'::timestamp) - extract(epoch from '2026-07-17 17:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363269)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:59:17'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47442, 'SRID=4674;POINT (-39.030027 -3.363272)', '2026-07-17 17:59:26', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:59:26'::timestamp) - extract(epoch from '2026-07-17 17:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:59:26'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030021 -3.363272)', '2026-07-17 17:59:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:59:35'::timestamp) - extract(epoch from '2026-07-17 17:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:59:35'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47442, 'SRID=4674;POINT (-39.030025 -3.363272)', '2026-07-17 17:59:38', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:59:38'::timestamp) - extract(epoch from '2026-07-17 17:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363272)'))) / (select extract(epoch from '2026-07-17 17:59:38'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47442, 'SRID=4674;POINT (-39.030029 -3.363275)', '2026-07-17 17:59:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363275)'))) / (select extract(epoch from '2026-07-17 17:59:41'::timestamp) - extract(epoch from '2026-07-17 17:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030025 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363275)'))) / (select extract(epoch from '2026-07-17 17:59:41'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47442, 'SRID=4674;POINT (-39.030027 -3.36327)', '2026-07-17 17:59:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363275)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36327)'))) / (select extract(epoch from '2026-07-17 17:59:48'::timestamp) - extract(epoch from '2026-07-17 17:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363275)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36327)'))) / (select extract(epoch from '2026-07-17 17:59:48'::timestamp) - extract(epoch from '2026-07-17 17:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030031 -3.363268)', '2026-07-17 17:59:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:59:57'::timestamp) - extract(epoch from '2026-07-17 17:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363268)'))) / (select extract(epoch from '2026-07-17 17:59:57'::timestamp) - extract(epoch from '2026-07-17 17:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030034 -3.363265)', '2026-07-17 18:00:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363265)'))) / (select extract(epoch from '2026-07-17 18:00:06'::timestamp) - extract(epoch from '2026-07-17 17:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363265)'))) / (select extract(epoch from '2026-07-17 18:00:06'::timestamp) - extract(epoch from '2026-07-17 17:59: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'), 47442, 'SRID=4674;POINT (-39.030033 -3.363272)', '2026-07-17 18:00:21', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:00:21'::timestamp) - extract(epoch from '2026-07-17 18:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363265)'), GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:00:21'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47442, 'SRID=4674;POINT (-39.030031 -3.363276)', '2026-07-17 18:00:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363276)'))) / (select extract(epoch from '2026-07-17 18:00:30'::timestamp) - extract(epoch from '2026-07-17 18:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363276)'))) / (select extract(epoch from '2026-07-17 18:00:30'::timestamp) - extract(epoch from '2026-07-17 18:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030032 -3.363278)', '2026-07-17 18:00:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:00:42'::timestamp) - extract(epoch from '2026-07-17 18:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:00:42'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47442, 'SRID=4674;POINT (-39.030028 -3.363272)', '2026-07-17 18:00:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:00:49'::timestamp) - extract(epoch from '2026-07-17 18:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:00:49'::timestamp) - extract(epoch from '2026-07-17 18:00:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030036 -3.363269)', '2026-07-17 18:00:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363269)'))) / (select extract(epoch from '2026-07-17 18:00:58'::timestamp) - extract(epoch from '2026-07-17 18:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363269)'))) / (select extract(epoch from '2026-07-17 18:00:58'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47442, 'SRID=4674;POINT (-39.030034 -3.363272)', '2026-07-17 18:01:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363269)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:01:06'::timestamp) - extract(epoch from '2026-07-17 18:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363269)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:01:06'::timestamp) - extract(epoch from '2026-07-17 18:00: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'), 47442, 'SRID=4674;POINT (-39.030037 -3.363278)', '2026-07-17 18:01:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:01:12'::timestamp) - extract(epoch from '2026-07-17 18:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:01:12'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47442, 'SRID=4674;POINT (-39.030031 -3.36328)', '2026-07-17 18:01:22', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:01:22'::timestamp) - extract(epoch from '2026-07-17 18:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:01:22'::timestamp) - extract(epoch from '2026-07-17 18:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030028 -3.363284)', '2026-07-17 18:01:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363284)'))) / (select extract(epoch from '2026-07-17 18:01:30'::timestamp) - extract(epoch from '2026-07-17 18:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363284)'))) / (select extract(epoch from '2026-07-17 18:01:30'::timestamp) - extract(epoch from '2026-07-17 18:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030019 -3.363278)', '2026-07-17 18:01:39', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363284)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:01:39'::timestamp) - extract(epoch from '2026-07-17 18:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363284)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:01:39'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030018 -3.36327)', '2026-07-17 18:01:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36327)'))) / (select extract(epoch from '2026-07-17 18:01:51'::timestamp) - extract(epoch from '2026-07-17 18:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36327)'))) / (select extract(epoch from '2026-07-17 18:01:51'::timestamp) - extract(epoch from '2026-07-17 18:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030017 -3.363272)', '2026-07-17 18:01:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:01:56'::timestamp) - extract(epoch from '2026-07-17 18:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:01:56'::timestamp) - extract(epoch from '2026-07-17 18:01: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'), 47442, 'SRID=4674;POINT (-39.030019 -3.363278)', '2026-07-17 18:02:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:02:02'::timestamp) - extract(epoch from '2026-07-17 18:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:02:02'::timestamp) - extract(epoch from '2026-07-17 18:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030024 -3.363274)', '2026-07-17 18:02:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363274)'))) / (select extract(epoch from '2026-07-17 18:02:14'::timestamp) - extract(epoch from '2026-07-17 18:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363274)'))) / (select extract(epoch from '2026-07-17 18:02:14'::timestamp) - extract(epoch from '2026-07-17 18:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030013 -3.363267)', '2026-07-17 18:02:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363267)'))) / (select extract(epoch from '2026-07-17 18:02:19'::timestamp) - extract(epoch from '2026-07-17 18:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363267)'))) / (select extract(epoch from '2026-07-17 18:02:19'::timestamp) - extract(epoch from '2026-07-17 18:02: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'), 47442, 'SRID=4674;POINT (-39.030018 -3.363278)', '2026-07-17 18:02:29', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363267)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:02:29'::timestamp) - extract(epoch from '2026-07-17 18:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030013 -3.363267)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:02:29'::timestamp) - extract(epoch from '2026-07-17 18:02: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'), 47442, 'SRID=4674;POINT (-39.030017 -3.363279)', '2026-07-17 18:02:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363279)'))) / (select extract(epoch from '2026-07-17 18:02:38'::timestamp) - extract(epoch from '2026-07-17 18:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363279)'))) / (select extract(epoch from '2026-07-17 18:02:38'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030018 -3.363275)', '2026-07-17 18:02:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363279)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363275)'))) / (select extract(epoch from '2026-07-17 18:02:46'::timestamp) - extract(epoch from '2026-07-17 18:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363279)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363275)'))) / (select extract(epoch from '2026-07-17 18:02:46'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030014 -3.363266)', '2026-07-17 18:02:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363275)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363266)'))) / (select extract(epoch from '2026-07-17 18:02:55'::timestamp) - extract(epoch from '2026-07-17 18:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363275)'), GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363266)'))) / (select extract(epoch from '2026-07-17 18:02:55'::timestamp) - extract(epoch from '2026-07-17 18:02: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'), 47442, 'SRID=4674;POINT (-39.03001 -3.363263)', '2026-07-17 18:03:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363266)'), GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363263)'))) / (select extract(epoch from '2026-07-17 18:03:05'::timestamp) - extract(epoch from '2026-07-17 18:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030014 -3.363266)'), GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363263)'))) / (select extract(epoch from '2026-07-17 18:03:05'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030019 -3.363274)', '2026-07-17 18:03:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363263)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363274)'))) / (select extract(epoch from '2026-07-17 18:03:18'::timestamp) - extract(epoch from '2026-07-17 18:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03001 -3.363263)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363274)'))) / (select extract(epoch from '2026-07-17 18:03:18'::timestamp) - extract(epoch from '2026-07-17 18:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030012 -3.363278)', '2026-07-17 18:03:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:03:24'::timestamp) - extract(epoch from '2026-07-17 18:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:03:24'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47442, 'SRID=4674;POINT (-39.030024 -3.363276)', '2026-07-17 18:03:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363276)'))) / (select extract(epoch from '2026-07-17 18:03:33'::timestamp) - extract(epoch from '2026-07-17 18:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030012 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363276)'))) / (select extract(epoch from '2026-07-17 18:03:33'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030022 -3.363272)', '2026-07-17 18:03:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:03:42'::timestamp) - extract(epoch from '2026-07-17 18:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:03:42'::timestamp) - extract(epoch from '2026-07-17 18:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030017 -3.363276)', '2026-07-17 18:03:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363276)'))) / (select extract(epoch from '2026-07-17 18:03:51'::timestamp) - extract(epoch from '2026-07-17 18:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030022 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363276)'))) / (select extract(epoch from '2026-07-17 18:03:51'::timestamp) - extract(epoch from '2026-07-17 18:03: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'), 47442, 'SRID=4674;POINT (-39.030024 -3.363275)', '2026-07-17 18:04:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363275)'))) / (select extract(epoch from '2026-07-17 18:04:07'::timestamp) - extract(epoch from '2026-07-17 18:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363275)'))) / (select extract(epoch from '2026-07-17 18:04:07'::timestamp) - extract(epoch from '2026-07-17 18:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030021 -3.363274)', '2026-07-17 18:04:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363275)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363274)'))) / (select extract(epoch from '2026-07-17 18:04:13'::timestamp) - extract(epoch from '2026-07-17 18:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030024 -3.363275)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363274)'))) / (select extract(epoch from '2026-07-17 18:04:13'::timestamp) - extract(epoch from '2026-07-17 18:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030021 -3.363272)', '2026-07-17 18:04:19', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:04:19'::timestamp) - extract(epoch from '2026-07-17 18:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:04:19'::timestamp) - extract(epoch from '2026-07-17 18:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030016 -3.363271)', '2026-07-17 18:04:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363271)'))) / (select extract(epoch from '2026-07-17 18:04:21'::timestamp) - extract(epoch from '2026-07-17 18:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030021 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363271)'))) / (select extract(epoch from '2026-07-17 18:04:21'::timestamp) - extract(epoch from '2026-07-17 18:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030023 -3.363261)', '2026-07-17 18:04:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363261)'))) / (select extract(epoch from '2026-07-17 18:04:27'::timestamp) - extract(epoch from '2026-07-17 18:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030016 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363261)'))) / (select extract(epoch from '2026-07-17 18:04:27'::timestamp) - extract(epoch from '2026-07-17 18:04: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'), 47442, 'SRID=4674;POINT (-39.03002 -3.363268)', '2026-07-17 18:04:34', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363268)'))) / (select extract(epoch from '2026-07-17 18:04:34'::timestamp) - extract(epoch from '2026-07-17 18:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363268)'))) / (select extract(epoch from '2026-07-17 18:04:34'::timestamp) - extract(epoch from '2026-07-17 18:04: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'), 47442, 'SRID=4674;POINT (-39.030023 -3.363272)', '2026-07-17 18:04:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:04:41'::timestamp) - extract(epoch from '2026-07-17 18:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03002 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363272)'))) / (select extract(epoch from '2026-07-17 18:04:41'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030019 -3.363268)', '2026-07-17 18:04:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363268)'))) / (select extract(epoch from '2026-07-17 18:04:50'::timestamp) - extract(epoch from '2026-07-17 18:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363272)'), GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363268)'))) / (select extract(epoch from '2026-07-17 18:04:50'::timestamp) - extract(epoch from '2026-07-17 18:04: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'), 47442, 'SRID=4674;POINT (-39.030017 -3.363262)', '2026-07-17 18:05:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363262)'))) / (select extract(epoch from '2026-07-17 18:05:00'::timestamp) - extract(epoch from '2026-07-17 18:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030019 -3.363268)'), GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363262)'))) / (select extract(epoch from '2026-07-17 18:05:00'::timestamp) - extract(epoch from '2026-07-17 18:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030018 -3.363262)', '2026-07-17 18:05:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363262)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363262)'))) / (select extract(epoch from '2026-07-17 18:05:06'::timestamp) - extract(epoch from '2026-07-17 18:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030017 -3.363262)'), GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363262)'))) / (select extract(epoch from '2026-07-17 18:05:06'::timestamp) - extract(epoch from '2026-07-17 18:05: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'), 47442, 'SRID=4674;POINT (-39.030032 -3.363271)', '2026-07-17 18:05:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363262)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363271)'))) / (select extract(epoch from '2026-07-17 18:05:15'::timestamp) - extract(epoch from '2026-07-17 18:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018 -3.363262)'), GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363271)'))) / (select extract(epoch from '2026-07-17 18:05:15'::timestamp) - extract(epoch from '2026-07-17 18:05: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'), 47442, 'SRID=4674;POINT (-39.030028 -3.363273)', '2026-07-17 18:05:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363273)'))) / (select extract(epoch from '2026-07-17 18:05:16'::timestamp) - extract(epoch from '2026-07-17 18:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030032 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363273)'))) / (select extract(epoch from '2026-07-17 18:05:16'::timestamp) - extract(epoch from '2026-07-17 18:05: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'), 47442, 'SRID=4674;POINT (-39.03003 -3.363285)', '2026-07-17 18:05:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363285)'))) / (select extract(epoch from '2026-07-17 18:05:19'::timestamp) - extract(epoch from '2026-07-17 18:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363285)'))) / (select extract(epoch from '2026-07-17 18:05:19'::timestamp) - extract(epoch from '2026-07-17 18:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030028 -3.36329)', '2026-07-17 18:05:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363285)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36329)'))) / (select extract(epoch from '2026-07-17 18:05:24'::timestamp) - extract(epoch from '2026-07-17 18:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03003 -3.363285)'), GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36329)'))) / (select extract(epoch from '2026-07-17 18:05:24'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.030026 -3.363282)', '2026-07-17 18:05:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363282)'))) / (select extract(epoch from '2026-07-17 18:05:31'::timestamp) - extract(epoch from '2026-07-17 18:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030028 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363282)'))) / (select extract(epoch from '2026-07-17 18:05:31'::timestamp) - extract(epoch from '2026-07-17 18:05:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030023 -3.363281)', '2026-07-17 18:05:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363281)'))) / (select extract(epoch from '2026-07-17 18:05:37'::timestamp) - extract(epoch from '2026-07-17 18:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030026 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363281)'))) / (select extract(epoch from '2026-07-17 18:05:37'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030027 -3.363287)', '2026-07-17 18:05:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363281)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363287)'))) / (select extract(epoch from '2026-07-17 18:05:43'::timestamp) - extract(epoch from '2026-07-17 18:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030023 -3.363281)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363287)'))) / (select extract(epoch from '2026-07-17 18:05:43'::timestamp) - extract(epoch from '2026-07-17 18:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030036 -3.363288)', '2026-07-17 18:05:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363287)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363288)'))) / (select extract(epoch from '2026-07-17 18:05:49'::timestamp) - extract(epoch from '2026-07-17 18:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.363287)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363288)'))) / (select extract(epoch from '2026-07-17 18:05:49'::timestamp) - extract(epoch from '2026-07-17 18:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030034 -3.363289)', '2026-07-17 18:05:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363289)'))) / (select extract(epoch from '2026-07-17 18:05:56'::timestamp) - extract(epoch from '2026-07-17 18:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363289)'))) / (select extract(epoch from '2026-07-17 18:05:56'::timestamp) - extract(epoch from '2026-07-17 18:05:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030035 -3.363282)', '2026-07-17 18:06:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363282)'))) / (select extract(epoch from '2026-07-17 18:06:03'::timestamp) - extract(epoch from '2026-07-17 18:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030034 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363282)'))) / (select extract(epoch from '2026-07-17 18:06:03'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.030029 -3.363283)', '2026-07-17 18:06:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363283)'))) / (select extract(epoch from '2026-07-17 18:06:04'::timestamp) - extract(epoch from '2026-07-17 18:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363283)'))) / (select extract(epoch from '2026-07-17 18:06:04'::timestamp) - extract(epoch from '2026-07-17 18:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030036 -3.363283)', '2026-07-17 18:06:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363283)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363283)'))) / (select extract(epoch from '2026-07-17 18:06:14'::timestamp) - extract(epoch from '2026-07-17 18:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030029 -3.363283)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363283)'))) / (select extract(epoch from '2026-07-17 18:06:14'::timestamp) - extract(epoch from '2026-07-17 18:06: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'), 47442, 'SRID=4674;POINT (-39.030039 -3.363288)', '2026-07-17 18:06:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363283)'), GeomFromEWKT('SRID=4674;POINT (-39.030039 -3.363288)'))) / (select extract(epoch from '2026-07-17 18:06:22'::timestamp) - extract(epoch from '2026-07-17 18:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.363283)'), GeomFromEWKT('SRID=4674;POINT (-39.030039 -3.363288)'))) / (select extract(epoch from '2026-07-17 18:06:22'::timestamp) - extract(epoch from '2026-07-17 18:06: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'), 47442, 'SRID=4674;POINT (-39.030036 -3.36328)', '2026-07-17 18:06:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030039 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:06:36'::timestamp) - extract(epoch from '2026-07-17 18:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030039 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:06:36'::timestamp) - extract(epoch from '2026-07-17 18:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030037 -3.363285)', '2026-07-17 18:06:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363285)'))) / (select extract(epoch from '2026-07-17 18:06:43'::timestamp) - extract(epoch from '2026-07-17 18:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030036 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363285)'))) / (select extract(epoch from '2026-07-17 18:06:43'::timestamp) - extract(epoch from '2026-07-17 18:06: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'), 47442, 'SRID=4674;POINT (-39.030043 -3.36329)', '2026-07-17 18:06:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363285)'), GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.36329)'))) / (select extract(epoch from '2026-07-17 18:06:48'::timestamp) - extract(epoch from '2026-07-17 18:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363285)'), GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.36329)'))) / (select extract(epoch from '2026-07-17 18:06:48'::timestamp) - extract(epoch from '2026-07-17 18:06: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'), 47442, 'SRID=4674;POINT (-39.030044 -3.363287)', '2026-07-17 18:06:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363287)'))) / (select extract(epoch from '2026-07-17 18:06:59'::timestamp) - extract(epoch from '2026-07-17 18:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.36329)'), GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363287)'))) / (select extract(epoch from '2026-07-17 18:06:59'::timestamp) - extract(epoch from '2026-07-17 18:06: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'), 47442, 'SRID=4674;POINT (-39.03004 -3.363291)', '2026-07-17 18:07:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363287)'), GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.363291)'))) / (select extract(epoch from '2026-07-17 18:07:06'::timestamp) - extract(epoch from '2026-07-17 18:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363287)'), GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.363291)'))) / (select extract(epoch from '2026-07-17 18:07:06'::timestamp) - extract(epoch from '2026-07-17 18:06: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'), 47442, 'SRID=4674;POINT (-39.030043 -3.363299)', '2026-07-17 18:07:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.363291)'), GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363299)'))) / (select extract(epoch from '2026-07-17 18:07:20'::timestamp) - extract(epoch from '2026-07-17 18:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.363291)'), GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363299)'))) / (select extract(epoch from '2026-07-17 18:07:20'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47442, 'SRID=4674;POINT (-39.030041 -3.3633)', '2026-07-17 18:07:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363299)'), GeomFromEWKT('SRID=4674;POINT (-39.030041 -3.3633)'))) / (select extract(epoch from '2026-07-17 18:07:27'::timestamp) - extract(epoch from '2026-07-17 18:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363299)'), GeomFromEWKT('SRID=4674;POINT (-39.030041 -3.3633)'))) / (select extract(epoch from '2026-07-17 18:07:27'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.030037 -3.363284)', '2026-07-17 18:07:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030041 -3.3633)'), GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363284)'))) / (select extract(epoch from '2026-07-17 18:07:35'::timestamp) - extract(epoch from '2026-07-17 18:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030041 -3.3633)'), GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363284)'))) / (select extract(epoch from '2026-07-17 18:07:35'::timestamp) - extract(epoch from '2026-07-17 18:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030033 -3.363281)', '2026-07-17 18:07:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363284)'), GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363281)'))) / (select extract(epoch from '2026-07-17 18:07:41'::timestamp) - extract(epoch from '2026-07-17 18:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030037 -3.363284)'), GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363281)'))) / (select extract(epoch from '2026-07-17 18:07:41'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.030031 -3.36328)', '2026-07-17 18:07:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363281)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:07:51'::timestamp) - extract(epoch from '2026-07-17 18:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030033 -3.363281)'), GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:07:51'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47442, 'SRID=4674;POINT (-39.030035 -3.36328)', '2026-07-17 18:07:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:07:56'::timestamp) - extract(epoch from '2026-07-17 18:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030031 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:07:56'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47442, 'SRID=4674;POINT (-39.030027 -3.36328)', '2026-07-17 18:08:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:08:01'::timestamp) - extract(epoch from '2026-07-17 18:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030035 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:08:01'::timestamp) - extract(epoch from '2026-07-17 18:07: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'), 47442, 'SRID=4674;POINT (-39.030038 -3.363274)', '2026-07-17 18:08:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363274)'))) / (select extract(epoch from '2026-07-17 18:08:07'::timestamp) - extract(epoch from '2026-07-17 18:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363274)'))) / (select extract(epoch from '2026-07-17 18:08:07'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.030044 -3.36328)', '2026-07-17 18:08:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:08:24'::timestamp) - extract(epoch from '2026-07-17 18:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030038 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.36328)'))) / (select extract(epoch from '2026-07-17 18:08:24'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.030044 -3.363277)', '2026-07-17 18:08:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363277)'))) / (select extract(epoch from '2026-07-17 18:08:36'::timestamp) - extract(epoch from '2026-07-17 18:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.36328)'), GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363277)'))) / (select extract(epoch from '2026-07-17 18:08:36'::timestamp) - extract(epoch from '2026-07-17 18:08: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'), 47442, 'SRID=4674;POINT (-39.030047 -3.363274)', '2026-07-17 18:08:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.030047 -3.363274)'))) / (select extract(epoch from '2026-07-17 18:08:44'::timestamp) - extract(epoch from '2026-07-17 18:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.030047 -3.363274)'))) / (select extract(epoch from '2026-07-17 18:08:44'::timestamp) - extract(epoch from '2026-07-17 18:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.03005 -3.363277)', '2026-07-17 18:08:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030047 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.03005 -3.363277)'))) / (select extract(epoch from '2026-07-17 18:08:51'::timestamp) - extract(epoch from '2026-07-17 18:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030047 -3.363274)'), GeomFromEWKT('SRID=4674;POINT (-39.03005 -3.363277)'))) / (select extract(epoch from '2026-07-17 18:08:51'::timestamp) - extract(epoch from '2026-07-17 18:08: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'), 47442, 'SRID=4674;POINT (-39.030053 -3.363278)', '2026-07-17 18:09:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03005 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.030053 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:09:01'::timestamp) - extract(epoch from '2026-07-17 18:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03005 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.030053 -3.363278)'))) / (select extract(epoch from '2026-07-17 18:09:01'::timestamp) - extract(epoch from '2026-07-17 18:08:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030052 -3.363289)', '2026-07-17 18:09:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030053 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030052 -3.363289)'))) / (select extract(epoch from '2026-07-17 18:09:09'::timestamp) - extract(epoch from '2026-07-17 18:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030053 -3.363278)'), GeomFromEWKT('SRID=4674;POINT (-39.030052 -3.363289)'))) / (select extract(epoch from '2026-07-17 18:09:09'::timestamp) - extract(epoch from '2026-07-17 18:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030052 -3.363294)', '2026-07-17 18:09:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030052 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030052 -3.363294)'))) / (select extract(epoch from '2026-07-17 18:09:14'::timestamp) - extract(epoch from '2026-07-17 18:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030052 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030052 -3.363294)'))) / (select extract(epoch from '2026-07-17 18:09:14'::timestamp) - extract(epoch from '2026-07-17 18:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030053 -3.363292)', '2026-07-17 18:09:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030052 -3.363294)'), GeomFromEWKT('SRID=4674;POINT (-39.030053 -3.363292)'))) / (select extract(epoch from '2026-07-17 18:09:22'::timestamp) - extract(epoch from '2026-07-17 18:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030052 -3.363294)'), GeomFromEWKT('SRID=4674;POINT (-39.030053 -3.363292)'))) / (select extract(epoch from '2026-07-17 18:09:22'::timestamp) - extract(epoch from '2026-07-17 18:09:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030045 -3.363288)', '2026-07-17 18:09:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030053 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-39.030045 -3.363288)'))) / (select extract(epoch from '2026-07-17 18:09:27'::timestamp) - extract(epoch from '2026-07-17 18:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030053 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-39.030045 -3.363288)'))) / (select extract(epoch from '2026-07-17 18:09:27'::timestamp) - extract(epoch from '2026-07-17 18:09: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'), 47442, 'SRID=4674;POINT (-39.030043 -3.363288)', '2026-07-17 18:09:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030045 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363288)'))) / (select extract(epoch from '2026-07-17 18:09:35'::timestamp) - extract(epoch from '2026-07-17 18:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030045 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363288)'))) / (select extract(epoch from '2026-07-17 18:09:35'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.030046 -3.363281)', '2026-07-17 18:09:45', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030046 -3.363281)'))) / (select extract(epoch from '2026-07-17 18:09:45'::timestamp) - extract(epoch from '2026-07-17 18:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030046 -3.363281)'))) / (select extract(epoch from '2026-07-17 18:09:45'::timestamp) - extract(epoch from '2026-07-17 18:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030044 -3.363273)', '2026-07-17 18:09:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030046 -3.363281)'), GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363273)'))) / (select extract(epoch from '2026-07-17 18:09:58'::timestamp) - extract(epoch from '2026-07-17 18:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030046 -3.363281)'), GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363273)'))) / (select extract(epoch from '2026-07-17 18:09:58'::timestamp) - extract(epoch from '2026-07-17 18:09: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'), 47442, 'SRID=4674;POINT (-39.03004 -3.36327)', '2026-07-17 18:10:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.36327)'))) / (select extract(epoch from '2026-07-17 18:10:05'::timestamp) - extract(epoch from '2026-07-17 18:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030044 -3.363273)'), GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.36327)'))) / (select extract(epoch from '2026-07-17 18:10:05'::timestamp) - extract(epoch from '2026-07-17 18:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030042 -3.363271)', '2026-07-17 18:10:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363271)'))) / (select extract(epoch from '2026-07-17 18:10:15'::timestamp) - extract(epoch from '2026-07-17 18:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03004 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363271)'))) / (select extract(epoch from '2026-07-17 18:10:15'::timestamp) - extract(epoch from '2026-07-17 18:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030042 -3.363276)', '2026-07-17 18:10:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363276)'))) / (select extract(epoch from '2026-07-17 18:10:20'::timestamp) - extract(epoch from '2026-07-17 18:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363271)'), GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363276)'))) / (select extract(epoch from '2026-07-17 18:10:20'::timestamp) - extract(epoch from '2026-07-17 18:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030039 -3.363276)', '2026-07-17 18:10:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030039 -3.363276)'))) / (select extract(epoch from '2026-07-17 18:10:29'::timestamp) - extract(epoch from '2026-07-17 18:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030042 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030039 -3.363276)'))) / (select extract(epoch from '2026-07-17 18:10:29'::timestamp) - extract(epoch from '2026-07-17 18:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030046 -3.363281)', '2026-07-17 18:10:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030039 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030046 -3.363281)'))) / (select extract(epoch from '2026-07-17 18:10:37'::timestamp) - extract(epoch from '2026-07-17 18:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030039 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-39.030046 -3.363281)'))) / (select extract(epoch from '2026-07-17 18:10:37'::timestamp) - extract(epoch from '2026-07-17 18:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030054 -3.363277)', '2026-07-17 18:10:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030046 -3.363281)'), GeomFromEWKT('SRID=4674;POINT (-39.030054 -3.363277)'))) / (select extract(epoch from '2026-07-17 18:10:43'::timestamp) - extract(epoch from '2026-07-17 18:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030046 -3.363281)'), GeomFromEWKT('SRID=4674;POINT (-39.030054 -3.363277)'))) / (select extract(epoch from '2026-07-17 18:10:43'::timestamp) - extract(epoch from '2026-07-17 18:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030059 -3.363282)', '2026-07-17 18:10:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030054 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.030059 -3.363282)'))) / (select extract(epoch from '2026-07-17 18:10:53'::timestamp) - extract(epoch from '2026-07-17 18:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030054 -3.363277)'), GeomFromEWKT('SRID=4674;POINT (-39.030059 -3.363282)'))) / (select extract(epoch from '2026-07-17 18:10:53'::timestamp) - extract(epoch from '2026-07-17 18:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030073 -3.363286)', '2026-07-17 18:11:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030059 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030073 -3.363286)'))) / (select extract(epoch from '2026-07-17 18:11:01'::timestamp) - extract(epoch from '2026-07-17 18:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030059 -3.363282)'), GeomFromEWKT('SRID=4674;POINT (-39.030073 -3.363286)'))) / (select extract(epoch from '2026-07-17 18:11:01'::timestamp) - extract(epoch from '2026-07-17 18:10: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'), 47442, 'SRID=4674;POINT (-39.030068 -3.363296)', '2026-07-17 18:11:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030073 -3.363286)'), GeomFromEWKT('SRID=4674;POINT (-39.030068 -3.363296)'))) / (select extract(epoch from '2026-07-17 18:11:08'::timestamp) - extract(epoch from '2026-07-17 18:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030073 -3.363286)'), GeomFromEWKT('SRID=4674;POINT (-39.030068 -3.363296)'))) / (select extract(epoch from '2026-07-17 18:11:08'::timestamp) - extract(epoch from '2026-07-17 18:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030072 -3.363289)', '2026-07-17 18:11:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030068 -3.363296)'), GeomFromEWKT('SRID=4674;POINT (-39.030072 -3.363289)'))) / (select extract(epoch from '2026-07-17 18:11:15'::timestamp) - extract(epoch from '2026-07-17 18:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030068 -3.363296)'), GeomFromEWKT('SRID=4674;POINT (-39.030072 -3.363289)'))) / (select extract(epoch from '2026-07-17 18:11:15'::timestamp) - extract(epoch from '2026-07-17 18:11: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'), 47442, 'SRID=4674;POINT (-39.030064 -3.363295)', '2026-07-17 18:11:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030072 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.363295)'))) / (select extract(epoch from '2026-07-17 18:11:23'::timestamp) - extract(epoch from '2026-07-17 18:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030072 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.363295)'))) / (select extract(epoch from '2026-07-17 18:11:23'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.030054 -3.363296)', '2026-07-17 18:11:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.363295)'), GeomFromEWKT('SRID=4674;POINT (-39.030054 -3.363296)'))) / (select extract(epoch from '2026-07-17 18:11:30'::timestamp) - extract(epoch from '2026-07-17 18:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030064 -3.363295)'), GeomFromEWKT('SRID=4674;POINT (-39.030054 -3.363296)'))) / (select extract(epoch from '2026-07-17 18:11:30'::timestamp) - extract(epoch from '2026-07-17 18:11: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'), 47442, 'SRID=4674;POINT (-39.030063 -3.363294)', '2026-07-17 18:11:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030054 -3.363296)'), GeomFromEWKT('SRID=4674;POINT (-39.030063 -3.363294)'))) / (select extract(epoch from '2026-07-17 18:11:39'::timestamp) - extract(epoch from '2026-07-17 18:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030054 -3.363296)'), GeomFromEWKT('SRID=4674;POINT (-39.030063 -3.363294)'))) / (select extract(epoch from '2026-07-17 18:11:39'::timestamp) - extract(epoch from '2026-07-17 18:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030069 -3.363288)', '2026-07-17 18:11:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030063 -3.363294)'), GeomFromEWKT('SRID=4674;POINT (-39.030069 -3.363288)'))) / (select extract(epoch from '2026-07-17 18:11:45'::timestamp) - extract(epoch from '2026-07-17 18:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030063 -3.363294)'), GeomFromEWKT('SRID=4674;POINT (-39.030069 -3.363288)'))) / (select extract(epoch from '2026-07-17 18:11:45'::timestamp) - extract(epoch from '2026-07-17 18:11:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030061 -3.363289)', '2026-07-17 18:11:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030069 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.363289)'))) / (select extract(epoch from '2026-07-17 18:11:50'::timestamp) - extract(epoch from '2026-07-17 18:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030069 -3.363288)'), GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.363289)'))) / (select extract(epoch from '2026-07-17 18:11:50'::timestamp) - extract(epoch from '2026-07-17 18:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.030043 -3.363297)', '2026-07-17 18:11:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363297)'))) / (select extract(epoch from '2026-07-17 18:11:53'::timestamp) - extract(epoch from '2026-07-17 18:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.363289)'), GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363297)'))) / (select extract(epoch from '2026-07-17 18:11:53'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.030004 -3.363316)', '2026-07-17 18:12:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363297)'), GeomFromEWKT('SRID=4674;POINT (-39.030004 -3.363316)'))) / (select extract(epoch from '2026-07-17 18:12:01'::timestamp) - extract(epoch from '2026-07-17 18:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030043 -3.363297)'), GeomFromEWKT('SRID=4674;POINT (-39.030004 -3.363316)'))) / (select extract(epoch from '2026-07-17 18:12:01'::timestamp) - extract(epoch from '2026-07-17 18:11: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'), 47442, 'SRID=4674;POINT (-39.029972 -3.363335)', '2026-07-17 18:12:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030004 -3.363316)'), GeomFromEWKT('SRID=4674;POINT (-39.029972 -3.363335)'))) / (select extract(epoch from '2026-07-17 18:12:10'::timestamp) - extract(epoch from '2026-07-17 18:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030004 -3.363316)'), GeomFromEWKT('SRID=4674;POINT (-39.029972 -3.363335)'))) / (select extract(epoch from '2026-07-17 18:12:10'::timestamp) - extract(epoch from '2026-07-17 18:12: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'), 47442, 'SRID=4674;POINT (-39.02994 -3.363342)', '2026-07-17 18:12:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029972 -3.363335)'), GeomFromEWKT('SRID=4674;POINT (-39.02994 -3.363342)'))) / (select extract(epoch from '2026-07-17 18:12:17'::timestamp) - extract(epoch from '2026-07-17 18:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029972 -3.363335)'), GeomFromEWKT('SRID=4674;POINT (-39.02994 -3.363342)'))) / (select extract(epoch from '2026-07-17 18:12:17'::timestamp) - extract(epoch from '2026-07-17 18:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029875 -3.363351)', '2026-07-17 18:12:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02994 -3.363342)'), GeomFromEWKT('SRID=4674;POINT (-39.029875 -3.363351)'))) / (select extract(epoch from '2026-07-17 18:12:26'::timestamp) - extract(epoch from '2026-07-17 18:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02994 -3.363342)'), GeomFromEWKT('SRID=4674;POINT (-39.029875 -3.363351)'))) / (select extract(epoch from '2026-07-17 18:12:26'::timestamp) - extract(epoch from '2026-07-17 18:12: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'), 47442, 'SRID=4674;POINT (-39.029848 -3.363368)', '2026-07-17 18:12:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029875 -3.363351)'), GeomFromEWKT('SRID=4674;POINT (-39.029848 -3.363368)'))) / (select extract(epoch from '2026-07-17 18:12:33'::timestamp) - extract(epoch from '2026-07-17 18:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029875 -3.363351)'), GeomFromEWKT('SRID=4674;POINT (-39.029848 -3.363368)'))) / (select extract(epoch from '2026-07-17 18:12:33'::timestamp) - extract(epoch from '2026-07-17 18:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029806 -3.363378)', '2026-07-17 18:12:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029848 -3.363368)'), GeomFromEWKT('SRID=4674;POINT (-39.029806 -3.363378)'))) / (select extract(epoch from '2026-07-17 18:12:39'::timestamp) - extract(epoch from '2026-07-17 18:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029848 -3.363368)'), GeomFromEWKT('SRID=4674;POINT (-39.029806 -3.363378)'))) / (select extract(epoch from '2026-07-17 18:12:39'::timestamp) - extract(epoch from '2026-07-17 18:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029765 -3.363398)', '2026-07-17 18:12:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029806 -3.363378)'), GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.363398)'))) / (select extract(epoch from '2026-07-17 18:12:46'::timestamp) - extract(epoch from '2026-07-17 18:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029806 -3.363378)'), GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.363398)'))) / (select extract(epoch from '2026-07-17 18:12:46'::timestamp) - extract(epoch from '2026-07-17 18:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029766 -3.363409)', '2026-07-17 18:12:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.363398)'), GeomFromEWKT('SRID=4674;POINT (-39.029766 -3.363409)'))) / (select extract(epoch from '2026-07-17 18:12:50'::timestamp) - extract(epoch from '2026-07-17 18:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029765 -3.363398)'), GeomFromEWKT('SRID=4674;POINT (-39.029766 -3.363409)'))) / (select extract(epoch from '2026-07-17 18:12:50'::timestamp) - extract(epoch from '2026-07-17 18:12:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029738 -3.363408)', '2026-07-17 18:12:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029766 -3.363409)'), GeomFromEWKT('SRID=4674;POINT (-39.029738 -3.363408)'))) / (select extract(epoch from '2026-07-17 18:12:57'::timestamp) - extract(epoch from '2026-07-17 18:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029766 -3.363409)'), GeomFromEWKT('SRID=4674;POINT (-39.029738 -3.363408)'))) / (select extract(epoch from '2026-07-17 18:12:57'::timestamp) - extract(epoch from '2026-07-17 18:12: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'), 47442, 'SRID=4674;POINT (-39.029726 -3.363422)', '2026-07-17 18:13:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029738 -3.363408)'), GeomFromEWKT('SRID=4674;POINT (-39.029726 -3.363422)'))) / (select extract(epoch from '2026-07-17 18:13:07'::timestamp) - extract(epoch from '2026-07-17 18:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029738 -3.363408)'), GeomFromEWKT('SRID=4674;POINT (-39.029726 -3.363422)'))) / (select extract(epoch from '2026-07-17 18:13:07'::timestamp) - extract(epoch from '2026-07-17 18:12: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'), 47442, 'SRID=4674;POINT (-39.029722 -3.363431)', '2026-07-17 18:13:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029726 -3.363422)'), GeomFromEWKT('SRID=4674;POINT (-39.029722 -3.363431)'))) / (select extract(epoch from '2026-07-17 18:13:14'::timestamp) - extract(epoch from '2026-07-17 18:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029726 -3.363422)'), GeomFromEWKT('SRID=4674;POINT (-39.029722 -3.363431)'))) / (select extract(epoch from '2026-07-17 18:13:14'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47442, 'SRID=4674;POINT (-39.029712 -3.363428)', '2026-07-17 18:13:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029722 -3.363431)'), GeomFromEWKT('SRID=4674;POINT (-39.029712 -3.363428)'))) / (select extract(epoch from '2026-07-17 18:13:19'::timestamp) - extract(epoch from '2026-07-17 18:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029722 -3.363431)'), GeomFromEWKT('SRID=4674;POINT (-39.029712 -3.363428)'))) / (select extract(epoch from '2026-07-17 18:13:19'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47442, 'SRID=4674;POINT (-39.029672 -3.363418)', '2026-07-17 18:13:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029712 -3.363428)'), GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.363418)'))) / (select extract(epoch from '2026-07-17 18:13:29'::timestamp) - extract(epoch from '2026-07-17 18:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029712 -3.363428)'), GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.363418)'))) / (select extract(epoch from '2026-07-17 18:13:29'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.029633 -3.36342)', '2026-07-17 18:13:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.363418)'), GeomFromEWKT('SRID=4674;POINT (-39.029633 -3.36342)'))) / (select extract(epoch from '2026-07-17 18:13:37'::timestamp) - extract(epoch from '2026-07-17 18:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.363418)'), GeomFromEWKT('SRID=4674;POINT (-39.029633 -3.36342)'))) / (select extract(epoch from '2026-07-17 18:13:37'::timestamp) - extract(epoch from '2026-07-17 18:13:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029607 -3.363422)', '2026-07-17 18:13:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029633 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.029607 -3.363422)'))) / (select extract(epoch from '2026-07-17 18:13:44'::timestamp) - extract(epoch from '2026-07-17 18:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029633 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.029607 -3.363422)'))) / (select extract(epoch from '2026-07-17 18:13:44'::timestamp) - extract(epoch from '2026-07-17 18:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029592 -3.363431)', '2026-07-17 18:13:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029607 -3.363422)'), GeomFromEWKT('SRID=4674;POINT (-39.029592 -3.363431)'))) / (select extract(epoch from '2026-07-17 18:13:50'::timestamp) - extract(epoch from '2026-07-17 18:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029607 -3.363422)'), GeomFromEWKT('SRID=4674;POINT (-39.029592 -3.363431)'))) / (select extract(epoch from '2026-07-17 18:13:50'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47442, 'SRID=4674;POINT (-39.029591 -3.363434)', '2026-07-17 18:13:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029592 -3.363431)'), GeomFromEWKT('SRID=4674;POINT (-39.029591 -3.363434)'))) / (select extract(epoch from '2026-07-17 18:13:55'::timestamp) - extract(epoch from '2026-07-17 18:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029592 -3.363431)'), GeomFromEWKT('SRID=4674;POINT (-39.029591 -3.363434)'))) / (select extract(epoch from '2026-07-17 18:13:55'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47442, 'SRID=4674;POINT (-39.029582 -3.36345)', '2026-07-17 18:14:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029591 -3.363434)'), GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.36345)'))) / (select extract(epoch from '2026-07-17 18:14:04'::timestamp) - extract(epoch from '2026-07-17 18:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029591 -3.363434)'), GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.36345)'))) / (select extract(epoch from '2026-07-17 18:14:04'::timestamp) - extract(epoch from '2026-07-17 18:13: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'), 47442, 'SRID=4674;POINT (-39.029594 -3.363469)', '2026-07-17 18:14:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.36345)'), GeomFromEWKT('SRID=4674;POINT (-39.029594 -3.363469)'))) / (select extract(epoch from '2026-07-17 18:14:13'::timestamp) - extract(epoch from '2026-07-17 18:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.36345)'), GeomFromEWKT('SRID=4674;POINT (-39.029594 -3.363469)'))) / (select extract(epoch from '2026-07-17 18:14:13'::timestamp) - extract(epoch from '2026-07-17 18:14: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'), 47442, 'SRID=4674;POINT (-39.029612 -3.363477)', '2026-07-17 18:14:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029594 -3.363469)'), GeomFromEWKT('SRID=4674;POINT (-39.029612 -3.363477)'))) / (select extract(epoch from '2026-07-17 18:14:19'::timestamp) - extract(epoch from '2026-07-17 18:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029594 -3.363469)'), GeomFromEWKT('SRID=4674;POINT (-39.029612 -3.363477)'))) / (select extract(epoch from '2026-07-17 18:14:19'::timestamp) - extract(epoch from '2026-07-17 18:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029627 -3.363498)', '2026-07-17 18:14:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029612 -3.363477)'), GeomFromEWKT('SRID=4674;POINT (-39.029627 -3.363498)'))) / (select extract(epoch from '2026-07-17 18:14:27'::timestamp) - extract(epoch from '2026-07-17 18:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029612 -3.363477)'), GeomFromEWKT('SRID=4674;POINT (-39.029627 -3.363498)'))) / (select extract(epoch from '2026-07-17 18:14:27'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.029669 -3.363517)', '2026-07-17 18:14:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029627 -3.363498)'), GeomFromEWKT('SRID=4674;POINT (-39.029669 -3.363517)'))) / (select extract(epoch from '2026-07-17 18:14:35'::timestamp) - extract(epoch from '2026-07-17 18:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029627 -3.363498)'), GeomFromEWKT('SRID=4674;POINT (-39.029669 -3.363517)'))) / (select extract(epoch from '2026-07-17 18:14:35'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.029711 -3.363541)', '2026-07-17 18:14:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029669 -3.363517)'), GeomFromEWKT('SRID=4674;POINT (-39.029711 -3.363541)'))) / (select extract(epoch from '2026-07-17 18:14:45'::timestamp) - extract(epoch from '2026-07-17 18:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029669 -3.363517)'), GeomFromEWKT('SRID=4674;POINT (-39.029711 -3.363541)'))) / (select extract(epoch from '2026-07-17 18:14:45'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.02973 -3.363557)', '2026-07-17 18:14:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029711 -3.363541)'), GeomFromEWKT('SRID=4674;POINT (-39.02973 -3.363557)'))) / (select extract(epoch from '2026-07-17 18:14:54'::timestamp) - extract(epoch from '2026-07-17 18:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029711 -3.363541)'), GeomFromEWKT('SRID=4674;POINT (-39.02973 -3.363557)'))) / (select extract(epoch from '2026-07-17 18:14:54'::timestamp) - extract(epoch from '2026-07-17 18:14: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'), 47442, 'SRID=4674;POINT (-39.029734 -3.363558)', '2026-07-17 18:15:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02973 -3.363557)'), GeomFromEWKT('SRID=4674;POINT (-39.029734 -3.363558)'))) / (select extract(epoch from '2026-07-17 18:15:02'::timestamp) - extract(epoch from '2026-07-17 18:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02973 -3.363557)'), GeomFromEWKT('SRID=4674;POINT (-39.029734 -3.363558)'))) / (select extract(epoch from '2026-07-17 18:15:02'::timestamp) - extract(epoch from '2026-07-17 18:14: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'), 47442, 'SRID=4674;POINT (-39.029732 -3.363569)', '2026-07-17 18:15:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029734 -3.363558)'), GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.363569)'))) / (select extract(epoch from '2026-07-17 18:15:13'::timestamp) - extract(epoch from '2026-07-17 18:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029734 -3.363558)'), GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.363569)'))) / (select extract(epoch from '2026-07-17 18:15:13'::timestamp) - extract(epoch from '2026-07-17 18:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029729 -3.363578)', '2026-07-17 18:15:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.363569)'), GeomFromEWKT('SRID=4674;POINT (-39.029729 -3.363578)'))) / (select extract(epoch from '2026-07-17 18:15:20'::timestamp) - extract(epoch from '2026-07-17 18:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029732 -3.363569)'), GeomFromEWKT('SRID=4674;POINT (-39.029729 -3.363578)'))) / (select extract(epoch from '2026-07-17 18:15:20'::timestamp) - extract(epoch from '2026-07-17 18:15: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'), 47442, 'SRID=4674;POINT (-39.029745 -3.363593)', '2026-07-17 18:15:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029729 -3.363578)'), GeomFromEWKT('SRID=4674;POINT (-39.029745 -3.363593)'))) / (select extract(epoch from '2026-07-17 18:15:31'::timestamp) - extract(epoch from '2026-07-17 18:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029729 -3.363578)'), GeomFromEWKT('SRID=4674;POINT (-39.029745 -3.363593)'))) / (select extract(epoch from '2026-07-17 18:15:31'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.02976 -3.363598)', '2026-07-17 18:15:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029745 -3.363593)'), GeomFromEWKT('SRID=4674;POINT (-39.02976 -3.363598)'))) / (select extract(epoch from '2026-07-17 18:15:41'::timestamp) - extract(epoch from '2026-07-17 18:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029745 -3.363593)'), GeomFromEWKT('SRID=4674;POINT (-39.02976 -3.363598)'))) / (select extract(epoch from '2026-07-17 18:15:41'::timestamp) - extract(epoch from '2026-07-17 18:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029771 -3.363606)', '2026-07-17 18:15:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02976 -3.363598)'), GeomFromEWKT('SRID=4674;POINT (-39.029771 -3.363606)'))) / (select extract(epoch from '2026-07-17 18:15:50'::timestamp) - extract(epoch from '2026-07-17 18:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02976 -3.363598)'), GeomFromEWKT('SRID=4674;POINT (-39.029771 -3.363606)'))) / (select extract(epoch from '2026-07-17 18:15:50'::timestamp) - extract(epoch from '2026-07-17 18:15: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'), 47442, 'SRID=4674;POINT (-39.029789 -3.363624)', '2026-07-17 18:15:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029771 -3.363606)'), GeomFromEWKT('SRID=4674;POINT (-39.029789 -3.363624)'))) / (select extract(epoch from '2026-07-17 18:15:58'::timestamp) - extract(epoch from '2026-07-17 18:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029771 -3.363606)'), GeomFromEWKT('SRID=4674;POINT (-39.029789 -3.363624)'))) / (select extract(epoch from '2026-07-17 18:15:58'::timestamp) - extract(epoch from '2026-07-17 18:15: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'), 47442, 'SRID=4674;POINT (-39.029792 -3.363636)', '2026-07-17 18:16:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029789 -3.363624)'), GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.363636)'))) / (select extract(epoch from '2026-07-17 18:16:06'::timestamp) - extract(epoch from '2026-07-17 18:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029789 -3.363624)'), GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.363636)'))) / (select extract(epoch from '2026-07-17 18:16:06'::timestamp) - extract(epoch from '2026-07-17 18:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029787 -3.363648)', '2026-07-17 18:16:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.363636)'), GeomFromEWKT('SRID=4674;POINT (-39.029787 -3.363648)'))) / (select extract(epoch from '2026-07-17 18:16:16'::timestamp) - extract(epoch from '2026-07-17 18:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029792 -3.363636)'), GeomFromEWKT('SRID=4674;POINT (-39.029787 -3.363648)'))) / (select extract(epoch from '2026-07-17 18:16:16'::timestamp) - extract(epoch from '2026-07-17 18:16: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'), 47442, 'SRID=4674;POINT (-39.029767 -3.363663)', '2026-07-17 18:16:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029787 -3.363648)'), GeomFromEWKT('SRID=4674;POINT (-39.029767 -3.363663)'))) / (select extract(epoch from '2026-07-17 18:16:24'::timestamp) - extract(epoch from '2026-07-17 18:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029787 -3.363648)'), GeomFromEWKT('SRID=4674;POINT (-39.029767 -3.363663)'))) / (select extract(epoch from '2026-07-17 18:16:24'::timestamp) - extract(epoch from '2026-07-17 18:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029745 -3.363687)', '2026-07-17 18:16:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029767 -3.363663)'), GeomFromEWKT('SRID=4674;POINT (-39.029745 -3.363687)'))) / (select extract(epoch from '2026-07-17 18:16:31'::timestamp) - extract(epoch from '2026-07-17 18:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029767 -3.363663)'), GeomFromEWKT('SRID=4674;POINT (-39.029745 -3.363687)'))) / (select extract(epoch from '2026-07-17 18:16:31'::timestamp) - extract(epoch from '2026-07-17 18:16: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'), 47442, 'SRID=4674;POINT (-39.029721 -3.363722)', '2026-07-17 18:16:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029745 -3.363687)'), GeomFromEWKT('SRID=4674;POINT (-39.029721 -3.363722)'))) / (select extract(epoch from '2026-07-17 18:16:40'::timestamp) - extract(epoch from '2026-07-17 18:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029745 -3.363687)'), GeomFromEWKT('SRID=4674;POINT (-39.029721 -3.363722)'))) / (select extract(epoch from '2026-07-17 18:16:40'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.029698 -3.363737)', '2026-07-17 18:16:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029721 -3.363722)'), GeomFromEWKT('SRID=4674;POINT (-39.029698 -3.363737)'))) / (select extract(epoch from '2026-07-17 18:16:47'::timestamp) - extract(epoch from '2026-07-17 18:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029721 -3.363722)'), GeomFromEWKT('SRID=4674;POINT (-39.029698 -3.363737)'))) / (select extract(epoch from '2026-07-17 18:16:47'::timestamp) - extract(epoch from '2026-07-17 18:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029698 -3.363751)', '2026-07-17 18:16:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029698 -3.363737)'), GeomFromEWKT('SRID=4674;POINT (-39.029698 -3.363751)'))) / (select extract(epoch from '2026-07-17 18:16:54'::timestamp) - extract(epoch from '2026-07-17 18:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029698 -3.363737)'), GeomFromEWKT('SRID=4674;POINT (-39.029698 -3.363751)'))) / (select extract(epoch from '2026-07-17 18:16:54'::timestamp) - extract(epoch from '2026-07-17 18:16: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'), 47442, 'SRID=4674;POINT (-39.029682 -3.36376)', '2026-07-17 18:16:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029698 -3.363751)'), GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.36376)'))) / (select extract(epoch from '2026-07-17 18:16:58'::timestamp) - extract(epoch from '2026-07-17 18:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029698 -3.363751)'), GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.36376)'))) / (select extract(epoch from '2026-07-17 18:16:58'::timestamp) - extract(epoch from '2026-07-17 18:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029673 -3.363775)', '2026-07-17 18:17:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.36376)'), GeomFromEWKT('SRID=4674;POINT (-39.029673 -3.363775)'))) / (select extract(epoch from '2026-07-17 18:17:04'::timestamp) - extract(epoch from '2026-07-17 18:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029682 -3.36376)'), GeomFromEWKT('SRID=4674;POINT (-39.029673 -3.363775)'))) / (select extract(epoch from '2026-07-17 18:17:04'::timestamp) - extract(epoch from '2026-07-17 18:16: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'), 47442, 'SRID=4674;POINT (-39.029663 -3.363794)', '2026-07-17 18:17:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029673 -3.363775)'), GeomFromEWKT('SRID=4674;POINT (-39.029663 -3.363794)'))) / (select extract(epoch from '2026-07-17 18:17:12'::timestamp) - extract(epoch from '2026-07-17 18:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029673 -3.363775)'), GeomFromEWKT('SRID=4674;POINT (-39.029663 -3.363794)'))) / (select extract(epoch from '2026-07-17 18:17:12'::timestamp) - extract(epoch from '2026-07-17 18:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02964 -3.363818)', '2026-07-17 18:17:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029663 -3.363794)'), GeomFromEWKT('SRID=4674;POINT (-39.02964 -3.363818)'))) / (select extract(epoch from '2026-07-17 18:17:20'::timestamp) - extract(epoch from '2026-07-17 18:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029663 -3.363794)'), GeomFromEWKT('SRID=4674;POINT (-39.02964 -3.363818)'))) / (select extract(epoch from '2026-07-17 18:17:20'::timestamp) - extract(epoch from '2026-07-17 18:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02963 -3.363825)', '2026-07-17 18:17:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02964 -3.363818)'), GeomFromEWKT('SRID=4674;POINT (-39.02963 -3.363825)'))) / (select extract(epoch from '2026-07-17 18:17:27'::timestamp) - extract(epoch from '2026-07-17 18:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02964 -3.363818)'), GeomFromEWKT('SRID=4674;POINT (-39.02963 -3.363825)'))) / (select extract(epoch from '2026-07-17 18:17:27'::timestamp) - extract(epoch from '2026-07-17 18:17: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'), 47442, 'SRID=4674;POINT (-39.029614 -3.363843)', '2026-07-17 18:17:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02963 -3.363825)'), GeomFromEWKT('SRID=4674;POINT (-39.029614 -3.363843)'))) / (select extract(epoch from '2026-07-17 18:17:33'::timestamp) - extract(epoch from '2026-07-17 18:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02963 -3.363825)'), GeomFromEWKT('SRID=4674;POINT (-39.029614 -3.363843)'))) / (select extract(epoch from '2026-07-17 18:17:33'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.029562 -3.363883)', '2026-07-17 18:17:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029614 -3.363843)'), GeomFromEWKT('SRID=4674;POINT (-39.029562 -3.363883)'))) / (select extract(epoch from '2026-07-17 18:17:44'::timestamp) - extract(epoch from '2026-07-17 18:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029614 -3.363843)'), GeomFromEWKT('SRID=4674;POINT (-39.029562 -3.363883)'))) / (select extract(epoch from '2026-07-17 18:17:44'::timestamp) - extract(epoch from '2026-07-17 18:17: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'), 47442, 'SRID=4674;POINT (-39.029546 -3.36393)', '2026-07-17 18:17:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029562 -3.363883)'), GeomFromEWKT('SRID=4674;POINT (-39.029546 -3.36393)'))) / (select extract(epoch from '2026-07-17 18:17:52'::timestamp) - extract(epoch from '2026-07-17 18:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029562 -3.363883)'), GeomFromEWKT('SRID=4674;POINT (-39.029546 -3.36393)'))) / (select extract(epoch from '2026-07-17 18:17:52'::timestamp) - extract(epoch from '2026-07-17 18:17:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029514 -3.363971)', '2026-07-17 18:18:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029546 -3.36393)'), GeomFromEWKT('SRID=4674;POINT (-39.029514 -3.363971)'))) / (select extract(epoch from '2026-07-17 18:18:01'::timestamp) - extract(epoch from '2026-07-17 18:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029546 -3.36393)'), GeomFromEWKT('SRID=4674;POINT (-39.029514 -3.363971)'))) / (select extract(epoch from '2026-07-17 18:18:01'::timestamp) - extract(epoch from '2026-07-17 18:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029489 -3.363983)', '2026-07-17 18:18:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029514 -3.363971)'), GeomFromEWKT('SRID=4674;POINT (-39.029489 -3.363983)'))) / (select extract(epoch from '2026-07-17 18:18:09'::timestamp) - extract(epoch from '2026-07-17 18:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029514 -3.363971)'), GeomFromEWKT('SRID=4674;POINT (-39.029489 -3.363983)'))) / (select extract(epoch from '2026-07-17 18:18:09'::timestamp) - extract(epoch from '2026-07-17 18:18:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029469 -3.364)', '2026-07-17 18:18:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029489 -3.363983)'), GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.364)'))) / (select extract(epoch from '2026-07-17 18:18:16'::timestamp) - extract(epoch from '2026-07-17 18:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029489 -3.363983)'), GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.364)'))) / (select extract(epoch from '2026-07-17 18:18:16'::timestamp) - extract(epoch from '2026-07-17 18:18: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'), 47442, 'SRID=4674;POINT (-39.029449 -3.364018)', '2026-07-17 18:18:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.364)'), GeomFromEWKT('SRID=4674;POINT (-39.029449 -3.364018)'))) / (select extract(epoch from '2026-07-17 18:18:22'::timestamp) - extract(epoch from '2026-07-17 18:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.364)'), GeomFromEWKT('SRID=4674;POINT (-39.029449 -3.364018)'))) / (select extract(epoch from '2026-07-17 18:18:22'::timestamp) - extract(epoch from '2026-07-17 18:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029434 -3.364038)', '2026-07-17 18:18:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029449 -3.364018)'), GeomFromEWKT('SRID=4674;POINT (-39.029434 -3.364038)'))) / (select extract(epoch from '2026-07-17 18:18:26'::timestamp) - extract(epoch from '2026-07-17 18:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029449 -3.364018)'), GeomFromEWKT('SRID=4674;POINT (-39.029434 -3.364038)'))) / (select extract(epoch from '2026-07-17 18:18:26'::timestamp) - extract(epoch from '2026-07-17 18:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029425 -3.364048)', '2026-07-17 18:18:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029434 -3.364038)'), GeomFromEWKT('SRID=4674;POINT (-39.029425 -3.364048)'))) / (select extract(epoch from '2026-07-17 18:18:28'::timestamp) - extract(epoch from '2026-07-17 18:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029434 -3.364038)'), GeomFromEWKT('SRID=4674;POINT (-39.029425 -3.364048)'))) / (select extract(epoch from '2026-07-17 18:18:28'::timestamp) - extract(epoch from '2026-07-17 18:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029418 -3.364047)', '2026-07-17 18:18:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029425 -3.364048)'), GeomFromEWKT('SRID=4674;POINT (-39.029418 -3.364047)'))) / (select extract(epoch from '2026-07-17 18:18:29'::timestamp) - extract(epoch from '2026-07-17 18:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029425 -3.364048)'), GeomFromEWKT('SRID=4674;POINT (-39.029418 -3.364047)'))) / (select extract(epoch from '2026-07-17 18:18:29'::timestamp) - extract(epoch from '2026-07-17 18:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029403 -3.364058)', '2026-07-17 18:18:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029418 -3.364047)'), GeomFromEWKT('SRID=4674;POINT (-39.029403 -3.364058)'))) / (select extract(epoch from '2026-07-17 18:18:34'::timestamp) - extract(epoch from '2026-07-17 18:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029418 -3.364047)'), GeomFromEWKT('SRID=4674;POINT (-39.029403 -3.364058)'))) / (select extract(epoch from '2026-07-17 18:18:34'::timestamp) - extract(epoch from '2026-07-17 18:18: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'), 47442, 'SRID=4674;POINT (-39.02939 -3.364076)', '2026-07-17 18:18:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029403 -3.364058)'), GeomFromEWKT('SRID=4674;POINT (-39.02939 -3.364076)'))) / (select extract(epoch from '2026-07-17 18:18:42'::timestamp) - extract(epoch from '2026-07-17 18:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029403 -3.364058)'), GeomFromEWKT('SRID=4674;POINT (-39.02939 -3.364076)'))) / (select extract(epoch from '2026-07-17 18:18:42'::timestamp) - extract(epoch from '2026-07-17 18:18: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'), 47442, 'SRID=4674;POINT (-39.029368 -3.364088)', '2026-07-17 18:18:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02939 -3.364076)'), GeomFromEWKT('SRID=4674;POINT (-39.029368 -3.364088)'))) / (select extract(epoch from '2026-07-17 18:18:50'::timestamp) - extract(epoch from '2026-07-17 18:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02939 -3.364076)'), GeomFromEWKT('SRID=4674;POINT (-39.029368 -3.364088)'))) / (select extract(epoch from '2026-07-17 18:18:50'::timestamp) - extract(epoch from '2026-07-17 18:18: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'), 47442, 'SRID=4674;POINT (-39.029338 -3.36412)', '2026-07-17 18:18:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029368 -3.364088)'), GeomFromEWKT('SRID=4674;POINT (-39.029338 -3.36412)'))) / (select extract(epoch from '2026-07-17 18:18:59'::timestamp) - extract(epoch from '2026-07-17 18:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029368 -3.364088)'), GeomFromEWKT('SRID=4674;POINT (-39.029338 -3.36412)'))) / (select extract(epoch from '2026-07-17 18:18:59'::timestamp) - extract(epoch from '2026-07-17 18:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029313 -3.364154)', '2026-07-17 18:19:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029338 -3.36412)'), GeomFromEWKT('SRID=4674;POINT (-39.029313 -3.364154)'))) / (select extract(epoch from '2026-07-17 18:19:07'::timestamp) - extract(epoch from '2026-07-17 18:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029338 -3.36412)'), GeomFromEWKT('SRID=4674;POINT (-39.029313 -3.364154)'))) / (select extract(epoch from '2026-07-17 18:19:07'::timestamp) - extract(epoch from '2026-07-17 18:18: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'), 47442, 'SRID=4674;POINT (-39.029282 -3.364165)', '2026-07-17 18:19:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029313 -3.364154)'), GeomFromEWKT('SRID=4674;POINT (-39.029282 -3.364165)'))) / (select extract(epoch from '2026-07-17 18:19:16'::timestamp) - extract(epoch from '2026-07-17 18:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029313 -3.364154)'), GeomFromEWKT('SRID=4674;POINT (-39.029282 -3.364165)'))) / (select extract(epoch from '2026-07-17 18:19:16'::timestamp) - extract(epoch from '2026-07-17 18:19: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'), 47442, 'SRID=4674;POINT (-39.029254 -3.364195)', '2026-07-17 18:19:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029282 -3.364165)'), GeomFromEWKT('SRID=4674;POINT (-39.029254 -3.364195)'))) / (select extract(epoch from '2026-07-17 18:19:26'::timestamp) - extract(epoch from '2026-07-17 18:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029282 -3.364165)'), GeomFromEWKT('SRID=4674;POINT (-39.029254 -3.364195)'))) / (select extract(epoch from '2026-07-17 18:19:26'::timestamp) - extract(epoch from '2026-07-17 18:19: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'), 47442, 'SRID=4674;POINT (-39.029259 -3.364225)', '2026-07-17 18:19:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029254 -3.364195)'), GeomFromEWKT('SRID=4674;POINT (-39.029259 -3.364225)'))) / (select extract(epoch from '2026-07-17 18:19:33'::timestamp) - extract(epoch from '2026-07-17 18:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029254 -3.364195)'), GeomFromEWKT('SRID=4674;POINT (-39.029259 -3.364225)'))) / (select extract(epoch from '2026-07-17 18:19:33'::timestamp) - extract(epoch from '2026-07-17 18:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029233 -3.364253)', '2026-07-17 18:19:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029259 -3.364225)'), GeomFromEWKT('SRID=4674;POINT (-39.029233 -3.364253)'))) / (select extract(epoch from '2026-07-17 18:19:41'::timestamp) - extract(epoch from '2026-07-17 18:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029259 -3.364225)'), GeomFromEWKT('SRID=4674;POINT (-39.029233 -3.364253)'))) / (select extract(epoch from '2026-07-17 18:19:41'::timestamp) - extract(epoch from '2026-07-17 18:19: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'), 47442, 'SRID=4674;POINT (-39.029217 -3.36427)', '2026-07-17 18:19:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029233 -3.364253)'), GeomFromEWKT('SRID=4674;POINT (-39.029217 -3.36427)'))) / (select extract(epoch from '2026-07-17 18:19:48'::timestamp) - extract(epoch from '2026-07-17 18:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029233 -3.364253)'), GeomFromEWKT('SRID=4674;POINT (-39.029217 -3.36427)'))) / (select extract(epoch from '2026-07-17 18:19:48'::timestamp) - extract(epoch from '2026-07-17 18:19:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029198 -3.364305)', '2026-07-17 18:19:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029217 -3.36427)'), GeomFromEWKT('SRID=4674;POINT (-39.029198 -3.364305)'))) / (select extract(epoch from '2026-07-17 18:19:55'::timestamp) - extract(epoch from '2026-07-17 18:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029217 -3.36427)'), GeomFromEWKT('SRID=4674;POINT (-39.029198 -3.364305)'))) / (select extract(epoch from '2026-07-17 18:19:55'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.029161 -3.36433)', '2026-07-17 18:20:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029198 -3.364305)'), GeomFromEWKT('SRID=4674;POINT (-39.029161 -3.36433)'))) / (select extract(epoch from '2026-07-17 18:20:03'::timestamp) - extract(epoch from '2026-07-17 18:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029198 -3.364305)'), GeomFromEWKT('SRID=4674;POINT (-39.029161 -3.36433)'))) / (select extract(epoch from '2026-07-17 18:20:03'::timestamp) - extract(epoch from '2026-07-17 18:19: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'), 47442, 'SRID=4674;POINT (-39.029125 -3.364359)', '2026-07-17 18:20:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029161 -3.36433)'), GeomFromEWKT('SRID=4674;POINT (-39.029125 -3.364359)'))) / (select extract(epoch from '2026-07-17 18:20:12'::timestamp) - extract(epoch from '2026-07-17 18:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029161 -3.36433)'), GeomFromEWKT('SRID=4674;POINT (-39.029125 -3.364359)'))) / (select extract(epoch from '2026-07-17 18:20:12'::timestamp) - extract(epoch from '2026-07-17 18:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029092 -3.364389)', '2026-07-17 18:20:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029125 -3.364359)'), GeomFromEWKT('SRID=4674;POINT (-39.029092 -3.364389)'))) / (select extract(epoch from '2026-07-17 18:20:21'::timestamp) - extract(epoch from '2026-07-17 18:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029125 -3.364359)'), GeomFromEWKT('SRID=4674;POINT (-39.029092 -3.364389)'))) / (select extract(epoch from '2026-07-17 18:20:21'::timestamp) - extract(epoch from '2026-07-17 18:20: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'), 47442, 'SRID=4674;POINT (-39.029062 -3.364412)', '2026-07-17 18:20:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029092 -3.364389)'), GeomFromEWKT('SRID=4674;POINT (-39.029062 -3.364412)'))) / (select extract(epoch from '2026-07-17 18:20:30'::timestamp) - extract(epoch from '2026-07-17 18:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029092 -3.364389)'), GeomFromEWKT('SRID=4674;POINT (-39.029062 -3.364412)'))) / (select extract(epoch from '2026-07-17 18:20:30'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.029051 -3.364452)', '2026-07-17 18:20:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029062 -3.364412)'), GeomFromEWKT('SRID=4674;POINT (-39.029051 -3.364452)'))) / (select extract(epoch from '2026-07-17 18:20:37'::timestamp) - extract(epoch from '2026-07-17 18:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029062 -3.364412)'), GeomFromEWKT('SRID=4674;POINT (-39.029051 -3.364452)'))) / (select extract(epoch from '2026-07-17 18:20:37'::timestamp) - extract(epoch from '2026-07-17 18:20: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'), 47442, 'SRID=4674;POINT (-39.029046 -3.36447)', '2026-07-17 18:20:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029051 -3.364452)'), GeomFromEWKT('SRID=4674;POINT (-39.029046 -3.36447)'))) / (select extract(epoch from '2026-07-17 18:20:40'::timestamp) - extract(epoch from '2026-07-17 18:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029051 -3.364452)'), GeomFromEWKT('SRID=4674;POINT (-39.029046 -3.36447)'))) / (select extract(epoch from '2026-07-17 18:20:40'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.029039 -3.36448)', '2026-07-17 18:20:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029046 -3.36447)'), GeomFromEWKT('SRID=4674;POINT (-39.029039 -3.36448)'))) / (select extract(epoch from '2026-07-17 18:20:43'::timestamp) - extract(epoch from '2026-07-17 18:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029046 -3.36447)'), GeomFromEWKT('SRID=4674;POINT (-39.029039 -3.36448)'))) / (select extract(epoch from '2026-07-17 18:20:43'::timestamp) - extract(epoch from '2026-07-17 18:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029009 -3.364488)', '2026-07-17 18:20:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029039 -3.36448)'), GeomFromEWKT('SRID=4674;POINT (-39.029009 -3.364488)'))) / (select extract(epoch from '2026-07-17 18:20:51'::timestamp) - extract(epoch from '2026-07-17 18:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029039 -3.36448)'), GeomFromEWKT('SRID=4674;POINT (-39.029009 -3.364488)'))) / (select extract(epoch from '2026-07-17 18:20:51'::timestamp) - extract(epoch from '2026-07-17 18:20: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'), 47442, 'SRID=4674;POINT (-39.028995 -3.364511)', '2026-07-17 18:20:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029009 -3.364488)'), GeomFromEWKT('SRID=4674;POINT (-39.028995 -3.364511)'))) / (select extract(epoch from '2026-07-17 18:20:59'::timestamp) - extract(epoch from '2026-07-17 18:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029009 -3.364488)'), GeomFromEWKT('SRID=4674;POINT (-39.028995 -3.364511)'))) / (select extract(epoch from '2026-07-17 18:20:59'::timestamp) - extract(epoch from '2026-07-17 18:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028974 -3.364535)', '2026-07-17 18:21:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028995 -3.364511)'), GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.364535)'))) / (select extract(epoch from '2026-07-17 18:21:05'::timestamp) - extract(epoch from '2026-07-17 18:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028995 -3.364511)'), GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.364535)'))) / (select extract(epoch from '2026-07-17 18:21:05'::timestamp) - extract(epoch from '2026-07-17 18:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028932 -3.364568)', '2026-07-17 18:21:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.364535)'), GeomFromEWKT('SRID=4674;POINT (-39.028932 -3.364568)'))) / (select extract(epoch from '2026-07-17 18:21:14'::timestamp) - extract(epoch from '2026-07-17 18:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.364535)'), GeomFromEWKT('SRID=4674;POINT (-39.028932 -3.364568)'))) / (select extract(epoch from '2026-07-17 18:21:14'::timestamp) - extract(epoch from '2026-07-17 18:21: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'), 47442, 'SRID=4674;POINT (-39.028908 -3.364572)', '2026-07-17 18:21:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028932 -3.364568)'), GeomFromEWKT('SRID=4674;POINT (-39.028908 -3.364572)'))) / (select extract(epoch from '2026-07-17 18:21:19'::timestamp) - extract(epoch from '2026-07-17 18:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028932 -3.364568)'), GeomFromEWKT('SRID=4674;POINT (-39.028908 -3.364572)'))) / (select extract(epoch from '2026-07-17 18:21:19'::timestamp) - extract(epoch from '2026-07-17 18:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028893 -3.364588)', '2026-07-17 18:21:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028908 -3.364572)'), GeomFromEWKT('SRID=4674;POINT (-39.028893 -3.364588)'))) / (select extract(epoch from '2026-07-17 18:21:25'::timestamp) - extract(epoch from '2026-07-17 18:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028908 -3.364572)'), GeomFromEWKT('SRID=4674;POINT (-39.028893 -3.364588)'))) / (select extract(epoch from '2026-07-17 18:21:25'::timestamp) - extract(epoch from '2026-07-17 18:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028883 -3.364607)', '2026-07-17 18:21:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028893 -3.364588)'), GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.364607)'))) / (select extract(epoch from '2026-07-17 18:21:33'::timestamp) - extract(epoch from '2026-07-17 18:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028893 -3.364588)'), GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.364607)'))) / (select extract(epoch from '2026-07-17 18:21:33'::timestamp) - extract(epoch from '2026-07-17 18:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028861 -3.364626)', '2026-07-17 18:21:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.364607)'), GeomFromEWKT('SRID=4674;POINT (-39.028861 -3.364626)'))) / (select extract(epoch from '2026-07-17 18:21:39'::timestamp) - extract(epoch from '2026-07-17 18:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028883 -3.364607)'), GeomFromEWKT('SRID=4674;POINT (-39.028861 -3.364626)'))) / (select extract(epoch from '2026-07-17 18:21:39'::timestamp) - extract(epoch from '2026-07-17 18:21: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'), 47442, 'SRID=4674;POINT (-39.028825 -3.364658)', '2026-07-17 18:21:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028861 -3.364626)'), GeomFromEWKT('SRID=4674;POINT (-39.028825 -3.364658)'))) / (select extract(epoch from '2026-07-17 18:21:48'::timestamp) - extract(epoch from '2026-07-17 18:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028861 -3.364626)'), GeomFromEWKT('SRID=4674;POINT (-39.028825 -3.364658)'))) / (select extract(epoch from '2026-07-17 18:21:48'::timestamp) - extract(epoch from '2026-07-17 18:21: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'), 47442, 'SRID=4674;POINT (-39.028807 -3.364669)', '2026-07-17 18:21:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028825 -3.364658)'), GeomFromEWKT('SRID=4674;POINT (-39.028807 -3.364669)'))) / (select extract(epoch from '2026-07-17 18:21:53'::timestamp) - extract(epoch from '2026-07-17 18:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028825 -3.364658)'), GeomFromEWKT('SRID=4674;POINT (-39.028807 -3.364669)'))) / (select extract(epoch from '2026-07-17 18:21:53'::timestamp) - extract(epoch from '2026-07-17 18:21: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'), 47442, 'SRID=4674;POINT (-39.028793 -3.364675)', '2026-07-17 18:21:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028807 -3.364669)'), GeomFromEWKT('SRID=4674;POINT (-39.028793 -3.364675)'))) / (select extract(epoch from '2026-07-17 18:21:56'::timestamp) - extract(epoch from '2026-07-17 18:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028807 -3.364669)'), GeomFromEWKT('SRID=4674;POINT (-39.028793 -3.364675)'))) / (select extract(epoch from '2026-07-17 18:21:56'::timestamp) - extract(epoch from '2026-07-17 18:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028759 -3.3647)', '2026-07-17 18:22:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028793 -3.364675)'), GeomFromEWKT('SRID=4674;POINT (-39.028759 -3.3647)'))) / (select extract(epoch from '2026-07-17 18:22:04'::timestamp) - extract(epoch from '2026-07-17 18:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028793 -3.364675)'), GeomFromEWKT('SRID=4674;POINT (-39.028759 -3.3647)'))) / (select extract(epoch from '2026-07-17 18:22:04'::timestamp) - extract(epoch from '2026-07-17 18:21: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'), 47442, 'SRID=4674;POINT (-39.028726 -3.364725)', '2026-07-17 18:22:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028759 -3.3647)'), GeomFromEWKT('SRID=4674;POINT (-39.028726 -3.364725)'))) / (select extract(epoch from '2026-07-17 18:22:12'::timestamp) - extract(epoch from '2026-07-17 18:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028759 -3.3647)'), GeomFromEWKT('SRID=4674;POINT (-39.028726 -3.364725)'))) / (select extract(epoch from '2026-07-17 18:22:12'::timestamp) - extract(epoch from '2026-07-17 18:22: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'), 47442, 'SRID=4674;POINT (-39.028688 -3.36475)', '2026-07-17 18:22:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028726 -3.364725)'), GeomFromEWKT('SRID=4674;POINT (-39.028688 -3.36475)'))) / (select extract(epoch from '2026-07-17 18:22:20'::timestamp) - extract(epoch from '2026-07-17 18:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028726 -3.364725)'), GeomFromEWKT('SRID=4674;POINT (-39.028688 -3.36475)'))) / (select extract(epoch from '2026-07-17 18:22:20'::timestamp) - extract(epoch from '2026-07-17 18:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028676 -3.364759)', '2026-07-17 18:22:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028688 -3.36475)'), GeomFromEWKT('SRID=4674;POINT (-39.028676 -3.364759)'))) / (select extract(epoch from '2026-07-17 18:22:23'::timestamp) - extract(epoch from '2026-07-17 18:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028688 -3.36475)'), GeomFromEWKT('SRID=4674;POINT (-39.028676 -3.364759)'))) / (select extract(epoch from '2026-07-17 18:22:23'::timestamp) - extract(epoch from '2026-07-17 18:22: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'), 47442, 'SRID=4674;POINT (-39.028658 -3.36477)', '2026-07-17 18:22:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028676 -3.364759)'), GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.36477)'))) / (select extract(epoch from '2026-07-17 18:22:26'::timestamp) - extract(epoch from '2026-07-17 18:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028676 -3.364759)'), GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.36477)'))) / (select extract(epoch from '2026-07-17 18:22:26'::timestamp) - extract(epoch from '2026-07-17 18:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028637 -3.364811)', '2026-07-17 18:22:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.36477)'), GeomFromEWKT('SRID=4674;POINT (-39.028637 -3.364811)'))) / (select extract(epoch from '2026-07-17 18:22:34'::timestamp) - extract(epoch from '2026-07-17 18:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.36477)'), GeomFromEWKT('SRID=4674;POINT (-39.028637 -3.364811)'))) / (select extract(epoch from '2026-07-17 18:22:34'::timestamp) - extract(epoch from '2026-07-17 18:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028602 -3.364834)', '2026-07-17 18:22:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028637 -3.364811)'), GeomFromEWKT('SRID=4674;POINT (-39.028602 -3.364834)'))) / (select extract(epoch from '2026-07-17 18:22:42'::timestamp) - extract(epoch from '2026-07-17 18:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028637 -3.364811)'), GeomFromEWKT('SRID=4674;POINT (-39.028602 -3.364834)'))) / (select extract(epoch from '2026-07-17 18:22:42'::timestamp) - extract(epoch from '2026-07-17 18:22: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'), 47442, 'SRID=4674;POINT (-39.028573 -3.364849)', '2026-07-17 18:22:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028602 -3.364834)'), GeomFromEWKT('SRID=4674;POINT (-39.028573 -3.364849)'))) / (select extract(epoch from '2026-07-17 18:22:50'::timestamp) - extract(epoch from '2026-07-17 18:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028602 -3.364834)'), GeomFromEWKT('SRID=4674;POINT (-39.028573 -3.364849)'))) / (select extract(epoch from '2026-07-17 18:22:50'::timestamp) - extract(epoch from '2026-07-17 18:22: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'), 47442, 'SRID=4674;POINT (-39.028563 -3.364884)', '2026-07-17 18:22:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028573 -3.364849)'), GeomFromEWKT('SRID=4674;POINT (-39.028563 -3.364884)'))) / (select extract(epoch from '2026-07-17 18:22:58'::timestamp) - extract(epoch from '2026-07-17 18:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028573 -3.364849)'), GeomFromEWKT('SRID=4674;POINT (-39.028563 -3.364884)'))) / (select extract(epoch from '2026-07-17 18:22:58'::timestamp) - extract(epoch from '2026-07-17 18:22: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'), 47442, 'SRID=4674;POINT (-39.028543 -3.364905)', '2026-07-17 18:23:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028563 -3.364884)'), GeomFromEWKT('SRID=4674;POINT (-39.028543 -3.364905)'))) / (select extract(epoch from '2026-07-17 18:23:04'::timestamp) - extract(epoch from '2026-07-17 18:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028563 -3.364884)'), GeomFromEWKT('SRID=4674;POINT (-39.028543 -3.364905)'))) / (select extract(epoch from '2026-07-17 18:23:04'::timestamp) - extract(epoch from '2026-07-17 18:22: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'), 47442, 'SRID=4674;POINT (-39.028499 -3.364907)', '2026-07-17 18:23:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028543 -3.364905)'), GeomFromEWKT('SRID=4674;POINT (-39.028499 -3.364907)'))) / (select extract(epoch from '2026-07-17 18:23:12'::timestamp) - extract(epoch from '2026-07-17 18:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028543 -3.364905)'), GeomFromEWKT('SRID=4674;POINT (-39.028499 -3.364907)'))) / (select extract(epoch from '2026-07-17 18:23:12'::timestamp) - extract(epoch from '2026-07-17 18:23: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'), 47442, 'SRID=4674;POINT (-39.028472 -3.364927)', '2026-07-17 18:23:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028499 -3.364907)'), GeomFromEWKT('SRID=4674;POINT (-39.028472 -3.364927)'))) / (select extract(epoch from '2026-07-17 18:23:20'::timestamp) - extract(epoch from '2026-07-17 18:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028499 -3.364907)'), GeomFromEWKT('SRID=4674;POINT (-39.028472 -3.364927)'))) / (select extract(epoch from '2026-07-17 18:23:20'::timestamp) - extract(epoch from '2026-07-17 18:23: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'), 47442, 'SRID=4674;POINT (-39.028437 -3.364954)', '2026-07-17 18:23:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028472 -3.364927)'), GeomFromEWKT('SRID=4674;POINT (-39.028437 -3.364954)'))) / (select extract(epoch from '2026-07-17 18:23:28'::timestamp) - extract(epoch from '2026-07-17 18:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028472 -3.364927)'), GeomFromEWKT('SRID=4674;POINT (-39.028437 -3.364954)'))) / (select extract(epoch from '2026-07-17 18:23:28'::timestamp) - extract(epoch from '2026-07-17 18:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028395 -3.364989)', '2026-07-17 18:23:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028437 -3.364954)'), GeomFromEWKT('SRID=4674;POINT (-39.028395 -3.364989)'))) / (select extract(epoch from '2026-07-17 18:23:37'::timestamp) - extract(epoch from '2026-07-17 18:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028437 -3.364954)'), GeomFromEWKT('SRID=4674;POINT (-39.028395 -3.364989)'))) / (select extract(epoch from '2026-07-17 18:23:37'::timestamp) - extract(epoch from '2026-07-17 18:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028388 -3.36499)', '2026-07-17 18:23:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028395 -3.364989)'), GeomFromEWKT('SRID=4674;POINT (-39.028388 -3.36499)'))) / (select extract(epoch from '2026-07-17 18:23:38'::timestamp) - extract(epoch from '2026-07-17 18:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028395 -3.364989)'), GeomFromEWKT('SRID=4674;POINT (-39.028388 -3.36499)'))) / (select extract(epoch from '2026-07-17 18:23:38'::timestamp) - extract(epoch from '2026-07-17 18:23: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'), 47442, 'SRID=4674;POINT (-39.028366 -3.364993)', '2026-07-17 18:23:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028388 -3.36499)'), GeomFromEWKT('SRID=4674;POINT (-39.028366 -3.364993)'))) / (select extract(epoch from '2026-07-17 18:23:43'::timestamp) - extract(epoch from '2026-07-17 18:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028388 -3.36499)'), GeomFromEWKT('SRID=4674;POINT (-39.028366 -3.364993)'))) / (select extract(epoch from '2026-07-17 18:23:43'::timestamp) - extract(epoch from '2026-07-17 18:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028342 -3.365007)', '2026-07-17 18:23:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028366 -3.364993)'), GeomFromEWKT('SRID=4674;POINT (-39.028342 -3.365007)'))) / (select extract(epoch from '2026-07-17 18:23:49'::timestamp) - extract(epoch from '2026-07-17 18:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028366 -3.364993)'), GeomFromEWKT('SRID=4674;POINT (-39.028342 -3.365007)'))) / (select extract(epoch from '2026-07-17 18:23:49'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.028314 -3.36501)', '2026-07-17 18:23:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028342 -3.365007)'), GeomFromEWKT('SRID=4674;POINT (-39.028314 -3.36501)'))) / (select extract(epoch from '2026-07-17 18:23:55'::timestamp) - extract(epoch from '2026-07-17 18:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028342 -3.365007)'), GeomFromEWKT('SRID=4674;POINT (-39.028314 -3.36501)'))) / (select extract(epoch from '2026-07-17 18:23:55'::timestamp) - extract(epoch from '2026-07-17 18:23:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028282 -3.365033)', '2026-07-17 18:24:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028314 -3.36501)'), GeomFromEWKT('SRID=4674;POINT (-39.028282 -3.365033)'))) / (select extract(epoch from '2026-07-17 18:24:04'::timestamp) - extract(epoch from '2026-07-17 18:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028314 -3.36501)'), GeomFromEWKT('SRID=4674;POINT (-39.028282 -3.365033)'))) / (select extract(epoch from '2026-07-17 18:24:04'::timestamp) - extract(epoch from '2026-07-17 18:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028253 -3.365076)', '2026-07-17 18:24:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028282 -3.365033)'), GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.365076)'))) / (select extract(epoch from '2026-07-17 18:24:13'::timestamp) - extract(epoch from '2026-07-17 18:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028282 -3.365033)'), GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.365076)'))) / (select extract(epoch from '2026-07-17 18:24:13'::timestamp) - extract(epoch from '2026-07-17 18:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028238 -3.365102)', '2026-07-17 18:24:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.365076)'), GeomFromEWKT('SRID=4674;POINT (-39.028238 -3.365102)'))) / (select extract(epoch from '2026-07-17 18:24:20'::timestamp) - extract(epoch from '2026-07-17 18:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.365076)'), GeomFromEWKT('SRID=4674;POINT (-39.028238 -3.365102)'))) / (select extract(epoch from '2026-07-17 18:24:20'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.028223 -3.365112)', '2026-07-17 18:24:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028238 -3.365102)'), GeomFromEWKT('SRID=4674;POINT (-39.028223 -3.365112)'))) / (select extract(epoch from '2026-07-17 18:24:26'::timestamp) - extract(epoch from '2026-07-17 18:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028238 -3.365102)'), GeomFromEWKT('SRID=4674;POINT (-39.028223 -3.365112)'))) / (select extract(epoch from '2026-07-17 18:24:26'::timestamp) - extract(epoch from '2026-07-17 18:24: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'), 47442, 'SRID=4674;POINT (-39.028205 -3.365142)', '2026-07-17 18:24:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028223 -3.365112)'), GeomFromEWKT('SRID=4674;POINT (-39.028205 -3.365142)'))) / (select extract(epoch from '2026-07-17 18:24:34'::timestamp) - extract(epoch from '2026-07-17 18:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028223 -3.365112)'), GeomFromEWKT('SRID=4674;POINT (-39.028205 -3.365142)'))) / (select extract(epoch from '2026-07-17 18:24:34'::timestamp) - extract(epoch from '2026-07-17 18:24: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'), 47442, 'SRID=4674;POINT (-39.0282 -3.365147)', '2026-07-17 18:24:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028205 -3.365142)'), GeomFromEWKT('SRID=4674;POINT (-39.0282 -3.365147)'))) / (select extract(epoch from '2026-07-17 18:24:35'::timestamp) - extract(epoch from '2026-07-17 18:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028205 -3.365142)'), GeomFromEWKT('SRID=4674;POINT (-39.0282 -3.365147)'))) / (select extract(epoch from '2026-07-17 18:24:35'::timestamp) - extract(epoch from '2026-07-17 18:24: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'), 47442, 'SRID=4674;POINT (-39.028191 -3.365161)', '2026-07-17 18:24:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0282 -3.365147)'), GeomFromEWKT('SRID=4674;POINT (-39.028191 -3.365161)'))) / (select extract(epoch from '2026-07-17 18:24:39'::timestamp) - extract(epoch from '2026-07-17 18:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0282 -3.365147)'), GeomFromEWKT('SRID=4674;POINT (-39.028191 -3.365161)'))) / (select extract(epoch from '2026-07-17 18:24:39'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.028182 -3.365164)', '2026-07-17 18:24:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028191 -3.365161)'), GeomFromEWKT('SRID=4674;POINT (-39.028182 -3.365164)'))) / (select extract(epoch from '2026-07-17 18:24:40'::timestamp) - extract(epoch from '2026-07-17 18:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028191 -3.365161)'), GeomFromEWKT('SRID=4674;POINT (-39.028182 -3.365164)'))) / (select extract(epoch from '2026-07-17 18:24:40'::timestamp) - extract(epoch from '2026-07-17 18:24: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'), 47442, 'SRID=4674;POINT (-39.028154 -3.365178)', '2026-07-17 18:24:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028182 -3.365164)'), GeomFromEWKT('SRID=4674;POINT (-39.028154 -3.365178)'))) / (select extract(epoch from '2026-07-17 18:24:46'::timestamp) - extract(epoch from '2026-07-17 18:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028182 -3.365164)'), GeomFromEWKT('SRID=4674;POINT (-39.028154 -3.365178)'))) / (select extract(epoch from '2026-07-17 18:24:46'::timestamp) - extract(epoch from '2026-07-17 18:24: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'), 47442, 'SRID=4674;POINT (-39.028131 -3.365188)', '2026-07-17 18:24:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028154 -3.365178)'), GeomFromEWKT('SRID=4674;POINT (-39.028131 -3.365188)'))) / (select extract(epoch from '2026-07-17 18:24:52'::timestamp) - extract(epoch from '2026-07-17 18:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028154 -3.365178)'), GeomFromEWKT('SRID=4674;POINT (-39.028131 -3.365188)'))) / (select extract(epoch from '2026-07-17 18:24:52'::timestamp) - extract(epoch from '2026-07-17 18:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028116 -3.365198)', '2026-07-17 18:24:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028131 -3.365188)'), GeomFromEWKT('SRID=4674;POINT (-39.028116 -3.365198)'))) / (select extract(epoch from '2026-07-17 18:24:58'::timestamp) - extract(epoch from '2026-07-17 18:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028131 -3.365188)'), GeomFromEWKT('SRID=4674;POINT (-39.028116 -3.365198)'))) / (select extract(epoch from '2026-07-17 18:24:58'::timestamp) - extract(epoch from '2026-07-17 18:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028079 -3.36522)', '2026-07-17 18:25:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028116 -3.365198)'), GeomFromEWKT('SRID=4674;POINT (-39.028079 -3.36522)'))) / (select extract(epoch from '2026-07-17 18:25:07'::timestamp) - extract(epoch from '2026-07-17 18:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028116 -3.365198)'), GeomFromEWKT('SRID=4674;POINT (-39.028079 -3.36522)'))) / (select extract(epoch from '2026-07-17 18:25:07'::timestamp) - extract(epoch from '2026-07-17 18:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028047 -3.365238)', '2026-07-17 18:25:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028079 -3.36522)'), GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.365238)'))) / (select extract(epoch from '2026-07-17 18:25:14'::timestamp) - extract(epoch from '2026-07-17 18:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028079 -3.36522)'), GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.365238)'))) / (select extract(epoch from '2026-07-17 18:25:14'::timestamp) - extract(epoch from '2026-07-17 18:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028019 -3.365244)', '2026-07-17 18:25:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.365238)'), GeomFromEWKT('SRID=4674;POINT (-39.028019 -3.365244)'))) / (select extract(epoch from '2026-07-17 18:25:22'::timestamp) - extract(epoch from '2026-07-17 18:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.365238)'), GeomFromEWKT('SRID=4674;POINT (-39.028019 -3.365244)'))) / (select extract(epoch from '2026-07-17 18:25:22'::timestamp) - extract(epoch from '2026-07-17 18:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027982 -3.365254)', '2026-07-17 18:25:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028019 -3.365244)'), GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.365254)'))) / (select extract(epoch from '2026-07-17 18:25:30'::timestamp) - extract(epoch from '2026-07-17 18:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028019 -3.365244)'), GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.365254)'))) / (select extract(epoch from '2026-07-17 18:25:30'::timestamp) - extract(epoch from '2026-07-17 18:25: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'), 47442, 'SRID=4674;POINT (-39.027946 -3.365273)', '2026-07-17 18:25:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.365254)'), GeomFromEWKT('SRID=4674;POINT (-39.027946 -3.365273)'))) / (select extract(epoch from '2026-07-17 18:25:39'::timestamp) - extract(epoch from '2026-07-17 18:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.365254)'), GeomFromEWKT('SRID=4674;POINT (-39.027946 -3.365273)'))) / (select extract(epoch from '2026-07-17 18:25:39'::timestamp) - extract(epoch from '2026-07-17 18:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027929 -3.365285)', '2026-07-17 18:25:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027946 -3.365273)'), GeomFromEWKT('SRID=4674;POINT (-39.027929 -3.365285)'))) / (select extract(epoch from '2026-07-17 18:25:47'::timestamp) - extract(epoch from '2026-07-17 18:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027946 -3.365273)'), GeomFromEWKT('SRID=4674;POINT (-39.027929 -3.365285)'))) / (select extract(epoch from '2026-07-17 18:25:47'::timestamp) - extract(epoch from '2026-07-17 18:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027908 -3.365304)', '2026-07-17 18:25:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027929 -3.365285)'), GeomFromEWKT('SRID=4674;POINT (-39.027908 -3.365304)'))) / (select extract(epoch from '2026-07-17 18:25:53'::timestamp) - extract(epoch from '2026-07-17 18:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027929 -3.365285)'), GeomFromEWKT('SRID=4674;POINT (-39.027908 -3.365304)'))) / (select extract(epoch from '2026-07-17 18:25:53'::timestamp) - extract(epoch from '2026-07-17 18:25:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02786 -3.365326)', '2026-07-17 18:26:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027908 -3.365304)'), GeomFromEWKT('SRID=4674;POINT (-39.02786 -3.365326)'))) / (select extract(epoch from '2026-07-17 18:26:01'::timestamp) - extract(epoch from '2026-07-17 18:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027908 -3.365304)'), GeomFromEWKT('SRID=4674;POINT (-39.02786 -3.365326)'))) / (select extract(epoch from '2026-07-17 18:26:01'::timestamp) - extract(epoch from '2026-07-17 18:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027837 -3.365345)', '2026-07-17 18:26:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02786 -3.365326)'), GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.365345)'))) / (select extract(epoch from '2026-07-17 18:26:08'::timestamp) - extract(epoch from '2026-07-17 18:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02786 -3.365326)'), GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.365345)'))) / (select extract(epoch from '2026-07-17 18:26:08'::timestamp) - extract(epoch from '2026-07-17 18:26:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027807 -3.365358)', '2026-07-17 18:26:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.365345)'), GeomFromEWKT('SRID=4674;POINT (-39.027807 -3.365358)'))) / (select extract(epoch from '2026-07-17 18:26:16'::timestamp) - extract(epoch from '2026-07-17 18:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027837 -3.365345)'), GeomFromEWKT('SRID=4674;POINT (-39.027807 -3.365358)'))) / (select extract(epoch from '2026-07-17 18:26:16'::timestamp) - extract(epoch from '2026-07-17 18:26: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'), 47442, 'SRID=4674;POINT (-39.027774 -3.365376)', '2026-07-17 18:26:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027807 -3.365358)'), GeomFromEWKT('SRID=4674;POINT (-39.027774 -3.365376)'))) / (select extract(epoch from '2026-07-17 18:26:24'::timestamp) - extract(epoch from '2026-07-17 18:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027807 -3.365358)'), GeomFromEWKT('SRID=4674;POINT (-39.027774 -3.365376)'))) / (select extract(epoch from '2026-07-17 18:26:24'::timestamp) - extract(epoch from '2026-07-17 18:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02776 -3.365386)', '2026-07-17 18:26:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027774 -3.365376)'), GeomFromEWKT('SRID=4674;POINT (-39.02776 -3.365386)'))) / (select extract(epoch from '2026-07-17 18:26:32'::timestamp) - extract(epoch from '2026-07-17 18:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027774 -3.365376)'), GeomFromEWKT('SRID=4674;POINT (-39.02776 -3.365386)'))) / (select extract(epoch from '2026-07-17 18:26:32'::timestamp) - extract(epoch from '2026-07-17 18:26: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'), 47442, 'SRID=4674;POINT (-39.027719 -3.365376)', '2026-07-17 18:26:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02776 -3.365386)'), GeomFromEWKT('SRID=4674;POINT (-39.027719 -3.365376)'))) / (select extract(epoch from '2026-07-17 18:26:40'::timestamp) - extract(epoch from '2026-07-17 18:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02776 -3.365386)'), GeomFromEWKT('SRID=4674;POINT (-39.027719 -3.365376)'))) / (select extract(epoch from '2026-07-17 18:26:40'::timestamp) - extract(epoch from '2026-07-17 18:26: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'), 47442, 'SRID=4674;POINT (-39.027695 -3.365385)', '2026-07-17 18:26:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027719 -3.365376)'), GeomFromEWKT('SRID=4674;POINT (-39.027695 -3.365385)'))) / (select extract(epoch from '2026-07-17 18:26:48'::timestamp) - extract(epoch from '2026-07-17 18:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027719 -3.365376)'), GeomFromEWKT('SRID=4674;POINT (-39.027695 -3.365385)'))) / (select extract(epoch from '2026-07-17 18:26:48'::timestamp) - extract(epoch from '2026-07-17 18:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027666 -3.365402)', '2026-07-17 18:26:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027695 -3.365385)'), GeomFromEWKT('SRID=4674;POINT (-39.027666 -3.365402)'))) / (select extract(epoch from '2026-07-17 18:26:55'::timestamp) - extract(epoch from '2026-07-17 18:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027695 -3.365385)'), GeomFromEWKT('SRID=4674;POINT (-39.027666 -3.365402)'))) / (select extract(epoch from '2026-07-17 18:26:55'::timestamp) - extract(epoch from '2026-07-17 18:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027627 -3.365413)', '2026-07-17 18:27:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027666 -3.365402)'), GeomFromEWKT('SRID=4674;POINT (-39.027627 -3.365413)'))) / (select extract(epoch from '2026-07-17 18:27:03'::timestamp) - extract(epoch from '2026-07-17 18:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027666 -3.365402)'), GeomFromEWKT('SRID=4674;POINT (-39.027627 -3.365413)'))) / (select extract(epoch from '2026-07-17 18:27:03'::timestamp) - extract(epoch from '2026-07-17 18:26: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'), 47442, 'SRID=4674;POINT (-39.027606 -3.36543)', '2026-07-17 18:27:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027627 -3.365413)'), GeomFromEWKT('SRID=4674;POINT (-39.027606 -3.36543)'))) / (select extract(epoch from '2026-07-17 18:27:08'::timestamp) - extract(epoch from '2026-07-17 18:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027627 -3.365413)'), GeomFromEWKT('SRID=4674;POINT (-39.027606 -3.36543)'))) / (select extract(epoch from '2026-07-17 18:27:08'::timestamp) - extract(epoch from '2026-07-17 18:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027586 -3.365437)', '2026-07-17 18:27:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027606 -3.36543)'), GeomFromEWKT('SRID=4674;POINT (-39.027586 -3.365437)'))) / (select extract(epoch from '2026-07-17 18:27:13'::timestamp) - extract(epoch from '2026-07-17 18:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027606 -3.36543)'), GeomFromEWKT('SRID=4674;POINT (-39.027586 -3.365437)'))) / (select extract(epoch from '2026-07-17 18:27:13'::timestamp) - extract(epoch from '2026-07-17 18:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027554 -3.36545)', '2026-07-17 18:27:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027586 -3.365437)'), GeomFromEWKT('SRID=4674;POINT (-39.027554 -3.36545)'))) / (select extract(epoch from '2026-07-17 18:27:22'::timestamp) - extract(epoch from '2026-07-17 18:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027586 -3.365437)'), GeomFromEWKT('SRID=4674;POINT (-39.027554 -3.36545)'))) / (select extract(epoch from '2026-07-17 18:27:22'::timestamp) - extract(epoch from '2026-07-17 18:27: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'), 47442, 'SRID=4674;POINT (-39.027519 -3.365456)', '2026-07-17 18:27:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027554 -3.36545)'), GeomFromEWKT('SRID=4674;POINT (-39.027519 -3.365456)'))) / (select extract(epoch from '2026-07-17 18:27:30'::timestamp) - extract(epoch from '2026-07-17 18:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027554 -3.36545)'), GeomFromEWKT('SRID=4674;POINT (-39.027519 -3.365456)'))) / (select extract(epoch from '2026-07-17 18:27:30'::timestamp) - extract(epoch from '2026-07-17 18:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027476 -3.365485)', '2026-07-17 18:27:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027519 -3.365456)'), GeomFromEWKT('SRID=4674;POINT (-39.027476 -3.365485)'))) / (select extract(epoch from '2026-07-17 18:27:40'::timestamp) - extract(epoch from '2026-07-17 18:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027519 -3.365456)'), GeomFromEWKT('SRID=4674;POINT (-39.027476 -3.365485)'))) / (select extract(epoch from '2026-07-17 18:27:40'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.027431 -3.365499)', '2026-07-17 18:27:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027476 -3.365485)'), GeomFromEWKT('SRID=4674;POINT (-39.027431 -3.365499)'))) / (select extract(epoch from '2026-07-17 18:27:48'::timestamp) - extract(epoch from '2026-07-17 18:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027476 -3.365485)'), GeomFromEWKT('SRID=4674;POINT (-39.027431 -3.365499)'))) / (select extract(epoch from '2026-07-17 18:27:48'::timestamp) - extract(epoch from '2026-07-17 18:27: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'), 47442, 'SRID=4674;POINT (-39.027382 -3.365516)', '2026-07-17 18:27:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027431 -3.365499)'), GeomFromEWKT('SRID=4674;POINT (-39.027382 -3.365516)'))) / (select extract(epoch from '2026-07-17 18:27:59'::timestamp) - extract(epoch from '2026-07-17 18:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027431 -3.365499)'), GeomFromEWKT('SRID=4674;POINT (-39.027382 -3.365516)'))) / (select extract(epoch from '2026-07-17 18:27:59'::timestamp) - extract(epoch from '2026-07-17 18:27: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'), 47442, 'SRID=4674;POINT (-39.02738 -3.365521)', '2026-07-17 18:28:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027382 -3.365516)'), GeomFromEWKT('SRID=4674;POINT (-39.02738 -3.365521)'))) / (select extract(epoch from '2026-07-17 18:28:02'::timestamp) - extract(epoch from '2026-07-17 18:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027382 -3.365516)'), GeomFromEWKT('SRID=4674;POINT (-39.02738 -3.365521)'))) / (select extract(epoch from '2026-07-17 18:28:02'::timestamp) - extract(epoch from '2026-07-17 18:27: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'), 47442, 'SRID=4674;POINT (-39.027368 -3.365524)', '2026-07-17 18:28:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02738 -3.365521)'), GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.365524)'))) / (select extract(epoch from '2026-07-17 18:28:05'::timestamp) - extract(epoch from '2026-07-17 18:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02738 -3.365521)'), GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.365524)'))) / (select extract(epoch from '2026-07-17 18:28:05'::timestamp) - extract(epoch from '2026-07-17 18:28: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'), 47442, 'SRID=4674;POINT (-39.027334 -3.365541)', '2026-07-17 18:28:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.365524)'), GeomFromEWKT('SRID=4674;POINT (-39.027334 -3.365541)'))) / (select extract(epoch from '2026-07-17 18:28:12'::timestamp) - extract(epoch from '2026-07-17 18:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027368 -3.365524)'), GeomFromEWKT('SRID=4674;POINT (-39.027334 -3.365541)'))) / (select extract(epoch from '2026-07-17 18:28:12'::timestamp) - extract(epoch from '2026-07-17 18:28: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'), 47442, 'SRID=4674;POINT (-39.027302 -3.365552)', '2026-07-17 18:28:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027334 -3.365541)'), GeomFromEWKT('SRID=4674;POINT (-39.027302 -3.365552)'))) / (select extract(epoch from '2026-07-17 18:28:19'::timestamp) - extract(epoch from '2026-07-17 18:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027334 -3.365541)'), GeomFromEWKT('SRID=4674;POINT (-39.027302 -3.365552)'))) / (select extract(epoch from '2026-07-17 18:28:19'::timestamp) - extract(epoch from '2026-07-17 18:28:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027282 -3.365555)', '2026-07-17 18:28:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027302 -3.365552)'), GeomFromEWKT('SRID=4674;POINT (-39.027282 -3.365555)'))) / (select extract(epoch from '2026-07-17 18:28:24'::timestamp) - extract(epoch from '2026-07-17 18:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027302 -3.365552)'), GeomFromEWKT('SRID=4674;POINT (-39.027282 -3.365555)'))) / (select extract(epoch from '2026-07-17 18:28:24'::timestamp) - extract(epoch from '2026-07-17 18:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027246 -3.365575)', '2026-07-17 18:28:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027282 -3.365555)'), GeomFromEWKT('SRID=4674;POINT (-39.027246 -3.365575)'))) / (select extract(epoch from '2026-07-17 18:28:32'::timestamp) - extract(epoch from '2026-07-17 18:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027282 -3.365555)'), GeomFromEWKT('SRID=4674;POINT (-39.027246 -3.365575)'))) / (select extract(epoch from '2026-07-17 18:28:32'::timestamp) - extract(epoch from '2026-07-17 18:28: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'), 47442, 'SRID=4674;POINT (-39.027223 -3.365589)', '2026-07-17 18:28:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027246 -3.365575)'), GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.365589)'))) / (select extract(epoch from '2026-07-17 18:28:38'::timestamp) - extract(epoch from '2026-07-17 18:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027246 -3.365575)'), GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.365589)'))) / (select extract(epoch from '2026-07-17 18:28:38'::timestamp) - extract(epoch from '2026-07-17 18:28: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'), 47442, 'SRID=4674;POINT (-39.027183 -3.365601)', '2026-07-17 18:28:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.365589)'), GeomFromEWKT('SRID=4674;POINT (-39.027183 -3.365601)'))) / (select extract(epoch from '2026-07-17 18:28:45'::timestamp) - extract(epoch from '2026-07-17 18:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027223 -3.365589)'), GeomFromEWKT('SRID=4674;POINT (-39.027183 -3.365601)'))) / (select extract(epoch from '2026-07-17 18:28:45'::timestamp) - extract(epoch from '2026-07-17 18:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027143 -3.36561)', '2026-07-17 18:28:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027183 -3.365601)'), GeomFromEWKT('SRID=4674;POINT (-39.027143 -3.36561)'))) / (select extract(epoch from '2026-07-17 18:28:53'::timestamp) - extract(epoch from '2026-07-17 18:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027183 -3.365601)'), GeomFromEWKT('SRID=4674;POINT (-39.027143 -3.36561)'))) / (select extract(epoch from '2026-07-17 18:28:53'::timestamp) - extract(epoch from '2026-07-17 18:28: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'), 47442, 'SRID=4674;POINT (-39.02711 -3.365632)', '2026-07-17 18:29:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027143 -3.36561)'), GeomFromEWKT('SRID=4674;POINT (-39.02711 -3.365632)'))) / (select extract(epoch from '2026-07-17 18:29:01'::timestamp) - extract(epoch from '2026-07-17 18:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027143 -3.36561)'), GeomFromEWKT('SRID=4674;POINT (-39.02711 -3.365632)'))) / (select extract(epoch from '2026-07-17 18:29:01'::timestamp) - extract(epoch from '2026-07-17 18:28: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'), 47442, 'SRID=4674;POINT (-39.027079 -3.365649)', '2026-07-17 18:29:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02711 -3.365632)'), GeomFromEWKT('SRID=4674;POINT (-39.027079 -3.365649)'))) / (select extract(epoch from '2026-07-17 18:29:09'::timestamp) - extract(epoch from '2026-07-17 18:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02711 -3.365632)'), GeomFromEWKT('SRID=4674;POINT (-39.027079 -3.365649)'))) / (select extract(epoch from '2026-07-17 18:29:09'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.027045 -3.365654)', '2026-07-17 18:29:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027079 -3.365649)'), GeomFromEWKT('SRID=4674;POINT (-39.027045 -3.365654)'))) / (select extract(epoch from '2026-07-17 18:29:16'::timestamp) - extract(epoch from '2026-07-17 18:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027079 -3.365649)'), GeomFromEWKT('SRID=4674;POINT (-39.027045 -3.365654)'))) / (select extract(epoch from '2026-07-17 18:29:16'::timestamp) - extract(epoch from '2026-07-17 18:29: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'), 47442, 'SRID=4674;POINT (-39.027019 -3.365679)', '2026-07-17 18:29:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027045 -3.365654)'), GeomFromEWKT('SRID=4674;POINT (-39.027019 -3.365679)'))) / (select extract(epoch from '2026-07-17 18:29:24'::timestamp) - extract(epoch from '2026-07-17 18:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027045 -3.365654)'), GeomFromEWKT('SRID=4674;POINT (-39.027019 -3.365679)'))) / (select extract(epoch from '2026-07-17 18:29:24'::timestamp) - extract(epoch from '2026-07-17 18:29: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'), 47442, 'SRID=4674;POINT (-39.026979 -3.365686)', '2026-07-17 18:29:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027019 -3.365679)'), GeomFromEWKT('SRID=4674;POINT (-39.026979 -3.365686)'))) / (select extract(epoch from '2026-07-17 18:29:32'::timestamp) - extract(epoch from '2026-07-17 18:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027019 -3.365679)'), GeomFromEWKT('SRID=4674;POINT (-39.026979 -3.365686)'))) / (select extract(epoch from '2026-07-17 18:29:32'::timestamp) - extract(epoch from '2026-07-17 18:29: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'), 47442, 'SRID=4674;POINT (-39.026933 -3.365706)', '2026-07-17 18:29:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026979 -3.365686)'), GeomFromEWKT('SRID=4674;POINT (-39.026933 -3.365706)'))) / (select extract(epoch from '2026-07-17 18:29:42'::timestamp) - extract(epoch from '2026-07-17 18:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026979 -3.365686)'), GeomFromEWKT('SRID=4674;POINT (-39.026933 -3.365706)'))) / (select extract(epoch from '2026-07-17 18:29:42'::timestamp) - extract(epoch from '2026-07-17 18:29: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'), 47442, 'SRID=4674;POINT (-39.026909 -3.365721)', '2026-07-17 18:29:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026933 -3.365706)'), GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.365721)'))) / (select extract(epoch from '2026-07-17 18:29:48'::timestamp) - extract(epoch from '2026-07-17 18:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026933 -3.365706)'), GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.365721)'))) / (select extract(epoch from '2026-07-17 18:29:48'::timestamp) - extract(epoch from '2026-07-17 18:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.0269 -3.365721)', '2026-07-17 18:29:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.365721)'), GeomFromEWKT('SRID=4674;POINT (-39.0269 -3.365721)'))) / (select extract(epoch from '2026-07-17 18:29:49'::timestamp) - extract(epoch from '2026-07-17 18:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.365721)'), GeomFromEWKT('SRID=4674;POINT (-39.0269 -3.365721)'))) / (select extract(epoch from '2026-07-17 18:29:49'::timestamp) - extract(epoch from '2026-07-17 18:29: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'), 47442, 'SRID=4674;POINT (-39.026886 -3.365724)', '2026-07-17 18:29:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0269 -3.365721)'), GeomFromEWKT('SRID=4674;POINT (-39.026886 -3.365724)'))) / (select extract(epoch from '2026-07-17 18:29:54'::timestamp) - extract(epoch from '2026-07-17 18:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0269 -3.365721)'), GeomFromEWKT('SRID=4674;POINT (-39.026886 -3.365724)'))) / (select extract(epoch from '2026-07-17 18:29:54'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.026869 -3.365733)', '2026-07-17 18:30:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026886 -3.365724)'), GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.365733)'))) / (select extract(epoch from '2026-07-17 18:30:00'::timestamp) - extract(epoch from '2026-07-17 18:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026886 -3.365724)'), GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.365733)'))) / (select extract(epoch from '2026-07-17 18:30:00'::timestamp) - extract(epoch from '2026-07-17 18:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026866 -3.365734)', '2026-07-17 18:30:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.365733)'), GeomFromEWKT('SRID=4674;POINT (-39.026866 -3.365734)'))) / (select extract(epoch from '2026-07-17 18:30:01'::timestamp) - extract(epoch from '2026-07-17 18:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026869 -3.365733)'), GeomFromEWKT('SRID=4674;POINT (-39.026866 -3.365734)'))) / (select extract(epoch from '2026-07-17 18:30:01'::timestamp) - extract(epoch from '2026-07-17 18:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026845 -3.36574)', '2026-07-17 18:30:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026866 -3.365734)'), GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.36574)'))) / (select extract(epoch from '2026-07-17 18:30:08'::timestamp) - extract(epoch from '2026-07-17 18:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026866 -3.365734)'), GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.36574)'))) / (select extract(epoch from '2026-07-17 18:30:08'::timestamp) - extract(epoch from '2026-07-17 18:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026809 -3.365735)', '2026-07-17 18:30:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.36574)'), GeomFromEWKT('SRID=4674;POINT (-39.026809 -3.365735)'))) / (select extract(epoch from '2026-07-17 18:30:15'::timestamp) - extract(epoch from '2026-07-17 18:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.36574)'), GeomFromEWKT('SRID=4674;POINT (-39.026809 -3.365735)'))) / (select extract(epoch from '2026-07-17 18:30:15'::timestamp) - extract(epoch from '2026-07-17 18:30: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'), 47442, 'SRID=4674;POINT (-39.026797 -3.365754)', '2026-07-17 18:30:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026809 -3.365735)'), GeomFromEWKT('SRID=4674;POINT (-39.026797 -3.365754)'))) / (select extract(epoch from '2026-07-17 18:30:21'::timestamp) - extract(epoch from '2026-07-17 18:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026809 -3.365735)'), GeomFromEWKT('SRID=4674;POINT (-39.026797 -3.365754)'))) / (select extract(epoch from '2026-07-17 18:30:21'::timestamp) - extract(epoch from '2026-07-17 18:30: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'), 47442, 'SRID=4674;POINT (-39.026752 -3.365778)', '2026-07-17 18:30:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026797 -3.365754)'), GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.365778)'))) / (select extract(epoch from '2026-07-17 18:30:30'::timestamp) - extract(epoch from '2026-07-17 18:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026797 -3.365754)'), GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.365778)'))) / (select extract(epoch from '2026-07-17 18:30:30'::timestamp) - extract(epoch from '2026-07-17 18:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026699 -3.365791)', '2026-07-17 18:30:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.365778)'), GeomFromEWKT('SRID=4674;POINT (-39.026699 -3.365791)'))) / (select extract(epoch from '2026-07-17 18:30:38'::timestamp) - extract(epoch from '2026-07-17 18:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.365778)'), GeomFromEWKT('SRID=4674;POINT (-39.026699 -3.365791)'))) / (select extract(epoch from '2026-07-17 18:30:38'::timestamp) - extract(epoch from '2026-07-17 18:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026668 -3.365789)', '2026-07-17 18:30:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026699 -3.365791)'), GeomFromEWKT('SRID=4674;POINT (-39.026668 -3.365789)'))) / (select extract(epoch from '2026-07-17 18:30:45'::timestamp) - extract(epoch from '2026-07-17 18:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026699 -3.365791)'), GeomFromEWKT('SRID=4674;POINT (-39.026668 -3.365789)'))) / (select extract(epoch from '2026-07-17 18:30:45'::timestamp) - extract(epoch from '2026-07-17 18:30: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'), 47442, 'SRID=4674;POINT (-39.026642 -3.365801)', '2026-07-17 18:30:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026668 -3.365789)'), GeomFromEWKT('SRID=4674;POINT (-39.026642 -3.365801)'))) / (select extract(epoch from '2026-07-17 18:30:53'::timestamp) - extract(epoch from '2026-07-17 18:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026668 -3.365789)'), GeomFromEWKT('SRID=4674;POINT (-39.026642 -3.365801)'))) / (select extract(epoch from '2026-07-17 18:30:53'::timestamp) - extract(epoch from '2026-07-17 18:30: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'), 47442, 'SRID=4674;POINT (-39.026603 -3.365828)', '2026-07-17 18:31:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026642 -3.365801)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.365828)'))) / (select extract(epoch from '2026-07-17 18:31:02'::timestamp) - extract(epoch from '2026-07-17 18:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026642 -3.365801)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.365828)'))) / (select extract(epoch from '2026-07-17 18:31:02'::timestamp) - extract(epoch from '2026-07-17 18:30: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'), 47442, 'SRID=4674;POINT (-39.026549 -3.365836)', '2026-07-17 18:31:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.365828)'), GeomFromEWKT('SRID=4674;POINT (-39.026549 -3.365836)'))) / (select extract(epoch from '2026-07-17 18:31:11'::timestamp) - extract(epoch from '2026-07-17 18:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.365828)'), GeomFromEWKT('SRID=4674;POINT (-39.026549 -3.365836)'))) / (select extract(epoch from '2026-07-17 18:31:11'::timestamp) - extract(epoch from '2026-07-17 18:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026516 -3.365851)', '2026-07-17 18:31:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026549 -3.365836)'), GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.365851)'))) / (select extract(epoch from '2026-07-17 18:31:19'::timestamp) - extract(epoch from '2026-07-17 18:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026549 -3.365836)'), GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.365851)'))) / (select extract(epoch from '2026-07-17 18:31:19'::timestamp) - extract(epoch from '2026-07-17 18:31:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026493 -3.365873)', '2026-07-17 18:31:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.365851)'), GeomFromEWKT('SRID=4674;POINT (-39.026493 -3.365873)'))) / (select extract(epoch from '2026-07-17 18:31:26'::timestamp) - extract(epoch from '2026-07-17 18:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.365851)'), GeomFromEWKT('SRID=4674;POINT (-39.026493 -3.365873)'))) / (select extract(epoch from '2026-07-17 18:31:26'::timestamp) - extract(epoch from '2026-07-17 18:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026476 -3.36587)', '2026-07-17 18:31:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026493 -3.365873)'), GeomFromEWKT('SRID=4674;POINT (-39.026476 -3.36587)'))) / (select extract(epoch from '2026-07-17 18:31:34'::timestamp) - extract(epoch from '2026-07-17 18:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026493 -3.365873)'), GeomFromEWKT('SRID=4674;POINT (-39.026476 -3.36587)'))) / (select extract(epoch from '2026-07-17 18:31:34'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.026442 -3.36587)', '2026-07-17 18:31:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026476 -3.36587)'), GeomFromEWKT('SRID=4674;POINT (-39.026442 -3.36587)'))) / (select extract(epoch from '2026-07-17 18:31:42'::timestamp) - extract(epoch from '2026-07-17 18:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026476 -3.36587)'), GeomFromEWKT('SRID=4674;POINT (-39.026442 -3.36587)'))) / (select extract(epoch from '2026-07-17 18:31:42'::timestamp) - extract(epoch from '2026-07-17 18:31: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'), 47442, 'SRID=4674;POINT (-39.026409 -3.365888)', '2026-07-17 18:31:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026442 -3.36587)'), GeomFromEWKT('SRID=4674;POINT (-39.026409 -3.365888)'))) / (select extract(epoch from '2026-07-17 18:31:49'::timestamp) - extract(epoch from '2026-07-17 18:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026442 -3.36587)'), GeomFromEWKT('SRID=4674;POINT (-39.026409 -3.365888)'))) / (select extract(epoch from '2026-07-17 18:31:49'::timestamp) - extract(epoch from '2026-07-17 18:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026376 -3.365901)', '2026-07-17 18:31:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026409 -3.365888)'), GeomFromEWKT('SRID=4674;POINT (-39.026376 -3.365901)'))) / (select extract(epoch from '2026-07-17 18:31:56'::timestamp) - extract(epoch from '2026-07-17 18:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026409 -3.365888)'), GeomFromEWKT('SRID=4674;POINT (-39.026376 -3.365901)'))) / (select extract(epoch from '2026-07-17 18:31:56'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.02636 -3.365897)', '2026-07-17 18:32:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026376 -3.365901)'), GeomFromEWKT('SRID=4674;POINT (-39.02636 -3.365897)'))) / (select extract(epoch from '2026-07-17 18:32:04'::timestamp) - extract(epoch from '2026-07-17 18:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026376 -3.365901)'), GeomFromEWKT('SRID=4674;POINT (-39.02636 -3.365897)'))) / (select extract(epoch from '2026-07-17 18:32:04'::timestamp) - extract(epoch from '2026-07-17 18:31: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'), 47442, 'SRID=4674;POINT (-39.026333 -3.365896)', '2026-07-17 18:32:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02636 -3.365897)'), GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.365896)'))) / (select extract(epoch from '2026-07-17 18:32:12'::timestamp) - extract(epoch from '2026-07-17 18:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02636 -3.365897)'), GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.365896)'))) / (select extract(epoch from '2026-07-17 18:32:12'::timestamp) - extract(epoch from '2026-07-17 18:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026309 -3.365916)', '2026-07-17 18:32:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.365896)'), GeomFromEWKT('SRID=4674;POINT (-39.026309 -3.365916)'))) / (select extract(epoch from '2026-07-17 18:32:19'::timestamp) - extract(epoch from '2026-07-17 18:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.365896)'), GeomFromEWKT('SRID=4674;POINT (-39.026309 -3.365916)'))) / (select extract(epoch from '2026-07-17 18:32:19'::timestamp) - extract(epoch from '2026-07-17 18:32: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'), 47442, 'SRID=4674;POINT (-39.026286 -3.365926)', '2026-07-17 18:32:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026309 -3.365916)'), GeomFromEWKT('SRID=4674;POINT (-39.026286 -3.365926)'))) / (select extract(epoch from '2026-07-17 18:32:28'::timestamp) - extract(epoch from '2026-07-17 18:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026309 -3.365916)'), GeomFromEWKT('SRID=4674;POINT (-39.026286 -3.365926)'))) / (select extract(epoch from '2026-07-17 18:32:28'::timestamp) - extract(epoch from '2026-07-17 18:32: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'), 47442, 'SRID=4674;POINT (-39.026247 -3.365926)', '2026-07-17 18:32:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026286 -3.365926)'), GeomFromEWKT('SRID=4674;POINT (-39.026247 -3.365926)'))) / (select extract(epoch from '2026-07-17 18:32:36'::timestamp) - extract(epoch from '2026-07-17 18:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026286 -3.365926)'), GeomFromEWKT('SRID=4674;POINT (-39.026247 -3.365926)'))) / (select extract(epoch from '2026-07-17 18:32:36'::timestamp) - extract(epoch from '2026-07-17 18:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026212 -3.365943)', '2026-07-17 18:32:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026247 -3.365926)'), GeomFromEWKT('SRID=4674;POINT (-39.026212 -3.365943)'))) / (select extract(epoch from '2026-07-17 18:32:44'::timestamp) - extract(epoch from '2026-07-17 18:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026247 -3.365926)'), GeomFromEWKT('SRID=4674;POINT (-39.026212 -3.365943)'))) / (select extract(epoch from '2026-07-17 18:32:44'::timestamp) - extract(epoch from '2026-07-17 18:32: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'), 47442, 'SRID=4674;POINT (-39.026178 -3.36595)', '2026-07-17 18:32:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026212 -3.365943)'), GeomFromEWKT('SRID=4674;POINT (-39.026178 -3.36595)'))) / (select extract(epoch from '2026-07-17 18:32:51'::timestamp) - extract(epoch from '2026-07-17 18:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026212 -3.365943)'), GeomFromEWKT('SRID=4674;POINT (-39.026178 -3.36595)'))) / (select extract(epoch from '2026-07-17 18:32:51'::timestamp) - extract(epoch from '2026-07-17 18:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026166 -3.365951)', '2026-07-17 18:32:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026178 -3.36595)'), GeomFromEWKT('SRID=4674;POINT (-39.026166 -3.365951)'))) / (select extract(epoch from '2026-07-17 18:32:58'::timestamp) - extract(epoch from '2026-07-17 18:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026178 -3.36595)'), GeomFromEWKT('SRID=4674;POINT (-39.026166 -3.365951)'))) / (select extract(epoch from '2026-07-17 18:32:58'::timestamp) - extract(epoch from '2026-07-17 18:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026147 -3.365934)', '2026-07-17 18:33:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026166 -3.365951)'), GeomFromEWKT('SRID=4674;POINT (-39.026147 -3.365934)'))) / (select extract(epoch from '2026-07-17 18:33:06'::timestamp) - extract(epoch from '2026-07-17 18:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026166 -3.365951)'), GeomFromEWKT('SRID=4674;POINT (-39.026147 -3.365934)'))) / (select extract(epoch from '2026-07-17 18:33:06'::timestamp) - extract(epoch from '2026-07-17 18:32: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'), 47442, 'SRID=4674;POINT (-39.026116 -3.365945)', '2026-07-17 18:33:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026147 -3.365934)'), GeomFromEWKT('SRID=4674;POINT (-39.026116 -3.365945)'))) / (select extract(epoch from '2026-07-17 18:33:15'::timestamp) - extract(epoch from '2026-07-17 18:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026147 -3.365934)'), GeomFromEWKT('SRID=4674;POINT (-39.026116 -3.365945)'))) / (select extract(epoch from '2026-07-17 18:33:15'::timestamp) - extract(epoch from '2026-07-17 18:33: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'), 47442, 'SRID=4674;POINT (-39.026073 -3.365956)', '2026-07-17 18:33:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026116 -3.365945)'), GeomFromEWKT('SRID=4674;POINT (-39.026073 -3.365956)'))) / (select extract(epoch from '2026-07-17 18:33:25'::timestamp) - extract(epoch from '2026-07-17 18:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026116 -3.365945)'), GeomFromEWKT('SRID=4674;POINT (-39.026073 -3.365956)'))) / (select extract(epoch from '2026-07-17 18:33:25'::timestamp) - extract(epoch from '2026-07-17 18:33: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'), 47442, 'SRID=4674;POINT (-39.026022 -3.365968)', '2026-07-17 18:33:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026073 -3.365956)'), GeomFromEWKT('SRID=4674;POINT (-39.026022 -3.365968)'))) / (select extract(epoch from '2026-07-17 18:33:34'::timestamp) - extract(epoch from '2026-07-17 18:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026073 -3.365956)'), GeomFromEWKT('SRID=4674;POINT (-39.026022 -3.365968)'))) / (select extract(epoch from '2026-07-17 18:33:34'::timestamp) - extract(epoch from '2026-07-17 18:33: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'), 47442, 'SRID=4674;POINT (-39.025994 -3.365998)', '2026-07-17 18:33:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026022 -3.365968)'), GeomFromEWKT('SRID=4674;POINT (-39.025994 -3.365998)'))) / (select extract(epoch from '2026-07-17 18:33:42'::timestamp) - extract(epoch from '2026-07-17 18:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026022 -3.365968)'), GeomFromEWKT('SRID=4674;POINT (-39.025994 -3.365998)'))) / (select extract(epoch from '2026-07-17 18:33:42'::timestamp) - extract(epoch from '2026-07-17 18:33: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'), 47442, 'SRID=4674;POINT (-39.025958 -3.366014)', '2026-07-17 18:33:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025994 -3.365998)'), GeomFromEWKT('SRID=4674;POINT (-39.025958 -3.366014)'))) / (select extract(epoch from '2026-07-17 18:33:49'::timestamp) - extract(epoch from '2026-07-17 18:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025994 -3.365998)'), GeomFromEWKT('SRID=4674;POINT (-39.025958 -3.366014)'))) / (select extract(epoch from '2026-07-17 18:33:49'::timestamp) - extract(epoch from '2026-07-17 18:33: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'), 47442, 'SRID=4674;POINT (-39.025931 -3.366019)', '2026-07-17 18:33:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025958 -3.366014)'), GeomFromEWKT('SRID=4674;POINT (-39.025931 -3.366019)'))) / (select extract(epoch from '2026-07-17 18:33:56'::timestamp) - extract(epoch from '2026-07-17 18:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025958 -3.366014)'), GeomFromEWKT('SRID=4674;POINT (-39.025931 -3.366019)'))) / (select extract(epoch from '2026-07-17 18:33:56'::timestamp) - extract(epoch from '2026-07-17 18:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025914 -3.366024)', '2026-07-17 18:34:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025931 -3.366019)'), GeomFromEWKT('SRID=4674;POINT (-39.025914 -3.366024)'))) / (select extract(epoch from '2026-07-17 18:34:06'::timestamp) - extract(epoch from '2026-07-17 18:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025931 -3.366019)'), GeomFromEWKT('SRID=4674;POINT (-39.025914 -3.366024)'))) / (select extract(epoch from '2026-07-17 18:34:06'::timestamp) - extract(epoch from '2026-07-17 18:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025897 -3.36604)', '2026-07-17 18:34:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025914 -3.366024)'), GeomFromEWKT('SRID=4674;POINT (-39.025897 -3.36604)'))) / (select extract(epoch from '2026-07-17 18:34:15'::timestamp) - extract(epoch from '2026-07-17 18:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025914 -3.366024)'), GeomFromEWKT('SRID=4674;POINT (-39.025897 -3.36604)'))) / (select extract(epoch from '2026-07-17 18:34:15'::timestamp) - extract(epoch from '2026-07-17 18:34: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'), 47442, 'SRID=4674;POINT (-39.025873 -3.36605)', '2026-07-17 18:34:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025897 -3.36604)'), GeomFromEWKT('SRID=4674;POINT (-39.025873 -3.36605)'))) / (select extract(epoch from '2026-07-17 18:34:22'::timestamp) - extract(epoch from '2026-07-17 18:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025897 -3.36604)'), GeomFromEWKT('SRID=4674;POINT (-39.025873 -3.36605)'))) / (select extract(epoch from '2026-07-17 18:34:22'::timestamp) - extract(epoch from '2026-07-17 18:34:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025844 -3.366055)', '2026-07-17 18:34:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025873 -3.36605)'), GeomFromEWKT('SRID=4674;POINT (-39.025844 -3.366055)'))) / (select extract(epoch from '2026-07-17 18:34:29'::timestamp) - extract(epoch from '2026-07-17 18:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025873 -3.36605)'), GeomFromEWKT('SRID=4674;POINT (-39.025844 -3.366055)'))) / (select extract(epoch from '2026-07-17 18:34:29'::timestamp) - extract(epoch from '2026-07-17 18:34: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'), 47442, 'SRID=4674;POINT (-39.025793 -3.366085)', '2026-07-17 18:34:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025844 -3.366055)'), GeomFromEWKT('SRID=4674;POINT (-39.025793 -3.366085)'))) / (select extract(epoch from '2026-07-17 18:34:39'::timestamp) - extract(epoch from '2026-07-17 18:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025844 -3.366055)'), GeomFromEWKT('SRID=4674;POINT (-39.025793 -3.366085)'))) / (select extract(epoch from '2026-07-17 18:34:39'::timestamp) - extract(epoch from '2026-07-17 18:34: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'), 47442, 'SRID=4674;POINT (-39.025756 -3.366098)', '2026-07-17 18:34:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025793 -3.366085)'), GeomFromEWKT('SRID=4674;POINT (-39.025756 -3.366098)'))) / (select extract(epoch from '2026-07-17 18:34:47'::timestamp) - extract(epoch from '2026-07-17 18:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025793 -3.366085)'), GeomFromEWKT('SRID=4674;POINT (-39.025756 -3.366098)'))) / (select extract(epoch from '2026-07-17 18:34:47'::timestamp) - extract(epoch from '2026-07-17 18:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025711 -3.366121)', '2026-07-17 18:34:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025756 -3.366098)'), GeomFromEWKT('SRID=4674;POINT (-39.025711 -3.366121)'))) / (select extract(epoch from '2026-07-17 18:34:56'::timestamp) - extract(epoch from '2026-07-17 18:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025756 -3.366098)'), GeomFromEWKT('SRID=4674;POINT (-39.025711 -3.366121)'))) / (select extract(epoch from '2026-07-17 18:34:56'::timestamp) - extract(epoch from '2026-07-17 18:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02566 -3.366156)', '2026-07-17 18:35:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025711 -3.366121)'), GeomFromEWKT('SRID=4674;POINT (-39.02566 -3.366156)'))) / (select extract(epoch from '2026-07-17 18:35:05'::timestamp) - extract(epoch from '2026-07-17 18:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025711 -3.366121)'), GeomFromEWKT('SRID=4674;POINT (-39.02566 -3.366156)'))) / (select extract(epoch from '2026-07-17 18:35:05'::timestamp) - extract(epoch from '2026-07-17 18:34: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'), 47442, 'SRID=4674;POINT (-39.025643 -3.366168)', '2026-07-17 18:35:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02566 -3.366156)'), GeomFromEWKT('SRID=4674;POINT (-39.025643 -3.366168)'))) / (select extract(epoch from '2026-07-17 18:35:12'::timestamp) - extract(epoch from '2026-07-17 18:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02566 -3.366156)'), GeomFromEWKT('SRID=4674;POINT (-39.025643 -3.366168)'))) / (select extract(epoch from '2026-07-17 18:35:12'::timestamp) - extract(epoch from '2026-07-17 18:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025618 -3.366192)', '2026-07-17 18:35:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025643 -3.366168)'), GeomFromEWKT('SRID=4674;POINT (-39.025618 -3.366192)'))) / (select extract(epoch from '2026-07-17 18:35:20'::timestamp) - extract(epoch from '2026-07-17 18:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025643 -3.366168)'), GeomFromEWKT('SRID=4674;POINT (-39.025618 -3.366192)'))) / (select extract(epoch from '2026-07-17 18:35:20'::timestamp) - extract(epoch from '2026-07-17 18:35: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'), 47442, 'SRID=4674;POINT (-39.025599 -3.3662)', '2026-07-17 18:35:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025618 -3.366192)'), GeomFromEWKT('SRID=4674;POINT (-39.025599 -3.3662)'))) / (select extract(epoch from '2026-07-17 18:35:27'::timestamp) - extract(epoch from '2026-07-17 18:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025618 -3.366192)'), GeomFromEWKT('SRID=4674;POINT (-39.025599 -3.3662)'))) / (select extract(epoch from '2026-07-17 18:35:27'::timestamp) - extract(epoch from '2026-07-17 18:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025574 -3.366211)', '2026-07-17 18:35:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025599 -3.3662)'), GeomFromEWKT('SRID=4674;POINT (-39.025574 -3.366211)'))) / (select extract(epoch from '2026-07-17 18:35:33'::timestamp) - extract(epoch from '2026-07-17 18:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025599 -3.3662)'), GeomFromEWKT('SRID=4674;POINT (-39.025574 -3.366211)'))) / (select extract(epoch from '2026-07-17 18:35:33'::timestamp) - extract(epoch from '2026-07-17 18:35:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025553 -3.366201)', '2026-07-17 18:35:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025574 -3.366211)'), GeomFromEWKT('SRID=4674;POINT (-39.025553 -3.366201)'))) / (select extract(epoch from '2026-07-17 18:35:40'::timestamp) - extract(epoch from '2026-07-17 18:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025574 -3.366211)'), GeomFromEWKT('SRID=4674;POINT (-39.025553 -3.366201)'))) / (select extract(epoch from '2026-07-17 18:35:40'::timestamp) - extract(epoch from '2026-07-17 18:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025543 -3.366221)', '2026-07-17 18:35:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025553 -3.366201)'), GeomFromEWKT('SRID=4674;POINT (-39.025543 -3.366221)'))) / (select extract(epoch from '2026-07-17 18:35:47'::timestamp) - extract(epoch from '2026-07-17 18:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025553 -3.366201)'), GeomFromEWKT('SRID=4674;POINT (-39.025543 -3.366221)'))) / (select extract(epoch from '2026-07-17 18:35:47'::timestamp) - extract(epoch from '2026-07-17 18:35: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'), 47442, 'SRID=4674;POINT (-39.025513 -3.366263)', '2026-07-17 18:35:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025543 -3.366221)'), GeomFromEWKT('SRID=4674;POINT (-39.025513 -3.366263)'))) / (select extract(epoch from '2026-07-17 18:35:57'::timestamp) - extract(epoch from '2026-07-17 18:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025543 -3.366221)'), GeomFromEWKT('SRID=4674;POINT (-39.025513 -3.366263)'))) / (select extract(epoch from '2026-07-17 18:35:57'::timestamp) - extract(epoch from '2026-07-17 18:35: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'), 47442, 'SRID=4674;POINT (-39.025476 -3.366276)', '2026-07-17 18:36:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025513 -3.366263)'), GeomFromEWKT('SRID=4674;POINT (-39.025476 -3.366276)'))) / (select extract(epoch from '2026-07-17 18:36:05'::timestamp) - extract(epoch from '2026-07-17 18:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025513 -3.366263)'), GeomFromEWKT('SRID=4674;POINT (-39.025476 -3.366276)'))) / (select extract(epoch from '2026-07-17 18:36:05'::timestamp) - extract(epoch from '2026-07-17 18:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025465 -3.366273)', '2026-07-17 18:36:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025476 -3.366276)'), GeomFromEWKT('SRID=4674;POINT (-39.025465 -3.366273)'))) / (select extract(epoch from '2026-07-17 18:36:08'::timestamp) - extract(epoch from '2026-07-17 18:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025476 -3.366276)'), GeomFromEWKT('SRID=4674;POINT (-39.025465 -3.366273)'))) / (select extract(epoch from '2026-07-17 18:36:08'::timestamp) - extract(epoch from '2026-07-17 18:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025456 -3.366279)', '2026-07-17 18:36:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025465 -3.366273)'), GeomFromEWKT('SRID=4674;POINT (-39.025456 -3.366279)'))) / (select extract(epoch from '2026-07-17 18:36:11'::timestamp) - extract(epoch from '2026-07-17 18:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025465 -3.366273)'), GeomFromEWKT('SRID=4674;POINT (-39.025456 -3.366279)'))) / (select extract(epoch from '2026-07-17 18:36:11'::timestamp) - extract(epoch from '2026-07-17 18:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025427 -3.366305)', '2026-07-17 18:36:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025456 -3.366279)'), GeomFromEWKT('SRID=4674;POINT (-39.025427 -3.366305)'))) / (select extract(epoch from '2026-07-17 18:36:20'::timestamp) - extract(epoch from '2026-07-17 18:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025456 -3.366279)'), GeomFromEWKT('SRID=4674;POINT (-39.025427 -3.366305)'))) / (select extract(epoch from '2026-07-17 18:36:20'::timestamp) - extract(epoch from '2026-07-17 18:36: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'), 47442, 'SRID=4674;POINT (-39.025423 -3.366318)', '2026-07-17 18:36:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025427 -3.366305)'), GeomFromEWKT('SRID=4674;POINT (-39.025423 -3.366318)'))) / (select extract(epoch from '2026-07-17 18:36:26'::timestamp) - extract(epoch from '2026-07-17 18:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025427 -3.366305)'), GeomFromEWKT('SRID=4674;POINT (-39.025423 -3.366318)'))) / (select extract(epoch from '2026-07-17 18:36:26'::timestamp) - extract(epoch from '2026-07-17 18:36: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'), 47442, 'SRID=4674;POINT (-39.02542 -3.366318)', '2026-07-17 18:36:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025423 -3.366318)'), GeomFromEWKT('SRID=4674;POINT (-39.02542 -3.366318)'))) / (select extract(epoch from '2026-07-17 18:36:27'::timestamp) - extract(epoch from '2026-07-17 18:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025423 -3.366318)'), GeomFromEWKT('SRID=4674;POINT (-39.02542 -3.366318)'))) / (select extract(epoch from '2026-07-17 18:36:27'::timestamp) - extract(epoch from '2026-07-17 18:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025395 -3.366327)', '2026-07-17 18:36:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02542 -3.366318)'), GeomFromEWKT('SRID=4674;POINT (-39.025395 -3.366327)'))) / (select extract(epoch from '2026-07-17 18:36:35'::timestamp) - extract(epoch from '2026-07-17 18:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02542 -3.366318)'), GeomFromEWKT('SRID=4674;POINT (-39.025395 -3.366327)'))) / (select extract(epoch from '2026-07-17 18:36:35'::timestamp) - extract(epoch from '2026-07-17 18:36: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'), 47442, 'SRID=4674;POINT (-39.025377 -3.366354)', '2026-07-17 18:36:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025395 -3.366327)'), GeomFromEWKT('SRID=4674;POINT (-39.025377 -3.366354)'))) / (select extract(epoch from '2026-07-17 18:36:43'::timestamp) - extract(epoch from '2026-07-17 18:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025395 -3.366327)'), GeomFromEWKT('SRID=4674;POINT (-39.025377 -3.366354)'))) / (select extract(epoch from '2026-07-17 18:36:43'::timestamp) - extract(epoch from '2026-07-17 18:36: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'), 47442, 'SRID=4674;POINT (-39.025361 -3.366375)', '2026-07-17 18:36:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025377 -3.366354)'), GeomFromEWKT('SRID=4674;POINT (-39.025361 -3.366375)'))) / (select extract(epoch from '2026-07-17 18:36:49'::timestamp) - extract(epoch from '2026-07-17 18:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025377 -3.366354)'), GeomFromEWKT('SRID=4674;POINT (-39.025361 -3.366375)'))) / (select extract(epoch from '2026-07-17 18:36:49'::timestamp) - extract(epoch from '2026-07-17 18:36: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'), 47442, 'SRID=4674;POINT (-39.025344 -3.366387)', '2026-07-17 18:36:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025361 -3.366375)'), GeomFromEWKT('SRID=4674;POINT (-39.025344 -3.366387)'))) / (select extract(epoch from '2026-07-17 18:36:57'::timestamp) - extract(epoch from '2026-07-17 18:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025361 -3.366375)'), GeomFromEWKT('SRID=4674;POINT (-39.025344 -3.366387)'))) / (select extract(epoch from '2026-07-17 18:36:57'::timestamp) - extract(epoch from '2026-07-17 18:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025327 -3.366395)', '2026-07-17 18:37:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025344 -3.366387)'), GeomFromEWKT('SRID=4674;POINT (-39.025327 -3.366395)'))) / (select extract(epoch from '2026-07-17 18:37:02'::timestamp) - extract(epoch from '2026-07-17 18:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025344 -3.366387)'), GeomFromEWKT('SRID=4674;POINT (-39.025327 -3.366395)'))) / (select extract(epoch from '2026-07-17 18:37:02'::timestamp) - extract(epoch from '2026-07-17 18:36: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'), 47442, 'SRID=4674;POINT (-39.025322 -3.366401)', '2026-07-17 18:37:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025327 -3.366395)'), GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.366401)'))) / (select extract(epoch from '2026-07-17 18:37:07'::timestamp) - extract(epoch from '2026-07-17 18:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025327 -3.366395)'), GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.366401)'))) / (select extract(epoch from '2026-07-17 18:37:07'::timestamp) - extract(epoch from '2026-07-17 18:37: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'), 47442, 'SRID=4674;POINT (-39.025284 -3.366418)', '2026-07-17 18:37:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.366401)'), GeomFromEWKT('SRID=4674;POINT (-39.025284 -3.366418)'))) / (select extract(epoch from '2026-07-17 18:37:16'::timestamp) - extract(epoch from '2026-07-17 18:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.366401)'), GeomFromEWKT('SRID=4674;POINT (-39.025284 -3.366418)'))) / (select extract(epoch from '2026-07-17 18:37:16'::timestamp) - extract(epoch from '2026-07-17 18:37: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'), 47442, 'SRID=4674;POINT (-39.025268 -3.366429)', '2026-07-17 18:37:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025284 -3.366418)'), GeomFromEWKT('SRID=4674;POINT (-39.025268 -3.366429)'))) / (select extract(epoch from '2026-07-17 18:37:23'::timestamp) - extract(epoch from '2026-07-17 18:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025284 -3.366418)'), GeomFromEWKT('SRID=4674;POINT (-39.025268 -3.366429)'))) / (select extract(epoch from '2026-07-17 18:37:23'::timestamp) - extract(epoch from '2026-07-17 18:37: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'), 47442, 'SRID=4674;POINT (-39.025247 -3.366436)', '2026-07-17 18:37:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025268 -3.366429)'), GeomFromEWKT('SRID=4674;POINT (-39.025247 -3.366436)'))) / (select extract(epoch from '2026-07-17 18:37:33'::timestamp) - extract(epoch from '2026-07-17 18:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025268 -3.366429)'), GeomFromEWKT('SRID=4674;POINT (-39.025247 -3.366436)'))) / (select extract(epoch from '2026-07-17 18:37:33'::timestamp) - extract(epoch from '2026-07-17 18:37:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025231 -3.366452)', '2026-07-17 18:37:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025247 -3.366436)'), GeomFromEWKT('SRID=4674;POINT (-39.025231 -3.366452)'))) / (select extract(epoch from '2026-07-17 18:37:40'::timestamp) - extract(epoch from '2026-07-17 18:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025247 -3.366436)'), GeomFromEWKT('SRID=4674;POINT (-39.025231 -3.366452)'))) / (select extract(epoch from '2026-07-17 18:37:40'::timestamp) - extract(epoch from '2026-07-17 18:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025218 -3.366464)', '2026-07-17 18:37:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025231 -3.366452)'), GeomFromEWKT('SRID=4674;POINT (-39.025218 -3.366464)'))) / (select extract(epoch from '2026-07-17 18:37:49'::timestamp) - extract(epoch from '2026-07-17 18:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025231 -3.366452)'), GeomFromEWKT('SRID=4674;POINT (-39.025218 -3.366464)'))) / (select extract(epoch from '2026-07-17 18:37:49'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.02519 -3.36647)', '2026-07-17 18:37:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025218 -3.366464)'), GeomFromEWKT('SRID=4674;POINT (-39.02519 -3.36647)'))) / (select extract(epoch from '2026-07-17 18:37:59'::timestamp) - extract(epoch from '2026-07-17 18:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025218 -3.366464)'), GeomFromEWKT('SRID=4674;POINT (-39.02519 -3.36647)'))) / (select extract(epoch from '2026-07-17 18:37:59'::timestamp) - extract(epoch from '2026-07-17 18:37: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'), 47442, 'SRID=4674;POINT (-39.025152 -3.366479)', '2026-07-17 18:38:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02519 -3.36647)'), GeomFromEWKT('SRID=4674;POINT (-39.025152 -3.366479)'))) / (select extract(epoch from '2026-07-17 18:38:07'::timestamp) - extract(epoch from '2026-07-17 18:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02519 -3.36647)'), GeomFromEWKT('SRID=4674;POINT (-39.025152 -3.366479)'))) / (select extract(epoch from '2026-07-17 18:38:07'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.025121 -3.366501)', '2026-07-17 18:38:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025152 -3.366479)'), GeomFromEWKT('SRID=4674;POINT (-39.025121 -3.366501)'))) / (select extract(epoch from '2026-07-17 18:38:14'::timestamp) - extract(epoch from '2026-07-17 18:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025152 -3.366479)'), GeomFromEWKT('SRID=4674;POINT (-39.025121 -3.366501)'))) / (select extract(epoch from '2026-07-17 18:38:14'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.025095 -3.366503)', '2026-07-17 18:38:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025121 -3.366501)'), GeomFromEWKT('SRID=4674;POINT (-39.025095 -3.366503)'))) / (select extract(epoch from '2026-07-17 18:38:22'::timestamp) - extract(epoch from '2026-07-17 18:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025121 -3.366501)'), GeomFromEWKT('SRID=4674;POINT (-39.025095 -3.366503)'))) / (select extract(epoch from '2026-07-17 18:38:22'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.025065 -3.366507)', '2026-07-17 18:38:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025095 -3.366503)'), GeomFromEWKT('SRID=4674;POINT (-39.025065 -3.366507)'))) / (select extract(epoch from '2026-07-17 18:38:29'::timestamp) - extract(epoch from '2026-07-17 18:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025095 -3.366503)'), GeomFromEWKT('SRID=4674;POINT (-39.025065 -3.366507)'))) / (select extract(epoch from '2026-07-17 18:38:29'::timestamp) - extract(epoch from '2026-07-17 18:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025012 -3.366525)', '2026-07-17 18:38:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025065 -3.366507)'), GeomFromEWKT('SRID=4674;POINT (-39.025012 -3.366525)'))) / (select extract(epoch from '2026-07-17 18:38:37'::timestamp) - extract(epoch from '2026-07-17 18:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025065 -3.366507)'), GeomFromEWKT('SRID=4674;POINT (-39.025012 -3.366525)'))) / (select extract(epoch from '2026-07-17 18:38:37'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.024992 -3.366549)', '2026-07-17 18:38:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025012 -3.366525)'), GeomFromEWKT('SRID=4674;POINT (-39.024992 -3.366549)'))) / (select extract(epoch from '2026-07-17 18:38:44'::timestamp) - extract(epoch from '2026-07-17 18:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025012 -3.366525)'), GeomFromEWKT('SRID=4674;POINT (-39.024992 -3.366549)'))) / (select extract(epoch from '2026-07-17 18:38:44'::timestamp) - extract(epoch from '2026-07-17 18:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024957 -3.366558)', '2026-07-17 18:38:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024992 -3.366549)'), GeomFromEWKT('SRID=4674;POINT (-39.024957 -3.366558)'))) / (select extract(epoch from '2026-07-17 18:38:52'::timestamp) - extract(epoch from '2026-07-17 18:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024992 -3.366549)'), GeomFromEWKT('SRID=4674;POINT (-39.024957 -3.366558)'))) / (select extract(epoch from '2026-07-17 18:38:52'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.024934 -3.36655)', '2026-07-17 18:38:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024957 -3.366558)'), GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.36655)'))) / (select extract(epoch from '2026-07-17 18:38:59'::timestamp) - extract(epoch from '2026-07-17 18:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024957 -3.366558)'), GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.36655)'))) / (select extract(epoch from '2026-07-17 18:38:59'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.024902 -3.366575)', '2026-07-17 18:39:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.36655)'), GeomFromEWKT('SRID=4674;POINT (-39.024902 -3.366575)'))) / (select extract(epoch from '2026-07-17 18:39:08'::timestamp) - extract(epoch from '2026-07-17 18:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024934 -3.36655)'), GeomFromEWKT('SRID=4674;POINT (-39.024902 -3.366575)'))) / (select extract(epoch from '2026-07-17 18:39:08'::timestamp) - extract(epoch from '2026-07-17 18:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024895 -3.36659)', '2026-07-17 18:39:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024902 -3.366575)'), GeomFromEWKT('SRID=4674;POINT (-39.024895 -3.36659)'))) / (select extract(epoch from '2026-07-17 18:39:12'::timestamp) - extract(epoch from '2026-07-17 18:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024902 -3.366575)'), GeomFromEWKT('SRID=4674;POINT (-39.024895 -3.36659)'))) / (select extract(epoch from '2026-07-17 18:39:12'::timestamp) - extract(epoch from '2026-07-17 18:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024888 -3.366586)', '2026-07-17 18:39:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024895 -3.36659)'), GeomFromEWKT('SRID=4674;POINT (-39.024888 -3.366586)'))) / (select extract(epoch from '2026-07-17 18:39:14'::timestamp) - extract(epoch from '2026-07-17 18:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024895 -3.36659)'), GeomFromEWKT('SRID=4674;POINT (-39.024888 -3.366586)'))) / (select extract(epoch from '2026-07-17 18:39:14'::timestamp) - extract(epoch from '2026-07-17 18:39: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'), 47442, 'SRID=4674;POINT (-39.02486 -3.366589)', '2026-07-17 18:39:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024888 -3.366586)'), GeomFromEWKT('SRID=4674;POINT (-39.02486 -3.366589)'))) / (select extract(epoch from '2026-07-17 18:39:22'::timestamp) - extract(epoch from '2026-07-17 18:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024888 -3.366586)'), GeomFromEWKT('SRID=4674;POINT (-39.02486 -3.366589)'))) / (select extract(epoch from '2026-07-17 18:39:22'::timestamp) - extract(epoch from '2026-07-17 18:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024835 -3.366599)', '2026-07-17 18:39:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02486 -3.366589)'), GeomFromEWKT('SRID=4674;POINT (-39.024835 -3.366599)'))) / (select extract(epoch from '2026-07-17 18:39:30'::timestamp) - extract(epoch from '2026-07-17 18:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02486 -3.366589)'), GeomFromEWKT('SRID=4674;POINT (-39.024835 -3.366599)'))) / (select extract(epoch from '2026-07-17 18:39:30'::timestamp) - extract(epoch from '2026-07-17 18:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.0248 -3.366625)', '2026-07-17 18:39:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024835 -3.366599)'), GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.366625)'))) / (select extract(epoch from '2026-07-17 18:39:38'::timestamp) - extract(epoch from '2026-07-17 18:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024835 -3.366599)'), GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.366625)'))) / (select extract(epoch from '2026-07-17 18:39:38'::timestamp) - extract(epoch from '2026-07-17 18:39: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'), 47442, 'SRID=4674;POINT (-39.02476 -3.366661)', '2026-07-17 18:39:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.366625)'), GeomFromEWKT('SRID=4674;POINT (-39.02476 -3.366661)'))) / (select extract(epoch from '2026-07-17 18:39:45'::timestamp) - extract(epoch from '2026-07-17 18:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0248 -3.366625)'), GeomFromEWKT('SRID=4674;POINT (-39.02476 -3.366661)'))) / (select extract(epoch from '2026-07-17 18:39:45'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.024722 -3.36667)', '2026-07-17 18:39:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02476 -3.366661)'), GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.36667)'))) / (select extract(epoch from '2026-07-17 18:39:52'::timestamp) - extract(epoch from '2026-07-17 18:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02476 -3.366661)'), GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.36667)'))) / (select extract(epoch from '2026-07-17 18:39:52'::timestamp) - extract(epoch from '2026-07-17 18:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024681 -3.366671)', '2026-07-17 18:39:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.36667)'), GeomFromEWKT('SRID=4674;POINT (-39.024681 -3.366671)'))) / (select extract(epoch from '2026-07-17 18:39:58'::timestamp) - extract(epoch from '2026-07-17 18:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.36667)'), GeomFromEWKT('SRID=4674;POINT (-39.024681 -3.366671)'))) / (select extract(epoch from '2026-07-17 18:39:58'::timestamp) - extract(epoch from '2026-07-17 18:39: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'), 47442, 'SRID=4674;POINT (-39.024659 -3.366684)', '2026-07-17 18:40:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024681 -3.366671)'), GeomFromEWKT('SRID=4674;POINT (-39.024659 -3.366684)'))) / (select extract(epoch from '2026-07-17 18:40:03'::timestamp) - extract(epoch from '2026-07-17 18:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024681 -3.366671)'), GeomFromEWKT('SRID=4674;POINT (-39.024659 -3.366684)'))) / (select extract(epoch from '2026-07-17 18:40:03'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.024634 -3.366699)', '2026-07-17 18:40:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024659 -3.366684)'), GeomFromEWKT('SRID=4674;POINT (-39.024634 -3.366699)'))) / (select extract(epoch from '2026-07-17 18:40:08'::timestamp) - extract(epoch from '2026-07-17 18:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024659 -3.366684)'), GeomFromEWKT('SRID=4674;POINT (-39.024634 -3.366699)'))) / (select extract(epoch from '2026-07-17 18:40:08'::timestamp) - extract(epoch from '2026-07-17 18:40:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024584 -3.366718)', '2026-07-17 18:40:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024634 -3.366699)'), GeomFromEWKT('SRID=4674;POINT (-39.024584 -3.366718)'))) / (select extract(epoch from '2026-07-17 18:40:16'::timestamp) - extract(epoch from '2026-07-17 18:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024634 -3.366699)'), GeomFromEWKT('SRID=4674;POINT (-39.024584 -3.366718)'))) / (select extract(epoch from '2026-07-17 18:40:16'::timestamp) - extract(epoch from '2026-07-17 18:40: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'), 47442, 'SRID=4674;POINT (-39.024555 -3.366733)', '2026-07-17 18:40:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024584 -3.366718)'), GeomFromEWKT('SRID=4674;POINT (-39.024555 -3.366733)'))) / (select extract(epoch from '2026-07-17 18:40:23'::timestamp) - extract(epoch from '2026-07-17 18:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024584 -3.366718)'), GeomFromEWKT('SRID=4674;POINT (-39.024555 -3.366733)'))) / (select extract(epoch from '2026-07-17 18:40:23'::timestamp) - extract(epoch from '2026-07-17 18:40: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'), 47442, 'SRID=4674;POINT (-39.024516 -3.366751)', '2026-07-17 18:40:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024555 -3.366733)'), GeomFromEWKT('SRID=4674;POINT (-39.024516 -3.366751)'))) / (select extract(epoch from '2026-07-17 18:40:30'::timestamp) - extract(epoch from '2026-07-17 18:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024555 -3.366733)'), GeomFromEWKT('SRID=4674;POINT (-39.024516 -3.366751)'))) / (select extract(epoch from '2026-07-17 18:40:30'::timestamp) - extract(epoch from '2026-07-17 18:40: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'), 47442, 'SRID=4674;POINT (-39.024475 -3.366762)', '2026-07-17 18:40:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024516 -3.366751)'), GeomFromEWKT('SRID=4674;POINT (-39.024475 -3.366762)'))) / (select extract(epoch from '2026-07-17 18:40:38'::timestamp) - extract(epoch from '2026-07-17 18:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024516 -3.366751)'), GeomFromEWKT('SRID=4674;POINT (-39.024475 -3.366762)'))) / (select extract(epoch from '2026-07-17 18:40:38'::timestamp) - extract(epoch from '2026-07-17 18:40: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'), 47442, 'SRID=4674;POINT (-39.024438 -3.366785)', '2026-07-17 18:40:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024475 -3.366762)'), GeomFromEWKT('SRID=4674;POINT (-39.024438 -3.366785)'))) / (select extract(epoch from '2026-07-17 18:40:46'::timestamp) - extract(epoch from '2026-07-17 18:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024475 -3.366762)'), GeomFromEWKT('SRID=4674;POINT (-39.024438 -3.366785)'))) / (select extract(epoch from '2026-07-17 18:40:46'::timestamp) - extract(epoch from '2026-07-17 18:40: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'), 47442, 'SRID=4674;POINT (-39.024429 -3.366795)', '2026-07-17 18:40:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024438 -3.366785)'), GeomFromEWKT('SRID=4674;POINT (-39.024429 -3.366795)'))) / (select extract(epoch from '2026-07-17 18:40:48'::timestamp) - extract(epoch from '2026-07-17 18:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024438 -3.366785)'), GeomFromEWKT('SRID=4674;POINT (-39.024429 -3.366795)'))) / (select extract(epoch from '2026-07-17 18:40:48'::timestamp) - extract(epoch from '2026-07-17 18:40: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'), 47442, 'SRID=4674;POINT (-39.024428 -3.366799)', '2026-07-17 18:40:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024429 -3.366795)'), GeomFromEWKT('SRID=4674;POINT (-39.024428 -3.366799)'))) / (select extract(epoch from '2026-07-17 18:40:50'::timestamp) - extract(epoch from '2026-07-17 18:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024429 -3.366795)'), GeomFromEWKT('SRID=4674;POINT (-39.024428 -3.366799)'))) / (select extract(epoch from '2026-07-17 18:40:50'::timestamp) - extract(epoch from '2026-07-17 18:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024411 -3.366818)', '2026-07-17 18:40:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024428 -3.366799)'), GeomFromEWKT('SRID=4674;POINT (-39.024411 -3.366818)'))) / (select extract(epoch from '2026-07-17 18:40:55'::timestamp) - extract(epoch from '2026-07-17 18:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024428 -3.366799)'), GeomFromEWKT('SRID=4674;POINT (-39.024411 -3.366818)'))) / (select extract(epoch from '2026-07-17 18:40:55'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.024377 -3.366831)', '2026-07-17 18:41:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024411 -3.366818)'), GeomFromEWKT('SRID=4674;POINT (-39.024377 -3.366831)'))) / (select extract(epoch from '2026-07-17 18:41:03'::timestamp) - extract(epoch from '2026-07-17 18:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024411 -3.366818)'), GeomFromEWKT('SRID=4674;POINT (-39.024377 -3.366831)'))) / (select extract(epoch from '2026-07-17 18:41:03'::timestamp) - extract(epoch from '2026-07-17 18:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024346 -3.366837)', '2026-07-17 18:41:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024377 -3.366831)'), GeomFromEWKT('SRID=4674;POINT (-39.024346 -3.366837)'))) / (select extract(epoch from '2026-07-17 18:41:12'::timestamp) - extract(epoch from '2026-07-17 18:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024377 -3.366831)'), GeomFromEWKT('SRID=4674;POINT (-39.024346 -3.366837)'))) / (select extract(epoch from '2026-07-17 18:41:12'::timestamp) - extract(epoch from '2026-07-17 18:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024321 -3.366842)', '2026-07-17 18:41:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024346 -3.366837)'), GeomFromEWKT('SRID=4674;POINT (-39.024321 -3.366842)'))) / (select extract(epoch from '2026-07-17 18:41:18'::timestamp) - extract(epoch from '2026-07-17 18:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024346 -3.366837)'), GeomFromEWKT('SRID=4674;POINT (-39.024321 -3.366842)'))) / (select extract(epoch from '2026-07-17 18:41:18'::timestamp) - extract(epoch from '2026-07-17 18:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024299 -3.366846)', '2026-07-17 18:41:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024321 -3.366842)'), GeomFromEWKT('SRID=4674;POINT (-39.024299 -3.366846)'))) / (select extract(epoch from '2026-07-17 18:41:27'::timestamp) - extract(epoch from '2026-07-17 18:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024321 -3.366842)'), GeomFromEWKT('SRID=4674;POINT (-39.024299 -3.366846)'))) / (select extract(epoch from '2026-07-17 18:41:27'::timestamp) - extract(epoch from '2026-07-17 18:41: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'), 47442, 'SRID=4674;POINT (-39.024272 -3.366875)', '2026-07-17 18:41:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024299 -3.366846)'), GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.366875)'))) / (select extract(epoch from '2026-07-17 18:41:36'::timestamp) - extract(epoch from '2026-07-17 18:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024299 -3.366846)'), GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.366875)'))) / (select extract(epoch from '2026-07-17 18:41:36'::timestamp) - extract(epoch from '2026-07-17 18:41: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'), 47442, 'SRID=4674;POINT (-39.024262 -3.366898)', '2026-07-17 18:41:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.366875)'), GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.366898)'))) / (select extract(epoch from '2026-07-17 18:41:41'::timestamp) - extract(epoch from '2026-07-17 18:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024272 -3.366875)'), GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.366898)'))) / (select extract(epoch from '2026-07-17 18:41:41'::timestamp) - extract(epoch from '2026-07-17 18:41: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'), 47442, 'SRID=4674;POINT (-39.024251 -3.366899)', '2026-07-17 18:41:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.366898)'), GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.366899)'))) / (select extract(epoch from '2026-07-17 18:41:43'::timestamp) - extract(epoch from '2026-07-17 18:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024262 -3.366898)'), GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.366899)'))) / (select extract(epoch from '2026-07-17 18:41:43'::timestamp) - extract(epoch from '2026-07-17 18:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02425 -3.366902)', '2026-07-17 18:41:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.366899)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.366902)'))) / (select extract(epoch from '2026-07-17 18:41:51'::timestamp) - extract(epoch from '2026-07-17 18:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024251 -3.366899)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.366902)'))) / (select extract(epoch from '2026-07-17 18:41:51'::timestamp) - extract(epoch from '2026-07-17 18:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024223 -3.366892)', '2026-07-17 18:41:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.366902)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.366892)'))) / (select extract(epoch from '2026-07-17 18:41:58'::timestamp) - extract(epoch from '2026-07-17 18:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.366902)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.366892)'))) / (select extract(epoch from '2026-07-17 18:41:58'::timestamp) - extract(epoch from '2026-07-17 18:41: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'), 47442, 'SRID=4674;POINT (-39.024197 -3.366914)', '2026-07-17 18:42:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.366892)'), GeomFromEWKT('SRID=4674;POINT (-39.024197 -3.366914)'))) / (select extract(epoch from '2026-07-17 18:42:07'::timestamp) - extract(epoch from '2026-07-17 18:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.366892)'), GeomFromEWKT('SRID=4674;POINT (-39.024197 -3.366914)'))) / (select extract(epoch from '2026-07-17 18:42:07'::timestamp) - extract(epoch from '2026-07-17 18:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024178 -3.366943)', '2026-07-17 18:42:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024197 -3.366914)'), GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.366943)'))) / (select extract(epoch from '2026-07-17 18:42:16'::timestamp) - extract(epoch from '2026-07-17 18:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024197 -3.366914)'), GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.366943)'))) / (select extract(epoch from '2026-07-17 18:42:16'::timestamp) - extract(epoch from '2026-07-17 18:42: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'), 47442, 'SRID=4674;POINT (-39.024146 -3.366946)', '2026-07-17 18:42:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.366943)'), GeomFromEWKT('SRID=4674;POINT (-39.024146 -3.366946)'))) / (select extract(epoch from '2026-07-17 18:42:24'::timestamp) - extract(epoch from '2026-07-17 18:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024178 -3.366943)'), GeomFromEWKT('SRID=4674;POINT (-39.024146 -3.366946)'))) / (select extract(epoch from '2026-07-17 18:42:24'::timestamp) - extract(epoch from '2026-07-17 18:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024109 -3.366956)', '2026-07-17 18:42:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024146 -3.366946)'), GeomFromEWKT('SRID=4674;POINT (-39.024109 -3.366956)'))) / (select extract(epoch from '2026-07-17 18:42:32'::timestamp) - extract(epoch from '2026-07-17 18:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024146 -3.366946)'), GeomFromEWKT('SRID=4674;POINT (-39.024109 -3.366956)'))) / (select extract(epoch from '2026-07-17 18:42:32'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.024063 -3.366983)', '2026-07-17 18:42:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024109 -3.366956)'), GeomFromEWKT('SRID=4674;POINT (-39.024063 -3.366983)'))) / (select extract(epoch from '2026-07-17 18:42:42'::timestamp) - extract(epoch from '2026-07-17 18:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024109 -3.366956)'), GeomFromEWKT('SRID=4674;POINT (-39.024063 -3.366983)'))) / (select extract(epoch from '2026-07-17 18:42:42'::timestamp) - extract(epoch from '2026-07-17 18:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024043 -3.366997)', '2026-07-17 18:42:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024063 -3.366983)'), GeomFromEWKT('SRID=4674;POINT (-39.024043 -3.366997)'))) / (select extract(epoch from '2026-07-17 18:42:48'::timestamp) - extract(epoch from '2026-07-17 18:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024063 -3.366983)'), GeomFromEWKT('SRID=4674;POINT (-39.024043 -3.366997)'))) / (select extract(epoch from '2026-07-17 18:42:48'::timestamp) - extract(epoch from '2026-07-17 18:42: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'), 47442, 'SRID=4674;POINT (-39.023998 -3.366999)', '2026-07-17 18:42:55', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024043 -3.366997)'), GeomFromEWKT('SRID=4674;POINT (-39.023998 -3.366999)'))) / (select extract(epoch from '2026-07-17 18:42:55'::timestamp) - extract(epoch from '2026-07-17 18:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024043 -3.366997)'), GeomFromEWKT('SRID=4674;POINT (-39.023998 -3.366999)'))) / (select extract(epoch from '2026-07-17 18:42:55'::timestamp) - extract(epoch from '2026-07-17 18:42:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023955 -3.367014)', '2026-07-17 18:43:02', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023998 -3.366999)'), GeomFromEWKT('SRID=4674;POINT (-39.023955 -3.367014)'))) / (select extract(epoch from '2026-07-17 18:43:02'::timestamp) - extract(epoch from '2026-07-17 18:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023998 -3.366999)'), GeomFromEWKT('SRID=4674;POINT (-39.023955 -3.367014)'))) / (select extract(epoch from '2026-07-17 18:43:02'::timestamp) - extract(epoch from '2026-07-17 18:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023947 -3.36703)', '2026-07-17 18:43:07', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023955 -3.367014)'), GeomFromEWKT('SRID=4674;POINT (-39.023947 -3.36703)'))) / (select extract(epoch from '2026-07-17 18:43:07'::timestamp) - extract(epoch from '2026-07-17 18:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023955 -3.367014)'), GeomFromEWKT('SRID=4674;POINT (-39.023947 -3.36703)'))) / (select extract(epoch from '2026-07-17 18:43:07'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.023909 -3.367042)', '2026-07-17 18:43:14', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023947 -3.36703)'), GeomFromEWKT('SRID=4674;POINT (-39.023909 -3.367042)'))) / (select extract(epoch from '2026-07-17 18:43:14'::timestamp) - extract(epoch from '2026-07-17 18:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023947 -3.36703)'), GeomFromEWKT('SRID=4674;POINT (-39.023909 -3.367042)'))) / (select extract(epoch from '2026-07-17 18:43:14'::timestamp) - extract(epoch from '2026-07-17 18:43: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'), 47442, 'SRID=4674;POINT (-39.023866 -3.367048)', '2026-07-17 18:43:22', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023909 -3.367042)'), GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.367048)'))) / (select extract(epoch from '2026-07-17 18:43:22'::timestamp) - extract(epoch from '2026-07-17 18:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023909 -3.367042)'), GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.367048)'))) / (select extract(epoch from '2026-07-17 18:43:22'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.02383 -3.367055)', '2026-07-17 18:43:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.367048)'), GeomFromEWKT('SRID=4674;POINT (-39.02383 -3.367055)'))) / (select extract(epoch from '2026-07-17 18:43:29'::timestamp) - extract(epoch from '2026-07-17 18:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.367048)'), GeomFromEWKT('SRID=4674;POINT (-39.02383 -3.367055)'))) / (select extract(epoch from '2026-07-17 18:43:29'::timestamp) - extract(epoch from '2026-07-17 18:43: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'), 47442, 'SRID=4674;POINT (-39.023806 -3.367071)', '2026-07-17 18:43:36', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02383 -3.367055)'), GeomFromEWKT('SRID=4674;POINT (-39.023806 -3.367071)'))) / (select extract(epoch from '2026-07-17 18:43:36'::timestamp) - extract(epoch from '2026-07-17 18:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02383 -3.367055)'), GeomFromEWKT('SRID=4674;POINT (-39.023806 -3.367071)'))) / (select extract(epoch from '2026-07-17 18:43:36'::timestamp) - extract(epoch from '2026-07-17 18:43: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'), 47442, 'SRID=4674;POINT (-39.023771 -3.367111)', '2026-07-17 18:43:46', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023806 -3.367071)'), GeomFromEWKT('SRID=4674;POINT (-39.023771 -3.367111)'))) / (select extract(epoch from '2026-07-17 18:43:46'::timestamp) - extract(epoch from '2026-07-17 18:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023806 -3.367071)'), GeomFromEWKT('SRID=4674;POINT (-39.023771 -3.367111)'))) / (select extract(epoch from '2026-07-17 18:43:46'::timestamp) - extract(epoch from '2026-07-17 18:43: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'), 47442, 'SRID=4674;POINT (-39.02375 -3.367122)', '2026-07-17 18:43:53', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023771 -3.367111)'), GeomFromEWKT('SRID=4674;POINT (-39.02375 -3.367122)'))) / (select extract(epoch from '2026-07-17 18:43:53'::timestamp) - extract(epoch from '2026-07-17 18:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023771 -3.367111)'), GeomFromEWKT('SRID=4674;POINT (-39.02375 -3.367122)'))) / (select extract(epoch from '2026-07-17 18:43:53'::timestamp) - extract(epoch from '2026-07-17 18:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023713 -3.367132)', '2026-07-17 18:44:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02375 -3.367122)'), GeomFromEWKT('SRID=4674;POINT (-39.023713 -3.367132)'))) / (select extract(epoch from '2026-07-17 18:44:02'::timestamp) - extract(epoch from '2026-07-17 18:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02375 -3.367122)'), GeomFromEWKT('SRID=4674;POINT (-39.023713 -3.367132)'))) / (select extract(epoch from '2026-07-17 18:44:02'::timestamp) - extract(epoch from '2026-07-17 18:43: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'), 47442, 'SRID=4674;POINT (-39.023687 -3.36715)', '2026-07-17 18:44:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023713 -3.367132)'), GeomFromEWKT('SRID=4674;POINT (-39.023687 -3.36715)'))) / (select extract(epoch from '2026-07-17 18:44:09'::timestamp) - extract(epoch from '2026-07-17 18:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023713 -3.367132)'), GeomFromEWKT('SRID=4674;POINT (-39.023687 -3.36715)'))) / (select extract(epoch from '2026-07-17 18:44:09'::timestamp) - extract(epoch from '2026-07-17 18:44: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'), 47442, 'SRID=4674;POINT (-39.023656 -3.367162)', '2026-07-17 18:44:16', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023687 -3.36715)'), GeomFromEWKT('SRID=4674;POINT (-39.023656 -3.367162)'))) / (select extract(epoch from '2026-07-17 18:44:16'::timestamp) - extract(epoch from '2026-07-17 18:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023687 -3.36715)'), GeomFromEWKT('SRID=4674;POINT (-39.023656 -3.367162)'))) / (select extract(epoch from '2026-07-17 18:44:16'::timestamp) - extract(epoch from '2026-07-17 18:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023634 -3.367168)', '2026-07-17 18:44:25', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023656 -3.367162)'), GeomFromEWKT('SRID=4674;POINT (-39.023634 -3.367168)'))) / (select extract(epoch from '2026-07-17 18:44:25'::timestamp) - extract(epoch from '2026-07-17 18:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023656 -3.367162)'), GeomFromEWKT('SRID=4674;POINT (-39.023634 -3.367168)'))) / (select extract(epoch from '2026-07-17 18:44:25'::timestamp) - extract(epoch from '2026-07-17 18:44: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'), 47442, 'SRID=4674;POINT (-39.023617 -3.36719)', '2026-07-17 18:44:34', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023634 -3.367168)'), GeomFromEWKT('SRID=4674;POINT (-39.023617 -3.36719)'))) / (select extract(epoch from '2026-07-17 18:44:34'::timestamp) - extract(epoch from '2026-07-17 18:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023634 -3.367168)'), GeomFromEWKT('SRID=4674;POINT (-39.023617 -3.36719)'))) / (select extract(epoch from '2026-07-17 18:44:34'::timestamp) - extract(epoch from '2026-07-17 18:44: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'), 47442, 'SRID=4674;POINT (-39.023588 -3.367208)', '2026-07-17 18:44:42', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023617 -3.36719)'), GeomFromEWKT('SRID=4674;POINT (-39.023588 -3.367208)'))) / (select extract(epoch from '2026-07-17 18:44:42'::timestamp) - extract(epoch from '2026-07-17 18:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023617 -3.36719)'), GeomFromEWKT('SRID=4674;POINT (-39.023588 -3.367208)'))) / (select extract(epoch from '2026-07-17 18:44:42'::timestamp) - extract(epoch from '2026-07-17 18:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023557 -3.367201)', '2026-07-17 18:44:51', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023588 -3.367208)'), GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.367201)'))) / (select extract(epoch from '2026-07-17 18:44:51'::timestamp) - extract(epoch from '2026-07-17 18:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023588 -3.367208)'), GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.367201)'))) / (select extract(epoch from '2026-07-17 18:44:51'::timestamp) - extract(epoch from '2026-07-17 18:44: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'), 47442, 'SRID=4674;POINT (-39.02354 -3.367213)', '2026-07-17 18:44:58', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.367201)'), GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.367213)'))) / (select extract(epoch from '2026-07-17 18:44:58'::timestamp) - extract(epoch from '2026-07-17 18:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.367201)'), GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.367213)'))) / (select extract(epoch from '2026-07-17 18:44:58'::timestamp) - extract(epoch from '2026-07-17 18:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023541 -3.367225)', '2026-07-17 18:45:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.367213)'), GeomFromEWKT('SRID=4674;POINT (-39.023541 -3.367225)'))) / (select extract(epoch from '2026-07-17 18:45:03'::timestamp) - extract(epoch from '2026-07-17 18:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.367213)'), GeomFromEWKT('SRID=4674;POINT (-39.023541 -3.367225)'))) / (select extract(epoch from '2026-07-17 18:45:03'::timestamp) - extract(epoch from '2026-07-17 18:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023497 -3.367237)', '2026-07-17 18:45:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023541 -3.367225)'), GeomFromEWKT('SRID=4674;POINT (-39.023497 -3.367237)'))) / (select extract(epoch from '2026-07-17 18:45:14'::timestamp) - extract(epoch from '2026-07-17 18:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023541 -3.367225)'), GeomFromEWKT('SRID=4674;POINT (-39.023497 -3.367237)'))) / (select extract(epoch from '2026-07-17 18:45:14'::timestamp) - extract(epoch from '2026-07-17 18:45: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'), 47442, 'SRID=4674;POINT (-39.023471 -3.367262)', '2026-07-17 18:45:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023497 -3.367237)'), GeomFromEWKT('SRID=4674;POINT (-39.023471 -3.367262)'))) / (select extract(epoch from '2026-07-17 18:45:22'::timestamp) - extract(epoch from '2026-07-17 18:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023497 -3.367237)'), GeomFromEWKT('SRID=4674;POINT (-39.023471 -3.367262)'))) / (select extract(epoch from '2026-07-17 18:45:22'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.023447 -3.36729)', '2026-07-17 18:45:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023471 -3.367262)'), GeomFromEWKT('SRID=4674;POINT (-39.023447 -3.36729)'))) / (select extract(epoch from '2026-07-17 18:45:31'::timestamp) - extract(epoch from '2026-07-17 18:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023471 -3.367262)'), GeomFromEWKT('SRID=4674;POINT (-39.023447 -3.36729)'))) / (select extract(epoch from '2026-07-17 18:45:31'::timestamp) - extract(epoch from '2026-07-17 18:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023444 -3.367292)', '2026-07-17 18:45:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023447 -3.36729)'), GeomFromEWKT('SRID=4674;POINT (-39.023444 -3.367292)'))) / (select extract(epoch from '2026-07-17 18:45:33'::timestamp) - extract(epoch from '2026-07-17 18:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023447 -3.36729)'), GeomFromEWKT('SRID=4674;POINT (-39.023444 -3.367292)'))) / (select extract(epoch from '2026-07-17 18:45:33'::timestamp) - extract(epoch from '2026-07-17 18:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023431 -3.367297)', '2026-07-17 18:45:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023444 -3.367292)'), GeomFromEWKT('SRID=4674;POINT (-39.023431 -3.367297)'))) / (select extract(epoch from '2026-07-17 18:45:36'::timestamp) - extract(epoch from '2026-07-17 18:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023444 -3.367292)'), GeomFromEWKT('SRID=4674;POINT (-39.023431 -3.367297)'))) / (select extract(epoch from '2026-07-17 18:45:36'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.023409 -3.367279)', '2026-07-17 18:45:45', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023431 -3.367297)'), GeomFromEWKT('SRID=4674;POINT (-39.023409 -3.367279)'))) / (select extract(epoch from '2026-07-17 18:45:45'::timestamp) - extract(epoch from '2026-07-17 18:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023431 -3.367297)'), GeomFromEWKT('SRID=4674;POINT (-39.023409 -3.367279)'))) / (select extract(epoch from '2026-07-17 18:45:45'::timestamp) - extract(epoch from '2026-07-17 18:45: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'), 47442, 'SRID=4674;POINT (-39.023386 -3.367277)', '2026-07-17 18:45:51', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023409 -3.367279)'), GeomFromEWKT('SRID=4674;POINT (-39.023386 -3.367277)'))) / (select extract(epoch from '2026-07-17 18:45:51'::timestamp) - extract(epoch from '2026-07-17 18:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023409 -3.367279)'), GeomFromEWKT('SRID=4674;POINT (-39.023386 -3.367277)'))) / (select extract(epoch from '2026-07-17 18:45:51'::timestamp) - extract(epoch from '2026-07-17 18:45: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'), 47442, 'SRID=4674;POINT (-39.023375 -3.367294)', '2026-07-17 18:45:55', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023386 -3.367277)'), GeomFromEWKT('SRID=4674;POINT (-39.023375 -3.367294)'))) / (select extract(epoch from '2026-07-17 18:45:55'::timestamp) - extract(epoch from '2026-07-17 18:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023386 -3.367277)'), GeomFromEWKT('SRID=4674;POINT (-39.023375 -3.367294)'))) / (select extract(epoch from '2026-07-17 18:45:55'::timestamp) - extract(epoch from '2026-07-17 18:45: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'), 47442, 'SRID=4674;POINT (-39.023339 -3.367308)', '2026-07-17 18:46:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023375 -3.367294)'), GeomFromEWKT('SRID=4674;POINT (-39.023339 -3.367308)'))) / (select extract(epoch from '2026-07-17 18:46:03'::timestamp) - extract(epoch from '2026-07-17 18:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023375 -3.367294)'), GeomFromEWKT('SRID=4674;POINT (-39.023339 -3.367308)'))) / (select extract(epoch from '2026-07-17 18:46:03'::timestamp) - extract(epoch from '2026-07-17 18:45:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023293 -3.36732)', '2026-07-17 18:46:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023339 -3.367308)'), GeomFromEWKT('SRID=4674;POINT (-39.023293 -3.36732)'))) / (select extract(epoch from '2026-07-17 18:46:11'::timestamp) - extract(epoch from '2026-07-17 18:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023339 -3.367308)'), GeomFromEWKT('SRID=4674;POINT (-39.023293 -3.36732)'))) / (select extract(epoch from '2026-07-17 18:46:11'::timestamp) - extract(epoch from '2026-07-17 18:46: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'), 47442, 'SRID=4674;POINT (-39.023261 -3.367343)', '2026-07-17 18:46:18', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023293 -3.36732)'), GeomFromEWKT('SRID=4674;POINT (-39.023261 -3.367343)'))) / (select extract(epoch from '2026-07-17 18:46:18'::timestamp) - extract(epoch from '2026-07-17 18:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023293 -3.36732)'), GeomFromEWKT('SRID=4674;POINT (-39.023261 -3.367343)'))) / (select extract(epoch from '2026-07-17 18:46:18'::timestamp) - extract(epoch from '2026-07-17 18:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023234 -3.367357)', '2026-07-17 18:46:26', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023261 -3.367343)'), GeomFromEWKT('SRID=4674;POINT (-39.023234 -3.367357)'))) / (select extract(epoch from '2026-07-17 18:46:26'::timestamp) - extract(epoch from '2026-07-17 18:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023261 -3.367343)'), GeomFromEWKT('SRID=4674;POINT (-39.023234 -3.367357)'))) / (select extract(epoch from '2026-07-17 18:46:26'::timestamp) - extract(epoch from '2026-07-17 18:46: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'), 47442, 'SRID=4674;POINT (-39.02321 -3.367346)', '2026-07-17 18:46:34', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023234 -3.367357)'), GeomFromEWKT('SRID=4674;POINT (-39.02321 -3.367346)'))) / (select extract(epoch from '2026-07-17 18:46:34'::timestamp) - extract(epoch from '2026-07-17 18:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023234 -3.367357)'), GeomFromEWKT('SRID=4674;POINT (-39.02321 -3.367346)'))) / (select extract(epoch from '2026-07-17 18:46:34'::timestamp) - extract(epoch from '2026-07-17 18:46: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'), 47442, 'SRID=4674;POINT (-39.023184 -3.367357)', '2026-07-17 18:46:42', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02321 -3.367346)'), GeomFromEWKT('SRID=4674;POINT (-39.023184 -3.367357)'))) / (select extract(epoch from '2026-07-17 18:46:42'::timestamp) - extract(epoch from '2026-07-17 18:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02321 -3.367346)'), GeomFromEWKT('SRID=4674;POINT (-39.023184 -3.367357)'))) / (select extract(epoch from '2026-07-17 18:46:42'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.023158 -3.367375)', '2026-07-17 18:46:50', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023184 -3.367357)'), GeomFromEWKT('SRID=4674;POINT (-39.023158 -3.367375)'))) / (select extract(epoch from '2026-07-17 18:46:50'::timestamp) - extract(epoch from '2026-07-17 18:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023184 -3.367357)'), GeomFromEWKT('SRID=4674;POINT (-39.023158 -3.367375)'))) / (select extract(epoch from '2026-07-17 18:46:50'::timestamp) - extract(epoch from '2026-07-17 18:46: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'), 47442, 'SRID=4674;POINT (-39.023126 -3.367383)', '2026-07-17 18:46:57', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023158 -3.367375)'), GeomFromEWKT('SRID=4674;POINT (-39.023126 -3.367383)'))) / (select extract(epoch from '2026-07-17 18:46:57'::timestamp) - extract(epoch from '2026-07-17 18:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023158 -3.367375)'), GeomFromEWKT('SRID=4674;POINT (-39.023126 -3.367383)'))) / (select extract(epoch from '2026-07-17 18:46:57'::timestamp) - extract(epoch from '2026-07-17 18:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023096 -3.367396)', '2026-07-17 18:47:03', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023126 -3.367383)'), GeomFromEWKT('SRID=4674;POINT (-39.023096 -3.367396)'))) / (select extract(epoch from '2026-07-17 18:47:03'::timestamp) - extract(epoch from '2026-07-17 18:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023126 -3.367383)'), GeomFromEWKT('SRID=4674;POINT (-39.023096 -3.367396)'))) / (select extract(epoch from '2026-07-17 18:47:03'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.023056 -3.367411)', '2026-07-17 18:47:11', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023096 -3.367396)'), GeomFromEWKT('SRID=4674;POINT (-39.023056 -3.367411)'))) / (select extract(epoch from '2026-07-17 18:47:11'::timestamp) - extract(epoch from '2026-07-17 18:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023096 -3.367396)'), GeomFromEWKT('SRID=4674;POINT (-39.023056 -3.367411)'))) / (select extract(epoch from '2026-07-17 18:47:11'::timestamp) - extract(epoch from '2026-07-17 18:47: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'), 47442, 'SRID=4674;POINT (-39.023019 -3.367414)', '2026-07-17 18:47:19', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023056 -3.367411)'), GeomFromEWKT('SRID=4674;POINT (-39.023019 -3.367414)'))) / (select extract(epoch from '2026-07-17 18:47:19'::timestamp) - extract(epoch from '2026-07-17 18:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023056 -3.367411)'), GeomFromEWKT('SRID=4674;POINT (-39.023019 -3.367414)'))) / (select extract(epoch from '2026-07-17 18:47:19'::timestamp) - extract(epoch from '2026-07-17 18:47: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'), 47442, 'SRID=4674;POINT (-39.022975 -3.36742)', '2026-07-17 18:47:28', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023019 -3.367414)'), GeomFromEWKT('SRID=4674;POINT (-39.022975 -3.36742)'))) / (select extract(epoch from '2026-07-17 18:47:28'::timestamp) - extract(epoch from '2026-07-17 18:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023019 -3.367414)'), GeomFromEWKT('SRID=4674;POINT (-39.022975 -3.36742)'))) / (select extract(epoch from '2026-07-17 18:47:28'::timestamp) - extract(epoch from '2026-07-17 18:47: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'), 47442, 'SRID=4674;POINT (-39.022952 -3.367423)', '2026-07-17 18:47:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022975 -3.36742)'), GeomFromEWKT('SRID=4674;POINT (-39.022952 -3.367423)'))) / (select extract(epoch from '2026-07-17 18:47:34'::timestamp) - extract(epoch from '2026-07-17 18:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022975 -3.36742)'), GeomFromEWKT('SRID=4674;POINT (-39.022952 -3.367423)'))) / (select extract(epoch from '2026-07-17 18:47:34'::timestamp) - extract(epoch from '2026-07-17 18:47: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'), 47442, 'SRID=4674;POINT (-39.022908 -3.367431)', '2026-07-17 18:47:44', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022952 -3.367423)'), GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.367431)'))) / (select extract(epoch from '2026-07-17 18:47:44'::timestamp) - extract(epoch from '2026-07-17 18:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022952 -3.367423)'), GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.367431)'))) / (select extract(epoch from '2026-07-17 18:47:44'::timestamp) - extract(epoch from '2026-07-17 18: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'), 47442, 'SRID=4674;POINT (-39.022884 -3.367441)', '2026-07-17 18:47:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.367431)'), GeomFromEWKT('SRID=4674;POINT (-39.022884 -3.367441)'))) / (select extract(epoch from '2026-07-17 18:47:51'::timestamp) - extract(epoch from '2026-07-17 18:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.367431)'), GeomFromEWKT('SRID=4674;POINT (-39.022884 -3.367441)'))) / (select extract(epoch from '2026-07-17 18:47:51'::timestamp) - extract(epoch from '2026-07-17 18:47: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'), 47442, 'SRID=4674;POINT (-39.022869 -3.367443)', '2026-07-17 18:47:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022884 -3.367441)'), GeomFromEWKT('SRID=4674;POINT (-39.022869 -3.367443)'))) / (select extract(epoch from '2026-07-17 18:47:57'::timestamp) - extract(epoch from '2026-07-17 18:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022884 -3.367441)'), GeomFromEWKT('SRID=4674;POINT (-39.022869 -3.367443)'))) / (select extract(epoch from '2026-07-17 18:47:57'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.022838 -3.367459)', '2026-07-17 18:48:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022869 -3.367443)'), GeomFromEWKT('SRID=4674;POINT (-39.022838 -3.367459)'))) / (select extract(epoch from '2026-07-17 18:48:05'::timestamp) - extract(epoch from '2026-07-17 18:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022869 -3.367443)'), GeomFromEWKT('SRID=4674;POINT (-39.022838 -3.367459)'))) / (select extract(epoch from '2026-07-17 18:48:05'::timestamp) - extract(epoch from '2026-07-17 18:47: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'), 47442, 'SRID=4674;POINT (-39.022806 -3.367478)', '2026-07-17 18:48:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022838 -3.367459)'), GeomFromEWKT('SRID=4674;POINT (-39.022806 -3.367478)'))) / (select extract(epoch from '2026-07-17 18:48:13'::timestamp) - extract(epoch from '2026-07-17 18:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022838 -3.367459)'), GeomFromEWKT('SRID=4674;POINT (-39.022806 -3.367478)'))) / (select extract(epoch from '2026-07-17 18:48:13'::timestamp) - extract(epoch from '2026-07-17 18:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022759 -3.367492)', '2026-07-17 18:48:21', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022806 -3.367478)'), GeomFromEWKT('SRID=4674;POINT (-39.022759 -3.367492)'))) / (select extract(epoch from '2026-07-17 18:48:21'::timestamp) - extract(epoch from '2026-07-17 18:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022806 -3.367478)'), GeomFromEWKT('SRID=4674;POINT (-39.022759 -3.367492)'))) / (select extract(epoch from '2026-07-17 18:48:21'::timestamp) - extract(epoch from '2026-07-17 18:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022721 -3.367505)', '2026-07-17 18:48:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022759 -3.367492)'), GeomFromEWKT('SRID=4674;POINT (-39.022721 -3.367505)'))) / (select extract(epoch from '2026-07-17 18:48:29'::timestamp) - extract(epoch from '2026-07-17 18:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022759 -3.367492)'), GeomFromEWKT('SRID=4674;POINT (-39.022721 -3.367505)'))) / (select extract(epoch from '2026-07-17 18:48:29'::timestamp) - extract(epoch from '2026-07-17 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'), 47442, 'SRID=4674;POINT (-39.022699 -3.367514)', '2026-07-17 18:48:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022721 -3.367505)'), GeomFromEWKT('SRID=4674;POINT (-39.022699 -3.367514)'))) / (select extract(epoch from '2026-07-17 18:48:33'::timestamp) - extract(epoch from '2026-07-17 18:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022721 -3.367505)'), GeomFromEWKT('SRID=4674;POINT (-39.022699 -3.367514)'))) / (select extract(epoch from '2026-07-17 18:48:33'::timestamp) - extract(epoch from '2026-07-17 18:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022688 -3.367517)', '2026-07-17 18:48:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022699 -3.367514)'), GeomFromEWKT('SRID=4674;POINT (-39.022688 -3.367517)'))) / (select extract(epoch from '2026-07-17 18:48:38'::timestamp) - extract(epoch from '2026-07-17 18:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022699 -3.367514)'), GeomFromEWKT('SRID=4674;POINT (-39.022688 -3.367517)'))) / (select extract(epoch from '2026-07-17 18:48:38'::timestamp) - extract(epoch from '2026-07-17 18:48: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'), 47442, 'SRID=4674;POINT (-39.022658 -3.367512)', '2026-07-17 18:48:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022688 -3.367517)'), GeomFromEWKT('SRID=4674;POINT (-39.022658 -3.367512)'))) / (select extract(epoch from '2026-07-17 18:48:45'::timestamp) - extract(epoch from '2026-07-17 18:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022688 -3.367517)'), GeomFromEWKT('SRID=4674;POINT (-39.022658 -3.367512)'))) / (select extract(epoch from '2026-07-17 18:48:45'::timestamp) - extract(epoch from '2026-07-17 18:48: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'), 47442, 'SRID=4674;POINT (-39.022624 -3.367519)', '2026-07-17 18:48:53', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022658 -3.367512)'), GeomFromEWKT('SRID=4674;POINT (-39.022624 -3.367519)'))) / (select extract(epoch from '2026-07-17 18:48:53'::timestamp) - extract(epoch from '2026-07-17 18:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022658 -3.367512)'), GeomFromEWKT('SRID=4674;POINT (-39.022624 -3.367519)'))) / (select extract(epoch from '2026-07-17 18:48:53'::timestamp) - extract(epoch from '2026-07-17 18:48: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'), 47442, 'SRID=4674;POINT (-39.022615 -3.367543)', '2026-07-17 18:48:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022624 -3.367519)'), GeomFromEWKT('SRID=4674;POINT (-39.022615 -3.367543)'))) / (select extract(epoch from '2026-07-17 18:48:59'::timestamp) - extract(epoch from '2026-07-17 18:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022624 -3.367519)'), GeomFromEWKT('SRID=4674;POINT (-39.022615 -3.367543)'))) / (select extract(epoch from '2026-07-17 18:48:59'::timestamp) - extract(epoch from '2026-07-17 18:48: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'), 47442, 'SRID=4674;POINT (-39.02258 -3.367564)', '2026-07-17 18:49:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022615 -3.367543)'), GeomFromEWKT('SRID=4674;POINT (-39.02258 -3.367564)'))) / (select extract(epoch from '2026-07-17 18:49:06'::timestamp) - extract(epoch from '2026-07-17 18:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022615 -3.367543)'), GeomFromEWKT('SRID=4674;POINT (-39.02258 -3.367564)'))) / (select extract(epoch from '2026-07-17 18:49:06'::timestamp) - extract(epoch from '2026-07-17 18:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022558 -3.367575)', '2026-07-17 18:49:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02258 -3.367564)'), GeomFromEWKT('SRID=4674;POINT (-39.022558 -3.367575)'))) / (select extract(epoch from '2026-07-17 18:49:15'::timestamp) - extract(epoch from '2026-07-17 18:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02258 -3.367564)'), GeomFromEWKT('SRID=4674;POINT (-39.022558 -3.367575)'))) / (select extract(epoch from '2026-07-17 18:49:15'::timestamp) - extract(epoch from '2026-07-17 18:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022526 -3.367593)', '2026-07-17 18:49:23', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022558 -3.367575)'), GeomFromEWKT('SRID=4674;POINT (-39.022526 -3.367593)'))) / (select extract(epoch from '2026-07-17 18:49:23'::timestamp) - extract(epoch from '2026-07-17 18:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022558 -3.367575)'), GeomFromEWKT('SRID=4674;POINT (-39.022526 -3.367593)'))) / (select extract(epoch from '2026-07-17 18:49:23'::timestamp) - extract(epoch from '2026-07-17 18:49: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'), 47442, 'SRID=4674;POINT (-39.022516 -3.367605)', '2026-07-17 18:49:28', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022526 -3.367593)'), GeomFromEWKT('SRID=4674;POINT (-39.022516 -3.367605)'))) / (select extract(epoch from '2026-07-17 18:49:28'::timestamp) - extract(epoch from '2026-07-17 18:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022526 -3.367593)'), GeomFromEWKT('SRID=4674;POINT (-39.022516 -3.367605)'))) / (select extract(epoch from '2026-07-17 18:49:28'::timestamp) - extract(epoch from '2026-07-17 18:49: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'), 47442, 'SRID=4674;POINT (-39.022487 -3.367614)', '2026-07-17 18:49:37', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022516 -3.367605)'), GeomFromEWKT('SRID=4674;POINT (-39.022487 -3.367614)'))) / (select extract(epoch from '2026-07-17 18:49:37'::timestamp) - extract(epoch from '2026-07-17 18:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022516 -3.367605)'), GeomFromEWKT('SRID=4674;POINT (-39.022487 -3.367614)'))) / (select extract(epoch from '2026-07-17 18:49:37'::timestamp) - extract(epoch from '2026-07-17 18:49: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'), 47442, 'SRID=4674;POINT (-39.022461 -3.367612)', '2026-07-17 18:49:45', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022487 -3.367614)'), GeomFromEWKT('SRID=4674;POINT (-39.022461 -3.367612)'))) / (select extract(epoch from '2026-07-17 18:49:45'::timestamp) - extract(epoch from '2026-07-17 18:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022487 -3.367614)'), GeomFromEWKT('SRID=4674;POINT (-39.022461 -3.367612)'))) / (select extract(epoch from '2026-07-17 18:49:45'::timestamp) - extract(epoch from '2026-07-17 18:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
