 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556464 -2.954999)', '2026-07-13 12:30:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556494 -2.954998)'), GeomFromEWKT('SRID=4674;POINT (-39.556464 -2.954999)'))) / (select extract(epoch from '2026-07-13 12:30:08'::timestamp) - extract(epoch from '2026-07-13 12:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556494 -2.954998)'), GeomFromEWKT('SRID=4674;POINT (-39.556464 -2.954999)'))) / (select extract(epoch from '2026-07-13 12:30:08'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.556404 -2.955002)', '2026-07-13 12:30:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556464 -2.954999)'), GeomFromEWKT('SRID=4674;POINT (-39.556404 -2.955002)'))) / (select extract(epoch from '2026-07-13 12:30:19'::timestamp) - extract(epoch from '2026-07-13 12:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556464 -2.954999)'), GeomFromEWKT('SRID=4674;POINT (-39.556404 -2.955002)'))) / (select extract(epoch from '2026-07-13 12:30:19'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.556376 -2.95501)', '2026-07-13 12:30:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556404 -2.955002)'), GeomFromEWKT('SRID=4674;POINT (-39.556376 -2.95501)'))) / (select extract(epoch from '2026-07-13 12:30:25'::timestamp) - extract(epoch from '2026-07-13 12:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556404 -2.955002)'), GeomFromEWKT('SRID=4674;POINT (-39.556376 -2.95501)'))) / (select extract(epoch from '2026-07-13 12:30:25'::timestamp) - extract(epoch from '2026-07-13 12:30: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'), 47852, 'SRID=4674;POINT (-39.556348 -2.95501)', '2026-07-13 12:30:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556376 -2.95501)'), GeomFromEWKT('SRID=4674;POINT (-39.556348 -2.95501)'))) / (select extract(epoch from '2026-07-13 12:30:31'::timestamp) - extract(epoch from '2026-07-13 12:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556376 -2.95501)'), GeomFromEWKT('SRID=4674;POINT (-39.556348 -2.95501)'))) / (select extract(epoch from '2026-07-13 12:30:31'::timestamp) - extract(epoch from '2026-07-13 12:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556332 -2.955006)', '2026-07-13 12:30:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556348 -2.95501)'), GeomFromEWKT('SRID=4674;POINT (-39.556332 -2.955006)'))) / (select extract(epoch from '2026-07-13 12:30:37'::timestamp) - extract(epoch from '2026-07-13 12:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556348 -2.95501)'), GeomFromEWKT('SRID=4674;POINT (-39.556332 -2.955006)'))) / (select extract(epoch from '2026-07-13 12:30:37'::timestamp) - extract(epoch from '2026-07-13 12:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556311 -2.955006)', '2026-07-13 12:30:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556332 -2.955006)'), GeomFromEWKT('SRID=4674;POINT (-39.556311 -2.955006)'))) / (select extract(epoch from '2026-07-13 12:30:44'::timestamp) - extract(epoch from '2026-07-13 12:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556332 -2.955006)'), GeomFromEWKT('SRID=4674;POINT (-39.556311 -2.955006)'))) / (select extract(epoch from '2026-07-13 12:30:44'::timestamp) - extract(epoch from '2026-07-13 12:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55633 -2.955012)', '2026-07-13 12:31:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556311 -2.955006)'), GeomFromEWKT('SRID=4674;POINT (-39.55633 -2.955012)'))) / (select extract(epoch from '2026-07-13 12:31:06'::timestamp) - extract(epoch from '2026-07-13 12:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556311 -2.955006)'), GeomFromEWKT('SRID=4674;POINT (-39.55633 -2.955012)'))) / (select extract(epoch from '2026-07-13 12:31:06'::timestamp) - extract(epoch from '2026-07-13 12:30: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'), 47852, 'SRID=4674;POINT (-39.556364 -2.955033)', '2026-07-13 12:31:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55633 -2.955012)'), GeomFromEWKT('SRID=4674;POINT (-39.556364 -2.955033)'))) / (select extract(epoch from '2026-07-13 12:31:15'::timestamp) - extract(epoch from '2026-07-13 12:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55633 -2.955012)'), GeomFromEWKT('SRID=4674;POINT (-39.556364 -2.955033)'))) / (select extract(epoch from '2026-07-13 12:31:15'::timestamp) - extract(epoch from '2026-07-13 12:31: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'), 47852, 'SRID=4674;POINT (-39.556414 -2.955035)', '2026-07-13 12:31:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556364 -2.955033)'), GeomFromEWKT('SRID=4674;POINT (-39.556414 -2.955035)'))) / (select extract(epoch from '2026-07-13 12:31:20'::timestamp) - extract(epoch from '2026-07-13 12:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556364 -2.955033)'), GeomFromEWKT('SRID=4674;POINT (-39.556414 -2.955035)'))) / (select extract(epoch from '2026-07-13 12:31:20'::timestamp) - extract(epoch from '2026-07-13 12:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556439 -2.955034)', '2026-07-13 12:31:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556414 -2.955035)'), GeomFromEWKT('SRID=4674;POINT (-39.556439 -2.955034)'))) / (select extract(epoch from '2026-07-13 12:31:25'::timestamp) - extract(epoch from '2026-07-13 12:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556414 -2.955035)'), GeomFromEWKT('SRID=4674;POINT (-39.556439 -2.955034)'))) / (select extract(epoch from '2026-07-13 12:31:25'::timestamp) - extract(epoch from '2026-07-13 12:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556495 -2.955024)', '2026-07-13 12:31:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556439 -2.955034)'), GeomFromEWKT('SRID=4674;POINT (-39.556495 -2.955024)'))) / (select extract(epoch from '2026-07-13 12:31:35'::timestamp) - extract(epoch from '2026-07-13 12:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556439 -2.955034)'), GeomFromEWKT('SRID=4674;POINT (-39.556495 -2.955024)'))) / (select extract(epoch from '2026-07-13 12:31:35'::timestamp) - extract(epoch from '2026-07-13 12:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556543 -2.95501)', '2026-07-13 12:31:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556495 -2.955024)'), GeomFromEWKT('SRID=4674;POINT (-39.556543 -2.95501)'))) / (select extract(epoch from '2026-07-13 12:31:43'::timestamp) - extract(epoch from '2026-07-13 12:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556495 -2.955024)'), GeomFromEWKT('SRID=4674;POINT (-39.556543 -2.95501)'))) / (select extract(epoch from '2026-07-13 12:31:43'::timestamp) - extract(epoch from '2026-07-13 12:31: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'), 47852, 'SRID=4674;POINT (-39.556602 -2.955001)', '2026-07-13 12:31:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556543 -2.95501)'), GeomFromEWKT('SRID=4674;POINT (-39.556602 -2.955001)'))) / (select extract(epoch from '2026-07-13 12:31:56'::timestamp) - extract(epoch from '2026-07-13 12:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556543 -2.95501)'), GeomFromEWKT('SRID=4674;POINT (-39.556602 -2.955001)'))) / (select extract(epoch from '2026-07-13 12:31:56'::timestamp) - extract(epoch from '2026-07-13 12:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556638 -2.955013)', '2026-07-13 12:32:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556602 -2.955001)'), GeomFromEWKT('SRID=4674;POINT (-39.556638 -2.955013)'))) / (select extract(epoch from '2026-07-13 12:32:02'::timestamp) - extract(epoch from '2026-07-13 12:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556602 -2.955001)'), GeomFromEWKT('SRID=4674;POINT (-39.556638 -2.955013)'))) / (select extract(epoch from '2026-07-13 12:32:02'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.556686 -2.955036)', '2026-07-13 12:32:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556638 -2.955013)'), GeomFromEWKT('SRID=4674;POINT (-39.556686 -2.955036)'))) / (select extract(epoch from '2026-07-13 12:32:09'::timestamp) - extract(epoch from '2026-07-13 12:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556638 -2.955013)'), GeomFromEWKT('SRID=4674;POINT (-39.556686 -2.955036)'))) / (select extract(epoch from '2026-07-13 12:32:09'::timestamp) - extract(epoch from '2026-07-13 12:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556747 -2.95507)', '2026-07-13 12:32:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556686 -2.955036)'), GeomFromEWKT('SRID=4674;POINT (-39.556747 -2.95507)'))) / (select extract(epoch from '2026-07-13 12:32:20'::timestamp) - extract(epoch from '2026-07-13 12:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556686 -2.955036)'), GeomFromEWKT('SRID=4674;POINT (-39.556747 -2.95507)'))) / (select extract(epoch from '2026-07-13 12:32:20'::timestamp) - extract(epoch from '2026-07-13 12:32: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'), 47852, 'SRID=4674;POINT (-39.556806 -2.955089)', '2026-07-13 12:32:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556747 -2.95507)'), GeomFromEWKT('SRID=4674;POINT (-39.556806 -2.955089)'))) / (select extract(epoch from '2026-07-13 12:32:29'::timestamp) - extract(epoch from '2026-07-13 12:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556747 -2.95507)'), GeomFromEWKT('SRID=4674;POINT (-39.556806 -2.955089)'))) / (select extract(epoch from '2026-07-13 12:32:29'::timestamp) - extract(epoch from '2026-07-13 12:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556917 -2.955101)', '2026-07-13 12:32:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556806 -2.955089)'), GeomFromEWKT('SRID=4674;POINT (-39.556917 -2.955101)'))) / (select extract(epoch from '2026-07-13 12:32:44'::timestamp) - extract(epoch from '2026-07-13 12:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556806 -2.955089)'), GeomFromEWKT('SRID=4674;POINT (-39.556917 -2.955101)'))) / (select extract(epoch from '2026-07-13 12:32:44'::timestamp) - extract(epoch from '2026-07-13 12:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556971 -2.955124)', '2026-07-13 12:32:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556917 -2.955101)'), GeomFromEWKT('SRID=4674;POINT (-39.556971 -2.955124)'))) / (select extract(epoch from '2026-07-13 12:32:53'::timestamp) - extract(epoch from '2026-07-13 12:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556917 -2.955101)'), GeomFromEWKT('SRID=4674;POINT (-39.556971 -2.955124)'))) / (select extract(epoch from '2026-07-13 12:32:53'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.557064 -2.95515)', '2026-07-13 12:33:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556971 -2.955124)'), GeomFromEWKT('SRID=4674;POINT (-39.557064 -2.95515)'))) / (select extract(epoch from '2026-07-13 12:33:05'::timestamp) - extract(epoch from '2026-07-13 12:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556971 -2.955124)'), GeomFromEWKT('SRID=4674;POINT (-39.557064 -2.95515)'))) / (select extract(epoch from '2026-07-13 12:33:05'::timestamp) - extract(epoch from '2026-07-13 12:32: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'), 47852, 'SRID=4674;POINT (-39.55711 -2.955165)', '2026-07-13 12:33:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557064 -2.95515)'), GeomFromEWKT('SRID=4674;POINT (-39.55711 -2.955165)'))) / (select extract(epoch from '2026-07-13 12:33:13'::timestamp) - extract(epoch from '2026-07-13 12:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557064 -2.95515)'), GeomFromEWKT('SRID=4674;POINT (-39.55711 -2.955165)'))) / (select extract(epoch from '2026-07-13 12:33:13'::timestamp) - extract(epoch from '2026-07-13 12:33: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'), 47852, 'SRID=4674;POINT (-39.557185 -2.955175)', '2026-07-13 12:33:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55711 -2.955165)'), GeomFromEWKT('SRID=4674;POINT (-39.557185 -2.955175)'))) / (select extract(epoch from '2026-07-13 12:33:26'::timestamp) - extract(epoch from '2026-07-13 12:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55711 -2.955165)'), GeomFromEWKT('SRID=4674;POINT (-39.557185 -2.955175)'))) / (select extract(epoch from '2026-07-13 12:33:26'::timestamp) - extract(epoch from '2026-07-13 12:33: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'), 47852, 'SRID=4674;POINT (-39.557235 -2.955191)', '2026-07-13 12:33:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557185 -2.955175)'), GeomFromEWKT('SRID=4674;POINT (-39.557235 -2.955191)'))) / (select extract(epoch from '2026-07-13 12:33:35'::timestamp) - extract(epoch from '2026-07-13 12:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557185 -2.955175)'), GeomFromEWKT('SRID=4674;POINT (-39.557235 -2.955191)'))) / (select extract(epoch from '2026-07-13 12:33:35'::timestamp) - extract(epoch from '2026-07-13 12:33: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'), 47852, 'SRID=4674;POINT (-39.557313 -2.955211)', '2026-07-13 12:33:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557235 -2.955191)'), GeomFromEWKT('SRID=4674;POINT (-39.557313 -2.955211)'))) / (select extract(epoch from '2026-07-13 12:33:45'::timestamp) - extract(epoch from '2026-07-13 12:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557235 -2.955191)'), GeomFromEWKT('SRID=4674;POINT (-39.557313 -2.955211)'))) / (select extract(epoch from '2026-07-13 12:33:45'::timestamp) - extract(epoch from '2026-07-13 12:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557391 -2.955258)', '2026-07-13 12:34:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557313 -2.955211)'), GeomFromEWKT('SRID=4674;POINT (-39.557391 -2.955258)'))) / (select extract(epoch from '2026-07-13 12:34:00'::timestamp) - extract(epoch from '2026-07-13 12:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557313 -2.955211)'), GeomFromEWKT('SRID=4674;POINT (-39.557391 -2.955258)'))) / (select extract(epoch from '2026-07-13 12:34:00'::timestamp) - extract(epoch from '2026-07-13 12:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557467 -2.955302)', '2026-07-13 12:34:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557391 -2.955258)'), GeomFromEWKT('SRID=4674;POINT (-39.557467 -2.955302)'))) / (select extract(epoch from '2026-07-13 12:34:13'::timestamp) - extract(epoch from '2026-07-13 12:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557391 -2.955258)'), GeomFromEWKT('SRID=4674;POINT (-39.557467 -2.955302)'))) / (select extract(epoch from '2026-07-13 12:34:13'::timestamp) - extract(epoch from '2026-07-13 12:34: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'), 47852, 'SRID=4674;POINT (-39.557526 -2.955335)', '2026-07-13 12:34:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557467 -2.955302)'), GeomFromEWKT('SRID=4674;POINT (-39.557526 -2.955335)'))) / (select extract(epoch from '2026-07-13 12:34:23'::timestamp) - extract(epoch from '2026-07-13 12:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557467 -2.955302)'), GeomFromEWKT('SRID=4674;POINT (-39.557526 -2.955335)'))) / (select extract(epoch from '2026-07-13 12:34:23'::timestamp) - extract(epoch from '2026-07-13 12:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55761 -2.955359)', '2026-07-13 12:34:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557526 -2.955335)'), GeomFromEWKT('SRID=4674;POINT (-39.55761 -2.955359)'))) / (select extract(epoch from '2026-07-13 12:34:37'::timestamp) - extract(epoch from '2026-07-13 12:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557526 -2.955335)'), GeomFromEWKT('SRID=4674;POINT (-39.55761 -2.955359)'))) / (select extract(epoch from '2026-07-13 12:34:37'::timestamp) - extract(epoch from '2026-07-13 12:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557677 -2.955386)', '2026-07-13 12:34:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55761 -2.955359)'), GeomFromEWKT('SRID=4674;POINT (-39.557677 -2.955386)'))) / (select extract(epoch from '2026-07-13 12:34:46'::timestamp) - extract(epoch from '2026-07-13 12:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55761 -2.955359)'), GeomFromEWKT('SRID=4674;POINT (-39.557677 -2.955386)'))) / (select extract(epoch from '2026-07-13 12:34:46'::timestamp) - extract(epoch from '2026-07-13 12:34: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'), 47852, 'SRID=4674;POINT (-39.557713 -2.955402)', '2026-07-13 12:34:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557677 -2.955386)'), GeomFromEWKT('SRID=4674;POINT (-39.557713 -2.955402)'))) / (select extract(epoch from '2026-07-13 12:34:52'::timestamp) - extract(epoch from '2026-07-13 12:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557677 -2.955386)'), GeomFromEWKT('SRID=4674;POINT (-39.557713 -2.955402)'))) / (select extract(epoch from '2026-07-13 12:34:52'::timestamp) - extract(epoch from '2026-07-13 12:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557775 -2.955447)', '2026-07-13 12:35:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557713 -2.955402)'), GeomFromEWKT('SRID=4674;POINT (-39.557775 -2.955447)'))) / (select extract(epoch from '2026-07-13 12:35:03'::timestamp) - extract(epoch from '2026-07-13 12:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557713 -2.955402)'), GeomFromEWKT('SRID=4674;POINT (-39.557775 -2.955447)'))) / (select extract(epoch from '2026-07-13 12:35:03'::timestamp) - extract(epoch from '2026-07-13 12:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557821 -2.955468)', '2026-07-13 12:35:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557775 -2.955447)'), GeomFromEWKT('SRID=4674;POINT (-39.557821 -2.955468)'))) / (select extract(epoch from '2026-07-13 12:35:11'::timestamp) - extract(epoch from '2026-07-13 12:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557775 -2.955447)'), GeomFromEWKT('SRID=4674;POINT (-39.557821 -2.955468)'))) / (select extract(epoch from '2026-07-13 12:35:11'::timestamp) - extract(epoch from '2026-07-13 12:35: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'), 47852, 'SRID=4674;POINT (-39.557887 -2.955502)', '2026-07-13 12:35:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557821 -2.955468)'), GeomFromEWKT('SRID=4674;POINT (-39.557887 -2.955502)'))) / (select extract(epoch from '2026-07-13 12:35:24'::timestamp) - extract(epoch from '2026-07-13 12:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557821 -2.955468)'), GeomFromEWKT('SRID=4674;POINT (-39.557887 -2.955502)'))) / (select extract(epoch from '2026-07-13 12:35:24'::timestamp) - extract(epoch from '2026-07-13 12:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55792 -2.955528)', '2026-07-13 12:35:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557887 -2.955502)'), GeomFromEWKT('SRID=4674;POINT (-39.55792 -2.955528)'))) / (select extract(epoch from '2026-07-13 12:35:34'::timestamp) - extract(epoch from '2026-07-13 12:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557887 -2.955502)'), GeomFromEWKT('SRID=4674;POINT (-39.55792 -2.955528)'))) / (select extract(epoch from '2026-07-13 12:35:34'::timestamp) - extract(epoch from '2026-07-13 12:35: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'), 47852, 'SRID=4674;POINT (-39.557979 -2.955564)', '2026-07-13 12:35:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55792 -2.955528)'), GeomFromEWKT('SRID=4674;POINT (-39.557979 -2.955564)'))) / (select extract(epoch from '2026-07-13 12:35:44'::timestamp) - extract(epoch from '2026-07-13 12:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55792 -2.955528)'), GeomFromEWKT('SRID=4674;POINT (-39.557979 -2.955564)'))) / (select extract(epoch from '2026-07-13 12:35:44'::timestamp) - extract(epoch from '2026-07-13 12:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558023 -2.955607)', '2026-07-13 12:35:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557979 -2.955564)'), GeomFromEWKT('SRID=4674;POINT (-39.558023 -2.955607)'))) / (select extract(epoch from '2026-07-13 12:35:55'::timestamp) - extract(epoch from '2026-07-13 12:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557979 -2.955564)'), GeomFromEWKT('SRID=4674;POINT (-39.558023 -2.955607)'))) / (select extract(epoch from '2026-07-13 12:35:55'::timestamp) - extract(epoch from '2026-07-13 12:35: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'), 47852, 'SRID=4674;POINT (-39.558045 -2.955644)', '2026-07-13 12:36:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558023 -2.955607)'), GeomFromEWKT('SRID=4674;POINT (-39.558045 -2.955644)'))) / (select extract(epoch from '2026-07-13 12:36:02'::timestamp) - extract(epoch from '2026-07-13 12:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558023 -2.955607)'), GeomFromEWKT('SRID=4674;POINT (-39.558045 -2.955644)'))) / (select extract(epoch from '2026-07-13 12:36:02'::timestamp) - extract(epoch from '2026-07-13 12:35:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558113 -2.955671)', '2026-07-13 12:36:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558045 -2.955644)'), GeomFromEWKT('SRID=4674;POINT (-39.558113 -2.955671)'))) / (select extract(epoch from '2026-07-13 12:36:13'::timestamp) - extract(epoch from '2026-07-13 12:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558045 -2.955644)'), GeomFromEWKT('SRID=4674;POINT (-39.558113 -2.955671)'))) / (select extract(epoch from '2026-07-13 12:36:13'::timestamp) - extract(epoch from '2026-07-13 12:36:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558153 -2.955725)', '2026-07-13 12:36:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558113 -2.955671)'), GeomFromEWKT('SRID=4674;POINT (-39.558153 -2.955725)'))) / (select extract(epoch from '2026-07-13 12:36:23'::timestamp) - extract(epoch from '2026-07-13 12:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558113 -2.955671)'), GeomFromEWKT('SRID=4674;POINT (-39.558153 -2.955725)'))) / (select extract(epoch from '2026-07-13 12:36:23'::timestamp) - extract(epoch from '2026-07-13 12:36: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'), 47852, 'SRID=4674;POINT (-39.558183 -2.955759)', '2026-07-13 12:36:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558153 -2.955725)'), GeomFromEWKT('SRID=4674;POINT (-39.558183 -2.955759)'))) / (select extract(epoch from '2026-07-13 12:36:34'::timestamp) - extract(epoch from '2026-07-13 12:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558153 -2.955725)'), GeomFromEWKT('SRID=4674;POINT (-39.558183 -2.955759)'))) / (select extract(epoch from '2026-07-13 12:36:34'::timestamp) - extract(epoch from '2026-07-13 12:36: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'), 47852, 'SRID=4674;POINT (-39.558207 -2.955782)', '2026-07-13 12:36:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558183 -2.955759)'), GeomFromEWKT('SRID=4674;POINT (-39.558207 -2.955782)'))) / (select extract(epoch from '2026-07-13 12:36:41'::timestamp) - extract(epoch from '2026-07-13 12:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558183 -2.955759)'), GeomFromEWKT('SRID=4674;POINT (-39.558207 -2.955782)'))) / (select extract(epoch from '2026-07-13 12:36:41'::timestamp) - extract(epoch from '2026-07-13 12:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55826 -2.955825)', '2026-07-13 12:36:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558207 -2.955782)'), GeomFromEWKT('SRID=4674;POINT (-39.55826 -2.955825)'))) / (select extract(epoch from '2026-07-13 12:36:51'::timestamp) - extract(epoch from '2026-07-13 12:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558207 -2.955782)'), GeomFromEWKT('SRID=4674;POINT (-39.55826 -2.955825)'))) / (select extract(epoch from '2026-07-13 12:36:51'::timestamp) - extract(epoch from '2026-07-13 12:36: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'), 47852, 'SRID=4674;POINT (-39.558319 -2.955895)', '2026-07-13 12:37:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55826 -2.955825)'), GeomFromEWKT('SRID=4674;POINT (-39.558319 -2.955895)'))) / (select extract(epoch from '2026-07-13 12:37:02'::timestamp) - extract(epoch from '2026-07-13 12:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55826 -2.955825)'), GeomFromEWKT('SRID=4674;POINT (-39.558319 -2.955895)'))) / (select extract(epoch from '2026-07-13 12:37:02'::timestamp) - extract(epoch from '2026-07-13 12:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558336 -2.955934)', '2026-07-13 12:37:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558319 -2.955895)'), GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.955934)'))) / (select extract(epoch from '2026-07-13 12:37:11'::timestamp) - extract(epoch from '2026-07-13 12:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558319 -2.955895)'), GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.955934)'))) / (select extract(epoch from '2026-07-13 12:37:11'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558395 -2.956043)', '2026-07-13 12:37:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.955934)'), GeomFromEWKT('SRID=4674;POINT (-39.558395 -2.956043)'))) / (select extract(epoch from '2026-07-13 12:37:20'::timestamp) - extract(epoch from '2026-07-13 12:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.955934)'), GeomFromEWKT('SRID=4674;POINT (-39.558395 -2.956043)'))) / (select extract(epoch from '2026-07-13 12:37:20'::timestamp) - extract(epoch from '2026-07-13 12:37: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'), 47852, 'SRID=4674;POINT (-39.558454 -2.956174)', '2026-07-13 12:37:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558395 -2.956043)'), GeomFromEWKT('SRID=4674;POINT (-39.558454 -2.956174)'))) / (select extract(epoch from '2026-07-13 12:37:28'::timestamp) - extract(epoch from '2026-07-13 12:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558395 -2.956043)'), GeomFromEWKT('SRID=4674;POINT (-39.558454 -2.956174)'))) / (select extract(epoch from '2026-07-13 12:37:28'::timestamp) - extract(epoch from '2026-07-13 12:37: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'), 47852, 'SRID=4674;POINT (-39.558484 -2.956267)', '2026-07-13 12:37:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558454 -2.956174)'), GeomFromEWKT('SRID=4674;POINT (-39.558484 -2.956267)'))) / (select extract(epoch from '2026-07-13 12:37:34'::timestamp) - extract(epoch from '2026-07-13 12:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558454 -2.956174)'), GeomFromEWKT('SRID=4674;POINT (-39.558484 -2.956267)'))) / (select extract(epoch from '2026-07-13 12:37:34'::timestamp) - extract(epoch from '2026-07-13 12:37: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'), 47852, 'SRID=4674;POINT (-39.558512 -2.956385)', '2026-07-13 12:37:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558484 -2.956267)'), GeomFromEWKT('SRID=4674;POINT (-39.558512 -2.956385)'))) / (select extract(epoch from '2026-07-13 12:37:40'::timestamp) - extract(epoch from '2026-07-13 12:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558484 -2.956267)'), GeomFromEWKT('SRID=4674;POINT (-39.558512 -2.956385)'))) / (select extract(epoch from '2026-07-13 12:37:40'::timestamp) - extract(epoch from '2026-07-13 12:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558599 -2.956514)', '2026-07-13 12:37:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558512 -2.956385)'), GeomFromEWKT('SRID=4674;POINT (-39.558599 -2.956514)'))) / (select extract(epoch from '2026-07-13 12:37:48'::timestamp) - extract(epoch from '2026-07-13 12:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558512 -2.956385)'), GeomFromEWKT('SRID=4674;POINT (-39.558599 -2.956514)'))) / (select extract(epoch from '2026-07-13 12:37:48'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558659 -2.956636)', '2026-07-13 12:37:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558599 -2.956514)'), GeomFromEWKT('SRID=4674;POINT (-39.558659 -2.956636)'))) / (select extract(epoch from '2026-07-13 12:37:56'::timestamp) - extract(epoch from '2026-07-13 12:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558599 -2.956514)'), GeomFromEWKT('SRID=4674;POINT (-39.558659 -2.956636)'))) / (select extract(epoch from '2026-07-13 12:37:56'::timestamp) - extract(epoch from '2026-07-13 12:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55867 -2.956762)', '2026-07-13 12:38:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558659 -2.956636)'), GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.956762)'))) / (select extract(epoch from '2026-07-13 12:38:04'::timestamp) - extract(epoch from '2026-07-13 12:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558659 -2.956636)'), GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.956762)'))) / (select extract(epoch from '2026-07-13 12:38:04'::timestamp) - extract(epoch from '2026-07-13 12:37: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'), 47852, 'SRID=4674;POINT (-39.558679 -2.956868)', '2026-07-13 12:38:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.956762)'), GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.956868)'))) / (select extract(epoch from '2026-07-13 12:38:10'::timestamp) - extract(epoch from '2026-07-13 12:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.956762)'), GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.956868)'))) / (select extract(epoch from '2026-07-13 12:38:10'::timestamp) - extract(epoch from '2026-07-13 12:38: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'), 47852, 'SRID=4674;POINT (-39.558708 -2.956985)', '2026-07-13 12:38:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.956868)'), GeomFromEWKT('SRID=4674;POINT (-39.558708 -2.956985)'))) / (select extract(epoch from '2026-07-13 12:38:16'::timestamp) - extract(epoch from '2026-07-13 12:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.956868)'), GeomFromEWKT('SRID=4674;POINT (-39.558708 -2.956985)'))) / (select extract(epoch from '2026-07-13 12:38:16'::timestamp) - extract(epoch from '2026-07-13 12:38: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'), 47852, 'SRID=4674;POINT (-39.558741 -2.957164)', '2026-07-13 12:38:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558708 -2.956985)'), GeomFromEWKT('SRID=4674;POINT (-39.558741 -2.957164)'))) / (select extract(epoch from '2026-07-13 12:38:26'::timestamp) - extract(epoch from '2026-07-13 12:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558708 -2.956985)'), GeomFromEWKT('SRID=4674;POINT (-39.558741 -2.957164)'))) / (select extract(epoch from '2026-07-13 12:38:26'::timestamp) - extract(epoch from '2026-07-13 12:38: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'), 47852, 'SRID=4674;POINT (-39.558768 -2.957303)', '2026-07-13 12:38:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558741 -2.957164)'), GeomFromEWKT('SRID=4674;POINT (-39.558768 -2.957303)'))) / (select extract(epoch from '2026-07-13 12:38:34'::timestamp) - extract(epoch from '2026-07-13 12:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558741 -2.957164)'), GeomFromEWKT('SRID=4674;POINT (-39.558768 -2.957303)'))) / (select extract(epoch from '2026-07-13 12:38:34'::timestamp) - extract(epoch from '2026-07-13 12:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558802 -2.957429)', '2026-07-13 12:38:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558768 -2.957303)'), GeomFromEWKT('SRID=4674;POINT (-39.558802 -2.957429)'))) / (select extract(epoch from '2026-07-13 12:38:42'::timestamp) - extract(epoch from '2026-07-13 12:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558768 -2.957303)'), GeomFromEWKT('SRID=4674;POINT (-39.558802 -2.957429)'))) / (select extract(epoch from '2026-07-13 12:38:42'::timestamp) - extract(epoch from '2026-07-13 12:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558818 -2.957583)', '2026-07-13 12:38:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558802 -2.957429)'), GeomFromEWKT('SRID=4674;POINT (-39.558818 -2.957583)'))) / (select extract(epoch from '2026-07-13 12:38:51'::timestamp) - extract(epoch from '2026-07-13 12:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558802 -2.957429)'), GeomFromEWKT('SRID=4674;POINT (-39.558818 -2.957583)'))) / (select extract(epoch from '2026-07-13 12:38:51'::timestamp) - extract(epoch from '2026-07-13 12:38: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'), 47852, 'SRID=4674;POINT (-39.558827 -2.957714)', '2026-07-13 12:38:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558818 -2.957583)'), GeomFromEWKT('SRID=4674;POINT (-39.558827 -2.957714)'))) / (select extract(epoch from '2026-07-13 12:38:58'::timestamp) - extract(epoch from '2026-07-13 12:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558818 -2.957583)'), GeomFromEWKT('SRID=4674;POINT (-39.558827 -2.957714)'))) / (select extract(epoch from '2026-07-13 12:38:58'::timestamp) - extract(epoch from '2026-07-13 12:38: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'), 47852, 'SRID=4674;POINT (-39.558828 -2.95782)', '2026-07-13 12:39:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558827 -2.957714)'), GeomFromEWKT('SRID=4674;POINT (-39.558828 -2.95782)'))) / (select extract(epoch from '2026-07-13 12:39:04'::timestamp) - extract(epoch from '2026-07-13 12:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558827 -2.957714)'), GeomFromEWKT('SRID=4674;POINT (-39.558828 -2.95782)'))) / (select extract(epoch from '2026-07-13 12:39:04'::timestamp) - extract(epoch from '2026-07-13 12:38: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'), 47852, 'SRID=4674;POINT (-39.558846 -2.95797)', '2026-07-13 12:39:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558828 -2.95782)'), GeomFromEWKT('SRID=4674;POINT (-39.558846 -2.95797)'))) / (select extract(epoch from '2026-07-13 12:39:13'::timestamp) - extract(epoch from '2026-07-13 12:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558828 -2.95782)'), GeomFromEWKT('SRID=4674;POINT (-39.558846 -2.95797)'))) / (select extract(epoch from '2026-07-13 12:39:13'::timestamp) - extract(epoch from '2026-07-13 12:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558848 -2.958058)', '2026-07-13 12:39:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558846 -2.95797)'), GeomFromEWKT('SRID=4674;POINT (-39.558848 -2.958058)'))) / (select extract(epoch from '2026-07-13 12:39:18'::timestamp) - extract(epoch from '2026-07-13 12:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558846 -2.95797)'), GeomFromEWKT('SRID=4674;POINT (-39.558848 -2.958058)'))) / (select extract(epoch from '2026-07-13 12:39:18'::timestamp) - extract(epoch from '2026-07-13 12:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558824 -2.958119)', '2026-07-13 12:39:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558848 -2.958058)'), GeomFromEWKT('SRID=4674;POINT (-39.558824 -2.958119)'))) / (select extract(epoch from '2026-07-13 12:39:22'::timestamp) - extract(epoch from '2026-07-13 12:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558848 -2.958058)'), GeomFromEWKT('SRID=4674;POINT (-39.558824 -2.958119)'))) / (select extract(epoch from '2026-07-13 12:39:22'::timestamp) - extract(epoch from '2026-07-13 12:39: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'), 47852, 'SRID=4674;POINT (-39.558825 -2.958135)', '2026-07-13 12:39:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558824 -2.958119)'), GeomFromEWKT('SRID=4674;POINT (-39.558825 -2.958135)'))) / (select extract(epoch from '2026-07-13 12:39:23'::timestamp) - extract(epoch from '2026-07-13 12:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558824 -2.958119)'), GeomFromEWKT('SRID=4674;POINT (-39.558825 -2.958135)'))) / (select extract(epoch from '2026-07-13 12:39:23'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558807 -2.958227)', '2026-07-13 12:39:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558825 -2.958135)'), GeomFromEWKT('SRID=4674;POINT (-39.558807 -2.958227)'))) / (select extract(epoch from '2026-07-13 12:39:29'::timestamp) - extract(epoch from '2026-07-13 12:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558825 -2.958135)'), GeomFromEWKT('SRID=4674;POINT (-39.558807 -2.958227)'))) / (select extract(epoch from '2026-07-13 12:39:29'::timestamp) - extract(epoch from '2026-07-13 12:39: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'), 47852, 'SRID=4674;POINT (-39.558809 -2.958351)', '2026-07-13 12:39:36', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558807 -2.958227)'), GeomFromEWKT('SRID=4674;POINT (-39.558809 -2.958351)'))) / (select extract(epoch from '2026-07-13 12:39:36'::timestamp) - extract(epoch from '2026-07-13 12:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558807 -2.958227)'), GeomFromEWKT('SRID=4674;POINT (-39.558809 -2.958351)'))) / (select extract(epoch from '2026-07-13 12:39:36'::timestamp) - extract(epoch from '2026-07-13 12:39: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'), 47852, 'SRID=4674;POINT (-39.55881 -2.958464)', '2026-07-13 12:39:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558809 -2.958351)'), GeomFromEWKT('SRID=4674;POINT (-39.55881 -2.958464)'))) / (select extract(epoch from '2026-07-13 12:39:42'::timestamp) - extract(epoch from '2026-07-13 12:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558809 -2.958351)'), GeomFromEWKT('SRID=4674;POINT (-39.55881 -2.958464)'))) / (select extract(epoch from '2026-07-13 12:39:42'::timestamp) - extract(epoch from '2026-07-13 12:39: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'), 47852, 'SRID=4674;POINT (-39.55879 -2.95862)', '2026-07-13 12:39:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55881 -2.958464)'), GeomFromEWKT('SRID=4674;POINT (-39.55879 -2.95862)'))) / (select extract(epoch from '2026-07-13 12:39:49'::timestamp) - extract(epoch from '2026-07-13 12:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55881 -2.958464)'), GeomFromEWKT('SRID=4674;POINT (-39.55879 -2.95862)'))) / (select extract(epoch from '2026-07-13 12:39:49'::timestamp) - extract(epoch from '2026-07-13 12:39: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'), 47852, 'SRID=4674;POINT (-39.558772 -2.958736)', '2026-07-13 12:39:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55879 -2.95862)'), GeomFromEWKT('SRID=4674;POINT (-39.558772 -2.958736)'))) / (select extract(epoch from '2026-07-13 12:39:55'::timestamp) - extract(epoch from '2026-07-13 12:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55879 -2.95862)'), GeomFromEWKT('SRID=4674;POINT (-39.558772 -2.958736)'))) / (select extract(epoch from '2026-07-13 12:39:55'::timestamp) - extract(epoch from '2026-07-13 12:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558734 -2.95885)', '2026-07-13 12:40:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558772 -2.958736)'), GeomFromEWKT('SRID=4674;POINT (-39.558734 -2.95885)'))) / (select extract(epoch from '2026-07-13 12:40:02'::timestamp) - extract(epoch from '2026-07-13 12:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558772 -2.958736)'), GeomFromEWKT('SRID=4674;POINT (-39.558734 -2.95885)'))) / (select extract(epoch from '2026-07-13 12:40:02'::timestamp) - extract(epoch from '2026-07-13 12:39: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'), 47852, 'SRID=4674;POINT (-39.558697 -2.958965)', '2026-07-13 12:40:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558734 -2.95885)'), GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.958965)'))) / (select extract(epoch from '2026-07-13 12:40:10'::timestamp) - extract(epoch from '2026-07-13 12:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558734 -2.95885)'), GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.958965)'))) / (select extract(epoch from '2026-07-13 12:40:10'::timestamp) - extract(epoch from '2026-07-13 12:40: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'), 47852, 'SRID=4674;POINT (-39.558688 -2.958993)', '2026-07-13 12:40:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.958965)'), GeomFromEWKT('SRID=4674;POINT (-39.558688 -2.958993)'))) / (select extract(epoch from '2026-07-13 12:40:12'::timestamp) - extract(epoch from '2026-07-13 12:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.958965)'), GeomFromEWKT('SRID=4674;POINT (-39.558688 -2.958993)'))) / (select extract(epoch from '2026-07-13 12:40:12'::timestamp) - extract(epoch from '2026-07-13 12:40: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'), 47852, 'SRID=4674;POINT (-39.558672 -2.959055)', '2026-07-13 12:40:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558688 -2.958993)'), GeomFromEWKT('SRID=4674;POINT (-39.558672 -2.959055)'))) / (select extract(epoch from '2026-07-13 12:40:16'::timestamp) - extract(epoch from '2026-07-13 12:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558688 -2.958993)'), GeomFromEWKT('SRID=4674;POINT (-39.558672 -2.959055)'))) / (select extract(epoch from '2026-07-13 12:40:16'::timestamp) - extract(epoch from '2026-07-13 12:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55867 -2.959085)', '2026-07-13 12:40:18', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558672 -2.959055)'), GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.959085)'))) / (select extract(epoch from '2026-07-13 12:40:18'::timestamp) - extract(epoch from '2026-07-13 12:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558672 -2.959055)'), GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.959085)'))) / (select extract(epoch from '2026-07-13 12:40:18'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558669 -2.95914)', '2026-07-13 12:40:21', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.959085)'), GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.95914)'))) / (select extract(epoch from '2026-07-13 12:40:21'::timestamp) - extract(epoch from '2026-07-13 12:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.959085)'), GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.95914)'))) / (select extract(epoch from '2026-07-13 12:40:21'::timestamp) - extract(epoch from '2026-07-13 12:40: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'), 47852, 'SRID=4674;POINT (-39.558679 -2.959265)', '2026-07-13 12:40:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.95914)'), GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.959265)'))) / (select extract(epoch from '2026-07-13 12:40:28'::timestamp) - extract(epoch from '2026-07-13 12:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.95914)'), GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.959265)'))) / (select extract(epoch from '2026-07-13 12:40:28'::timestamp) - extract(epoch from '2026-07-13 12:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558679 -2.959415)', '2026-07-13 12:40:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.959265)'), GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.959415)'))) / (select extract(epoch from '2026-07-13 12:40:36'::timestamp) - extract(epoch from '2026-07-13 12:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.959265)'), GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.959415)'))) / (select extract(epoch from '2026-07-13 12:40:36'::timestamp) - extract(epoch from '2026-07-13 12:40:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558683 -2.959564)', '2026-07-13 12:40:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.959415)'), GeomFromEWKT('SRID=4674;POINT (-39.558683 -2.959564)'))) / (select extract(epoch from '2026-07-13 12:40:44'::timestamp) - extract(epoch from '2026-07-13 12:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558679 -2.959415)'), GeomFromEWKT('SRID=4674;POINT (-39.558683 -2.959564)'))) / (select extract(epoch from '2026-07-13 12:40:44'::timestamp) - extract(epoch from '2026-07-13 12:40: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'), 47852, 'SRID=4674;POINT (-39.558692 -2.959689)', '2026-07-13 12:40:51', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558683 -2.959564)'), GeomFromEWKT('SRID=4674;POINT (-39.558692 -2.959689)'))) / (select extract(epoch from '2026-07-13 12:40:51'::timestamp) - extract(epoch from '2026-07-13 12:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558683 -2.959564)'), GeomFromEWKT('SRID=4674;POINT (-39.558692 -2.959689)'))) / (select extract(epoch from '2026-07-13 12:40:51'::timestamp) - extract(epoch from '2026-07-13 12:40: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'), 47852, 'SRID=4674;POINT (-39.558693 -2.959797)', '2026-07-13 12:40:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558692 -2.959689)'), GeomFromEWKT('SRID=4674;POINT (-39.558693 -2.959797)'))) / (select extract(epoch from '2026-07-13 12:40:57'::timestamp) - extract(epoch from '2026-07-13 12:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558692 -2.959689)'), GeomFromEWKT('SRID=4674;POINT (-39.558693 -2.959797)'))) / (select extract(epoch from '2026-07-13 12:40:57'::timestamp) - extract(epoch from '2026-07-13 12:40: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'), 47852, 'SRID=4674;POINT (-39.558699 -2.959853)', '2026-07-13 12:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558693 -2.959797)'), GeomFromEWKT('SRID=4674;POINT (-39.558699 -2.959853)'))) / (select extract(epoch from '2026-07-13 12:41:00'::timestamp) - extract(epoch from '2026-07-13 12:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558693 -2.959797)'), GeomFromEWKT('SRID=4674;POINT (-39.558699 -2.959853)'))) / (select extract(epoch from '2026-07-13 12:41:00'::timestamp) - extract(epoch from '2026-07-13 12:40: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'), 47852, 'SRID=4674;POINT (-39.558697 -2.959908)', '2026-07-13 12:41:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558699 -2.959853)'), GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.959908)'))) / (select extract(epoch from '2026-07-13 12:41:03'::timestamp) - extract(epoch from '2026-07-13 12:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558699 -2.959853)'), GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.959908)'))) / (select extract(epoch from '2026-07-13 12:41:03'::timestamp) - extract(epoch from '2026-07-13 12:41: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'), 47852, 'SRID=4674;POINT (-39.558695 -2.960056)', '2026-07-13 12:41:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.959908)'), GeomFromEWKT('SRID=4674;POINT (-39.558695 -2.960056)'))) / (select extract(epoch from '2026-07-13 12:41:10'::timestamp) - extract(epoch from '2026-07-13 12:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.959908)'), GeomFromEWKT('SRID=4674;POINT (-39.558695 -2.960056)'))) / (select extract(epoch from '2026-07-13 12:41:10'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.55867 -2.960157)', '2026-07-13 12:41:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558695 -2.960056)'), GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.960157)'))) / (select extract(epoch from '2026-07-13 12:41:16'::timestamp) - extract(epoch from '2026-07-13 12:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558695 -2.960056)'), GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.960157)'))) / (select extract(epoch from '2026-07-13 12:41:16'::timestamp) - extract(epoch from '2026-07-13 12:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558645 -2.960261)', '2026-07-13 12:41:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.960157)'), GeomFromEWKT('SRID=4674;POINT (-39.558645 -2.960261)'))) / (select extract(epoch from '2026-07-13 12:41:23'::timestamp) - extract(epoch from '2026-07-13 12:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.960157)'), GeomFromEWKT('SRID=4674;POINT (-39.558645 -2.960261)'))) / (select extract(epoch from '2026-07-13 12:41:23'::timestamp) - extract(epoch from '2026-07-13 12:41: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'), 47852, 'SRID=4674;POINT (-39.558644 -2.960397)', '2026-07-13 12:41:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558645 -2.960261)'), GeomFromEWKT('SRID=4674;POINT (-39.558644 -2.960397)'))) / (select extract(epoch from '2026-07-13 12:41:31'::timestamp) - extract(epoch from '2026-07-13 12:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558645 -2.960261)'), GeomFromEWKT('SRID=4674;POINT (-39.558644 -2.960397)'))) / (select extract(epoch from '2026-07-13 12:41:31'::timestamp) - extract(epoch from '2026-07-13 12:41: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'), 47852, 'SRID=4674;POINT (-39.558648 -2.960598)', '2026-07-13 12:41:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558644 -2.960397)'), GeomFromEWKT('SRID=4674;POINT (-39.558648 -2.960598)'))) / (select extract(epoch from '2026-07-13 12:41:41'::timestamp) - extract(epoch from '2026-07-13 12:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558644 -2.960397)'), GeomFromEWKT('SRID=4674;POINT (-39.558648 -2.960598)'))) / (select extract(epoch from '2026-07-13 12:41:41'::timestamp) - extract(epoch from '2026-07-13 12:41: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'), 47852, 'SRID=4674;POINT (-39.558659 -2.96075)', '2026-07-13 12:41:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558648 -2.960598)'), GeomFromEWKT('SRID=4674;POINT (-39.558659 -2.96075)'))) / (select extract(epoch from '2026-07-13 12:41:48'::timestamp) - extract(epoch from '2026-07-13 12:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558648 -2.960598)'), GeomFromEWKT('SRID=4674;POINT (-39.558659 -2.96075)'))) / (select extract(epoch from '2026-07-13 12:41:48'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558658 -2.96087)', '2026-07-13 12:41:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558659 -2.96075)'), GeomFromEWKT('SRID=4674;POINT (-39.558658 -2.96087)'))) / (select extract(epoch from '2026-07-13 12:41:54'::timestamp) - extract(epoch from '2026-07-13 12:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558659 -2.96075)'), GeomFromEWKT('SRID=4674;POINT (-39.558658 -2.96087)'))) / (select extract(epoch from '2026-07-13 12:41:54'::timestamp) - extract(epoch from '2026-07-13 12:41: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'), 47852, 'SRID=4674;POINT (-39.558667 -2.960982)', '2026-07-13 12:41:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558658 -2.96087)'), GeomFromEWKT('SRID=4674;POINT (-39.558667 -2.960982)'))) / (select extract(epoch from '2026-07-13 12:41:59'::timestamp) - extract(epoch from '2026-07-13 12:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558658 -2.96087)'), GeomFromEWKT('SRID=4674;POINT (-39.558667 -2.960982)'))) / (select extract(epoch from '2026-07-13 12:41:59'::timestamp) - extract(epoch from '2026-07-13 12:41: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'), 47852, 'SRID=4674;POINT (-39.558665 -2.961094)', '2026-07-13 12:42:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558667 -2.960982)'), GeomFromEWKT('SRID=4674;POINT (-39.558665 -2.961094)'))) / (select extract(epoch from '2026-07-13 12:42:05'::timestamp) - extract(epoch from '2026-07-13 12:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558667 -2.960982)'), GeomFromEWKT('SRID=4674;POINT (-39.558665 -2.961094)'))) / (select extract(epoch from '2026-07-13 12:42:05'::timestamp) - extract(epoch from '2026-07-13 12:41: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'), 47852, 'SRID=4674;POINT (-39.558669 -2.961112)', '2026-07-13 12:42:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558665 -2.961094)'), GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.961112)'))) / (select extract(epoch from '2026-07-13 12:42:06'::timestamp) - extract(epoch from '2026-07-13 12:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558665 -2.961094)'), GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.961112)'))) / (select extract(epoch from '2026-07-13 12:42:06'::timestamp) - extract(epoch from '2026-07-13 12:42: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'), 47852, 'SRID=4674;POINT (-39.55868 -2.961232)', '2026-07-13 12:42:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.961112)'), GeomFromEWKT('SRID=4674;POINT (-39.55868 -2.961232)'))) / (select extract(epoch from '2026-07-13 12:42:13'::timestamp) - extract(epoch from '2026-07-13 12:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.961112)'), GeomFromEWKT('SRID=4674;POINT (-39.55868 -2.961232)'))) / (select extract(epoch from '2026-07-13 12:42:13'::timestamp) - extract(epoch from '2026-07-13 12:42: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'), 47852, 'SRID=4674;POINT (-39.558684 -2.96133)', '2026-07-13 12:42:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55868 -2.961232)'), GeomFromEWKT('SRID=4674;POINT (-39.558684 -2.96133)'))) / (select extract(epoch from '2026-07-13 12:42:19'::timestamp) - extract(epoch from '2026-07-13 12:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55868 -2.961232)'), GeomFromEWKT('SRID=4674;POINT (-39.558684 -2.96133)'))) / (select extract(epoch from '2026-07-13 12:42:19'::timestamp) - extract(epoch from '2026-07-13 12:42: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'), 47852, 'SRID=4674;POINT (-39.558697 -2.961475)', '2026-07-13 12:42:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558684 -2.96133)'), GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.961475)'))) / (select extract(epoch from '2026-07-13 12:42:27'::timestamp) - extract(epoch from '2026-07-13 12:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558684 -2.96133)'), GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.961475)'))) / (select extract(epoch from '2026-07-13 12:42:27'::timestamp) - extract(epoch from '2026-07-13 12:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558699 -2.961629)', '2026-07-13 12:42:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.961475)'), GeomFromEWKT('SRID=4674;POINT (-39.558699 -2.961629)'))) / (select extract(epoch from '2026-07-13 12:42:35'::timestamp) - extract(epoch from '2026-07-13 12:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558697 -2.961475)'), GeomFromEWKT('SRID=4674;POINT (-39.558699 -2.961629)'))) / (select extract(epoch from '2026-07-13 12:42:35'::timestamp) - extract(epoch from '2026-07-13 12:42: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'), 47852, 'SRID=4674;POINT (-39.558691 -2.961736)', '2026-07-13 12:42:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558699 -2.961629)'), GeomFromEWKT('SRID=4674;POINT (-39.558691 -2.961736)'))) / (select extract(epoch from '2026-07-13 12:42:41'::timestamp) - extract(epoch from '2026-07-13 12:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558699 -2.961629)'), GeomFromEWKT('SRID=4674;POINT (-39.558691 -2.961736)'))) / (select extract(epoch from '2026-07-13 12:42:41'::timestamp) - extract(epoch from '2026-07-13 12:42: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'), 47852, 'SRID=4674;POINT (-39.558671 -2.961845)', '2026-07-13 12:42:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558691 -2.961736)'), GeomFromEWKT('SRID=4674;POINT (-39.558671 -2.961845)'))) / (select extract(epoch from '2026-07-13 12:42:47'::timestamp) - extract(epoch from '2026-07-13 12:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558691 -2.961736)'), GeomFromEWKT('SRID=4674;POINT (-39.558671 -2.961845)'))) / (select extract(epoch from '2026-07-13 12:42:47'::timestamp) - extract(epoch from '2026-07-13 12:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558669 -2.96201)', '2026-07-13 12:42:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558671 -2.961845)'), GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.96201)'))) / (select extract(epoch from '2026-07-13 12:42:56'::timestamp) - extract(epoch from '2026-07-13 12:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558671 -2.961845)'), GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.96201)'))) / (select extract(epoch from '2026-07-13 12:42:56'::timestamp) - extract(epoch from '2026-07-13 12:42: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'), 47852, 'SRID=4674;POINT (-39.558675 -2.962092)', '2026-07-13 12:43:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.96201)'), GeomFromEWKT('SRID=4674;POINT (-39.558675 -2.962092)'))) / (select extract(epoch from '2026-07-13 12:43:02'::timestamp) - extract(epoch from '2026-07-13 12:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.96201)'), GeomFromEWKT('SRID=4674;POINT (-39.558675 -2.962092)'))) / (select extract(epoch from '2026-07-13 12:43:02'::timestamp) - extract(epoch from '2026-07-13 12:42: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'), 47852, 'SRID=4674;POINT (-39.558664 -2.962227)', '2026-07-13 12:43:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558675 -2.962092)'), GeomFromEWKT('SRID=4674;POINT (-39.558664 -2.962227)'))) / (select extract(epoch from '2026-07-13 12:43:11'::timestamp) - extract(epoch from '2026-07-13 12:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558675 -2.962092)'), GeomFromEWKT('SRID=4674;POINT (-39.558664 -2.962227)'))) / (select extract(epoch from '2026-07-13 12:43:11'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558669 -2.962341)', '2026-07-13 12:43:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558664 -2.962227)'), GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.962341)'))) / (select extract(epoch from '2026-07-13 12:43:18'::timestamp) - extract(epoch from '2026-07-13 12:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558664 -2.962227)'), GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.962341)'))) / (select extract(epoch from '2026-07-13 12:43:18'::timestamp) - extract(epoch from '2026-07-13 12:43: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'), 47852, 'SRID=4674;POINT (-39.558668 -2.962438)', '2026-07-13 12:43:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.962341)'), GeomFromEWKT('SRID=4674;POINT (-39.558668 -2.962438)'))) / (select extract(epoch from '2026-07-13 12:43:24'::timestamp) - extract(epoch from '2026-07-13 12:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558669 -2.962341)'), GeomFromEWKT('SRID=4674;POINT (-39.558668 -2.962438)'))) / (select extract(epoch from '2026-07-13 12:43:24'::timestamp) - extract(epoch from '2026-07-13 12:43: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'), 47852, 'SRID=4674;POINT (-39.558691 -2.962507)', '2026-07-13 12:43:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558668 -2.962438)'), GeomFromEWKT('SRID=4674;POINT (-39.558691 -2.962507)'))) / (select extract(epoch from '2026-07-13 12:43:27'::timestamp) - extract(epoch from '2026-07-13 12:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558668 -2.962438)'), GeomFromEWKT('SRID=4674;POINT (-39.558691 -2.962507)'))) / (select extract(epoch from '2026-07-13 12:43:27'::timestamp) - extract(epoch from '2026-07-13 12:43: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'), 47852, 'SRID=4674;POINT (-39.5587 -2.962552)', '2026-07-13 12:43:29', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558691 -2.962507)'), GeomFromEWKT('SRID=4674;POINT (-39.5587 -2.962552)'))) / (select extract(epoch from '2026-07-13 12:43:29'::timestamp) - extract(epoch from '2026-07-13 12:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558691 -2.962507)'), GeomFromEWKT('SRID=4674;POINT (-39.5587 -2.962552)'))) / (select extract(epoch from '2026-07-13 12:43:29'::timestamp) - extract(epoch from '2026-07-13 12:43: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'), 47852, 'SRID=4674;POINT (-39.558714 -2.962661)', '2026-07-13 12:43:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5587 -2.962552)'), GeomFromEWKT('SRID=4674;POINT (-39.558714 -2.962661)'))) / (select extract(epoch from '2026-07-13 12:43:34'::timestamp) - extract(epoch from '2026-07-13 12:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5587 -2.962552)'), GeomFromEWKT('SRID=4674;POINT (-39.558714 -2.962661)'))) / (select extract(epoch from '2026-07-13 12:43:34'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558698 -2.962786)', '2026-07-13 12:43:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558714 -2.962661)'), GeomFromEWKT('SRID=4674;POINT (-39.558698 -2.962786)'))) / (select extract(epoch from '2026-07-13 12:43:40'::timestamp) - extract(epoch from '2026-07-13 12:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558714 -2.962661)'), GeomFromEWKT('SRID=4674;POINT (-39.558698 -2.962786)'))) / (select extract(epoch from '2026-07-13 12:43:40'::timestamp) - extract(epoch from '2026-07-13 12:43: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'), 47852, 'SRID=4674;POINT (-39.558698 -2.962933)', '2026-07-13 12:43:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558698 -2.962786)'), GeomFromEWKT('SRID=4674;POINT (-39.558698 -2.962933)'))) / (select extract(epoch from '2026-07-13 12:43:47'::timestamp) - extract(epoch from '2026-07-13 12:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558698 -2.962786)'), GeomFromEWKT('SRID=4674;POINT (-39.558698 -2.962933)'))) / (select extract(epoch from '2026-07-13 12:43:47'::timestamp) - extract(epoch from '2026-07-13 12:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558692 -2.963044)', '2026-07-13 12:43:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558698 -2.962933)'), GeomFromEWKT('SRID=4674;POINT (-39.558692 -2.963044)'))) / (select extract(epoch from '2026-07-13 12:43:53'::timestamp) - extract(epoch from '2026-07-13 12:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558698 -2.962933)'), GeomFromEWKT('SRID=4674;POINT (-39.558692 -2.963044)'))) / (select extract(epoch from '2026-07-13 12:43:53'::timestamp) - extract(epoch from '2026-07-13 12:43:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558676 -2.963116)', '2026-07-13 12:43:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558692 -2.963044)'), GeomFromEWKT('SRID=4674;POINT (-39.558676 -2.963116)'))) / (select extract(epoch from '2026-07-13 12:43:58'::timestamp) - extract(epoch from '2026-07-13 12:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558692 -2.963044)'), GeomFromEWKT('SRID=4674;POINT (-39.558676 -2.963116)'))) / (select extract(epoch from '2026-07-13 12:43:58'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558653 -2.963208)', '2026-07-13 12:44:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558676 -2.963116)'), GeomFromEWKT('SRID=4674;POINT (-39.558653 -2.963208)'))) / (select extract(epoch from '2026-07-13 12:44:03'::timestamp) - extract(epoch from '2026-07-13 12:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558676 -2.963116)'), GeomFromEWKT('SRID=4674;POINT (-39.558653 -2.963208)'))) / (select extract(epoch from '2026-07-13 12:44:03'::timestamp) - extract(epoch from '2026-07-13 12:43: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'), 47852, 'SRID=4674;POINT (-39.558629 -2.963311)', '2026-07-13 12:44:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558653 -2.963208)'), GeomFromEWKT('SRID=4674;POINT (-39.558629 -2.963311)'))) / (select extract(epoch from '2026-07-13 12:44:09'::timestamp) - extract(epoch from '2026-07-13 12:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558653 -2.963208)'), GeomFromEWKT('SRID=4674;POINT (-39.558629 -2.963311)'))) / (select extract(epoch from '2026-07-13 12:44:09'::timestamp) - extract(epoch from '2026-07-13 12:44: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'), 47852, 'SRID=4674;POINT (-39.558624 -2.963433)', '2026-07-13 12:44:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558629 -2.963311)'), GeomFromEWKT('SRID=4674;POINT (-39.558624 -2.963433)'))) / (select extract(epoch from '2026-07-13 12:44:15'::timestamp) - extract(epoch from '2026-07-13 12:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558629 -2.963311)'), GeomFromEWKT('SRID=4674;POINT (-39.558624 -2.963433)'))) / (select extract(epoch from '2026-07-13 12:44:15'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558628 -2.963563)', '2026-07-13 12:44:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558624 -2.963433)'), GeomFromEWKT('SRID=4674;POINT (-39.558628 -2.963563)'))) / (select extract(epoch from '2026-07-13 12:44:22'::timestamp) - extract(epoch from '2026-07-13 12:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558624 -2.963433)'), GeomFromEWKT('SRID=4674;POINT (-39.558628 -2.963563)'))) / (select extract(epoch from '2026-07-13 12:44:22'::timestamp) - extract(epoch from '2026-07-13 12:44: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'), 47852, 'SRID=4674;POINT (-39.558619 -2.963666)', '2026-07-13 12:44:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558628 -2.963563)'), GeomFromEWKT('SRID=4674;POINT (-39.558619 -2.963666)'))) / (select extract(epoch from '2026-07-13 12:44:27'::timestamp) - extract(epoch from '2026-07-13 12:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558628 -2.963563)'), GeomFromEWKT('SRID=4674;POINT (-39.558619 -2.963666)'))) / (select extract(epoch from '2026-07-13 12:44:27'::timestamp) - extract(epoch from '2026-07-13 12:44: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'), 47852, 'SRID=4674;POINT (-39.55861 -2.963753)', '2026-07-13 12:44:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558619 -2.963666)'), GeomFromEWKT('SRID=4674;POINT (-39.55861 -2.963753)'))) / (select extract(epoch from '2026-07-13 12:44:32'::timestamp) - extract(epoch from '2026-07-13 12:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558619 -2.963666)'), GeomFromEWKT('SRID=4674;POINT (-39.55861 -2.963753)'))) / (select extract(epoch from '2026-07-13 12:44:32'::timestamp) - extract(epoch from '2026-07-13 12:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558609 -2.963772)', '2026-07-13 12:44:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55861 -2.963753)'), GeomFromEWKT('SRID=4674;POINT (-39.558609 -2.963772)'))) / (select extract(epoch from '2026-07-13 12:44:33'::timestamp) - extract(epoch from '2026-07-13 12:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55861 -2.963753)'), GeomFromEWKT('SRID=4674;POINT (-39.558609 -2.963772)'))) / (select extract(epoch from '2026-07-13 12:44:33'::timestamp) - extract(epoch from '2026-07-13 12:44: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'), 47852, 'SRID=4674;POINT (-39.558604 -2.963837)', '2026-07-13 12:44:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558609 -2.963772)'), GeomFromEWKT('SRID=4674;POINT (-39.558604 -2.963837)'))) / (select extract(epoch from '2026-07-13 12:44:37'::timestamp) - extract(epoch from '2026-07-13 12:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558609 -2.963772)'), GeomFromEWKT('SRID=4674;POINT (-39.558604 -2.963837)'))) / (select extract(epoch from '2026-07-13 12:44:37'::timestamp) - extract(epoch from '2026-07-13 12:44: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'), 47852, 'SRID=4674;POINT (-39.558585 -2.963955)', '2026-07-13 12:44:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558604 -2.963837)'), GeomFromEWKT('SRID=4674;POINT (-39.558585 -2.963955)'))) / (select extract(epoch from '2026-07-13 12:44:43'::timestamp) - extract(epoch from '2026-07-13 12:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558604 -2.963837)'), GeomFromEWKT('SRID=4674;POINT (-39.558585 -2.963955)'))) / (select extract(epoch from '2026-07-13 12:44:43'::timestamp) - extract(epoch from '2026-07-13 12:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558573 -2.964073)', '2026-07-13 12:44:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558585 -2.963955)'), GeomFromEWKT('SRID=4674;POINT (-39.558573 -2.964073)'))) / (select extract(epoch from '2026-07-13 12:44:49'::timestamp) - extract(epoch from '2026-07-13 12:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558585 -2.963955)'), GeomFromEWKT('SRID=4674;POINT (-39.558573 -2.964073)'))) / (select extract(epoch from '2026-07-13 12:44:49'::timestamp) - extract(epoch from '2026-07-13 12:44: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'), 47852, 'SRID=4674;POINT (-39.558578 -2.964202)', '2026-07-13 12:44:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558573 -2.964073)'), GeomFromEWKT('SRID=4674;POINT (-39.558578 -2.964202)'))) / (select extract(epoch from '2026-07-13 12:44:56'::timestamp) - extract(epoch from '2026-07-13 12:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558573 -2.964073)'), GeomFromEWKT('SRID=4674;POINT (-39.558578 -2.964202)'))) / (select extract(epoch from '2026-07-13 12:44:56'::timestamp) - extract(epoch from '2026-07-13 12:44: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'), 47852, 'SRID=4674;POINT (-39.558583 -2.964305)', '2026-07-13 12:45:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558578 -2.964202)'), GeomFromEWKT('SRID=4674;POINT (-39.558583 -2.964305)'))) / (select extract(epoch from '2026-07-13 12:45:02'::timestamp) - extract(epoch from '2026-07-13 12:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558578 -2.964202)'), GeomFromEWKT('SRID=4674;POINT (-39.558583 -2.964305)'))) / (select extract(epoch from '2026-07-13 12:45:02'::timestamp) - extract(epoch from '2026-07-13 12:44: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'), 47852, 'SRID=4674;POINT (-39.558582 -2.964461)', '2026-07-13 12:45:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558583 -2.964305)'), GeomFromEWKT('SRID=4674;POINT (-39.558582 -2.964461)'))) / (select extract(epoch from '2026-07-13 12:45:10'::timestamp) - extract(epoch from '2026-07-13 12:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558583 -2.964305)'), GeomFromEWKT('SRID=4674;POINT (-39.558582 -2.964461)'))) / (select extract(epoch from '2026-07-13 12:45:10'::timestamp) - extract(epoch from '2026-07-13 12:45: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'), 47852, 'SRID=4674;POINT (-39.558597 -2.964565)', '2026-07-13 12:45:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558582 -2.964461)'), GeomFromEWKT('SRID=4674;POINT (-39.558597 -2.964565)'))) / (select extract(epoch from '2026-07-13 12:45:15'::timestamp) - extract(epoch from '2026-07-13 12:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558582 -2.964461)'), GeomFromEWKT('SRID=4674;POINT (-39.558597 -2.964565)'))) / (select extract(epoch from '2026-07-13 12:45:15'::timestamp) - extract(epoch from '2026-07-13 12:45: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'), 47852, 'SRID=4674;POINT (-39.558622 -2.964673)', '2026-07-13 12:45:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558597 -2.964565)'), GeomFromEWKT('SRID=4674;POINT (-39.558622 -2.964673)'))) / (select extract(epoch from '2026-07-13 12:45:21'::timestamp) - extract(epoch from '2026-07-13 12:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558597 -2.964565)'), GeomFromEWKT('SRID=4674;POINT (-39.558622 -2.964673)'))) / (select extract(epoch from '2026-07-13 12:45:21'::timestamp) - extract(epoch from '2026-07-13 12:45: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'), 47852, 'SRID=4674;POINT (-39.558612 -2.96476)', '2026-07-13 12:45:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558622 -2.964673)'), GeomFromEWKT('SRID=4674;POINT (-39.558612 -2.96476)'))) / (select extract(epoch from '2026-07-13 12:45:26'::timestamp) - extract(epoch from '2026-07-13 12:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558622 -2.964673)'), GeomFromEWKT('SRID=4674;POINT (-39.558612 -2.96476)'))) / (select extract(epoch from '2026-07-13 12:45:26'::timestamp) - extract(epoch from '2026-07-13 12:45: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'), 47852, 'SRID=4674;POINT (-39.558584 -2.964871)', '2026-07-13 12:45:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558612 -2.96476)'), GeomFromEWKT('SRID=4674;POINT (-39.558584 -2.964871)'))) / (select extract(epoch from '2026-07-13 12:45:33'::timestamp) - extract(epoch from '2026-07-13 12:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558612 -2.96476)'), GeomFromEWKT('SRID=4674;POINT (-39.558584 -2.964871)'))) / (select extract(epoch from '2026-07-13 12:45:33'::timestamp) - extract(epoch from '2026-07-13 12:45: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'), 47852, 'SRID=4674;POINT (-39.558565 -2.964954)', '2026-07-13 12:45:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558584 -2.964871)'), GeomFromEWKT('SRID=4674;POINT (-39.558565 -2.964954)'))) / (select extract(epoch from '2026-07-13 12:45:38'::timestamp) - extract(epoch from '2026-07-13 12:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558584 -2.964871)'), GeomFromEWKT('SRID=4674;POINT (-39.558565 -2.964954)'))) / (select extract(epoch from '2026-07-13 12:45:38'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558535 -2.965063)', '2026-07-13 12:45:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558565 -2.964954)'), GeomFromEWKT('SRID=4674;POINT (-39.558535 -2.965063)'))) / (select extract(epoch from '2026-07-13 12:45:44'::timestamp) - extract(epoch from '2026-07-13 12:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558565 -2.964954)'), GeomFromEWKT('SRID=4674;POINT (-39.558535 -2.965063)'))) / (select extract(epoch from '2026-07-13 12:45:44'::timestamp) - extract(epoch from '2026-07-13 12:45: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'), 47852, 'SRID=4674;POINT (-39.558534 -2.965199)', '2026-07-13 12:45:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558535 -2.965063)'), GeomFromEWKT('SRID=4674;POINT (-39.558534 -2.965199)'))) / (select extract(epoch from '2026-07-13 12:45:51'::timestamp) - extract(epoch from '2026-07-13 12:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558535 -2.965063)'), GeomFromEWKT('SRID=4674;POINT (-39.558534 -2.965199)'))) / (select extract(epoch from '2026-07-13 12:45:51'::timestamp) - extract(epoch from '2026-07-13 12:45: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'), 47852, 'SRID=4674;POINT (-39.55853 -2.965289)', '2026-07-13 12:45:56', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558534 -2.965199)'), GeomFromEWKT('SRID=4674;POINT (-39.55853 -2.965289)'))) / (select extract(epoch from '2026-07-13 12:45:56'::timestamp) - extract(epoch from '2026-07-13 12:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558534 -2.965199)'), GeomFromEWKT('SRID=4674;POINT (-39.55853 -2.965289)'))) / (select extract(epoch from '2026-07-13 12:45:56'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558525 -2.965302)', '2026-07-13 12:45:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55853 -2.965289)'), GeomFromEWKT('SRID=4674;POINT (-39.558525 -2.965302)'))) / (select extract(epoch from '2026-07-13 12:45:57'::timestamp) - extract(epoch from '2026-07-13 12:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55853 -2.965289)'), GeomFromEWKT('SRID=4674;POINT (-39.558525 -2.965302)'))) / (select extract(epoch from '2026-07-13 12:45:57'::timestamp) - extract(epoch from '2026-07-13 12:45: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'), 47852, 'SRID=4674;POINT (-39.558507 -2.965403)', '2026-07-13 12:46:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558525 -2.965302)'), GeomFromEWKT('SRID=4674;POINT (-39.558507 -2.965403)'))) / (select extract(epoch from '2026-07-13 12:46:03'::timestamp) - extract(epoch from '2026-07-13 12:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558525 -2.965302)'), GeomFromEWKT('SRID=4674;POINT (-39.558507 -2.965403)'))) / (select extract(epoch from '2026-07-13 12:46:03'::timestamp) - extract(epoch from '2026-07-13 12:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558511 -2.965511)', '2026-07-13 12:46:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558507 -2.965403)'), GeomFromEWKT('SRID=4674;POINT (-39.558511 -2.965511)'))) / (select extract(epoch from '2026-07-13 12:46:09'::timestamp) - extract(epoch from '2026-07-13 12:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558507 -2.965403)'), GeomFromEWKT('SRID=4674;POINT (-39.558511 -2.965511)'))) / (select extract(epoch from '2026-07-13 12:46:09'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558516 -2.965561)', '2026-07-13 12:46:12', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558511 -2.965511)'), GeomFromEWKT('SRID=4674;POINT (-39.558516 -2.965561)'))) / (select extract(epoch from '2026-07-13 12:46:12'::timestamp) - extract(epoch from '2026-07-13 12:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558511 -2.965511)'), GeomFromEWKT('SRID=4674;POINT (-39.558516 -2.965561)'))) / (select extract(epoch from '2026-07-13 12:46:12'::timestamp) - extract(epoch from '2026-07-13 12:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558508 -2.965591)', '2026-07-13 12:46:14', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558516 -2.965561)'), GeomFromEWKT('SRID=4674;POINT (-39.558508 -2.965591)'))) / (select extract(epoch from '2026-07-13 12:46:14'::timestamp) - extract(epoch from '2026-07-13 12:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558516 -2.965561)'), GeomFromEWKT('SRID=4674;POINT (-39.558508 -2.965591)'))) / (select extract(epoch from '2026-07-13 12:46:14'::timestamp) - extract(epoch from '2026-07-13 12:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55848 -2.965723)', '2026-07-13 12:46:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558508 -2.965591)'), GeomFromEWKT('SRID=4674;POINT (-39.55848 -2.965723)'))) / (select extract(epoch from '2026-07-13 12:46:21'::timestamp) - extract(epoch from '2026-07-13 12:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558508 -2.965591)'), GeomFromEWKT('SRID=4674;POINT (-39.55848 -2.965723)'))) / (select extract(epoch from '2026-07-13 12:46:21'::timestamp) - extract(epoch from '2026-07-13 12:46:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558448 -2.965829)', '2026-07-13 12:46:27', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55848 -2.965723)'), GeomFromEWKT('SRID=4674;POINT (-39.558448 -2.965829)'))) / (select extract(epoch from '2026-07-13 12:46:27'::timestamp) - extract(epoch from '2026-07-13 12:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55848 -2.965723)'), GeomFromEWKT('SRID=4674;POINT (-39.558448 -2.965829)'))) / (select extract(epoch from '2026-07-13 12:46:27'::timestamp) - extract(epoch from '2026-07-13 12:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558429 -2.965935)', '2026-07-13 12:46:34', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558448 -2.965829)'), GeomFromEWKT('SRID=4674;POINT (-39.558429 -2.965935)'))) / (select extract(epoch from '2026-07-13 12:46:34'::timestamp) - extract(epoch from '2026-07-13 12:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558448 -2.965829)'), GeomFromEWKT('SRID=4674;POINT (-39.558429 -2.965935)'))) / (select extract(epoch from '2026-07-13 12:46:34'::timestamp) - extract(epoch from '2026-07-13 12:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558409 -2.966)', '2026-07-13 12:46:39', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558429 -2.965935)'), GeomFromEWKT('SRID=4674;POINT (-39.558409 -2.966)'))) / (select extract(epoch from '2026-07-13 12:46:39'::timestamp) - extract(epoch from '2026-07-13 12:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558429 -2.965935)'), GeomFromEWKT('SRID=4674;POINT (-39.558409 -2.966)'))) / (select extract(epoch from '2026-07-13 12:46:39'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558403 -2.966028)', '2026-07-13 12:46:41', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558409 -2.966)'), GeomFromEWKT('SRID=4674;POINT (-39.558403 -2.966028)'))) / (select extract(epoch from '2026-07-13 12:46:41'::timestamp) - extract(epoch from '2026-07-13 12:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558409 -2.966)'), GeomFromEWKT('SRID=4674;POINT (-39.558403 -2.966028)'))) / (select extract(epoch from '2026-07-13 12:46:41'::timestamp) - extract(epoch from '2026-07-13 12:46: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'), 47852, 'SRID=4674;POINT (-39.55839 -2.966058)', '2026-07-13 12:46:44', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558403 -2.966028)'), GeomFromEWKT('SRID=4674;POINT (-39.55839 -2.966058)'))) / (select extract(epoch from '2026-07-13 12:46:44'::timestamp) - extract(epoch from '2026-07-13 12:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558403 -2.966028)'), GeomFromEWKT('SRID=4674;POINT (-39.55839 -2.966058)'))) / (select extract(epoch from '2026-07-13 12:46:44'::timestamp) - extract(epoch from '2026-07-13 12:46: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'), 47852, 'SRID=4674;POINT (-39.558397 -2.966108)', '2026-07-13 12:46:47', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55839 -2.966058)'), GeomFromEWKT('SRID=4674;POINT (-39.558397 -2.966108)'))) / (select extract(epoch from '2026-07-13 12:46:47'::timestamp) - extract(epoch from '2026-07-13 12:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55839 -2.966058)'), GeomFromEWKT('SRID=4674;POINT (-39.558397 -2.966108)'))) / (select extract(epoch from '2026-07-13 12:46:47'::timestamp) - extract(epoch from '2026-07-13 12:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558393 -2.966221)', '2026-07-13 12:46:54', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558397 -2.966108)'), GeomFromEWKT('SRID=4674;POINT (-39.558393 -2.966221)'))) / (select extract(epoch from '2026-07-13 12:46:54'::timestamp) - extract(epoch from '2026-07-13 12:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558397 -2.966108)'), GeomFromEWKT('SRID=4674;POINT (-39.558393 -2.966221)'))) / (select extract(epoch from '2026-07-13 12:46:54'::timestamp) - extract(epoch from '2026-07-13 12:46: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'), 47852, 'SRID=4674;POINT (-39.558386 -2.966381)', '2026-07-13 12:47:02', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558393 -2.966221)'), GeomFromEWKT('SRID=4674;POINT (-39.558386 -2.966381)'))) / (select extract(epoch from '2026-07-13 12:47:02'::timestamp) - extract(epoch from '2026-07-13 12:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558393 -2.966221)'), GeomFromEWKT('SRID=4674;POINT (-39.558386 -2.966381)'))) / (select extract(epoch from '2026-07-13 12:47:02'::timestamp) - extract(epoch from '2026-07-13 12:46: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'), 47852, 'SRID=4674;POINT (-39.558346 -2.966504)', '2026-07-13 12:47:09', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558386 -2.966381)'), GeomFromEWKT('SRID=4674;POINT (-39.558346 -2.966504)'))) / (select extract(epoch from '2026-07-13 12:47:09'::timestamp) - extract(epoch from '2026-07-13 12:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558386 -2.966381)'), GeomFromEWKT('SRID=4674;POINT (-39.558346 -2.966504)'))) / (select extract(epoch from '2026-07-13 12:47:09'::timestamp) - extract(epoch from '2026-07-13 12:47: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'), 47852, 'SRID=4674;POINT (-39.558333 -2.966577)', '2026-07-13 12:47:13', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558346 -2.966504)'), GeomFromEWKT('SRID=4674;POINT (-39.558333 -2.966577)'))) / (select extract(epoch from '2026-07-13 12:47:13'::timestamp) - extract(epoch from '2026-07-13 12:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558346 -2.966504)'), GeomFromEWKT('SRID=4674;POINT (-39.558333 -2.966577)'))) / (select extract(epoch from '2026-07-13 12:47:13'::timestamp) - extract(epoch from '2026-07-13 12:47: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'), 47852, 'SRID=4674;POINT (-39.558326 -2.966591)', '2026-07-13 12:47:14', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558333 -2.966577)'), GeomFromEWKT('SRID=4674;POINT (-39.558326 -2.966591)'))) / (select extract(epoch from '2026-07-13 12:47:14'::timestamp) - extract(epoch from '2026-07-13 12:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558333 -2.966577)'), GeomFromEWKT('SRID=4674;POINT (-39.558326 -2.966591)'))) / (select extract(epoch from '2026-07-13 12:47:14'::timestamp) - extract(epoch from '2026-07-13 12:47: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'), 47852, 'SRID=4674;POINT (-39.558303 -2.966692)', '2026-07-13 12:47:20', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558326 -2.966591)'), GeomFromEWKT('SRID=4674;POINT (-39.558303 -2.966692)'))) / (select extract(epoch from '2026-07-13 12:47:20'::timestamp) - extract(epoch from '2026-07-13 12:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558326 -2.966591)'), GeomFromEWKT('SRID=4674;POINT (-39.558303 -2.966692)'))) / (select extract(epoch from '2026-07-13 12:47:20'::timestamp) - extract(epoch from '2026-07-13 12:47: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'), 47852, 'SRID=4674;POINT (-39.558302 -2.966814)', '2026-07-13 12:47:26', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558303 -2.966692)'), GeomFromEWKT('SRID=4674;POINT (-39.558302 -2.966814)'))) / (select extract(epoch from '2026-07-13 12:47:26'::timestamp) - extract(epoch from '2026-07-13 12:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558303 -2.966692)'), GeomFromEWKT('SRID=4674;POINT (-39.558302 -2.966814)'))) / (select extract(epoch from '2026-07-13 12:47:26'::timestamp) - extract(epoch from '2026-07-13 12:47: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'), 47852, 'SRID=4674;POINT (-39.558313 -2.966945)', '2026-07-13 12:47:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558302 -2.966814)'), GeomFromEWKT('SRID=4674;POINT (-39.558313 -2.966945)'))) / (select extract(epoch from '2026-07-13 12:47:33'::timestamp) - extract(epoch from '2026-07-13 12:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558302 -2.966814)'), GeomFromEWKT('SRID=4674;POINT (-39.558313 -2.966945)'))) / (select extract(epoch from '2026-07-13 12:47:33'::timestamp) - extract(epoch from '2026-07-13 12:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558315 -2.967081)', '2026-07-13 12:47:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558313 -2.966945)'), GeomFromEWKT('SRID=4674;POINT (-39.558315 -2.967081)'))) / (select extract(epoch from '2026-07-13 12:47:40'::timestamp) - extract(epoch from '2026-07-13 12:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558313 -2.966945)'), GeomFromEWKT('SRID=4674;POINT (-39.558315 -2.967081)'))) / (select extract(epoch from '2026-07-13 12:47:40'::timestamp) - extract(epoch from '2026-07-13 12:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558295 -2.967208)', '2026-07-13 12:47:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558315 -2.967081)'), GeomFromEWKT('SRID=4674;POINT (-39.558295 -2.967208)'))) / (select extract(epoch from '2026-07-13 12:47:47'::timestamp) - extract(epoch from '2026-07-13 12:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558315 -2.967081)'), GeomFromEWKT('SRID=4674;POINT (-39.558295 -2.967208)'))) / (select extract(epoch from '2026-07-13 12:47:47'::timestamp) - extract(epoch from '2026-07-13 12:47: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'), 47852, 'SRID=4674;POINT (-39.558289 -2.96731)', '2026-07-13 12:47:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558295 -2.967208)'), GeomFromEWKT('SRID=4674;POINT (-39.558289 -2.96731)'))) / (select extract(epoch from '2026-07-13 12:47:52'::timestamp) - extract(epoch from '2026-07-13 12:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558295 -2.967208)'), GeomFromEWKT('SRID=4674;POINT (-39.558289 -2.96731)'))) / (select extract(epoch from '2026-07-13 12:47:52'::timestamp) - extract(epoch from '2026-07-13 12:47: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'), 47852, 'SRID=4674;POINT (-39.558269 -2.967508)', '2026-07-13 12:48:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558289 -2.96731)'), GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.967508)'))) / (select extract(epoch from '2026-07-13 12:48:02'::timestamp) - extract(epoch from '2026-07-13 12:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558289 -2.96731)'), GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.967508)'))) / (select extract(epoch from '2026-07-13 12:48:02'::timestamp) - extract(epoch from '2026-07-13 12:47: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'), 47852, 'SRID=4674;POINT (-39.55825 -2.967657)', '2026-07-13 12:48:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.967508)'), GeomFromEWKT('SRID=4674;POINT (-39.55825 -2.967657)'))) / (select extract(epoch from '2026-07-13 12:48:10'::timestamp) - extract(epoch from '2026-07-13 12:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.967508)'), GeomFromEWKT('SRID=4674;POINT (-39.55825 -2.967657)'))) / (select extract(epoch from '2026-07-13 12:48:10'::timestamp) - extract(epoch from '2026-07-13 12:48: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'), 47852, 'SRID=4674;POINT (-39.558248 -2.967797)', '2026-07-13 12:48:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55825 -2.967657)'), GeomFromEWKT('SRID=4674;POINT (-39.558248 -2.967797)'))) / (select extract(epoch from '2026-07-13 12:48:17'::timestamp) - extract(epoch from '2026-07-13 12:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55825 -2.967657)'), GeomFromEWKT('SRID=4674;POINT (-39.558248 -2.967797)'))) / (select extract(epoch from '2026-07-13 12:48:17'::timestamp) - extract(epoch from '2026-07-13 12:48:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558256 -2.967974)', '2026-07-13 12:48:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558248 -2.967797)'), GeomFromEWKT('SRID=4674;POINT (-39.558256 -2.967974)'))) / (select extract(epoch from '2026-07-13 12:48:25'::timestamp) - extract(epoch from '2026-07-13 12:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558248 -2.967797)'), GeomFromEWKT('SRID=4674;POINT (-39.558256 -2.967974)'))) / (select extract(epoch from '2026-07-13 12:48:25'::timestamp) - extract(epoch from '2026-07-13 12:48:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558251 -2.968074)', '2026-07-13 12:48:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558256 -2.967974)'), GeomFromEWKT('SRID=4674;POINT (-39.558251 -2.968074)'))) / (select extract(epoch from '2026-07-13 12:48:30'::timestamp) - extract(epoch from '2026-07-13 12:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558256 -2.967974)'), GeomFromEWKT('SRID=4674;POINT (-39.558251 -2.968074)'))) / (select extract(epoch from '2026-07-13 12:48:30'::timestamp) - extract(epoch from '2026-07-13 12:48: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'), 47852, 'SRID=4674;POINT (-39.558243 -2.968224)', '2026-07-13 12:48:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558251 -2.968074)'), GeomFromEWKT('SRID=4674;POINT (-39.558243 -2.968224)'))) / (select extract(epoch from '2026-07-13 12:48:37'::timestamp) - extract(epoch from '2026-07-13 12:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558251 -2.968074)'), GeomFromEWKT('SRID=4674;POINT (-39.558243 -2.968224)'))) / (select extract(epoch from '2026-07-13 12:48:37'::timestamp) - extract(epoch from '2026-07-13 12:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558234 -2.96835)', '2026-07-13 12:48:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558243 -2.968224)'), GeomFromEWKT('SRID=4674;POINT (-39.558234 -2.96835)'))) / (select extract(epoch from '2026-07-13 12:48:43'::timestamp) - extract(epoch from '2026-07-13 12:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558243 -2.968224)'), GeomFromEWKT('SRID=4674;POINT (-39.558234 -2.96835)'))) / (select extract(epoch from '2026-07-13 12:48:43'::timestamp) - extract(epoch from '2026-07-13 12:48: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'), 47852, 'SRID=4674;POINT (-39.55821 -2.968427)', '2026-07-13 12:48:48', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558234 -2.96835)'), GeomFromEWKT('SRID=4674;POINT (-39.55821 -2.968427)'))) / (select extract(epoch from '2026-07-13 12:48:48'::timestamp) - extract(epoch from '2026-07-13 12:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558234 -2.96835)'), GeomFromEWKT('SRID=4674;POINT (-39.55821 -2.968427)'))) / (select extract(epoch from '2026-07-13 12:48:48'::timestamp) - extract(epoch from '2026-07-13 12:48: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'), 47852, 'SRID=4674;POINT (-39.558197 -2.968524)', '2026-07-13 12:48:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55821 -2.968427)'), GeomFromEWKT('SRID=4674;POINT (-39.558197 -2.968524)'))) / (select extract(epoch from '2026-07-13 12:48:53'::timestamp) - extract(epoch from '2026-07-13 12:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55821 -2.968427)'), GeomFromEWKT('SRID=4674;POINT (-39.558197 -2.968524)'))) / (select extract(epoch from '2026-07-13 12:48:53'::timestamp) - extract(epoch from '2026-07-13 12:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558184 -2.968624)', '2026-07-13 12:48:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558197 -2.968524)'), GeomFromEWKT('SRID=4674;POINT (-39.558184 -2.968624)'))) / (select extract(epoch from '2026-07-13 12:48:58'::timestamp) - extract(epoch from '2026-07-13 12:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558197 -2.968524)'), GeomFromEWKT('SRID=4674;POINT (-39.558184 -2.968624)'))) / (select extract(epoch from '2026-07-13 12:48:58'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.558179 -2.968766)', '2026-07-13 12:49:05', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558184 -2.968624)'), GeomFromEWKT('SRID=4674;POINT (-39.558179 -2.968766)'))) / (select extract(epoch from '2026-07-13 12:49:05'::timestamp) - extract(epoch from '2026-07-13 12:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558184 -2.968624)'), GeomFromEWKT('SRID=4674;POINT (-39.558179 -2.968766)'))) / (select extract(epoch from '2026-07-13 12:49:05'::timestamp) - extract(epoch from '2026-07-13 12:48: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'), 47852, 'SRID=4674;POINT (-39.558151 -2.968898)', '2026-07-13 12:49:12', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558179 -2.968766)'), GeomFromEWKT('SRID=4674;POINT (-39.558151 -2.968898)'))) / (select extract(epoch from '2026-07-13 12:49:12'::timestamp) - extract(epoch from '2026-07-13 12:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558179 -2.968766)'), GeomFromEWKT('SRID=4674;POINT (-39.558151 -2.968898)'))) / (select extract(epoch from '2026-07-13 12:49:12'::timestamp) - extract(epoch from '2026-07-13 12:49: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'), 47852, 'SRID=4674;POINT (-39.558131 -2.969023)', '2026-07-13 12:49:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558151 -2.968898)'), GeomFromEWKT('SRID=4674;POINT (-39.558131 -2.969023)'))) / (select extract(epoch from '2026-07-13 12:49:19'::timestamp) - extract(epoch from '2026-07-13 12:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558151 -2.968898)'), GeomFromEWKT('SRID=4674;POINT (-39.558131 -2.969023)'))) / (select extract(epoch from '2026-07-13 12:49:19'::timestamp) - extract(epoch from '2026-07-13 12:49: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'), 47852, 'SRID=4674;POINT (-39.558107 -2.96915)', '2026-07-13 12:49:26', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558131 -2.969023)'), GeomFromEWKT('SRID=4674;POINT (-39.558107 -2.96915)'))) / (select extract(epoch from '2026-07-13 12:49:26'::timestamp) - extract(epoch from '2026-07-13 12:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558131 -2.969023)'), GeomFromEWKT('SRID=4674;POINT (-39.558107 -2.96915)'))) / (select extract(epoch from '2026-07-13 12:49:26'::timestamp) - extract(epoch from '2026-07-13 12:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558096 -2.96926)', '2026-07-13 12:49:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558107 -2.96915)'), GeomFromEWKT('SRID=4674;POINT (-39.558096 -2.96926)'))) / (select extract(epoch from '2026-07-13 12:49:32'::timestamp) - extract(epoch from '2026-07-13 12:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558107 -2.96915)'), GeomFromEWKT('SRID=4674;POINT (-39.558096 -2.96926)'))) / (select extract(epoch from '2026-07-13 12:49:32'::timestamp) - extract(epoch from '2026-07-13 12:49: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'), 47852, 'SRID=4674;POINT (-39.558064 -2.969381)', '2026-07-13 12:49:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558096 -2.96926)'), GeomFromEWKT('SRID=4674;POINT (-39.558064 -2.969381)'))) / (select extract(epoch from '2026-07-13 12:49:39'::timestamp) - extract(epoch from '2026-07-13 12:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558096 -2.96926)'), GeomFromEWKT('SRID=4674;POINT (-39.558064 -2.969381)'))) / (select extract(epoch from '2026-07-13 12:49:39'::timestamp) - extract(epoch from '2026-07-13 12:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558062 -2.969516)', '2026-07-13 12:49:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558064 -2.969381)'), GeomFromEWKT('SRID=4674;POINT (-39.558062 -2.969516)'))) / (select extract(epoch from '2026-07-13 12:49:46'::timestamp) - extract(epoch from '2026-07-13 12:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558064 -2.969381)'), GeomFromEWKT('SRID=4674;POINT (-39.558062 -2.969516)'))) / (select extract(epoch from '2026-07-13 12:49:46'::timestamp) - extract(epoch from '2026-07-13 12:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55806 -2.969632)', '2026-07-13 12:49:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558062 -2.969516)'), GeomFromEWKT('SRID=4674;POINT (-39.55806 -2.969632)'))) / (select extract(epoch from '2026-07-13 12:49:52'::timestamp) - extract(epoch from '2026-07-13 12:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558062 -2.969516)'), GeomFromEWKT('SRID=4674;POINT (-39.55806 -2.969632)'))) / (select extract(epoch from '2026-07-13 12:49:52'::timestamp) - extract(epoch from '2026-07-13 12:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.558069 -2.969766)', '2026-07-13 12:49:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55806 -2.969632)'), GeomFromEWKT('SRID=4674;POINT (-39.558069 -2.969766)'))) / (select extract(epoch from '2026-07-13 12:49:59'::timestamp) - extract(epoch from '2026-07-13 12:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55806 -2.969632)'), GeomFromEWKT('SRID=4674;POINT (-39.558069 -2.969766)'))) / (select extract(epoch from '2026-07-13 12:49:59'::timestamp) - extract(epoch from '2026-07-13 12:49: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'), 47852, 'SRID=4674;POINT (-39.558072 -2.969907)', '2026-07-13 12:50:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558069 -2.969766)'), GeomFromEWKT('SRID=4674;POINT (-39.558072 -2.969907)'))) / (select extract(epoch from '2026-07-13 12:50:07'::timestamp) - extract(epoch from '2026-07-13 12:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558069 -2.969766)'), GeomFromEWKT('SRID=4674;POINT (-39.558072 -2.969907)'))) / (select extract(epoch from '2026-07-13 12:50:07'::timestamp) - extract(epoch from '2026-07-13 12:49: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'), 47852, 'SRID=4674;POINT (-39.558055 -2.970006)', '2026-07-13 12:50:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558072 -2.969907)'), GeomFromEWKT('SRID=4674;POINT (-39.558055 -2.970006)'))) / (select extract(epoch from '2026-07-13 12:50:14'::timestamp) - extract(epoch from '2026-07-13 12:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558072 -2.969907)'), GeomFromEWKT('SRID=4674;POINT (-39.558055 -2.970006)'))) / (select extract(epoch from '2026-07-13 12:50:14'::timestamp) - extract(epoch from '2026-07-13 12:50: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'), 47852, 'SRID=4674;POINT (-39.558011 -2.970105)', '2026-07-13 12:50:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558055 -2.970006)'), GeomFromEWKT('SRID=4674;POINT (-39.558011 -2.970105)'))) / (select extract(epoch from '2026-07-13 12:50:20'::timestamp) - extract(epoch from '2026-07-13 12:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558055 -2.970006)'), GeomFromEWKT('SRID=4674;POINT (-39.558011 -2.970105)'))) / (select extract(epoch from '2026-07-13 12:50:20'::timestamp) - extract(epoch from '2026-07-13 12:50: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'), 47852, 'SRID=4674;POINT (-39.557996 -2.970206)', '2026-07-13 12:50:26', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558011 -2.970105)'), GeomFromEWKT('SRID=4674;POINT (-39.557996 -2.970206)'))) / (select extract(epoch from '2026-07-13 12:50:26'::timestamp) - extract(epoch from '2026-07-13 12:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558011 -2.970105)'), GeomFromEWKT('SRID=4674;POINT (-39.557996 -2.970206)'))) / (select extract(epoch from '2026-07-13 12:50:26'::timestamp) - extract(epoch from '2026-07-13 12:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557992 -2.970353)', '2026-07-13 12:50:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557996 -2.970206)'), GeomFromEWKT('SRID=4674;POINT (-39.557992 -2.970353)'))) / (select extract(epoch from '2026-07-13 12:50:34'::timestamp) - extract(epoch from '2026-07-13 12:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557996 -2.970206)'), GeomFromEWKT('SRID=4674;POINT (-39.557992 -2.970353)'))) / (select extract(epoch from '2026-07-13 12:50:34'::timestamp) - extract(epoch from '2026-07-13 12:50: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'), 47852, 'SRID=4674;POINT (-39.557984 -2.970484)', '2026-07-13 12:50:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557992 -2.970353)'), GeomFromEWKT('SRID=4674;POINT (-39.557984 -2.970484)'))) / (select extract(epoch from '2026-07-13 12:50:41'::timestamp) - extract(epoch from '2026-07-13 12:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557992 -2.970353)'), GeomFromEWKT('SRID=4674;POINT (-39.557984 -2.970484)'))) / (select extract(epoch from '2026-07-13 12:50:41'::timestamp) - extract(epoch from '2026-07-13 12:50: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'), 47852, 'SRID=4674;POINT (-39.557966 -2.970595)', '2026-07-13 12:50:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557984 -2.970484)'), GeomFromEWKT('SRID=4674;POINT (-39.557966 -2.970595)'))) / (select extract(epoch from '2026-07-13 12:50:47'::timestamp) - extract(epoch from '2026-07-13 12:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557984 -2.970484)'), GeomFromEWKT('SRID=4674;POINT (-39.557966 -2.970595)'))) / (select extract(epoch from '2026-07-13 12:50:47'::timestamp) - extract(epoch from '2026-07-13 12:50: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'), 47852, 'SRID=4674;POINT (-39.557941 -2.970699)', '2026-07-13 12:50:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557966 -2.970595)'), GeomFromEWKT('SRID=4674;POINT (-39.557941 -2.970699)'))) / (select extract(epoch from '2026-07-13 12:50:53'::timestamp) - extract(epoch from '2026-07-13 12:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557966 -2.970595)'), GeomFromEWKT('SRID=4674;POINT (-39.557941 -2.970699)'))) / (select extract(epoch from '2026-07-13 12:50:53'::timestamp) - extract(epoch from '2026-07-13 12:50: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'), 47852, 'SRID=4674;POINT (-39.557939 -2.970811)', '2026-07-13 12:50:59', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557941 -2.970699)'), GeomFromEWKT('SRID=4674;POINT (-39.557939 -2.970811)'))) / (select extract(epoch from '2026-07-13 12:50:59'::timestamp) - extract(epoch from '2026-07-13 12:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557941 -2.970699)'), GeomFromEWKT('SRID=4674;POINT (-39.557939 -2.970811)'))) / (select extract(epoch from '2026-07-13 12:50:59'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.557926 -2.970928)', '2026-07-13 12:51:05', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557939 -2.970811)'), GeomFromEWKT('SRID=4674;POINT (-39.557926 -2.970928)'))) / (select extract(epoch from '2026-07-13 12:51:05'::timestamp) - extract(epoch from '2026-07-13 12:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557939 -2.970811)'), GeomFromEWKT('SRID=4674;POINT (-39.557926 -2.970928)'))) / (select extract(epoch from '2026-07-13 12:51:05'::timestamp) - extract(epoch from '2026-07-13 12:50: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'), 47852, 'SRID=4674;POINT (-39.557894 -2.97108)', '2026-07-13 12:51:13', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557926 -2.970928)'), GeomFromEWKT('SRID=4674;POINT (-39.557894 -2.97108)'))) / (select extract(epoch from '2026-07-13 12:51:13'::timestamp) - extract(epoch from '2026-07-13 12:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557926 -2.970928)'), GeomFromEWKT('SRID=4674;POINT (-39.557894 -2.97108)'))) / (select extract(epoch from '2026-07-13 12:51:13'::timestamp) - extract(epoch from '2026-07-13 12:51: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'), 47852, 'SRID=4674;POINT (-39.557886 -2.971228)', '2026-07-13 12:51:20', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557894 -2.97108)'), GeomFromEWKT('SRID=4674;POINT (-39.557886 -2.971228)'))) / (select extract(epoch from '2026-07-13 12:51:20'::timestamp) - extract(epoch from '2026-07-13 12:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557894 -2.97108)'), GeomFromEWKT('SRID=4674;POINT (-39.557886 -2.971228)'))) / (select extract(epoch from '2026-07-13 12:51:20'::timestamp) - extract(epoch from '2026-07-13 12:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557876 -2.971324)', '2026-07-13 12:51:25', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557886 -2.971228)'), GeomFromEWKT('SRID=4674;POINT (-39.557876 -2.971324)'))) / (select extract(epoch from '2026-07-13 12:51:25'::timestamp) - extract(epoch from '2026-07-13 12:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557886 -2.971228)'), GeomFromEWKT('SRID=4674;POINT (-39.557876 -2.971324)'))) / (select extract(epoch from '2026-07-13 12:51:25'::timestamp) - extract(epoch from '2026-07-13 12:51: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'), 47852, 'SRID=4674;POINT (-39.557869 -2.971472)', '2026-07-13 12:51:32', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557876 -2.971324)'), GeomFromEWKT('SRID=4674;POINT (-39.557869 -2.971472)'))) / (select extract(epoch from '2026-07-13 12:51:32'::timestamp) - extract(epoch from '2026-07-13 12:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557876 -2.971324)'), GeomFromEWKT('SRID=4674;POINT (-39.557869 -2.971472)'))) / (select extract(epoch from '2026-07-13 12:51:32'::timestamp) - extract(epoch from '2026-07-13 12:51: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'), 47852, 'SRID=4674;POINT (-39.557847 -2.971589)', '2026-07-13 12:51:38', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557869 -2.971472)'), GeomFromEWKT('SRID=4674;POINT (-39.557847 -2.971589)'))) / (select extract(epoch from '2026-07-13 12:51:38'::timestamp) - extract(epoch from '2026-07-13 12:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557869 -2.971472)'), GeomFromEWKT('SRID=4674;POINT (-39.557847 -2.971589)'))) / (select extract(epoch from '2026-07-13 12:51:38'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.557819 -2.971673)', '2026-07-13 12:51:43', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557847 -2.971589)'), GeomFromEWKT('SRID=4674;POINT (-39.557819 -2.971673)'))) / (select extract(epoch from '2026-07-13 12:51:43'::timestamp) - extract(epoch from '2026-07-13 12:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557847 -2.971589)'), GeomFromEWKT('SRID=4674;POINT (-39.557819 -2.971673)'))) / (select extract(epoch from '2026-07-13 12:51:43'::timestamp) - extract(epoch from '2026-07-13 12:51:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557806 -2.971784)', '2026-07-13 12:51:49', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557819 -2.971673)'), GeomFromEWKT('SRID=4674;POINT (-39.557806 -2.971784)'))) / (select extract(epoch from '2026-07-13 12:51:49'::timestamp) - extract(epoch from '2026-07-13 12:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557819 -2.971673)'), GeomFromEWKT('SRID=4674;POINT (-39.557806 -2.971784)'))) / (select extract(epoch from '2026-07-13 12:51:49'::timestamp) - extract(epoch from '2026-07-13 12:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557801 -2.971835)', '2026-07-13 12:51:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557806 -2.971784)'), GeomFromEWKT('SRID=4674;POINT (-39.557801 -2.971835)'))) / (select extract(epoch from '2026-07-13 12:51:52'::timestamp) - extract(epoch from '2026-07-13 12:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557806 -2.971784)'), GeomFromEWKT('SRID=4674;POINT (-39.557801 -2.971835)'))) / (select extract(epoch from '2026-07-13 12:51:52'::timestamp) - extract(epoch from '2026-07-13 12:51: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'), 47852, 'SRID=4674;POINT (-39.5578 -2.971867)', '2026-07-13 12:51:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557801 -2.971835)'), GeomFromEWKT('SRID=4674;POINT (-39.5578 -2.971867)'))) / (select extract(epoch from '2026-07-13 12:51:54'::timestamp) - extract(epoch from '2026-07-13 12:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557801 -2.971835)'), GeomFromEWKT('SRID=4674;POINT (-39.5578 -2.971867)'))) / (select extract(epoch from '2026-07-13 12:51:54'::timestamp) - extract(epoch from '2026-07-13 12:51: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'), 47852, 'SRID=4674;POINT (-39.557773 -2.971972)', '2026-07-13 12:52:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5578 -2.971867)'), GeomFromEWKT('SRID=4674;POINT (-39.557773 -2.971972)'))) / (select extract(epoch from '2026-07-13 12:52:01'::timestamp) - extract(epoch from '2026-07-13 12:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5578 -2.971867)'), GeomFromEWKT('SRID=4674;POINT (-39.557773 -2.971972)'))) / (select extract(epoch from '2026-07-13 12:52:01'::timestamp) - extract(epoch from '2026-07-13 12:51: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'), 47852, 'SRID=4674;POINT (-39.557751 -2.97208)', '2026-07-13 12:52:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557773 -2.971972)'), GeomFromEWKT('SRID=4674;POINT (-39.557751 -2.97208)'))) / (select extract(epoch from '2026-07-13 12:52:08'::timestamp) - extract(epoch from '2026-07-13 12:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557773 -2.971972)'), GeomFromEWKT('SRID=4674;POINT (-39.557751 -2.97208)'))) / (select extract(epoch from '2026-07-13 12:52:08'::timestamp) - extract(epoch from '2026-07-13 12:52:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557714 -2.972176)', '2026-07-13 12:52:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557751 -2.97208)'), GeomFromEWKT('SRID=4674;POINT (-39.557714 -2.972176)'))) / (select extract(epoch from '2026-07-13 12:52:15'::timestamp) - extract(epoch from '2026-07-13 12:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557751 -2.97208)'), GeomFromEWKT('SRID=4674;POINT (-39.557714 -2.972176)'))) / (select extract(epoch from '2026-07-13 12:52:15'::timestamp) - extract(epoch from '2026-07-13 12:52: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'), 47852, 'SRID=4674;POINT (-39.557705 -2.972259)', '2026-07-13 12:52:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557714 -2.972176)'), GeomFromEWKT('SRID=4674;POINT (-39.557705 -2.972259)'))) / (select extract(epoch from '2026-07-13 12:52:20'::timestamp) - extract(epoch from '2026-07-13 12:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557714 -2.972176)'), GeomFromEWKT('SRID=4674;POINT (-39.557705 -2.972259)'))) / (select extract(epoch from '2026-07-13 12:52:20'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.557699 -2.972393)', '2026-07-13 12:52:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557705 -2.972259)'), GeomFromEWKT('SRID=4674;POINT (-39.557699 -2.972393)'))) / (select extract(epoch from '2026-07-13 12:52:28'::timestamp) - extract(epoch from '2026-07-13 12:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557705 -2.972259)'), GeomFromEWKT('SRID=4674;POINT (-39.557699 -2.972393)'))) / (select extract(epoch from '2026-07-13 12:52:28'::timestamp) - extract(epoch from '2026-07-13 12:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557686 -2.97253)', '2026-07-13 12:52:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557699 -2.972393)'), GeomFromEWKT('SRID=4674;POINT (-39.557686 -2.97253)'))) / (select extract(epoch from '2026-07-13 12:52:36'::timestamp) - extract(epoch from '2026-07-13 12:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557699 -2.972393)'), GeomFromEWKT('SRID=4674;POINT (-39.557686 -2.97253)'))) / (select extract(epoch from '2026-07-13 12:52:36'::timestamp) - extract(epoch from '2026-07-13 12:52: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'), 47852, 'SRID=4674;POINT (-39.557711 -2.972643)', '2026-07-13 12:52:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557686 -2.97253)'), GeomFromEWKT('SRID=4674;POINT (-39.557711 -2.972643)'))) / (select extract(epoch from '2026-07-13 12:52:42'::timestamp) - extract(epoch from '2026-07-13 12:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557686 -2.97253)'), GeomFromEWKT('SRID=4674;POINT (-39.557711 -2.972643)'))) / (select extract(epoch from '2026-07-13 12:52:42'::timestamp) - extract(epoch from '2026-07-13 12:52: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'), 47852, 'SRID=4674;POINT (-39.557709 -2.972743)', '2026-07-13 12:52:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557711 -2.972643)'), GeomFromEWKT('SRID=4674;POINT (-39.557709 -2.972743)'))) / (select extract(epoch from '2026-07-13 12:52:48'::timestamp) - extract(epoch from '2026-07-13 12:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557711 -2.972643)'), GeomFromEWKT('SRID=4674;POINT (-39.557709 -2.972743)'))) / (select extract(epoch from '2026-07-13 12:52:48'::timestamp) - extract(epoch from '2026-07-13 12:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557696 -2.97286)', '2026-07-13 12:52:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557709 -2.972743)'), GeomFromEWKT('SRID=4674;POINT (-39.557696 -2.97286)'))) / (select extract(epoch from '2026-07-13 12:52:54'::timestamp) - extract(epoch from '2026-07-13 12:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557709 -2.972743)'), GeomFromEWKT('SRID=4674;POINT (-39.557696 -2.97286)'))) / (select extract(epoch from '2026-07-13 12:52:54'::timestamp) - extract(epoch from '2026-07-13 12:52: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'), 47852, 'SRID=4674;POINT (-39.557698 -2.972994)', '2026-07-13 12:53:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557696 -2.97286)'), GeomFromEWKT('SRID=4674;POINT (-39.557698 -2.972994)'))) / (select extract(epoch from '2026-07-13 12:53:02'::timestamp) - extract(epoch from '2026-07-13 12:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557696 -2.97286)'), GeomFromEWKT('SRID=4674;POINT (-39.557698 -2.972994)'))) / (select extract(epoch from '2026-07-13 12:53:02'::timestamp) - extract(epoch from '2026-07-13 12:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557699 -2.973143)', '2026-07-13 12:53:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557698 -2.972994)'), GeomFromEWKT('SRID=4674;POINT (-39.557699 -2.973143)'))) / (select extract(epoch from '2026-07-13 12:53:10'::timestamp) - extract(epoch from '2026-07-13 12:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557698 -2.972994)'), GeomFromEWKT('SRID=4674;POINT (-39.557699 -2.973143)'))) / (select extract(epoch from '2026-07-13 12:53:10'::timestamp) - extract(epoch from '2026-07-13 12:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55769 -2.973281)', '2026-07-13 12:53:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557699 -2.973143)'), GeomFromEWKT('SRID=4674;POINT (-39.55769 -2.973281)'))) / (select extract(epoch from '2026-07-13 12:53:17'::timestamp) - extract(epoch from '2026-07-13 12:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557699 -2.973143)'), GeomFromEWKT('SRID=4674;POINT (-39.55769 -2.973281)'))) / (select extract(epoch from '2026-07-13 12:53:17'::timestamp) - extract(epoch from '2026-07-13 12:53: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'), 47852, 'SRID=4674;POINT (-39.557676 -2.973386)', '2026-07-13 12:53:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55769 -2.973281)'), GeomFromEWKT('SRID=4674;POINT (-39.557676 -2.973386)'))) / (select extract(epoch from '2026-07-13 12:53:23'::timestamp) - extract(epoch from '2026-07-13 12:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55769 -2.973281)'), GeomFromEWKT('SRID=4674;POINT (-39.557676 -2.973386)'))) / (select extract(epoch from '2026-07-13 12:53:23'::timestamp) - extract(epoch from '2026-07-13 12:53: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'), 47852, 'SRID=4674;POINT (-39.557643 -2.973515)', '2026-07-13 12:53:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557676 -2.973386)'), GeomFromEWKT('SRID=4674;POINT (-39.557643 -2.973515)'))) / (select extract(epoch from '2026-07-13 12:53:30'::timestamp) - extract(epoch from '2026-07-13 12:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557676 -2.973386)'), GeomFromEWKT('SRID=4674;POINT (-39.557643 -2.973515)'))) / (select extract(epoch from '2026-07-13 12:53:30'::timestamp) - extract(epoch from '2026-07-13 12:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557617 -2.973636)', '2026-07-13 12:53:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557643 -2.973515)'), GeomFromEWKT('SRID=4674;POINT (-39.557617 -2.973636)'))) / (select extract(epoch from '2026-07-13 12:53:37'::timestamp) - extract(epoch from '2026-07-13 12:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557643 -2.973515)'), GeomFromEWKT('SRID=4674;POINT (-39.557617 -2.973636)'))) / (select extract(epoch from '2026-07-13 12:53:37'::timestamp) - extract(epoch from '2026-07-13 12:53: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'), 47852, 'SRID=4674;POINT (-39.557614 -2.973746)', '2026-07-13 12:53:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557617 -2.973636)'), GeomFromEWKT('SRID=4674;POINT (-39.557614 -2.973746)'))) / (select extract(epoch from '2026-07-13 12:53:43'::timestamp) - extract(epoch from '2026-07-13 12:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557617 -2.973636)'), GeomFromEWKT('SRID=4674;POINT (-39.557614 -2.973746)'))) / (select extract(epoch from '2026-07-13 12:53:43'::timestamp) - extract(epoch from '2026-07-13 12:53: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'), 47852, 'SRID=4674;POINT (-39.557594 -2.973912)', '2026-07-13 12:53:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557614 -2.973746)'), GeomFromEWKT('SRID=4674;POINT (-39.557594 -2.973912)'))) / (select extract(epoch from '2026-07-13 12:53:52'::timestamp) - extract(epoch from '2026-07-13 12:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557614 -2.973746)'), GeomFromEWKT('SRID=4674;POINT (-39.557594 -2.973912)'))) / (select extract(epoch from '2026-07-13 12:53:52'::timestamp) - extract(epoch from '2026-07-13 12:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557564 -2.974029)', '2026-07-13 12:53:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557594 -2.973912)'), GeomFromEWKT('SRID=4674;POINT (-39.557564 -2.974029)'))) / (select extract(epoch from '2026-07-13 12:53:59'::timestamp) - extract(epoch from '2026-07-13 12:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557594 -2.973912)'), GeomFromEWKT('SRID=4674;POINT (-39.557564 -2.974029)'))) / (select extract(epoch from '2026-07-13 12:53:59'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.557519 -2.974153)', '2026-07-13 12:54:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557564 -2.974029)'), GeomFromEWKT('SRID=4674;POINT (-39.557519 -2.974153)'))) / (select extract(epoch from '2026-07-13 12:54:07'::timestamp) - extract(epoch from '2026-07-13 12:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557564 -2.974029)'), GeomFromEWKT('SRID=4674;POINT (-39.557519 -2.974153)'))) / (select extract(epoch from '2026-07-13 12:54:07'::timestamp) - extract(epoch from '2026-07-13 12:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557514 -2.974306)', '2026-07-13 12:54:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557519 -2.974153)'), GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.974306)'))) / (select extract(epoch from '2026-07-13 12:54:15'::timestamp) - extract(epoch from '2026-07-13 12:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557519 -2.974153)'), GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.974306)'))) / (select extract(epoch from '2026-07-13 12:54:15'::timestamp) - extract(epoch from '2026-07-13 12:54: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'), 47852, 'SRID=4674;POINT (-39.557509 -2.974451)', '2026-07-13 12:54:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.974306)'), GeomFromEWKT('SRID=4674;POINT (-39.557509 -2.974451)'))) / (select extract(epoch from '2026-07-13 12:54:22'::timestamp) - extract(epoch from '2026-07-13 12:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.974306)'), GeomFromEWKT('SRID=4674;POINT (-39.557509 -2.974451)'))) / (select extract(epoch from '2026-07-13 12:54:22'::timestamp) - extract(epoch from '2026-07-13 12:54: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'), 47852, 'SRID=4674;POINT (-39.557509 -2.974611)', '2026-07-13 12:54:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557509 -2.974451)'), GeomFromEWKT('SRID=4674;POINT (-39.557509 -2.974611)'))) / (select extract(epoch from '2026-07-13 12:54:30'::timestamp) - extract(epoch from '2026-07-13 12:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557509 -2.974451)'), GeomFromEWKT('SRID=4674;POINT (-39.557509 -2.974611)'))) / (select extract(epoch from '2026-07-13 12:54:30'::timestamp) - extract(epoch from '2026-07-13 12:54: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'), 47852, 'SRID=4674;POINT (-39.557494 -2.97475)', '2026-07-13 12:54:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557509 -2.974611)'), GeomFromEWKT('SRID=4674;POINT (-39.557494 -2.97475)'))) / (select extract(epoch from '2026-07-13 12:54:37'::timestamp) - extract(epoch from '2026-07-13 12:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557509 -2.974611)'), GeomFromEWKT('SRID=4674;POINT (-39.557494 -2.97475)'))) / (select extract(epoch from '2026-07-13 12:54:37'::timestamp) - extract(epoch from '2026-07-13 12:54: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'), 47852, 'SRID=4674;POINT (-39.55749 -2.974876)', '2026-07-13 12:54:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557494 -2.97475)'), GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.974876)'))) / (select extract(epoch from '2026-07-13 12:54:44'::timestamp) - extract(epoch from '2026-07-13 12:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557494 -2.97475)'), GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.974876)'))) / (select extract(epoch from '2026-07-13 12:54:44'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.55748 -2.97497)', '2026-07-13 12:54:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.974876)'), GeomFromEWKT('SRID=4674;POINT (-39.55748 -2.97497)'))) / (select extract(epoch from '2026-07-13 12:54:49'::timestamp) - extract(epoch from '2026-07-13 12:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.974876)'), GeomFromEWKT('SRID=4674;POINT (-39.55748 -2.97497)'))) / (select extract(epoch from '2026-07-13 12:54:49'::timestamp) - extract(epoch from '2026-07-13 12:54: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'), 47852, 'SRID=4674;POINT (-39.557468 -2.97507)', '2026-07-13 12:54:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55748 -2.97497)'), GeomFromEWKT('SRID=4674;POINT (-39.557468 -2.97507)'))) / (select extract(epoch from '2026-07-13 12:54:55'::timestamp) - extract(epoch from '2026-07-13 12:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55748 -2.97497)'), GeomFromEWKT('SRID=4674;POINT (-39.557468 -2.97507)'))) / (select extract(epoch from '2026-07-13 12:54:55'::timestamp) - extract(epoch from '2026-07-13 12:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557469 -2.97518)', '2026-07-13 12:55:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557468 -2.97507)'), GeomFromEWKT('SRID=4674;POINT (-39.557469 -2.97518)'))) / (select extract(epoch from '2026-07-13 12:55:02'::timestamp) - extract(epoch from '2026-07-13 12:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557468 -2.97507)'), GeomFromEWKT('SRID=4674;POINT (-39.557469 -2.97518)'))) / (select extract(epoch from '2026-07-13 12:55:02'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.557482 -2.975317)', '2026-07-13 12:55:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557469 -2.97518)'), GeomFromEWKT('SRID=4674;POINT (-39.557482 -2.975317)'))) / (select extract(epoch from '2026-07-13 12:55:10'::timestamp) - extract(epoch from '2026-07-13 12:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557469 -2.97518)'), GeomFromEWKT('SRID=4674;POINT (-39.557482 -2.975317)'))) / (select extract(epoch from '2026-07-13 12:55:10'::timestamp) - extract(epoch from '2026-07-13 12:55: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'), 47852, 'SRID=4674;POINT (-39.557472 -2.97541)', '2026-07-13 12:55:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557482 -2.975317)'), GeomFromEWKT('SRID=4674;POINT (-39.557472 -2.97541)'))) / (select extract(epoch from '2026-07-13 12:55:16'::timestamp) - extract(epoch from '2026-07-13 12:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557482 -2.975317)'), GeomFromEWKT('SRID=4674;POINT (-39.557472 -2.97541)'))) / (select extract(epoch from '2026-07-13 12:55:16'::timestamp) - extract(epoch from '2026-07-13 12:55: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'), 47852, 'SRID=4674;POINT (-39.557465 -2.975586)', '2026-07-13 12:55:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557472 -2.97541)'), GeomFromEWKT('SRID=4674;POINT (-39.557465 -2.975586)'))) / (select extract(epoch from '2026-07-13 12:55:25'::timestamp) - extract(epoch from '2026-07-13 12:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557472 -2.97541)'), GeomFromEWKT('SRID=4674;POINT (-39.557465 -2.975586)'))) / (select extract(epoch from '2026-07-13 12:55:25'::timestamp) - extract(epoch from '2026-07-13 12:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557466 -2.975628)', '2026-07-13 12:55:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557465 -2.975586)'), GeomFromEWKT('SRID=4674;POINT (-39.557466 -2.975628)'))) / (select extract(epoch from '2026-07-13 12:55:27'::timestamp) - extract(epoch from '2026-07-13 12:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557465 -2.975586)'), GeomFromEWKT('SRID=4674;POINT (-39.557466 -2.975628)'))) / (select extract(epoch from '2026-07-13 12:55:27'::timestamp) - extract(epoch from '2026-07-13 12:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557453 -2.975723)', '2026-07-13 12:55:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557466 -2.975628)'), GeomFromEWKT('SRID=4674;POINT (-39.557453 -2.975723)'))) / (select extract(epoch from '2026-07-13 12:55:31'::timestamp) - extract(epoch from '2026-07-13 12:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557466 -2.975628)'), GeomFromEWKT('SRID=4674;POINT (-39.557453 -2.975723)'))) / (select extract(epoch from '2026-07-13 12:55:31'::timestamp) - extract(epoch from '2026-07-13 12:55: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'), 47852, 'SRID=4674;POINT (-39.557447 -2.975833)', '2026-07-13 12:55:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557453 -2.975723)'), GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.975833)'))) / (select extract(epoch from '2026-07-13 12:55:37'::timestamp) - extract(epoch from '2026-07-13 12:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557453 -2.975723)'), GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.975833)'))) / (select extract(epoch from '2026-07-13 12:55:37'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.55743 -2.975954)', '2026-07-13 12:55:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.975833)'), GeomFromEWKT('SRID=4674;POINT (-39.55743 -2.975954)'))) / (select extract(epoch from '2026-07-13 12:55:44'::timestamp) - extract(epoch from '2026-07-13 12:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.975833)'), GeomFromEWKT('SRID=4674;POINT (-39.55743 -2.975954)'))) / (select extract(epoch from '2026-07-13 12:55:44'::timestamp) - extract(epoch from '2026-07-13 12:55: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'), 47852, 'SRID=4674;POINT (-39.557417 -2.97608)', '2026-07-13 12:55:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55743 -2.975954)'), GeomFromEWKT('SRID=4674;POINT (-39.557417 -2.97608)'))) / (select extract(epoch from '2026-07-13 12:55:50'::timestamp) - extract(epoch from '2026-07-13 12:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55743 -2.975954)'), GeomFromEWKT('SRID=4674;POINT (-39.557417 -2.97608)'))) / (select extract(epoch from '2026-07-13 12:55:50'::timestamp) - extract(epoch from '2026-07-13 12:55: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'), 47852, 'SRID=4674;POINT (-39.557419 -2.976199)', '2026-07-13 12:55:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557417 -2.97608)'), GeomFromEWKT('SRID=4674;POINT (-39.557419 -2.976199)'))) / (select extract(epoch from '2026-07-13 12:55:56'::timestamp) - extract(epoch from '2026-07-13 12:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557417 -2.97608)'), GeomFromEWKT('SRID=4674;POINT (-39.557419 -2.976199)'))) / (select extract(epoch from '2026-07-13 12:55:56'::timestamp) - extract(epoch from '2026-07-13 12:55: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'), 47852, 'SRID=4674;POINT (-39.557418 -2.976303)', '2026-07-13 12:56:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557419 -2.976199)'), GeomFromEWKT('SRID=4674;POINT (-39.557418 -2.976303)'))) / (select extract(epoch from '2026-07-13 12:56:02'::timestamp) - extract(epoch from '2026-07-13 12:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557419 -2.976199)'), GeomFromEWKT('SRID=4674;POINT (-39.557418 -2.976303)'))) / (select extract(epoch from '2026-07-13 12:56:02'::timestamp) - extract(epoch from '2026-07-13 12:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557398 -2.976385)', '2026-07-13 12:56:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557418 -2.976303)'), GeomFromEWKT('SRID=4674;POINT (-39.557398 -2.976385)'))) / (select extract(epoch from '2026-07-13 12:56:07'::timestamp) - extract(epoch from '2026-07-13 12:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557418 -2.976303)'), GeomFromEWKT('SRID=4674;POINT (-39.557398 -2.976385)'))) / (select extract(epoch from '2026-07-13 12:56:07'::timestamp) - extract(epoch from '2026-07-13 12:56: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'), 47852, 'SRID=4674;POINT (-39.557389 -2.9765)', '2026-07-13 12:56:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557398 -2.976385)'), GeomFromEWKT('SRID=4674;POINT (-39.557389 -2.9765)'))) / (select extract(epoch from '2026-07-13 12:56:13'::timestamp) - extract(epoch from '2026-07-13 12:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557398 -2.976385)'), GeomFromEWKT('SRID=4674;POINT (-39.557389 -2.9765)'))) / (select extract(epoch from '2026-07-13 12:56:13'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.557399 -2.976676)', '2026-07-13 12:56:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557389 -2.9765)'), GeomFromEWKT('SRID=4674;POINT (-39.557399 -2.976676)'))) / (select extract(epoch from '2026-07-13 12:56:22'::timestamp) - extract(epoch from '2026-07-13 12:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557389 -2.9765)'), GeomFromEWKT('SRID=4674;POINT (-39.557399 -2.976676)'))) / (select extract(epoch from '2026-07-13 12:56:22'::timestamp) - extract(epoch from '2026-07-13 12:56: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'), 47852, 'SRID=4674;POINT (-39.557405 -2.976814)', '2026-07-13 12:56:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557399 -2.976676)'), GeomFromEWKT('SRID=4674;POINT (-39.557405 -2.976814)'))) / (select extract(epoch from '2026-07-13 12:56:30'::timestamp) - extract(epoch from '2026-07-13 12:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557399 -2.976676)'), GeomFromEWKT('SRID=4674;POINT (-39.557405 -2.976814)'))) / (select extract(epoch from '2026-07-13 12:56:30'::timestamp) - extract(epoch from '2026-07-13 12:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557421 -2.976957)', '2026-07-13 12:56:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557405 -2.976814)'), GeomFromEWKT('SRID=4674;POINT (-39.557421 -2.976957)'))) / (select extract(epoch from '2026-07-13 12:56:37'::timestamp) - extract(epoch from '2026-07-13 12:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557405 -2.976814)'), GeomFromEWKT('SRID=4674;POINT (-39.557421 -2.976957)'))) / (select extract(epoch from '2026-07-13 12:56:37'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.557444 -2.977065)', '2026-07-13 12:56:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557421 -2.976957)'), GeomFromEWKT('SRID=4674;POINT (-39.557444 -2.977065)'))) / (select extract(epoch from '2026-07-13 12:56:44'::timestamp) - extract(epoch from '2026-07-13 12:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557421 -2.976957)'), GeomFromEWKT('SRID=4674;POINT (-39.557444 -2.977065)'))) / (select extract(epoch from '2026-07-13 12:56:44'::timestamp) - extract(epoch from '2026-07-13 12:56: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'), 47852, 'SRID=4674;POINT (-39.557452 -2.977202)', '2026-07-13 12:56:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557444 -2.977065)'), GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.977202)'))) / (select extract(epoch from '2026-07-13 12:56:52'::timestamp) - extract(epoch from '2026-07-13 12:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557444 -2.977065)'), GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.977202)'))) / (select extract(epoch from '2026-07-13 12:56:52'::timestamp) - extract(epoch from '2026-07-13 12:56: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'), 47852, 'SRID=4674;POINT (-39.557473 -2.977303)', '2026-07-13 12:56:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.977202)'), GeomFromEWKT('SRID=4674;POINT (-39.557473 -2.977303)'))) / (select extract(epoch from '2026-07-13 12:56:58'::timestamp) - extract(epoch from '2026-07-13 12:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.977202)'), GeomFromEWKT('SRID=4674;POINT (-39.557473 -2.977303)'))) / (select extract(epoch from '2026-07-13 12:56:58'::timestamp) - extract(epoch from '2026-07-13 12:56: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'), 47852, 'SRID=4674;POINT (-39.557489 -2.977471)', '2026-07-13 12:57:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557473 -2.977303)'), GeomFromEWKT('SRID=4674;POINT (-39.557489 -2.977471)'))) / (select extract(epoch from '2026-07-13 12:57:07'::timestamp) - extract(epoch from '2026-07-13 12:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557473 -2.977303)'), GeomFromEWKT('SRID=4674;POINT (-39.557489 -2.977471)'))) / (select extract(epoch from '2026-07-13 12:57:07'::timestamp) - extract(epoch from '2026-07-13 12:56: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'), 47852, 'SRID=4674;POINT (-39.557532 -2.977616)', '2026-07-13 12:57:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557489 -2.977471)'), GeomFromEWKT('SRID=4674;POINT (-39.557532 -2.977616)'))) / (select extract(epoch from '2026-07-13 12:57:14'::timestamp) - extract(epoch from '2026-07-13 12:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557489 -2.977471)'), GeomFromEWKT('SRID=4674;POINT (-39.557532 -2.977616)'))) / (select extract(epoch from '2026-07-13 12:57:14'::timestamp) - extract(epoch from '2026-07-13 12:57: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'), 47852, 'SRID=4674;POINT (-39.557573 -2.977729)', '2026-07-13 12:57:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557532 -2.977616)'), GeomFromEWKT('SRID=4674;POINT (-39.557573 -2.977729)'))) / (select extract(epoch from '2026-07-13 12:57:20'::timestamp) - extract(epoch from '2026-07-13 12:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557532 -2.977616)'), GeomFromEWKT('SRID=4674;POINT (-39.557573 -2.977729)'))) / (select extract(epoch from '2026-07-13 12:57:20'::timestamp) - extract(epoch from '2026-07-13 12:57:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557599 -2.977857)', '2026-07-13 12:57:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557573 -2.977729)'), GeomFromEWKT('SRID=4674;POINT (-39.557599 -2.977857)'))) / (select extract(epoch from '2026-07-13 12:57:27'::timestamp) - extract(epoch from '2026-07-13 12:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557573 -2.977729)'), GeomFromEWKT('SRID=4674;POINT (-39.557599 -2.977857)'))) / (select extract(epoch from '2026-07-13 12:57:27'::timestamp) - extract(epoch from '2026-07-13 12:57: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'), 47852, 'SRID=4674;POINT (-39.557602 -2.978013)', '2026-07-13 12:57:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557599 -2.977857)'), GeomFromEWKT('SRID=4674;POINT (-39.557602 -2.978013)'))) / (select extract(epoch from '2026-07-13 12:57:35'::timestamp) - extract(epoch from '2026-07-13 12:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557599 -2.977857)'), GeomFromEWKT('SRID=4674;POINT (-39.557602 -2.978013)'))) / (select extract(epoch from '2026-07-13 12:57:35'::timestamp) - extract(epoch from '2026-07-13 12:57: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'), 47852, 'SRID=4674;POINT (-39.557622 -2.978173)', '2026-07-13 12:57:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557602 -2.978013)'), GeomFromEWKT('SRID=4674;POINT (-39.557622 -2.978173)'))) / (select extract(epoch from '2026-07-13 12:57:43'::timestamp) - extract(epoch from '2026-07-13 12:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557602 -2.978013)'), GeomFromEWKT('SRID=4674;POINT (-39.557622 -2.978173)'))) / (select extract(epoch from '2026-07-13 12:57:43'::timestamp) - extract(epoch from '2026-07-13 12:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557614 -2.9783)', '2026-07-13 12:57:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557622 -2.978173)'), GeomFromEWKT('SRID=4674;POINT (-39.557614 -2.9783)'))) / (select extract(epoch from '2026-07-13 12:57:50'::timestamp) - extract(epoch from '2026-07-13 12:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557622 -2.978173)'), GeomFromEWKT('SRID=4674;POINT (-39.557614 -2.9783)'))) / (select extract(epoch from '2026-07-13 12:57:50'::timestamp) - extract(epoch from '2026-07-13 12:57: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'), 47852, 'SRID=4674;POINT (-39.557595 -2.97843)', '2026-07-13 12:57:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557614 -2.9783)'), GeomFromEWKT('SRID=4674;POINT (-39.557595 -2.97843)'))) / (select extract(epoch from '2026-07-13 12:57:57'::timestamp) - extract(epoch from '2026-07-13 12:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557614 -2.9783)'), GeomFromEWKT('SRID=4674;POINT (-39.557595 -2.97843)'))) / (select extract(epoch from '2026-07-13 12:57:57'::timestamp) - extract(epoch from '2026-07-13 12:57: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'), 47852, 'SRID=4674;POINT (-39.557582 -2.978566)', '2026-07-13 12:58:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557595 -2.97843)'), GeomFromEWKT('SRID=4674;POINT (-39.557582 -2.978566)'))) / (select extract(epoch from '2026-07-13 12:58:04'::timestamp) - extract(epoch from '2026-07-13 12:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557595 -2.97843)'), GeomFromEWKT('SRID=4674;POINT (-39.557582 -2.978566)'))) / (select extract(epoch from '2026-07-13 12:58:04'::timestamp) - extract(epoch from '2026-07-13 12:57: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'), 47852, 'SRID=4674;POINT (-39.557574 -2.978717)', '2026-07-13 12:58:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557582 -2.978566)'), GeomFromEWKT('SRID=4674;POINT (-39.557574 -2.978717)'))) / (select extract(epoch from '2026-07-13 12:58:12'::timestamp) - extract(epoch from '2026-07-13 12:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557582 -2.978566)'), GeomFromEWKT('SRID=4674;POINT (-39.557574 -2.978717)'))) / (select extract(epoch from '2026-07-13 12:58:12'::timestamp) - extract(epoch from '2026-07-13 12:58: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'), 47852, 'SRID=4674;POINT (-39.557538 -2.978821)', '2026-07-13 12:58:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557574 -2.978717)'), GeomFromEWKT('SRID=4674;POINT (-39.557538 -2.978821)'))) / (select extract(epoch from '2026-07-13 12:58:18'::timestamp) - extract(epoch from '2026-07-13 12:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557574 -2.978717)'), GeomFromEWKT('SRID=4674;POINT (-39.557538 -2.978821)'))) / (select extract(epoch from '2026-07-13 12:58:18'::timestamp) - extract(epoch from '2026-07-13 12:58: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'), 47852, 'SRID=4674;POINT (-39.5575 -2.97896)', '2026-07-13 12:58:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557538 -2.978821)'), GeomFromEWKT('SRID=4674;POINT (-39.5575 -2.97896)'))) / (select extract(epoch from '2026-07-13 12:58:26'::timestamp) - extract(epoch from '2026-07-13 12:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557538 -2.978821)'), GeomFromEWKT('SRID=4674;POINT (-39.5575 -2.97896)'))) / (select extract(epoch from '2026-07-13 12:58:26'::timestamp) - extract(epoch from '2026-07-13 12:58: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'), 47852, 'SRID=4674;POINT (-39.557493 -2.979074)', '2026-07-13 12:58:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5575 -2.97896)'), GeomFromEWKT('SRID=4674;POINT (-39.557493 -2.979074)'))) / (select extract(epoch from '2026-07-13 12:58:32'::timestamp) - extract(epoch from '2026-07-13 12:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5575 -2.97896)'), GeomFromEWKT('SRID=4674;POINT (-39.557493 -2.979074)'))) / (select extract(epoch from '2026-07-13 12:58:32'::timestamp) - extract(epoch from '2026-07-13 12:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557499 -2.979227)', '2026-07-13 12:58:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557493 -2.979074)'), GeomFromEWKT('SRID=4674;POINT (-39.557499 -2.979227)'))) / (select extract(epoch from '2026-07-13 12:58:40'::timestamp) - extract(epoch from '2026-07-13 12:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557493 -2.979074)'), GeomFromEWKT('SRID=4674;POINT (-39.557499 -2.979227)'))) / (select extract(epoch from '2026-07-13 12:58:40'::timestamp) - extract(epoch from '2026-07-13 12:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55749 -2.979384)', '2026-07-13 12:58:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557499 -2.979227)'), GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.979384)'))) / (select extract(epoch from '2026-07-13 12:58:48'::timestamp) - extract(epoch from '2026-07-13 12:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557499 -2.979227)'), GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.979384)'))) / (select extract(epoch from '2026-07-13 12:58:48'::timestamp) - extract(epoch from '2026-07-13 12:58:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557497 -2.979532)', '2026-07-13 12:58:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.979384)'), GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.979532)'))) / (select extract(epoch from '2026-07-13 12:58:55'::timestamp) - extract(epoch from '2026-07-13 12:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.979384)'), GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.979532)'))) / (select extract(epoch from '2026-07-13 12:58:55'::timestamp) - extract(epoch from '2026-07-13 12:58: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'), 47852, 'SRID=4674;POINT (-39.557504 -2.979683)', '2026-07-13 12:59:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.979532)'), GeomFromEWKT('SRID=4674;POINT (-39.557504 -2.979683)'))) / (select extract(epoch from '2026-07-13 12:59:02'::timestamp) - extract(epoch from '2026-07-13 12:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.979532)'), GeomFromEWKT('SRID=4674;POINT (-39.557504 -2.979683)'))) / (select extract(epoch from '2026-07-13 12:59:02'::timestamp) - extract(epoch from '2026-07-13 12:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557522 -2.9798)', '2026-07-13 12:59:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557504 -2.979683)'), GeomFromEWKT('SRID=4674;POINT (-39.557522 -2.9798)'))) / (select extract(epoch from '2026-07-13 12:59:08'::timestamp) - extract(epoch from '2026-07-13 12:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557504 -2.979683)'), GeomFromEWKT('SRID=4674;POINT (-39.557522 -2.9798)'))) / (select extract(epoch from '2026-07-13 12:59:08'::timestamp) - extract(epoch from '2026-07-13 12:59: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'), 47852, 'SRID=4674;POINT (-39.557514 -2.979969)', '2026-07-13 12:59:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557522 -2.9798)'), GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.979969)'))) / (select extract(epoch from '2026-07-13 12:59:17'::timestamp) - extract(epoch from '2026-07-13 12:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557522 -2.9798)'), GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.979969)'))) / (select extract(epoch from '2026-07-13 12:59:17'::timestamp) - extract(epoch from '2026-07-13 12:59: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'), 47852, 'SRID=4674;POINT (-39.557517 -2.980124)', '2026-07-13 12:59:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.979969)'), GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.980124)'))) / (select extract(epoch from '2026-07-13 12:59:25'::timestamp) - extract(epoch from '2026-07-13 12:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.979969)'), GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.980124)'))) / (select extract(epoch from '2026-07-13 12:59:25'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.557517 -2.980255)', '2026-07-13 12:59:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.980124)'), GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.980255)'))) / (select extract(epoch from '2026-07-13 12:59:32'::timestamp) - extract(epoch from '2026-07-13 12:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.980124)'), GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.980255)'))) / (select extract(epoch from '2026-07-13 12:59:32'::timestamp) - extract(epoch from '2026-07-13 12:59: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'), 47852, 'SRID=4674;POINT (-39.557512 -2.980353)', '2026-07-13 12:59:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.980255)'), GeomFromEWKT('SRID=4674;POINT (-39.557512 -2.980353)'))) / (select extract(epoch from '2026-07-13 12:59:37'::timestamp) - extract(epoch from '2026-07-13 12:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.980255)'), GeomFromEWKT('SRID=4674;POINT (-39.557512 -2.980353)'))) / (select extract(epoch from '2026-07-13 12:59:37'::timestamp) - extract(epoch from '2026-07-13 12:59: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'), 47852, 'SRID=4674;POINT (-39.557503 -2.980467)', '2026-07-13 12:59:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557512 -2.980353)'), GeomFromEWKT('SRID=4674;POINT (-39.557503 -2.980467)'))) / (select extract(epoch from '2026-07-13 12:59:43'::timestamp) - extract(epoch from '2026-07-13 12:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557512 -2.980353)'), GeomFromEWKT('SRID=4674;POINT (-39.557503 -2.980467)'))) / (select extract(epoch from '2026-07-13 12:59:43'::timestamp) - extract(epoch from '2026-07-13 12:59: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'), 47852, 'SRID=4674;POINT (-39.55749 -2.980565)', '2026-07-13 12:59:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557503 -2.980467)'), GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.980565)'))) / (select extract(epoch from '2026-07-13 12:59:49'::timestamp) - extract(epoch from '2026-07-13 12:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557503 -2.980467)'), GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.980565)'))) / (select extract(epoch from '2026-07-13 12:59:49'::timestamp) - extract(epoch from '2026-07-13 12:59: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'), 47852, 'SRID=4674;POINT (-39.557487 -2.980722)', '2026-07-13 12:59:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.980565)'), GeomFromEWKT('SRID=4674;POINT (-39.557487 -2.980722)'))) / (select extract(epoch from '2026-07-13 12:59:57'::timestamp) - extract(epoch from '2026-07-13 12:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.980565)'), GeomFromEWKT('SRID=4674;POINT (-39.557487 -2.980722)'))) / (select extract(epoch from '2026-07-13 12:59:57'::timestamp) - extract(epoch from '2026-07-13 12:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557491 -2.980867)', '2026-07-13 13:00:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557487 -2.980722)'), GeomFromEWKT('SRID=4674;POINT (-39.557491 -2.980867)'))) / (select extract(epoch from '2026-07-13 13:00:04'::timestamp) - extract(epoch from '2026-07-13 12:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557487 -2.980722)'), GeomFromEWKT('SRID=4674;POINT (-39.557491 -2.980867)'))) / (select extract(epoch from '2026-07-13 13:00:04'::timestamp) - extract(epoch from '2026-07-13 12: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'), 47852, 'SRID=4674;POINT (-39.557518 -2.98103)', '2026-07-13 13:00:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557491 -2.980867)'), GeomFromEWKT('SRID=4674;POINT (-39.557518 -2.98103)'))) / (select extract(epoch from '2026-07-13 13:00:12'::timestamp) - extract(epoch from '2026-07-13 13:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557491 -2.980867)'), GeomFromEWKT('SRID=4674;POINT (-39.557518 -2.98103)'))) / (select extract(epoch from '2026-07-13 13:00:12'::timestamp) - extract(epoch from '2026-07-13 13:00: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'), 47852, 'SRID=4674;POINT (-39.557528 -2.981157)', '2026-07-13 13:00:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557518 -2.98103)'), GeomFromEWKT('SRID=4674;POINT (-39.557528 -2.981157)'))) / (select extract(epoch from '2026-07-13 13:00:19'::timestamp) - extract(epoch from '2026-07-13 13:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557518 -2.98103)'), GeomFromEWKT('SRID=4674;POINT (-39.557528 -2.981157)'))) / (select extract(epoch from '2026-07-13 13:00:19'::timestamp) - extract(epoch from '2026-07-13 13:00: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'), 47852, 'SRID=4674;POINT (-39.557538 -2.981306)', '2026-07-13 13:00:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557528 -2.981157)'), GeomFromEWKT('SRID=4674;POINT (-39.557538 -2.981306)'))) / (select extract(epoch from '2026-07-13 13:00:26'::timestamp) - extract(epoch from '2026-07-13 13:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557528 -2.981157)'), GeomFromEWKT('SRID=4674;POINT (-39.557538 -2.981306)'))) / (select extract(epoch from '2026-07-13 13:00:26'::timestamp) - extract(epoch from '2026-07-13 13:00: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'), 47852, 'SRID=4674;POINT (-39.557548 -2.981444)', '2026-07-13 13:00:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557538 -2.981306)'), GeomFromEWKT('SRID=4674;POINT (-39.557548 -2.981444)'))) / (select extract(epoch from '2026-07-13 13:00:33'::timestamp) - extract(epoch from '2026-07-13 13:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557538 -2.981306)'), GeomFromEWKT('SRID=4674;POINT (-39.557548 -2.981444)'))) / (select extract(epoch from '2026-07-13 13:00:33'::timestamp) - extract(epoch from '2026-07-13 13:00: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'), 47852, 'SRID=4674;POINT (-39.557571 -2.98161)', '2026-07-13 13:00:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557548 -2.981444)'), GeomFromEWKT('SRID=4674;POINT (-39.557571 -2.98161)'))) / (select extract(epoch from '2026-07-13 13:00:41'::timestamp) - extract(epoch from '2026-07-13 13:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557548 -2.981444)'), GeomFromEWKT('SRID=4674;POINT (-39.557571 -2.98161)'))) / (select extract(epoch from '2026-07-13 13:00:41'::timestamp) - extract(epoch from '2026-07-13 13:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557573 -2.981798)', '2026-07-13 13:00:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557571 -2.98161)'), GeomFromEWKT('SRID=4674;POINT (-39.557573 -2.981798)'))) / (select extract(epoch from '2026-07-13 13:00:50'::timestamp) - extract(epoch from '2026-07-13 13:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557571 -2.98161)'), GeomFromEWKT('SRID=4674;POINT (-39.557573 -2.981798)'))) / (select extract(epoch from '2026-07-13 13:00:50'::timestamp) - extract(epoch from '2026-07-13 13:00: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'), 47852, 'SRID=4674;POINT (-39.55757 -2.981939)', '2026-07-13 13:00:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557573 -2.981798)'), GeomFromEWKT('SRID=4674;POINT (-39.55757 -2.981939)'))) / (select extract(epoch from '2026-07-13 13:00:57'::timestamp) - extract(epoch from '2026-07-13 13:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557573 -2.981798)'), GeomFromEWKT('SRID=4674;POINT (-39.55757 -2.981939)'))) / (select extract(epoch from '2026-07-13 13:00:57'::timestamp) - extract(epoch from '2026-07-13 13:00: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'), 47852, 'SRID=4674;POINT (-39.557564 -2.982069)', '2026-07-13 13:01:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55757 -2.981939)'), GeomFromEWKT('SRID=4674;POINT (-39.557564 -2.982069)'))) / (select extract(epoch from '2026-07-13 13:01:04'::timestamp) - extract(epoch from '2026-07-13 13:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55757 -2.981939)'), GeomFromEWKT('SRID=4674;POINT (-39.557564 -2.982069)'))) / (select extract(epoch from '2026-07-13 13:01:04'::timestamp) - extract(epoch from '2026-07-13 13:00: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'), 47852, 'SRID=4674;POINT (-39.557529 -2.982196)', '2026-07-13 13:01:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557564 -2.982069)'), GeomFromEWKT('SRID=4674;POINT (-39.557529 -2.982196)'))) / (select extract(epoch from '2026-07-13 13:01:11'::timestamp) - extract(epoch from '2026-07-13 13:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557564 -2.982069)'), GeomFromEWKT('SRID=4674;POINT (-39.557529 -2.982196)'))) / (select extract(epoch from '2026-07-13 13:01:11'::timestamp) - extract(epoch from '2026-07-13 13:01: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'), 47852, 'SRID=4674;POINT (-39.557497 -2.982305)', '2026-07-13 13:01:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557529 -2.982196)'), GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.982305)'))) / (select extract(epoch from '2026-07-13 13:01:17'::timestamp) - extract(epoch from '2026-07-13 13:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557529 -2.982196)'), GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.982305)'))) / (select extract(epoch from '2026-07-13 13:01:17'::timestamp) - extract(epoch from '2026-07-13 13:01: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'), 47852, 'SRID=4674;POINT (-39.557494 -2.982439)', '2026-07-13 13:01:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.982305)'), GeomFromEWKT('SRID=4674;POINT (-39.557494 -2.982439)'))) / (select extract(epoch from '2026-07-13 13:01:24'::timestamp) - extract(epoch from '2026-07-13 13:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.982305)'), GeomFromEWKT('SRID=4674;POINT (-39.557494 -2.982439)'))) / (select extract(epoch from '2026-07-13 13:01:24'::timestamp) - extract(epoch from '2026-07-13 13:01: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'), 47852, 'SRID=4674;POINT (-39.55749 -2.982572)', '2026-07-13 13:01:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557494 -2.982439)'), GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.982572)'))) / (select extract(epoch from '2026-07-13 13:01:31'::timestamp) - extract(epoch from '2026-07-13 13:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557494 -2.982439)'), GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.982572)'))) / (select extract(epoch from '2026-07-13 13:01:31'::timestamp) - extract(epoch from '2026-07-13 13:01: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'), 47852, 'SRID=4674;POINT (-39.557495 -2.982706)', '2026-07-13 13:01:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.982572)'), GeomFromEWKT('SRID=4674;POINT (-39.557495 -2.982706)'))) / (select extract(epoch from '2026-07-13 13:01:38'::timestamp) - extract(epoch from '2026-07-13 13:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55749 -2.982572)'), GeomFromEWKT('SRID=4674;POINT (-39.557495 -2.982706)'))) / (select extract(epoch from '2026-07-13 13:01:38'::timestamp) - extract(epoch from '2026-07-13 13:01: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'), 47852, 'SRID=4674;POINT (-39.557497 -2.982852)', '2026-07-13 13:01:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557495 -2.982706)'), GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.982852)'))) / (select extract(epoch from '2026-07-13 13:01:45'::timestamp) - extract(epoch from '2026-07-13 13:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557495 -2.982706)'), GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.982852)'))) / (select extract(epoch from '2026-07-13 13:01:45'::timestamp) - extract(epoch from '2026-07-13 13:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557503 -2.982961)', '2026-07-13 13:01:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.982852)'), GeomFromEWKT('SRID=4674;POINT (-39.557503 -2.982961)'))) / (select extract(epoch from '2026-07-13 13:01:51'::timestamp) - extract(epoch from '2026-07-13 13:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.982852)'), GeomFromEWKT('SRID=4674;POINT (-39.557503 -2.982961)'))) / (select extract(epoch from '2026-07-13 13:01:51'::timestamp) - extract(epoch from '2026-07-13 13:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557487 -2.983115)', '2026-07-13 13:02:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557503 -2.982961)'), GeomFromEWKT('SRID=4674;POINT (-39.557487 -2.983115)'))) / (select extract(epoch from '2026-07-13 13:02:00'::timestamp) - extract(epoch from '2026-07-13 13:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557503 -2.982961)'), GeomFromEWKT('SRID=4674;POINT (-39.557487 -2.983115)'))) / (select extract(epoch from '2026-07-13 13:02:00'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557475 -2.983215)', '2026-07-13 13:02:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557487 -2.983115)'), GeomFromEWKT('SRID=4674;POINT (-39.557475 -2.983215)'))) / (select extract(epoch from '2026-07-13 13:02:06'::timestamp) - extract(epoch from '2026-07-13 13:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557487 -2.983115)'), GeomFromEWKT('SRID=4674;POINT (-39.557475 -2.983215)'))) / (select extract(epoch from '2026-07-13 13:02:06'::timestamp) - extract(epoch from '2026-07-13 13:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557471 -2.983364)', '2026-07-13 13:02:14', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557475 -2.983215)'), GeomFromEWKT('SRID=4674;POINT (-39.557471 -2.983364)'))) / (select extract(epoch from '2026-07-13 13:02:14'::timestamp) - extract(epoch from '2026-07-13 13:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557475 -2.983215)'), GeomFromEWKT('SRID=4674;POINT (-39.557471 -2.983364)'))) / (select extract(epoch from '2026-07-13 13:02:14'::timestamp) - extract(epoch from '2026-07-13 13:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557459 -2.9835)', '2026-07-13 13:02:21', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557471 -2.983364)'), GeomFromEWKT('SRID=4674;POINT (-39.557459 -2.9835)'))) / (select extract(epoch from '2026-07-13 13:02:21'::timestamp) - extract(epoch from '2026-07-13 13:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557471 -2.983364)'), GeomFromEWKT('SRID=4674;POINT (-39.557459 -2.9835)'))) / (select extract(epoch from '2026-07-13 13:02:21'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557455 -2.983677)', '2026-07-13 13:02:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557459 -2.9835)'), GeomFromEWKT('SRID=4674;POINT (-39.557455 -2.983677)'))) / (select extract(epoch from '2026-07-13 13:02:29'::timestamp) - extract(epoch from '2026-07-13 13:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557459 -2.9835)'), GeomFromEWKT('SRID=4674;POINT (-39.557455 -2.983677)'))) / (select extract(epoch from '2026-07-13 13:02:29'::timestamp) - extract(epoch from '2026-07-13 13:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557461 -2.983844)', '2026-07-13 13:02:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557455 -2.983677)'), GeomFromEWKT('SRID=4674;POINT (-39.557461 -2.983844)'))) / (select extract(epoch from '2026-07-13 13:02:37'::timestamp) - extract(epoch from '2026-07-13 13:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557455 -2.983677)'), GeomFromEWKT('SRID=4674;POINT (-39.557461 -2.983844)'))) / (select extract(epoch from '2026-07-13 13:02:37'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557488 -2.983973)', '2026-07-13 13:02:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557461 -2.983844)'), GeomFromEWKT('SRID=4674;POINT (-39.557488 -2.983973)'))) / (select extract(epoch from '2026-07-13 13:02:44'::timestamp) - extract(epoch from '2026-07-13 13:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557461 -2.983844)'), GeomFromEWKT('SRID=4674;POINT (-39.557488 -2.983973)'))) / (select extract(epoch from '2026-07-13 13:02:44'::timestamp) - extract(epoch from '2026-07-13 13:02: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'), 47852, 'SRID=4674;POINT (-39.557507 -2.984131)', '2026-07-13 13:02:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557488 -2.983973)'), GeomFromEWKT('SRID=4674;POINT (-39.557507 -2.984131)'))) / (select extract(epoch from '2026-07-13 13:02:52'::timestamp) - extract(epoch from '2026-07-13 13:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557488 -2.983973)'), GeomFromEWKT('SRID=4674;POINT (-39.557507 -2.984131)'))) / (select extract(epoch from '2026-07-13 13:02:52'::timestamp) - extract(epoch from '2026-07-13 13:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557502 -2.984266)', '2026-07-13 13:02:59', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557507 -2.984131)'), GeomFromEWKT('SRID=4674;POINT (-39.557502 -2.984266)'))) / (select extract(epoch from '2026-07-13 13:02:59'::timestamp) - extract(epoch from '2026-07-13 13:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557507 -2.984131)'), GeomFromEWKT('SRID=4674;POINT (-39.557502 -2.984266)'))) / (select extract(epoch from '2026-07-13 13:02:59'::timestamp) - extract(epoch from '2026-07-13 13:02: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'), 47852, 'SRID=4674;POINT (-39.557512 -2.984416)', '2026-07-13 13:03:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557502 -2.984266)'), GeomFromEWKT('SRID=4674;POINT (-39.557512 -2.984416)'))) / (select extract(epoch from '2026-07-13 13:03:06'::timestamp) - extract(epoch from '2026-07-13 13:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557502 -2.984266)'), GeomFromEWKT('SRID=4674;POINT (-39.557512 -2.984416)'))) / (select extract(epoch from '2026-07-13 13:03:06'::timestamp) - extract(epoch from '2026-07-13 13:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557526 -2.984541)', '2026-07-13 13:03:12', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557512 -2.984416)'), GeomFromEWKT('SRID=4674;POINT (-39.557526 -2.984541)'))) / (select extract(epoch from '2026-07-13 13:03:12'::timestamp) - extract(epoch from '2026-07-13 13:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557512 -2.984416)'), GeomFromEWKT('SRID=4674;POINT (-39.557526 -2.984541)'))) / (select extract(epoch from '2026-07-13 13:03:12'::timestamp) - extract(epoch from '2026-07-13 13:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557547 -2.984697)', '2026-07-13 13:03:19', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557526 -2.984541)'), GeomFromEWKT('SRID=4674;POINT (-39.557547 -2.984697)'))) / (select extract(epoch from '2026-07-13 13:03:19'::timestamp) - extract(epoch from '2026-07-13 13:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557526 -2.984541)'), GeomFromEWKT('SRID=4674;POINT (-39.557547 -2.984697)'))) / (select extract(epoch from '2026-07-13 13:03:19'::timestamp) - extract(epoch from '2026-07-13 13:03: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'), 47852, 'SRID=4674;POINT (-39.55754 -2.984788)', '2026-07-13 13:03:24', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557547 -2.984697)'), GeomFromEWKT('SRID=4674;POINT (-39.55754 -2.984788)'))) / (select extract(epoch from '2026-07-13 13:03:24'::timestamp) - extract(epoch from '2026-07-13 13:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557547 -2.984697)'), GeomFromEWKT('SRID=4674;POINT (-39.55754 -2.984788)'))) / (select extract(epoch from '2026-07-13 13:03:24'::timestamp) - extract(epoch from '2026-07-13 13:03: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'), 47852, 'SRID=4674;POINT (-39.55752 -2.98492)', '2026-07-13 13:03:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55754 -2.984788)'), GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.98492)'))) / (select extract(epoch from '2026-07-13 13:03:30'::timestamp) - extract(epoch from '2026-07-13 13:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55754 -2.984788)'), GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.98492)'))) / (select extract(epoch from '2026-07-13 13:03:30'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557497 -2.985046)', '2026-07-13 13:03:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.98492)'), GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.985046)'))) / (select extract(epoch from '2026-07-13 13:03:37'::timestamp) - extract(epoch from '2026-07-13 13:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.98492)'), GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.985046)'))) / (select extract(epoch from '2026-07-13 13:03:37'::timestamp) - extract(epoch from '2026-07-13 13:03: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'), 47852, 'SRID=4674;POINT (-39.557479 -2.985134)', '2026-07-13 13:03:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.985046)'), GeomFromEWKT('SRID=4674;POINT (-39.557479 -2.985134)'))) / (select extract(epoch from '2026-07-13 13:03:42'::timestamp) - extract(epoch from '2026-07-13 13:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557497 -2.985046)'), GeomFromEWKT('SRID=4674;POINT (-39.557479 -2.985134)'))) / (select extract(epoch from '2026-07-13 13:03:42'::timestamp) - extract(epoch from '2026-07-13 13:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557467 -2.985256)', '2026-07-13 13:03:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557479 -2.985134)'), GeomFromEWKT('SRID=4674;POINT (-39.557467 -2.985256)'))) / (select extract(epoch from '2026-07-13 13:03:48'::timestamp) - extract(epoch from '2026-07-13 13:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557479 -2.985134)'), GeomFromEWKT('SRID=4674;POINT (-39.557467 -2.985256)'))) / (select extract(epoch from '2026-07-13 13:03:48'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557465 -2.985371)', '2026-07-13 13:03:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557467 -2.985256)'), GeomFromEWKT('SRID=4674;POINT (-39.557465 -2.985371)'))) / (select extract(epoch from '2026-07-13 13:03:54'::timestamp) - extract(epoch from '2026-07-13 13:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557467 -2.985256)'), GeomFromEWKT('SRID=4674;POINT (-39.557465 -2.985371)'))) / (select extract(epoch from '2026-07-13 13:03:54'::timestamp) - extract(epoch from '2026-07-13 13:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557454 -2.985469)', '2026-07-13 13:04:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557465 -2.985371)'), GeomFromEWKT('SRID=4674;POINT (-39.557454 -2.985469)'))) / (select extract(epoch from '2026-07-13 13:04:00'::timestamp) - extract(epoch from '2026-07-13 13:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557465 -2.985371)'), GeomFromEWKT('SRID=4674;POINT (-39.557454 -2.985469)'))) / (select extract(epoch from '2026-07-13 13:04:00'::timestamp) - extract(epoch from '2026-07-13 13:03: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'), 47852, 'SRID=4674;POINT (-39.55745 -2.98559)', '2026-07-13 13:04:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557454 -2.985469)'), GeomFromEWKT('SRID=4674;POINT (-39.55745 -2.98559)'))) / (select extract(epoch from '2026-07-13 13:04:07'::timestamp) - extract(epoch from '2026-07-13 13:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557454 -2.985469)'), GeomFromEWKT('SRID=4674;POINT (-39.55745 -2.98559)'))) / (select extract(epoch from '2026-07-13 13:04:07'::timestamp) - extract(epoch from '2026-07-13 13:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557434 -2.985702)', '2026-07-13 13:04:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55745 -2.98559)'), GeomFromEWKT('SRID=4674;POINT (-39.557434 -2.985702)'))) / (select extract(epoch from '2026-07-13 13:04:13'::timestamp) - extract(epoch from '2026-07-13 13:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55745 -2.98559)'), GeomFromEWKT('SRID=4674;POINT (-39.557434 -2.985702)'))) / (select extract(epoch from '2026-07-13 13:04:13'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557425 -2.985796)', '2026-07-13 13:04:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557434 -2.985702)'), GeomFromEWKT('SRID=4674;POINT (-39.557425 -2.985796)'))) / (select extract(epoch from '2026-07-13 13:04:18'::timestamp) - extract(epoch from '2026-07-13 13:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557434 -2.985702)'), GeomFromEWKT('SRID=4674;POINT (-39.557425 -2.985796)'))) / (select extract(epoch from '2026-07-13 13:04:18'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557416 -2.985921)', '2026-07-13 13:04:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557425 -2.985796)'), GeomFromEWKT('SRID=4674;POINT (-39.557416 -2.985921)'))) / (select extract(epoch from '2026-07-13 13:04:24'::timestamp) - extract(epoch from '2026-07-13 13:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557425 -2.985796)'), GeomFromEWKT('SRID=4674;POINT (-39.557416 -2.985921)'))) / (select extract(epoch from '2026-07-13 13:04:24'::timestamp) - extract(epoch from '2026-07-13 13:04: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'), 47852, 'SRID=4674;POINT (-39.557432 -2.986042)', '2026-07-13 13:04:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557416 -2.985921)'), GeomFromEWKT('SRID=4674;POINT (-39.557432 -2.986042)'))) / (select extract(epoch from '2026-07-13 13:04:30'::timestamp) - extract(epoch from '2026-07-13 13:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557416 -2.985921)'), GeomFromEWKT('SRID=4674;POINT (-39.557432 -2.986042)'))) / (select extract(epoch from '2026-07-13 13:04:30'::timestamp) - extract(epoch from '2026-07-13 13:04: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'), 47852, 'SRID=4674;POINT (-39.557451 -2.986164)', '2026-07-13 13:04:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557432 -2.986042)'), GeomFromEWKT('SRID=4674;POINT (-39.557451 -2.986164)'))) / (select extract(epoch from '2026-07-13 13:04:36'::timestamp) - extract(epoch from '2026-07-13 13:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557432 -2.986042)'), GeomFromEWKT('SRID=4674;POINT (-39.557451 -2.986164)'))) / (select extract(epoch from '2026-07-13 13:04:36'::timestamp) - extract(epoch from '2026-07-13 13:04: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'), 47852, 'SRID=4674;POINT (-39.557469 -2.986301)', '2026-07-13 13:04:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557451 -2.986164)'), GeomFromEWKT('SRID=4674;POINT (-39.557469 -2.986301)'))) / (select extract(epoch from '2026-07-13 13:04:43'::timestamp) - extract(epoch from '2026-07-13 13:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557451 -2.986164)'), GeomFromEWKT('SRID=4674;POINT (-39.557469 -2.986301)'))) / (select extract(epoch from '2026-07-13 13:04:43'::timestamp) - extract(epoch from '2026-07-13 13:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557459 -2.986416)', '2026-07-13 13:04:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557469 -2.986301)'), GeomFromEWKT('SRID=4674;POINT (-39.557459 -2.986416)'))) / (select extract(epoch from '2026-07-13 13:04:49'::timestamp) - extract(epoch from '2026-07-13 13:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557469 -2.986301)'), GeomFromEWKT('SRID=4674;POINT (-39.557459 -2.986416)'))) / (select extract(epoch from '2026-07-13 13:04:49'::timestamp) - extract(epoch from '2026-07-13 13:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557449 -2.986588)', '2026-07-13 13:04:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557459 -2.986416)'), GeomFromEWKT('SRID=4674;POINT (-39.557449 -2.986588)'))) / (select extract(epoch from '2026-07-13 13:04:58'::timestamp) - extract(epoch from '2026-07-13 13:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557459 -2.986416)'), GeomFromEWKT('SRID=4674;POINT (-39.557449 -2.986588)'))) / (select extract(epoch from '2026-07-13 13:04:58'::timestamp) - extract(epoch from '2026-07-13 13:04: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'), 47852, 'SRID=4674;POINT (-39.557429 -2.986713)', '2026-07-13 13:05:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557449 -2.986588)'), GeomFromEWKT('SRID=4674;POINT (-39.557429 -2.986713)'))) / (select extract(epoch from '2026-07-13 13:05:05'::timestamp) - extract(epoch from '2026-07-13 13:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557449 -2.986588)'), GeomFromEWKT('SRID=4674;POINT (-39.557429 -2.986713)'))) / (select extract(epoch from '2026-07-13 13:05:05'::timestamp) - extract(epoch from '2026-07-13 13:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557412 -2.986844)', '2026-07-13 13:05:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557429 -2.986713)'), GeomFromEWKT('SRID=4674;POINT (-39.557412 -2.986844)'))) / (select extract(epoch from '2026-07-13 13:05:12'::timestamp) - extract(epoch from '2026-07-13 13:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557429 -2.986713)'), GeomFromEWKT('SRID=4674;POINT (-39.557412 -2.986844)'))) / (select extract(epoch from '2026-07-13 13:05:12'::timestamp) - extract(epoch from '2026-07-13 13:05: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'), 47852, 'SRID=4674;POINT (-39.557407 -2.986982)', '2026-07-13 13:05:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557412 -2.986844)'), GeomFromEWKT('SRID=4674;POINT (-39.557407 -2.986982)'))) / (select extract(epoch from '2026-07-13 13:05:19'::timestamp) - extract(epoch from '2026-07-13 13:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557412 -2.986844)'), GeomFromEWKT('SRID=4674;POINT (-39.557407 -2.986982)'))) / (select extract(epoch from '2026-07-13 13:05:19'::timestamp) - extract(epoch from '2026-07-13 13:05: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'), 47852, 'SRID=4674;POINT (-39.557414 -2.987103)', '2026-07-13 13:05:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557407 -2.986982)'), GeomFromEWKT('SRID=4674;POINT (-39.557414 -2.987103)'))) / (select extract(epoch from '2026-07-13 13:05:26'::timestamp) - extract(epoch from '2026-07-13 13:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557407 -2.986982)'), GeomFromEWKT('SRID=4674;POINT (-39.557414 -2.987103)'))) / (select extract(epoch from '2026-07-13 13:05:26'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557412 -2.9872)', '2026-07-13 13:05:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557414 -2.987103)'), GeomFromEWKT('SRID=4674;POINT (-39.557412 -2.9872)'))) / (select extract(epoch from '2026-07-13 13:05:32'::timestamp) - extract(epoch from '2026-07-13 13:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557414 -2.987103)'), GeomFromEWKT('SRID=4674;POINT (-39.557412 -2.9872)'))) / (select extract(epoch from '2026-07-13 13:05:32'::timestamp) - extract(epoch from '2026-07-13 13:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557421 -2.98729)', '2026-07-13 13:05:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557412 -2.9872)'), GeomFromEWKT('SRID=4674;POINT (-39.557421 -2.98729)'))) / (select extract(epoch from '2026-07-13 13:05:37'::timestamp) - extract(epoch from '2026-07-13 13:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557412 -2.9872)'), GeomFromEWKT('SRID=4674;POINT (-39.557421 -2.98729)'))) / (select extract(epoch from '2026-07-13 13:05:37'::timestamp) - extract(epoch from '2026-07-13 13:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557409 -2.987419)', '2026-07-13 13:05:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557421 -2.98729)'), GeomFromEWKT('SRID=4674;POINT (-39.557409 -2.987419)'))) / (select extract(epoch from '2026-07-13 13:05:44'::timestamp) - extract(epoch from '2026-07-13 13:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557421 -2.98729)'), GeomFromEWKT('SRID=4674;POINT (-39.557409 -2.987419)'))) / (select extract(epoch from '2026-07-13 13:05:44'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557408 -2.987543)', '2026-07-13 13:05:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557409 -2.987419)'), GeomFromEWKT('SRID=4674;POINT (-39.557408 -2.987543)'))) / (select extract(epoch from '2026-07-13 13:05:51'::timestamp) - extract(epoch from '2026-07-13 13:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557409 -2.987419)'), GeomFromEWKT('SRID=4674;POINT (-39.557408 -2.987543)'))) / (select extract(epoch from '2026-07-13 13:05:51'::timestamp) - extract(epoch from '2026-07-13 13:05: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'), 47852, 'SRID=4674;POINT (-39.557404 -2.987659)', '2026-07-13 13:05:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557408 -2.987543)'), GeomFromEWKT('SRID=4674;POINT (-39.557404 -2.987659)'))) / (select extract(epoch from '2026-07-13 13:05:57'::timestamp) - extract(epoch from '2026-07-13 13:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557408 -2.987543)'), GeomFromEWKT('SRID=4674;POINT (-39.557404 -2.987659)'))) / (select extract(epoch from '2026-07-13 13:05:57'::timestamp) - extract(epoch from '2026-07-13 13:05: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'), 47852, 'SRID=4674;POINT (-39.557401 -2.987754)', '2026-07-13 13:06:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557404 -2.987659)'), GeomFromEWKT('SRID=4674;POINT (-39.557401 -2.987754)'))) / (select extract(epoch from '2026-07-13 13:06:02'::timestamp) - extract(epoch from '2026-07-13 13:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557404 -2.987659)'), GeomFromEWKT('SRID=4674;POINT (-39.557401 -2.987754)'))) / (select extract(epoch from '2026-07-13 13:06:02'::timestamp) - extract(epoch from '2026-07-13 13:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557423 -2.987851)', '2026-07-13 13:06:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557401 -2.987754)'), GeomFromEWKT('SRID=4674;POINT (-39.557423 -2.987851)'))) / (select extract(epoch from '2026-07-13 13:06:07'::timestamp) - extract(epoch from '2026-07-13 13:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557401 -2.987754)'), GeomFromEWKT('SRID=4674;POINT (-39.557423 -2.987851)'))) / (select extract(epoch from '2026-07-13 13:06:07'::timestamp) - extract(epoch from '2026-07-13 13:06: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'), 47852, 'SRID=4674;POINT (-39.557436 -2.98794)', '2026-07-13 13:06:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557423 -2.987851)'), GeomFromEWKT('SRID=4674;POINT (-39.557436 -2.98794)'))) / (select extract(epoch from '2026-07-13 13:06:12'::timestamp) - extract(epoch from '2026-07-13 13:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557423 -2.987851)'), GeomFromEWKT('SRID=4674;POINT (-39.557436 -2.98794)'))) / (select extract(epoch from '2026-07-13 13:06:12'::timestamp) - extract(epoch from '2026-07-13 13:06: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'), 47852, 'SRID=4674;POINT (-39.557447 -2.988059)', '2026-07-13 13:06:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557436 -2.98794)'), GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.988059)'))) / (select extract(epoch from '2026-07-13 13:06:18'::timestamp) - extract(epoch from '2026-07-13 13:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557436 -2.98794)'), GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.988059)'))) / (select extract(epoch from '2026-07-13 13:06:18'::timestamp) - extract(epoch from '2026-07-13 13:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55746 -2.988151)', '2026-07-13 13:06:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.988059)'), GeomFromEWKT('SRID=4674;POINT (-39.55746 -2.988151)'))) / (select extract(epoch from '2026-07-13 13:06:23'::timestamp) - extract(epoch from '2026-07-13 13:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.988059)'), GeomFromEWKT('SRID=4674;POINT (-39.55746 -2.988151)'))) / (select extract(epoch from '2026-07-13 13:06:23'::timestamp) - extract(epoch from '2026-07-13 13:06: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'), 47852, 'SRID=4674;POINT (-39.557447 -2.988286)', '2026-07-13 13:06:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55746 -2.988151)'), GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.988286)'))) / (select extract(epoch from '2026-07-13 13:06:30'::timestamp) - extract(epoch from '2026-07-13 13:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55746 -2.988151)'), GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.988286)'))) / (select extract(epoch from '2026-07-13 13:06:30'::timestamp) - extract(epoch from '2026-07-13 13:06: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'), 47852, 'SRID=4674;POINT (-39.55745 -2.988406)', '2026-07-13 13:06:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.988286)'), GeomFromEWKT('SRID=4674;POINT (-39.55745 -2.988406)'))) / (select extract(epoch from '2026-07-13 13:06:37'::timestamp) - extract(epoch from '2026-07-13 13:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557447 -2.988286)'), GeomFromEWKT('SRID=4674;POINT (-39.55745 -2.988406)'))) / (select extract(epoch from '2026-07-13 13:06:37'::timestamp) - extract(epoch from '2026-07-13 13:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557452 -2.988533)', '2026-07-13 13:06:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55745 -2.988406)'), GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.988533)'))) / (select extract(epoch from '2026-07-13 13:06:45'::timestamp) - extract(epoch from '2026-07-13 13:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55745 -2.988406)'), GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.988533)'))) / (select extract(epoch from '2026-07-13 13:06:45'::timestamp) - extract(epoch from '2026-07-13 13:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55742 -2.988635)', '2026-07-13 13:06:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.988533)'), GeomFromEWKT('SRID=4674;POINT (-39.55742 -2.988635)'))) / (select extract(epoch from '2026-07-13 13:06:52'::timestamp) - extract(epoch from '2026-07-13 13:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.988533)'), GeomFromEWKT('SRID=4674;POINT (-39.55742 -2.988635)'))) / (select extract(epoch from '2026-07-13 13:06:52'::timestamp) - extract(epoch from '2026-07-13 13:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557402 -2.988727)', '2026-07-13 13:06:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55742 -2.988635)'), GeomFromEWKT('SRID=4674;POINT (-39.557402 -2.988727)'))) / (select extract(epoch from '2026-07-13 13:06:58'::timestamp) - extract(epoch from '2026-07-13 13:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55742 -2.988635)'), GeomFromEWKT('SRID=4674;POINT (-39.557402 -2.988727)'))) / (select extract(epoch from '2026-07-13 13:06:58'::timestamp) - extract(epoch from '2026-07-13 13:06: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'), 47852, 'SRID=4674;POINT (-39.557399 -2.988835)', '2026-07-13 13:07:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557402 -2.988727)'), GeomFromEWKT('SRID=4674;POINT (-39.557399 -2.988835)'))) / (select extract(epoch from '2026-07-13 13:07:04'::timestamp) - extract(epoch from '2026-07-13 13:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557402 -2.988727)'), GeomFromEWKT('SRID=4674;POINT (-39.557399 -2.988835)'))) / (select extract(epoch from '2026-07-13 13:07:04'::timestamp) - extract(epoch from '2026-07-13 13:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55738 -2.988922)', '2026-07-13 13:07:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557399 -2.988835)'), GeomFromEWKT('SRID=4674;POINT (-39.55738 -2.988922)'))) / (select extract(epoch from '2026-07-13 13:07:09'::timestamp) - extract(epoch from '2026-07-13 13:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557399 -2.988835)'), GeomFromEWKT('SRID=4674;POINT (-39.55738 -2.988922)'))) / (select extract(epoch from '2026-07-13 13:07:09'::timestamp) - extract(epoch from '2026-07-13 13:07: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'), 47852, 'SRID=4674;POINT (-39.557382 -2.989013)', '2026-07-13 13:07:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55738 -2.988922)'), GeomFromEWKT('SRID=4674;POINT (-39.557382 -2.989013)'))) / (select extract(epoch from '2026-07-13 13:07:14'::timestamp) - extract(epoch from '2026-07-13 13:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55738 -2.988922)'), GeomFromEWKT('SRID=4674;POINT (-39.557382 -2.989013)'))) / (select extract(epoch from '2026-07-13 13:07:14'::timestamp) - extract(epoch from '2026-07-13 13:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557397 -2.989114)', '2026-07-13 13:07:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557382 -2.989013)'), GeomFromEWKT('SRID=4674;POINT (-39.557397 -2.989114)'))) / (select extract(epoch from '2026-07-13 13:07:20'::timestamp) - extract(epoch from '2026-07-13 13:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557382 -2.989013)'), GeomFromEWKT('SRID=4674;POINT (-39.557397 -2.989114)'))) / (select extract(epoch from '2026-07-13 13:07:20'::timestamp) - extract(epoch from '2026-07-13 13:07: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'), 47852, 'SRID=4674;POINT (-39.557396 -2.989202)', '2026-07-13 13:07:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557397 -2.989114)'), GeomFromEWKT('SRID=4674;POINT (-39.557396 -2.989202)'))) / (select extract(epoch from '2026-07-13 13:07:25'::timestamp) - extract(epoch from '2026-07-13 13:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557397 -2.989114)'), GeomFromEWKT('SRID=4674;POINT (-39.557396 -2.989202)'))) / (select extract(epoch from '2026-07-13 13:07:25'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557411 -2.989308)', '2026-07-13 13:07:31', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557396 -2.989202)'), GeomFromEWKT('SRID=4674;POINT (-39.557411 -2.989308)'))) / (select extract(epoch from '2026-07-13 13:07:31'::timestamp) - extract(epoch from '2026-07-13 13:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557396 -2.989202)'), GeomFromEWKT('SRID=4674;POINT (-39.557411 -2.989308)'))) / (select extract(epoch from '2026-07-13 13:07:31'::timestamp) - extract(epoch from '2026-07-13 13:07:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557422 -2.989361)', '2026-07-13 13:07:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557411 -2.989308)'), GeomFromEWKT('SRID=4674;POINT (-39.557422 -2.989361)'))) / (select extract(epoch from '2026-07-13 13:07:34'::timestamp) - extract(epoch from '2026-07-13 13:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557411 -2.989308)'), GeomFromEWKT('SRID=4674;POINT (-39.557422 -2.989361)'))) / (select extract(epoch from '2026-07-13 13:07:34'::timestamp) - extract(epoch from '2026-07-13 13:07: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'), 47852, 'SRID=4674;POINT (-39.557417 -2.989408)', '2026-07-13 13:07:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557422 -2.989361)'), GeomFromEWKT('SRID=4674;POINT (-39.557417 -2.989408)'))) / (select extract(epoch from '2026-07-13 13:07:37'::timestamp) - extract(epoch from '2026-07-13 13:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557422 -2.989361)'), GeomFromEWKT('SRID=4674;POINT (-39.557417 -2.989408)'))) / (select extract(epoch from '2026-07-13 13:07:37'::timestamp) - extract(epoch from '2026-07-13 13:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557452 -2.989526)', '2026-07-13 13:07:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557417 -2.989408)'), GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.989526)'))) / (select extract(epoch from '2026-07-13 13:07:43'::timestamp) - extract(epoch from '2026-07-13 13:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557417 -2.989408)'), GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.989526)'))) / (select extract(epoch from '2026-07-13 13:07:43'::timestamp) - extract(epoch from '2026-07-13 13:07: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'), 47852, 'SRID=4674;POINT (-39.557496 -2.989647)', '2026-07-13 13:07:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.989526)'), GeomFromEWKT('SRID=4674;POINT (-39.557496 -2.989647)'))) / (select extract(epoch from '2026-07-13 13:07:49'::timestamp) - extract(epoch from '2026-07-13 13:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557452 -2.989526)'), GeomFromEWKT('SRID=4674;POINT (-39.557496 -2.989647)'))) / (select extract(epoch from '2026-07-13 13:07:49'::timestamp) - extract(epoch from '2026-07-13 13:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55751 -2.989736)', '2026-07-13 13:07:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557496 -2.989647)'), GeomFromEWKT('SRID=4674;POINT (-39.55751 -2.989736)'))) / (select extract(epoch from '2026-07-13 13:07:54'::timestamp) - extract(epoch from '2026-07-13 13:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557496 -2.989647)'), GeomFromEWKT('SRID=4674;POINT (-39.55751 -2.989736)'))) / (select extract(epoch from '2026-07-13 13:07:54'::timestamp) - extract(epoch from '2026-07-13 13:07: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'), 47852, 'SRID=4674;POINT (-39.557521 -2.98984)', '2026-07-13 13:08:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55751 -2.989736)'), GeomFromEWKT('SRID=4674;POINT (-39.557521 -2.98984)'))) / (select extract(epoch from '2026-07-13 13:08:00'::timestamp) - extract(epoch from '2026-07-13 13:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55751 -2.989736)'), GeomFromEWKT('SRID=4674;POINT (-39.557521 -2.98984)'))) / (select extract(epoch from '2026-07-13 13:08:00'::timestamp) - extract(epoch from '2026-07-13 13:07:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557527 -2.989974)', '2026-07-13 13:08:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557521 -2.98984)'), GeomFromEWKT('SRID=4674;POINT (-39.557527 -2.989974)'))) / (select extract(epoch from '2026-07-13 13:08:08'::timestamp) - extract(epoch from '2026-07-13 13:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557521 -2.98984)'), GeomFromEWKT('SRID=4674;POINT (-39.557527 -2.989974)'))) / (select extract(epoch from '2026-07-13 13:08:08'::timestamp) - extract(epoch from '2026-07-13 13:08: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'), 47852, 'SRID=4674;POINT (-39.557541 -2.990106)', '2026-07-13 13:08:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557527 -2.989974)'), GeomFromEWKT('SRID=4674;POINT (-39.557541 -2.990106)'))) / (select extract(epoch from '2026-07-13 13:08:15'::timestamp) - extract(epoch from '2026-07-13 13:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557527 -2.989974)'), GeomFromEWKT('SRID=4674;POINT (-39.557541 -2.990106)'))) / (select extract(epoch from '2026-07-13 13:08:15'::timestamp) - extract(epoch from '2026-07-13 13:08:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557546 -2.990209)', '2026-07-13 13:08:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557541 -2.990106)'), GeomFromEWKT('SRID=4674;POINT (-39.557546 -2.990209)'))) / (select extract(epoch from '2026-07-13 13:08:21'::timestamp) - extract(epoch from '2026-07-13 13:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557541 -2.990106)'), GeomFromEWKT('SRID=4674;POINT (-39.557546 -2.990209)'))) / (select extract(epoch from '2026-07-13 13:08:21'::timestamp) - extract(epoch from '2026-07-13 13:08: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'), 47852, 'SRID=4674;POINT (-39.557549 -2.990309)', '2026-07-13 13:08:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557546 -2.990209)'), GeomFromEWKT('SRID=4674;POINT (-39.557549 -2.990309)'))) / (select extract(epoch from '2026-07-13 13:08:26'::timestamp) - extract(epoch from '2026-07-13 13:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557546 -2.990209)'), GeomFromEWKT('SRID=4674;POINT (-39.557549 -2.990309)'))) / (select extract(epoch from '2026-07-13 13:08:26'::timestamp) - extract(epoch from '2026-07-13 13:08: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'), 47852, 'SRID=4674;POINT (-39.557556 -2.99041)', '2026-07-13 13:08:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557549 -2.990309)'), GeomFromEWKT('SRID=4674;POINT (-39.557556 -2.99041)'))) / (select extract(epoch from '2026-07-13 13:08:31'::timestamp) - extract(epoch from '2026-07-13 13:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557549 -2.990309)'), GeomFromEWKT('SRID=4674;POINT (-39.557556 -2.99041)'))) / (select extract(epoch from '2026-07-13 13:08:31'::timestamp) - extract(epoch from '2026-07-13 13:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557553 -2.990519)', '2026-07-13 13:08:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557556 -2.99041)'), GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.990519)'))) / (select extract(epoch from '2026-07-13 13:08:37'::timestamp) - extract(epoch from '2026-07-13 13:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557556 -2.99041)'), GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.990519)'))) / (select extract(epoch from '2026-07-13 13:08:37'::timestamp) - extract(epoch from '2026-07-13 13:08: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'), 47852, 'SRID=4674;POINT (-39.55752 -2.990718)', '2026-07-13 13:08:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.990519)'), GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.990718)'))) / (select extract(epoch from '2026-07-13 13:08:47'::timestamp) - extract(epoch from '2026-07-13 13:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.990519)'), GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.990718)'))) / (select extract(epoch from '2026-07-13 13:08:47'::timestamp) - extract(epoch from '2026-07-13 13:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557516 -2.990798)', '2026-07-13 13:08:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.990718)'), GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.990798)'))) / (select extract(epoch from '2026-07-13 13:08:52'::timestamp) - extract(epoch from '2026-07-13 13:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.990718)'), GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.990798)'))) / (select extract(epoch from '2026-07-13 13:08:52'::timestamp) - extract(epoch from '2026-07-13 13:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557524 -2.990931)', '2026-07-13 13:08:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.990798)'), GeomFromEWKT('SRID=4674;POINT (-39.557524 -2.990931)'))) / (select extract(epoch from '2026-07-13 13:08:59'::timestamp) - extract(epoch from '2026-07-13 13:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.990798)'), GeomFromEWKT('SRID=4674;POINT (-39.557524 -2.990931)'))) / (select extract(epoch from '2026-07-13 13:08:59'::timestamp) - extract(epoch from '2026-07-13 13:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55752 -2.991069)', '2026-07-13 13:09:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557524 -2.990931)'), GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.991069)'))) / (select extract(epoch from '2026-07-13 13:09:06'::timestamp) - extract(epoch from '2026-07-13 13:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557524 -2.990931)'), GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.991069)'))) / (select extract(epoch from '2026-07-13 13:09:06'::timestamp) - extract(epoch from '2026-07-13 13:08: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'), 47852, 'SRID=4674;POINT (-39.557517 -2.991213)', '2026-07-13 13:09:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.991069)'), GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.991213)'))) / (select extract(epoch from '2026-07-13 13:09:13'::timestamp) - extract(epoch from '2026-07-13 13:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.991069)'), GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.991213)'))) / (select extract(epoch from '2026-07-13 13:09:13'::timestamp) - extract(epoch from '2026-07-13 13:09: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'), 47852, 'SRID=4674;POINT (-39.557531 -2.991348)', '2026-07-13 13:09:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.991213)'), GeomFromEWKT('SRID=4674;POINT (-39.557531 -2.991348)'))) / (select extract(epoch from '2026-07-13 13:09:19'::timestamp) - extract(epoch from '2026-07-13 13:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557517 -2.991213)'), GeomFromEWKT('SRID=4674;POINT (-39.557531 -2.991348)'))) / (select extract(epoch from '2026-07-13 13:09:19'::timestamp) - extract(epoch from '2026-07-13 13:09:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557553 -2.991488)', '2026-07-13 13:09:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557531 -2.991348)'), GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.991488)'))) / (select extract(epoch from '2026-07-13 13:09:26'::timestamp) - extract(epoch from '2026-07-13 13:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557531 -2.991348)'), GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.991488)'))) / (select extract(epoch from '2026-07-13 13:09:26'::timestamp) - extract(epoch from '2026-07-13 13:09: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'), 47852, 'SRID=4674;POINT (-39.557566 -2.991597)', '2026-07-13 13:09:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.991488)'), GeomFromEWKT('SRID=4674;POINT (-39.557566 -2.991597)'))) / (select extract(epoch from '2026-07-13 13:09:32'::timestamp) - extract(epoch from '2026-07-13 13:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.991488)'), GeomFromEWKT('SRID=4674;POINT (-39.557566 -2.991597)'))) / (select extract(epoch from '2026-07-13 13:09:32'::timestamp) - extract(epoch from '2026-07-13 13:09:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557565 -2.991708)', '2026-07-13 13:09:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557566 -2.991597)'), GeomFromEWKT('SRID=4674;POINT (-39.557565 -2.991708)'))) / (select extract(epoch from '2026-07-13 13:09:38'::timestamp) - extract(epoch from '2026-07-13 13:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557566 -2.991597)'), GeomFromEWKT('SRID=4674;POINT (-39.557565 -2.991708)'))) / (select extract(epoch from '2026-07-13 13:09:38'::timestamp) - extract(epoch from '2026-07-13 13:09: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'), 47852, 'SRID=4674;POINT (-39.557553 -2.991806)', '2026-07-13 13:09:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557565 -2.991708)'), GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.991806)'))) / (select extract(epoch from '2026-07-13 13:09:43'::timestamp) - extract(epoch from '2026-07-13 13:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557565 -2.991708)'), GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.991806)'))) / (select extract(epoch from '2026-07-13 13:09:43'::timestamp) - extract(epoch from '2026-07-13 13:09: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'), 47852, 'SRID=4674;POINT (-39.557542 -2.991913)', '2026-07-13 13:09:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.991806)'), GeomFromEWKT('SRID=4674;POINT (-39.557542 -2.991913)'))) / (select extract(epoch from '2026-07-13 13:09:49'::timestamp) - extract(epoch from '2026-07-13 13:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557553 -2.991806)'), GeomFromEWKT('SRID=4674;POINT (-39.557542 -2.991913)'))) / (select extract(epoch from '2026-07-13 13:09:49'::timestamp) - extract(epoch from '2026-07-13 13:09: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'), 47852, 'SRID=4674;POINT (-39.557528 -2.992038)', '2026-07-13 13:09:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557542 -2.991913)'), GeomFromEWKT('SRID=4674;POINT (-39.557528 -2.992038)'))) / (select extract(epoch from '2026-07-13 13:09:56'::timestamp) - extract(epoch from '2026-07-13 13:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557542 -2.991913)'), GeomFromEWKT('SRID=4674;POINT (-39.557528 -2.992038)'))) / (select extract(epoch from '2026-07-13 13:09:56'::timestamp) - extract(epoch from '2026-07-13 13:09: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'), 47852, 'SRID=4674;POINT (-39.557525 -2.992146)', '2026-07-13 13:10:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557528 -2.992038)'), GeomFromEWKT('SRID=4674;POINT (-39.557525 -2.992146)'))) / (select extract(epoch from '2026-07-13 13:10:02'::timestamp) - extract(epoch from '2026-07-13 13:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557528 -2.992038)'), GeomFromEWKT('SRID=4674;POINT (-39.557525 -2.992146)'))) / (select extract(epoch from '2026-07-13 13:10:02'::timestamp) - extract(epoch from '2026-07-13 13:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557516 -2.992235)', '2026-07-13 13:10:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557525 -2.992146)'), GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.992235)'))) / (select extract(epoch from '2026-07-13 13:10:07'::timestamp) - extract(epoch from '2026-07-13 13:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557525 -2.992146)'), GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.992235)'))) / (select extract(epoch from '2026-07-13 13:10:07'::timestamp) - extract(epoch from '2026-07-13 13:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55752 -2.992351)', '2026-07-13 13:10:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.992235)'), GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.992351)'))) / (select extract(epoch from '2026-07-13 13:10:13'::timestamp) - extract(epoch from '2026-07-13 13:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.992235)'), GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.992351)'))) / (select extract(epoch from '2026-07-13 13:10:13'::timestamp) - extract(epoch from '2026-07-13 13:10: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'), 47852, 'SRID=4674;POINT (-39.557544 -2.99247)', '2026-07-13 13:10:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.992351)'), GeomFromEWKT('SRID=4674;POINT (-39.557544 -2.99247)'))) / (select extract(epoch from '2026-07-13 13:10:20'::timestamp) - extract(epoch from '2026-07-13 13:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55752 -2.992351)'), GeomFromEWKT('SRID=4674;POINT (-39.557544 -2.99247)'))) / (select extract(epoch from '2026-07-13 13:10:20'::timestamp) - extract(epoch from '2026-07-13 13:10: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'), 47852, 'SRID=4674;POINT (-39.55753 -2.992631)', '2026-07-13 13:10:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557544 -2.99247)'), GeomFromEWKT('SRID=4674;POINT (-39.55753 -2.992631)'))) / (select extract(epoch from '2026-07-13 13:10:29'::timestamp) - extract(epoch from '2026-07-13 13:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557544 -2.99247)'), GeomFromEWKT('SRID=4674;POINT (-39.55753 -2.992631)'))) / (select extract(epoch from '2026-07-13 13:10:29'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557516 -2.992768)', '2026-07-13 13:10:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55753 -2.992631)'), GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.992768)'))) / (select extract(epoch from '2026-07-13 13:10:36'::timestamp) - extract(epoch from '2026-07-13 13:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55753 -2.992631)'), GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.992768)'))) / (select extract(epoch from '2026-07-13 13:10:36'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557505 -2.992897)', '2026-07-13 13:10:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.992768)'), GeomFromEWKT('SRID=4674;POINT (-39.557505 -2.992897)'))) / (select extract(epoch from '2026-07-13 13:10:43'::timestamp) - extract(epoch from '2026-07-13 13:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557516 -2.992768)'), GeomFromEWKT('SRID=4674;POINT (-39.557505 -2.992897)'))) / (select extract(epoch from '2026-07-13 13:10:43'::timestamp) - extract(epoch from '2026-07-13 13:10: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'), 47852, 'SRID=4674;POINT (-39.557508 -2.99299)', '2026-07-13 13:10:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557505 -2.992897)'), GeomFromEWKT('SRID=4674;POINT (-39.557508 -2.99299)'))) / (select extract(epoch from '2026-07-13 13:10:49'::timestamp) - extract(epoch from '2026-07-13 13:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557505 -2.992897)'), GeomFromEWKT('SRID=4674;POINT (-39.557508 -2.99299)'))) / (select extract(epoch from '2026-07-13 13:10:49'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557514 -2.993009)', '2026-07-13 13:10:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557508 -2.99299)'), GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.993009)'))) / (select extract(epoch from '2026-07-13 13:10:50'::timestamp) - extract(epoch from '2026-07-13 13:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557508 -2.99299)'), GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.993009)'))) / (select extract(epoch from '2026-07-13 13:10:50'::timestamp) - extract(epoch from '2026-07-13 13:10: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'), 47852, 'SRID=4674;POINT (-39.557533 -2.99308)', '2026-07-13 13:10:54', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.993009)'), GeomFromEWKT('SRID=4674;POINT (-39.557533 -2.99308)'))) / (select extract(epoch from '2026-07-13 13:10:54'::timestamp) - extract(epoch from '2026-07-13 13:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557514 -2.993009)'), GeomFromEWKT('SRID=4674;POINT (-39.557533 -2.99308)'))) / (select extract(epoch from '2026-07-13 13:10:54'::timestamp) - extract(epoch from '2026-07-13 13:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557533 -2.993201)', '2026-07-13 13:11:01', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557533 -2.99308)'), GeomFromEWKT('SRID=4674;POINT (-39.557533 -2.993201)'))) / (select extract(epoch from '2026-07-13 13:11:01'::timestamp) - extract(epoch from '2026-07-13 13:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557533 -2.99308)'), GeomFromEWKT('SRID=4674;POINT (-39.557533 -2.993201)'))) / (select extract(epoch from '2026-07-13 13:11:01'::timestamp) - extract(epoch from '2026-07-13 13:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557539 -2.993296)', '2026-07-13 13:11:07', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557533 -2.993201)'), GeomFromEWKT('SRID=4674;POINT (-39.557539 -2.993296)'))) / (select extract(epoch from '2026-07-13 13:11:07'::timestamp) - extract(epoch from '2026-07-13 13:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557533 -2.993201)'), GeomFromEWKT('SRID=4674;POINT (-39.557539 -2.993296)'))) / (select extract(epoch from '2026-07-13 13:11:07'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557531 -2.993409)', '2026-07-13 13:11:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557539 -2.993296)'), GeomFromEWKT('SRID=4674;POINT (-39.557531 -2.993409)'))) / (select extract(epoch from '2026-07-13 13:11:13'::timestamp) - extract(epoch from '2026-07-13 13:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557539 -2.993296)'), GeomFromEWKT('SRID=4674;POINT (-39.557531 -2.993409)'))) / (select extract(epoch from '2026-07-13 13:11:13'::timestamp) - extract(epoch from '2026-07-13 13:11: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'), 47852, 'SRID=4674;POINT (-39.557524 -2.993529)', '2026-07-13 13:11:19', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557531 -2.993409)'), GeomFromEWKT('SRID=4674;POINT (-39.557524 -2.993529)'))) / (select extract(epoch from '2026-07-13 13:11:19'::timestamp) - extract(epoch from '2026-07-13 13:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557531 -2.993409)'), GeomFromEWKT('SRID=4674;POINT (-39.557524 -2.993529)'))) / (select extract(epoch from '2026-07-13 13:11:19'::timestamp) - extract(epoch from '2026-07-13 13:11: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'), 47852, 'SRID=4674;POINT (-39.557545 -2.993672)', '2026-07-13 13:11:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557524 -2.993529)'), GeomFromEWKT('SRID=4674;POINT (-39.557545 -2.993672)'))) / (select extract(epoch from '2026-07-13 13:11:26'::timestamp) - extract(epoch from '2026-07-13 13:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557524 -2.993529)'), GeomFromEWKT('SRID=4674;POINT (-39.557545 -2.993672)'))) / (select extract(epoch from '2026-07-13 13:11:26'::timestamp) - extract(epoch from '2026-07-13 13:11: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'), 47852, 'SRID=4674;POINT (-39.557559 -2.99378)', '2026-07-13 13:11:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557545 -2.993672)'), GeomFromEWKT('SRID=4674;POINT (-39.557559 -2.99378)'))) / (select extract(epoch from '2026-07-13 13:11:32'::timestamp) - extract(epoch from '2026-07-13 13:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557545 -2.993672)'), GeomFromEWKT('SRID=4674;POINT (-39.557559 -2.99378)'))) / (select extract(epoch from '2026-07-13 13:11:32'::timestamp) - extract(epoch from '2026-07-13 13:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557543 -2.993905)', '2026-07-13 13:11:39', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557559 -2.99378)'), GeomFromEWKT('SRID=4674;POINT (-39.557543 -2.993905)'))) / (select extract(epoch from '2026-07-13 13:11:39'::timestamp) - extract(epoch from '2026-07-13 13:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557559 -2.99378)'), GeomFromEWKT('SRID=4674;POINT (-39.557543 -2.993905)'))) / (select extract(epoch from '2026-07-13 13:11:39'::timestamp) - extract(epoch from '2026-07-13 13:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557529 -2.994032)', '2026-07-13 13:11:46', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557543 -2.993905)'), GeomFromEWKT('SRID=4674;POINT (-39.557529 -2.994032)'))) / (select extract(epoch from '2026-07-13 13:11:46'::timestamp) - extract(epoch from '2026-07-13 13:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557543 -2.993905)'), GeomFromEWKT('SRID=4674;POINT (-39.557529 -2.994032)'))) / (select extract(epoch from '2026-07-13 13:11:46'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557501 -2.994149)', '2026-07-13 13:11:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557529 -2.994032)'), GeomFromEWKT('SRID=4674;POINT (-39.557501 -2.994149)'))) / (select extract(epoch from '2026-07-13 13:11:53'::timestamp) - extract(epoch from '2026-07-13 13:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557529 -2.994032)'), GeomFromEWKT('SRID=4674;POINT (-39.557501 -2.994149)'))) / (select extract(epoch from '2026-07-13 13:11:53'::timestamp) - extract(epoch from '2026-07-13 13:11: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'), 47852, 'SRID=4674;POINT (-39.557463 -2.994272)', '2026-07-13 13:11:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557501 -2.994149)'), GeomFromEWKT('SRID=4674;POINT (-39.557463 -2.994272)'))) / (select extract(epoch from '2026-07-13 13:11:59'::timestamp) - extract(epoch from '2026-07-13 13:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557501 -2.994149)'), GeomFromEWKT('SRID=4674;POINT (-39.557463 -2.994272)'))) / (select extract(epoch from '2026-07-13 13:11:59'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557403 -2.994436)', '2026-07-13 13:12:09', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557463 -2.994272)'), GeomFromEWKT('SRID=4674;POINT (-39.557403 -2.994436)'))) / (select extract(epoch from '2026-07-13 13:12:09'::timestamp) - extract(epoch from '2026-07-13 13:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557463 -2.994272)'), GeomFromEWKT('SRID=4674;POINT (-39.557403 -2.994436)'))) / (select extract(epoch from '2026-07-13 13:12:09'::timestamp) - extract(epoch from '2026-07-13 13:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557386 -2.994551)', '2026-07-13 13:12:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557403 -2.994436)'), GeomFromEWKT('SRID=4674;POINT (-39.557386 -2.994551)'))) / (select extract(epoch from '2026-07-13 13:12:15'::timestamp) - extract(epoch from '2026-07-13 13:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557403 -2.994436)'), GeomFromEWKT('SRID=4674;POINT (-39.557386 -2.994551)'))) / (select extract(epoch from '2026-07-13 13:12:15'::timestamp) - extract(epoch from '2026-07-13 13:12: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'), 47852, 'SRID=4674;POINT (-39.557344 -2.994695)', '2026-07-13 13:12:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557386 -2.994551)'), GeomFromEWKT('SRID=4674;POINT (-39.557344 -2.994695)'))) / (select extract(epoch from '2026-07-13 13:12:22'::timestamp) - extract(epoch from '2026-07-13 13:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557386 -2.994551)'), GeomFromEWKT('SRID=4674;POINT (-39.557344 -2.994695)'))) / (select extract(epoch from '2026-07-13 13:12:22'::timestamp) - extract(epoch from '2026-07-13 13:12: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'), 47852, 'SRID=4674;POINT (-39.557338 -2.994838)', '2026-07-13 13:12:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557344 -2.994695)'), GeomFromEWKT('SRID=4674;POINT (-39.557338 -2.994838)'))) / (select extract(epoch from '2026-07-13 13:12:29'::timestamp) - extract(epoch from '2026-07-13 13:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557344 -2.994695)'), GeomFromEWKT('SRID=4674;POINT (-39.557338 -2.994838)'))) / (select extract(epoch from '2026-07-13 13:12:29'::timestamp) - extract(epoch from '2026-07-13 13:12: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'), 47852, 'SRID=4674;POINT (-39.557333 -2.994952)', '2026-07-13 13:12:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557338 -2.994838)'), GeomFromEWKT('SRID=4674;POINT (-39.557333 -2.994952)'))) / (select extract(epoch from '2026-07-13 13:12:35'::timestamp) - extract(epoch from '2026-07-13 13:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557338 -2.994838)'), GeomFromEWKT('SRID=4674;POINT (-39.557333 -2.994952)'))) / (select extract(epoch from '2026-07-13 13:12:35'::timestamp) - extract(epoch from '2026-07-13 13:12: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'), 47852, 'SRID=4674;POINT (-39.557333 -2.995102)', '2026-07-13 13:12:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557333 -2.994952)'), GeomFromEWKT('SRID=4674;POINT (-39.557333 -2.995102)'))) / (select extract(epoch from '2026-07-13 13:12:42'::timestamp) - extract(epoch from '2026-07-13 13:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557333 -2.994952)'), GeomFromEWKT('SRID=4674;POINT (-39.557333 -2.995102)'))) / (select extract(epoch from '2026-07-13 13:12:42'::timestamp) - extract(epoch from '2026-07-13 13:12: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'), 47852, 'SRID=4674;POINT (-39.557328 -2.995269)', '2026-07-13 13:12:50', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557333 -2.995102)'), GeomFromEWKT('SRID=4674;POINT (-39.557328 -2.995269)'))) / (select extract(epoch from '2026-07-13 13:12:50'::timestamp) - extract(epoch from '2026-07-13 13:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557333 -2.995102)'), GeomFromEWKT('SRID=4674;POINT (-39.557328 -2.995269)'))) / (select extract(epoch from '2026-07-13 13:12:50'::timestamp) - extract(epoch from '2026-07-13 13:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557341 -2.995435)', '2026-07-13 13:12:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557328 -2.995269)'), GeomFromEWKT('SRID=4674;POINT (-39.557341 -2.995435)'))) / (select extract(epoch from '2026-07-13 13:12:58'::timestamp) - extract(epoch from '2026-07-13 13:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557328 -2.995269)'), GeomFromEWKT('SRID=4674;POINT (-39.557341 -2.995435)'))) / (select extract(epoch from '2026-07-13 13:12:58'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557338 -2.995553)', '2026-07-13 13:13:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557341 -2.995435)'), GeomFromEWKT('SRID=4674;POINT (-39.557338 -2.995553)'))) / (select extract(epoch from '2026-07-13 13:13:04'::timestamp) - extract(epoch from '2026-07-13 13:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557341 -2.995435)'), GeomFromEWKT('SRID=4674;POINT (-39.557338 -2.995553)'))) / (select extract(epoch from '2026-07-13 13:13:04'::timestamp) - extract(epoch from '2026-07-13 13:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557341 -2.995708)', '2026-07-13 13:13:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557338 -2.995553)'), GeomFromEWKT('SRID=4674;POINT (-39.557341 -2.995708)'))) / (select extract(epoch from '2026-07-13 13:13:12'::timestamp) - extract(epoch from '2026-07-13 13:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557338 -2.995553)'), GeomFromEWKT('SRID=4674;POINT (-39.557341 -2.995708)'))) / (select extract(epoch from '2026-07-13 13:13:12'::timestamp) - extract(epoch from '2026-07-13 13:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557324 -2.995829)', '2026-07-13 13:13:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557341 -2.995708)'), GeomFromEWKT('SRID=4674;POINT (-39.557324 -2.995829)'))) / (select extract(epoch from '2026-07-13 13:13:18'::timestamp) - extract(epoch from '2026-07-13 13:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557341 -2.995708)'), GeomFromEWKT('SRID=4674;POINT (-39.557324 -2.995829)'))) / (select extract(epoch from '2026-07-13 13:13:18'::timestamp) - extract(epoch from '2026-07-13 13:13: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'), 47852, 'SRID=4674;POINT (-39.557315 -2.995966)', '2026-07-13 13:13:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557324 -2.995829)'), GeomFromEWKT('SRID=4674;POINT (-39.557315 -2.995966)'))) / (select extract(epoch from '2026-07-13 13:13:25'::timestamp) - extract(epoch from '2026-07-13 13:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557324 -2.995829)'), GeomFromEWKT('SRID=4674;POINT (-39.557315 -2.995966)'))) / (select extract(epoch from '2026-07-13 13:13:25'::timestamp) - extract(epoch from '2026-07-13 13:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557291 -2.996133)', '2026-07-13 13:13:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557315 -2.995966)'), GeomFromEWKT('SRID=4674;POINT (-39.557291 -2.996133)'))) / (select extract(epoch from '2026-07-13 13:13:33'::timestamp) - extract(epoch from '2026-07-13 13:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557315 -2.995966)'), GeomFromEWKT('SRID=4674;POINT (-39.557291 -2.996133)'))) / (select extract(epoch from '2026-07-13 13:13:33'::timestamp) - extract(epoch from '2026-07-13 13:13: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'), 47852, 'SRID=4674;POINT (-39.557265 -2.996244)', '2026-07-13 13:13:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557291 -2.996133)'), GeomFromEWKT('SRID=4674;POINT (-39.557265 -2.996244)'))) / (select extract(epoch from '2026-07-13 13:13:39'::timestamp) - extract(epoch from '2026-07-13 13:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557291 -2.996133)'), GeomFromEWKT('SRID=4674;POINT (-39.557265 -2.996244)'))) / (select extract(epoch from '2026-07-13 13:13:39'::timestamp) - extract(epoch from '2026-07-13 13:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557234 -2.996367)', '2026-07-13 13:13:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557265 -2.996244)'), GeomFromEWKT('SRID=4674;POINT (-39.557234 -2.996367)'))) / (select extract(epoch from '2026-07-13 13:13:45'::timestamp) - extract(epoch from '2026-07-13 13:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557265 -2.996244)'), GeomFromEWKT('SRID=4674;POINT (-39.557234 -2.996367)'))) / (select extract(epoch from '2026-07-13 13:13:45'::timestamp) - extract(epoch from '2026-07-13 13:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557197 -2.996507)', '2026-07-13 13:13:52', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557234 -2.996367)'), GeomFromEWKT('SRID=4674;POINT (-39.557197 -2.996507)'))) / (select extract(epoch from '2026-07-13 13:13:52'::timestamp) - extract(epoch from '2026-07-13 13:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557234 -2.996367)'), GeomFromEWKT('SRID=4674;POINT (-39.557197 -2.996507)'))) / (select extract(epoch from '2026-07-13 13:13:52'::timestamp) - extract(epoch from '2026-07-13 13:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557182 -2.996635)', '2026-07-13 13:13:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557197 -2.996507)'), GeomFromEWKT('SRID=4674;POINT (-39.557182 -2.996635)'))) / (select extract(epoch from '2026-07-13 13:13:59'::timestamp) - extract(epoch from '2026-07-13 13:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557197 -2.996507)'), GeomFromEWKT('SRID=4674;POINT (-39.557182 -2.996635)'))) / (select extract(epoch from '2026-07-13 13:13:59'::timestamp) - extract(epoch from '2026-07-13 13:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557157 -2.996787)', '2026-07-13 13:14:07', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557182 -2.996635)'), GeomFromEWKT('SRID=4674;POINT (-39.557157 -2.996787)'))) / (select extract(epoch from '2026-07-13 13:14:07'::timestamp) - extract(epoch from '2026-07-13 13:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557182 -2.996635)'), GeomFromEWKT('SRID=4674;POINT (-39.557157 -2.996787)'))) / (select extract(epoch from '2026-07-13 13:14:07'::timestamp) - extract(epoch from '2026-07-13 13:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557149 -2.996963)', '2026-07-13 13:14:15', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557157 -2.996787)'), GeomFromEWKT('SRID=4674;POINT (-39.557149 -2.996963)'))) / (select extract(epoch from '2026-07-13 13:14:15'::timestamp) - extract(epoch from '2026-07-13 13:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557157 -2.996787)'), GeomFromEWKT('SRID=4674;POINT (-39.557149 -2.996963)'))) / (select extract(epoch from '2026-07-13 13:14:15'::timestamp) - extract(epoch from '2026-07-13 13:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557154 -2.99711)', '2026-07-13 13:14:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557149 -2.996963)'), GeomFromEWKT('SRID=4674;POINT (-39.557154 -2.99711)'))) / (select extract(epoch from '2026-07-13 13:14:22'::timestamp) - extract(epoch from '2026-07-13 13:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557149 -2.996963)'), GeomFromEWKT('SRID=4674;POINT (-39.557154 -2.99711)'))) / (select extract(epoch from '2026-07-13 13:14:22'::timestamp) - extract(epoch from '2026-07-13 13:14: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'), 47852, 'SRID=4674;POINT (-39.557146 -2.997255)', '2026-07-13 13:14:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557154 -2.99711)'), GeomFromEWKT('SRID=4674;POINT (-39.557146 -2.997255)'))) / (select extract(epoch from '2026-07-13 13:14:29'::timestamp) - extract(epoch from '2026-07-13 13:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557154 -2.99711)'), GeomFromEWKT('SRID=4674;POINT (-39.557146 -2.997255)'))) / (select extract(epoch from '2026-07-13 13:14:29'::timestamp) - extract(epoch from '2026-07-13 13:14: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'), 47852, 'SRID=4674;POINT (-39.557146 -2.997384)', '2026-07-13 13:14:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557146 -2.997255)'), GeomFromEWKT('SRID=4674;POINT (-39.557146 -2.997384)'))) / (select extract(epoch from '2026-07-13 13:14:35'::timestamp) - extract(epoch from '2026-07-13 13:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557146 -2.997255)'), GeomFromEWKT('SRID=4674;POINT (-39.557146 -2.997384)'))) / (select extract(epoch from '2026-07-13 13:14:35'::timestamp) - extract(epoch from '2026-07-13 13:14: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'), 47852, 'SRID=4674;POINT (-39.557137 -2.997533)', '2026-07-13 13:14:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557146 -2.997384)'), GeomFromEWKT('SRID=4674;POINT (-39.557137 -2.997533)'))) / (select extract(epoch from '2026-07-13 13:14:42'::timestamp) - extract(epoch from '2026-07-13 13:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557146 -2.997384)'), GeomFromEWKT('SRID=4674;POINT (-39.557137 -2.997533)'))) / (select extract(epoch from '2026-07-13 13:14:42'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557155 -2.997652)', '2026-07-13 13:14:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557137 -2.997533)'), GeomFromEWKT('SRID=4674;POINT (-39.557155 -2.997652)'))) / (select extract(epoch from '2026-07-13 13:14:48'::timestamp) - extract(epoch from '2026-07-13 13:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557137 -2.997533)'), GeomFromEWKT('SRID=4674;POINT (-39.557155 -2.997652)'))) / (select extract(epoch from '2026-07-13 13:14:48'::timestamp) - extract(epoch from '2026-07-13 13:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557176 -2.997785)', '2026-07-13 13:14:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557155 -2.997652)'), GeomFromEWKT('SRID=4674;POINT (-39.557176 -2.997785)'))) / (select extract(epoch from '2026-07-13 13:14:55'::timestamp) - extract(epoch from '2026-07-13 13:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557155 -2.997652)'), GeomFromEWKT('SRID=4674;POINT (-39.557176 -2.997785)'))) / (select extract(epoch from '2026-07-13 13:14:55'::timestamp) - extract(epoch from '2026-07-13 13:14: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'), 47852, 'SRID=4674;POINT (-39.557161 -2.997967)', '2026-07-13 13:15:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557176 -2.997785)'), GeomFromEWKT('SRID=4674;POINT (-39.557161 -2.997967)'))) / (select extract(epoch from '2026-07-13 13:15:04'::timestamp) - extract(epoch from '2026-07-13 13:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557176 -2.997785)'), GeomFromEWKT('SRID=4674;POINT (-39.557161 -2.997967)'))) / (select extract(epoch from '2026-07-13 13:15:04'::timestamp) - extract(epoch from '2026-07-13 13:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557145 -2.998129)', '2026-07-13 13:15:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557161 -2.997967)'), GeomFromEWKT('SRID=4674;POINT (-39.557145 -2.998129)'))) / (select extract(epoch from '2026-07-13 13:15:11'::timestamp) - extract(epoch from '2026-07-13 13:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557161 -2.997967)'), GeomFromEWKT('SRID=4674;POINT (-39.557145 -2.998129)'))) / (select extract(epoch from '2026-07-13 13:15:11'::timestamp) - extract(epoch from '2026-07-13 13:15: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'), 47852, 'SRID=4674;POINT (-39.557143 -2.998283)', '2026-07-13 13:15:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557145 -2.998129)'), GeomFromEWKT('SRID=4674;POINT (-39.557143 -2.998283)'))) / (select extract(epoch from '2026-07-13 13:15:18'::timestamp) - extract(epoch from '2026-07-13 13:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557145 -2.998129)'), GeomFromEWKT('SRID=4674;POINT (-39.557143 -2.998283)'))) / (select extract(epoch from '2026-07-13 13:15:18'::timestamp) - extract(epoch from '2026-07-13 13:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557128 -2.998413)', '2026-07-13 13:15:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557143 -2.998283)'), GeomFromEWKT('SRID=4674;POINT (-39.557128 -2.998413)'))) / (select extract(epoch from '2026-07-13 13:15:25'::timestamp) - extract(epoch from '2026-07-13 13:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557143 -2.998283)'), GeomFromEWKT('SRID=4674;POINT (-39.557128 -2.998413)'))) / (select extract(epoch from '2026-07-13 13:15:25'::timestamp) - extract(epoch from '2026-07-13 13:15: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'), 47852, 'SRID=4674;POINT (-39.557123 -2.998537)', '2026-07-13 13:15:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557128 -2.998413)'), GeomFromEWKT('SRID=4674;POINT (-39.557123 -2.998537)'))) / (select extract(epoch from '2026-07-13 13:15:31'::timestamp) - extract(epoch from '2026-07-13 13:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557128 -2.998413)'), GeomFromEWKT('SRID=4674;POINT (-39.557123 -2.998537)'))) / (select extract(epoch from '2026-07-13 13:15:31'::timestamp) - extract(epoch from '2026-07-13 13:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557138 -2.998683)', '2026-07-13 13:15:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557123 -2.998537)'), GeomFromEWKT('SRID=4674;POINT (-39.557138 -2.998683)'))) / (select extract(epoch from '2026-07-13 13:15:38'::timestamp) - extract(epoch from '2026-07-13 13:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557123 -2.998537)'), GeomFromEWKT('SRID=4674;POINT (-39.557138 -2.998683)'))) / (select extract(epoch from '2026-07-13 13:15:38'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557127 -2.998819)', '2026-07-13 13:15:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557138 -2.998683)'), GeomFromEWKT('SRID=4674;POINT (-39.557127 -2.998819)'))) / (select extract(epoch from '2026-07-13 13:15:45'::timestamp) - extract(epoch from '2026-07-13 13:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557138 -2.998683)'), GeomFromEWKT('SRID=4674;POINT (-39.557127 -2.998819)'))) / (select extract(epoch from '2026-07-13 13:15:45'::timestamp) - extract(epoch from '2026-07-13 13:15: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'), 47852, 'SRID=4674;POINT (-39.557136 -2.998977)', '2026-07-13 13:15:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557127 -2.998819)'), GeomFromEWKT('SRID=4674;POINT (-39.557136 -2.998977)'))) / (select extract(epoch from '2026-07-13 13:15:53'::timestamp) - extract(epoch from '2026-07-13 13:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557127 -2.998819)'), GeomFromEWKT('SRID=4674;POINT (-39.557136 -2.998977)'))) / (select extract(epoch from '2026-07-13 13:15:53'::timestamp) - extract(epoch from '2026-07-13 13:15: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'), 47852, 'SRID=4674;POINT (-39.557149 -2.99912)', '2026-07-13 13:16:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557136 -2.998977)'), GeomFromEWKT('SRID=4674;POINT (-39.557149 -2.99912)'))) / (select extract(epoch from '2026-07-13 13:16:00'::timestamp) - extract(epoch from '2026-07-13 13:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557136 -2.998977)'), GeomFromEWKT('SRID=4674;POINT (-39.557149 -2.99912)'))) / (select extract(epoch from '2026-07-13 13:16:00'::timestamp) - extract(epoch from '2026-07-13 13:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557141 -2.999248)', '2026-07-13 13:16:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557149 -2.99912)'), GeomFromEWKT('SRID=4674;POINT (-39.557141 -2.999248)'))) / (select extract(epoch from '2026-07-13 13:16:06'::timestamp) - extract(epoch from '2026-07-13 13:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557149 -2.99912)'), GeomFromEWKT('SRID=4674;POINT (-39.557141 -2.999248)'))) / (select extract(epoch from '2026-07-13 13:16:06'::timestamp) - extract(epoch from '2026-07-13 13:16: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'), 47852, 'SRID=4674;POINT (-39.557135 -2.999382)', '2026-07-13 13:16:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557141 -2.999248)'), GeomFromEWKT('SRID=4674;POINT (-39.557135 -2.999382)'))) / (select extract(epoch from '2026-07-13 13:16:13'::timestamp) - extract(epoch from '2026-07-13 13:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557141 -2.999248)'), GeomFromEWKT('SRID=4674;POINT (-39.557135 -2.999382)'))) / (select extract(epoch from '2026-07-13 13:16:13'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557142 -2.999505)', '2026-07-13 13:16:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557135 -2.999382)'), GeomFromEWKT('SRID=4674;POINT (-39.557142 -2.999505)'))) / (select extract(epoch from '2026-07-13 13:16:19'::timestamp) - extract(epoch from '2026-07-13 13:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557135 -2.999382)'), GeomFromEWKT('SRID=4674;POINT (-39.557142 -2.999505)'))) / (select extract(epoch from '2026-07-13 13:16:19'::timestamp) - extract(epoch from '2026-07-13 13:16: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'), 47852, 'SRID=4674;POINT (-39.557131 -2.99964)', '2026-07-13 13:16:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557142 -2.999505)'), GeomFromEWKT('SRID=4674;POINT (-39.557131 -2.99964)'))) / (select extract(epoch from '2026-07-13 13:16:26'::timestamp) - extract(epoch from '2026-07-13 13:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557142 -2.999505)'), GeomFromEWKT('SRID=4674;POINT (-39.557131 -2.99964)'))) / (select extract(epoch from '2026-07-13 13:16:26'::timestamp) - extract(epoch from '2026-07-13 13:16: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'), 47852, 'SRID=4674;POINT (-39.557124 -2.99976)', '2026-07-13 13:16:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557131 -2.99964)'), GeomFromEWKT('SRID=4674;POINT (-39.557124 -2.99976)'))) / (select extract(epoch from '2026-07-13 13:16:32'::timestamp) - extract(epoch from '2026-07-13 13:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557131 -2.99964)'), GeomFromEWKT('SRID=4674;POINT (-39.557124 -2.99976)'))) / (select extract(epoch from '2026-07-13 13:16:32'::timestamp) - extract(epoch from '2026-07-13 13:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557109 -2.999857)', '2026-07-13 13:16:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557124 -2.99976)'), GeomFromEWKT('SRID=4674;POINT (-39.557109 -2.999857)'))) / (select extract(epoch from '2026-07-13 13:16:37'::timestamp) - extract(epoch from '2026-07-13 13:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557124 -2.99976)'), GeomFromEWKT('SRID=4674;POINT (-39.557109 -2.999857)'))) / (select extract(epoch from '2026-07-13 13:16:37'::timestamp) - extract(epoch from '2026-07-13 13:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557123 -3)', '2026-07-13 13:16:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557109 -2.999857)'), GeomFromEWKT('SRID=4674;POINT (-39.557123 -3)'))) / (select extract(epoch from '2026-07-13 13:16:44'::timestamp) - extract(epoch from '2026-07-13 13:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557109 -2.999857)'), GeomFromEWKT('SRID=4674;POINT (-39.557123 -3)'))) / (select extract(epoch from '2026-07-13 13:16:44'::timestamp) - extract(epoch from '2026-07-13 13:16: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'), 47852, 'SRID=4674;POINT (-39.557121 -3.000143)', '2026-07-13 13:16:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557123 -3)'), GeomFromEWKT('SRID=4674;POINT (-39.557121 -3.000143)'))) / (select extract(epoch from '2026-07-13 13:16:51'::timestamp) - extract(epoch from '2026-07-13 13:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557123 -3)'), GeomFromEWKT('SRID=4674;POINT (-39.557121 -3.000143)'))) / (select extract(epoch from '2026-07-13 13:16:51'::timestamp) - extract(epoch from '2026-07-13 13:16:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557115 -3.000277)', '2026-07-13 13:16:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557121 -3.000143)'), GeomFromEWKT('SRID=4674;POINT (-39.557115 -3.000277)'))) / (select extract(epoch from '2026-07-13 13:16:58'::timestamp) - extract(epoch from '2026-07-13 13:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557121 -3.000143)'), GeomFromEWKT('SRID=4674;POINT (-39.557115 -3.000277)'))) / (select extract(epoch from '2026-07-13 13:16:58'::timestamp) - extract(epoch from '2026-07-13 13:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.557068 -3.000415)', '2026-07-13 13:17:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557115 -3.000277)'), GeomFromEWKT('SRID=4674;POINT (-39.557068 -3.000415)'))) / (select extract(epoch from '2026-07-13 13:17:05'::timestamp) - extract(epoch from '2026-07-13 13:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557115 -3.000277)'), GeomFromEWKT('SRID=4674;POINT (-39.557068 -3.000415)'))) / (select extract(epoch from '2026-07-13 13:17:05'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.557038 -3.000578)', '2026-07-13 13:17:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557068 -3.000415)'), GeomFromEWKT('SRID=4674;POINT (-39.557038 -3.000578)'))) / (select extract(epoch from '2026-07-13 13:17:13'::timestamp) - extract(epoch from '2026-07-13 13:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557068 -3.000415)'), GeomFromEWKT('SRID=4674;POINT (-39.557038 -3.000578)'))) / (select extract(epoch from '2026-07-13 13:17:13'::timestamp) - extract(epoch from '2026-07-13 13:17: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'), 47852, 'SRID=4674;POINT (-39.557038 -3.00068)', '2026-07-13 13:17:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557038 -3.000578)'), GeomFromEWKT('SRID=4674;POINT (-39.557038 -3.00068)'))) / (select extract(epoch from '2026-07-13 13:17:19'::timestamp) - extract(epoch from '2026-07-13 13:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557038 -3.000578)'), GeomFromEWKT('SRID=4674;POINT (-39.557038 -3.00068)'))) / (select extract(epoch from '2026-07-13 13:17:19'::timestamp) - extract(epoch from '2026-07-13 13:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556997 -3.000806)', '2026-07-13 13:17:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557038 -3.00068)'), GeomFromEWKT('SRID=4674;POINT (-39.556997 -3.000806)'))) / (select extract(epoch from '2026-07-13 13:17:26'::timestamp) - extract(epoch from '2026-07-13 13:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.557038 -3.00068)'), GeomFromEWKT('SRID=4674;POINT (-39.556997 -3.000806)'))) / (select extract(epoch from '2026-07-13 13:17:26'::timestamp) - extract(epoch from '2026-07-13 13:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556989 -3.000932)', '2026-07-13 13:17:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556997 -3.000806)'), GeomFromEWKT('SRID=4674;POINT (-39.556989 -3.000932)'))) / (select extract(epoch from '2026-07-13 13:17:32'::timestamp) - extract(epoch from '2026-07-13 13:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556997 -3.000806)'), GeomFromEWKT('SRID=4674;POINT (-39.556989 -3.000932)'))) / (select extract(epoch from '2026-07-13 13:17:32'::timestamp) - extract(epoch from '2026-07-13 13:17: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'), 47852, 'SRID=4674;POINT (-39.556994 -3.001069)', '2026-07-13 13:17:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556989 -3.000932)'), GeomFromEWKT('SRID=4674;POINT (-39.556994 -3.001069)'))) / (select extract(epoch from '2026-07-13 13:17:39'::timestamp) - extract(epoch from '2026-07-13 13:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556989 -3.000932)'), GeomFromEWKT('SRID=4674;POINT (-39.556994 -3.001069)'))) / (select extract(epoch from '2026-07-13 13:17:39'::timestamp) - extract(epoch from '2026-07-13 13:17: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'), 47852, 'SRID=4674;POINT (-39.556978 -3.001191)', '2026-07-13 13:17:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556994 -3.001069)'), GeomFromEWKT('SRID=4674;POINT (-39.556978 -3.001191)'))) / (select extract(epoch from '2026-07-13 13:17:46'::timestamp) - extract(epoch from '2026-07-13 13:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556994 -3.001069)'), GeomFromEWKT('SRID=4674;POINT (-39.556978 -3.001191)'))) / (select extract(epoch from '2026-07-13 13:17:46'::timestamp) - extract(epoch from '2026-07-13 13:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55697 -3.001302)', '2026-07-13 13:17:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556978 -3.001191)'), GeomFromEWKT('SRID=4674;POINT (-39.55697 -3.001302)'))) / (select extract(epoch from '2026-07-13 13:17:52'::timestamp) - extract(epoch from '2026-07-13 13:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556978 -3.001191)'), GeomFromEWKT('SRID=4674;POINT (-39.55697 -3.001302)'))) / (select extract(epoch from '2026-07-13 13:17:52'::timestamp) - extract(epoch from '2026-07-13 13:17: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'), 47852, 'SRID=4674;POINT (-39.556977 -3.001428)', '2026-07-13 13:17:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55697 -3.001302)'), GeomFromEWKT('SRID=4674;POINT (-39.556977 -3.001428)'))) / (select extract(epoch from '2026-07-13 13:17:59'::timestamp) - extract(epoch from '2026-07-13 13:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55697 -3.001302)'), GeomFromEWKT('SRID=4674;POINT (-39.556977 -3.001428)'))) / (select extract(epoch from '2026-07-13 13:17:59'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.556963 -3.001559)', '2026-07-13 13:18:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556977 -3.001428)'), GeomFromEWKT('SRID=4674;POINT (-39.556963 -3.001559)'))) / (select extract(epoch from '2026-07-13 13:18:06'::timestamp) - extract(epoch from '2026-07-13 13:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556977 -3.001428)'), GeomFromEWKT('SRID=4674;POINT (-39.556963 -3.001559)'))) / (select extract(epoch from '2026-07-13 13:18:06'::timestamp) - extract(epoch from '2026-07-13 13:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.55692 -3.001698)', '2026-07-13 13:18:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556963 -3.001559)'), GeomFromEWKT('SRID=4674;POINT (-39.55692 -3.001698)'))) / (select extract(epoch from '2026-07-13 13:18:13'::timestamp) - extract(epoch from '2026-07-13 13:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556963 -3.001559)'), GeomFromEWKT('SRID=4674;POINT (-39.55692 -3.001698)'))) / (select extract(epoch from '2026-07-13 13:18:13'::timestamp) - extract(epoch from '2026-07-13 13:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556874 -3.001859)', '2026-07-13 13:18:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55692 -3.001698)'), GeomFromEWKT('SRID=4674;POINT (-39.556874 -3.001859)'))) / (select extract(epoch from '2026-07-13 13:18:21'::timestamp) - extract(epoch from '2026-07-13 13:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55692 -3.001698)'), GeomFromEWKT('SRID=4674;POINT (-39.556874 -3.001859)'))) / (select extract(epoch from '2026-07-13 13:18:21'::timestamp) - extract(epoch from '2026-07-13 13:18: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'), 47852, 'SRID=4674;POINT (-39.556867 -3.00201)', '2026-07-13 13:18:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556874 -3.001859)'), GeomFromEWKT('SRID=4674;POINT (-39.556867 -3.00201)'))) / (select extract(epoch from '2026-07-13 13:18:29'::timestamp) - extract(epoch from '2026-07-13 13:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556874 -3.001859)'), GeomFromEWKT('SRID=4674;POINT (-39.556867 -3.00201)'))) / (select extract(epoch from '2026-07-13 13:18:29'::timestamp) - extract(epoch from '2026-07-13 13:18: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'), 47852, 'SRID=4674;POINT (-39.556878 -3.002111)', '2026-07-13 13:18:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556867 -3.00201)'), GeomFromEWKT('SRID=4674;POINT (-39.556878 -3.002111)'))) / (select extract(epoch from '2026-07-13 13:18:34'::timestamp) - extract(epoch from '2026-07-13 13:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556867 -3.00201)'), GeomFromEWKT('SRID=4674;POINT (-39.556878 -3.002111)'))) / (select extract(epoch from '2026-07-13 13:18:34'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.556883 -3.002238)', '2026-07-13 13:18:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556878 -3.002111)'), GeomFromEWKT('SRID=4674;POINT (-39.556883 -3.002238)'))) / (select extract(epoch from '2026-07-13 13:18:40'::timestamp) - extract(epoch from '2026-07-13 13:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556878 -3.002111)'), GeomFromEWKT('SRID=4674;POINT (-39.556883 -3.002238)'))) / (select extract(epoch from '2026-07-13 13:18:40'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.556864 -3.002383)', '2026-07-13 13:18:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556883 -3.002238)'), GeomFromEWKT('SRID=4674;POINT (-39.556864 -3.002383)'))) / (select extract(epoch from '2026-07-13 13:18:47'::timestamp) - extract(epoch from '2026-07-13 13:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556883 -3.002238)'), GeomFromEWKT('SRID=4674;POINT (-39.556864 -3.002383)'))) / (select extract(epoch from '2026-07-13 13:18:47'::timestamp) - extract(epoch from '2026-07-13 13:18: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'), 47852, 'SRID=4674;POINT (-39.556841 -3.002558)', '2026-07-13 13:18:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556864 -3.002383)'), GeomFromEWKT('SRID=4674;POINT (-39.556841 -3.002558)'))) / (select extract(epoch from '2026-07-13 13:18:55'::timestamp) - extract(epoch from '2026-07-13 13:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556864 -3.002383)'), GeomFromEWKT('SRID=4674;POINT (-39.556841 -3.002558)'))) / (select extract(epoch from '2026-07-13 13:18:55'::timestamp) - extract(epoch from '2026-07-13 13:18: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'), 47852, 'SRID=4674;POINT (-39.55684 -3.002662)', '2026-07-13 13:19:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556841 -3.002558)'), GeomFromEWKT('SRID=4674;POINT (-39.55684 -3.002662)'))) / (select extract(epoch from '2026-07-13 13:19:01'::timestamp) - extract(epoch from '2026-07-13 13:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556841 -3.002558)'), GeomFromEWKT('SRID=4674;POINT (-39.55684 -3.002662)'))) / (select extract(epoch from '2026-07-13 13:19:01'::timestamp) - extract(epoch from '2026-07-13 13:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556823 -3.002807)', '2026-07-13 13:19:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55684 -3.002662)'), GeomFromEWKT('SRID=4674;POINT (-39.556823 -3.002807)'))) / (select extract(epoch from '2026-07-13 13:19:09'::timestamp) - extract(epoch from '2026-07-13 13:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55684 -3.002662)'), GeomFromEWKT('SRID=4674;POINT (-39.556823 -3.002807)'))) / (select extract(epoch from '2026-07-13 13:19:09'::timestamp) - extract(epoch from '2026-07-13 13:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556817 -3.002914)', '2026-07-13 13:19:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556823 -3.002807)'), GeomFromEWKT('SRID=4674;POINT (-39.556817 -3.002914)'))) / (select extract(epoch from '2026-07-13 13:19:15'::timestamp) - extract(epoch from '2026-07-13 13:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556823 -3.002807)'), GeomFromEWKT('SRID=4674;POINT (-39.556817 -3.002914)'))) / (select extract(epoch from '2026-07-13 13:19:15'::timestamp) - extract(epoch from '2026-07-13 13:19: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'), 47852, 'SRID=4674;POINT (-39.556805 -3.003028)', '2026-07-13 13:19:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556817 -3.002914)'), GeomFromEWKT('SRID=4674;POINT (-39.556805 -3.003028)'))) / (select extract(epoch from '2026-07-13 13:19:21'::timestamp) - extract(epoch from '2026-07-13 13:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556817 -3.002914)'), GeomFromEWKT('SRID=4674;POINT (-39.556805 -3.003028)'))) / (select extract(epoch from '2026-07-13 13:19:21'::timestamp) - extract(epoch from '2026-07-13 13:19: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'), 47852, 'SRID=4674;POINT (-39.556814 -3.003132)', '2026-07-13 13:19:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556805 -3.003028)'), GeomFromEWKT('SRID=4674;POINT (-39.556814 -3.003132)'))) / (select extract(epoch from '2026-07-13 13:19:27'::timestamp) - extract(epoch from '2026-07-13 13:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556805 -3.003028)'), GeomFromEWKT('SRID=4674;POINT (-39.556814 -3.003132)'))) / (select extract(epoch from '2026-07-13 13:19:27'::timestamp) - extract(epoch from '2026-07-13 13:19: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'), 47852, 'SRID=4674;POINT (-39.556791 -3.003261)', '2026-07-13 13:19:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556814 -3.003132)'), GeomFromEWKT('SRID=4674;POINT (-39.556791 -3.003261)'))) / (select extract(epoch from '2026-07-13 13:19:34'::timestamp) - extract(epoch from '2026-07-13 13:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556814 -3.003132)'), GeomFromEWKT('SRID=4674;POINT (-39.556791 -3.003261)'))) / (select extract(epoch from '2026-07-13 13:19:34'::timestamp) - extract(epoch from '2026-07-13 13:19: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'), 47852, 'SRID=4674;POINT (-39.55677 -3.003407)', '2026-07-13 13:19:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556791 -3.003261)'), GeomFromEWKT('SRID=4674;POINT (-39.55677 -3.003407)'))) / (select extract(epoch from '2026-07-13 13:19:41'::timestamp) - extract(epoch from '2026-07-13 13:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556791 -3.003261)'), GeomFromEWKT('SRID=4674;POINT (-39.55677 -3.003407)'))) / (select extract(epoch from '2026-07-13 13:19:41'::timestamp) - extract(epoch from '2026-07-13 13:19: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'), 47852, 'SRID=4674;POINT (-39.556769 -3.003574)', '2026-07-13 13:19:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55677 -3.003407)'), GeomFromEWKT('SRID=4674;POINT (-39.556769 -3.003574)'))) / (select extract(epoch from '2026-07-13 13:19:49'::timestamp) - extract(epoch from '2026-07-13 13:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55677 -3.003407)'), GeomFromEWKT('SRID=4674;POINT (-39.556769 -3.003574)'))) / (select extract(epoch from '2026-07-13 13:19:49'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.556778 -3.003707)', '2026-07-13 13:19:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556769 -3.003574)'), GeomFromEWKT('SRID=4674;POINT (-39.556778 -3.003707)'))) / (select extract(epoch from '2026-07-13 13:19:56'::timestamp) - extract(epoch from '2026-07-13 13:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556769 -3.003574)'), GeomFromEWKT('SRID=4674;POINT (-39.556778 -3.003707)'))) / (select extract(epoch from '2026-07-13 13:19:56'::timestamp) - extract(epoch from '2026-07-13 13:19: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'), 47852, 'SRID=4674;POINT (-39.556761 -3.003909)', '2026-07-13 13:20:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556778 -3.003707)'), GeomFromEWKT('SRID=4674;POINT (-39.556761 -3.003909)'))) / (select extract(epoch from '2026-07-13 13:20:05'::timestamp) - extract(epoch from '2026-07-13 13:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556778 -3.003707)'), GeomFromEWKT('SRID=4674;POINT (-39.556761 -3.003909)'))) / (select extract(epoch from '2026-07-13 13:20:05'::timestamp) - extract(epoch from '2026-07-13 13:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556768 -3.004027)', '2026-07-13 13:20:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556761 -3.003909)'), GeomFromEWKT('SRID=4674;POINT (-39.556768 -3.004027)'))) / (select extract(epoch from '2026-07-13 13:20:11'::timestamp) - extract(epoch from '2026-07-13 13:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556761 -3.003909)'), GeomFromEWKT('SRID=4674;POINT (-39.556768 -3.004027)'))) / (select extract(epoch from '2026-07-13 13:20:11'::timestamp) - extract(epoch from '2026-07-13 13:20: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'), 47852, 'SRID=4674;POINT (-39.556768 -3.004159)', '2026-07-13 13:20:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556768 -3.004027)'), GeomFromEWKT('SRID=4674;POINT (-39.556768 -3.004159)'))) / (select extract(epoch from '2026-07-13 13:20:17'::timestamp) - extract(epoch from '2026-07-13 13:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556768 -3.004027)'), GeomFromEWKT('SRID=4674;POINT (-39.556768 -3.004159)'))) / (select extract(epoch from '2026-07-13 13:20:17'::timestamp) - extract(epoch from '2026-07-13 13:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556763 -3.004333)', '2026-07-13 13:20:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556768 -3.004159)'), GeomFromEWKT('SRID=4674;POINT (-39.556763 -3.004333)'))) / (select extract(epoch from '2026-07-13 13:20:25'::timestamp) - extract(epoch from '2026-07-13 13:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556768 -3.004159)'), GeomFromEWKT('SRID=4674;POINT (-39.556763 -3.004333)'))) / (select extract(epoch from '2026-07-13 13:20:25'::timestamp) - extract(epoch from '2026-07-13 13:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556738 -3.004498)', '2026-07-13 13:20:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556763 -3.004333)'), GeomFromEWKT('SRID=4674;POINT (-39.556738 -3.004498)'))) / (select extract(epoch from '2026-07-13 13:20:33'::timestamp) - extract(epoch from '2026-07-13 13:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556763 -3.004333)'), GeomFromEWKT('SRID=4674;POINT (-39.556738 -3.004498)'))) / (select extract(epoch from '2026-07-13 13:20:33'::timestamp) - extract(epoch from '2026-07-13 13:20: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'), 47852, 'SRID=4674;POINT (-39.556737 -3.00464)', '2026-07-13 13:20:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556738 -3.004498)'), GeomFromEWKT('SRID=4674;POINT (-39.556737 -3.00464)'))) / (select extract(epoch from '2026-07-13 13:20:40'::timestamp) - extract(epoch from '2026-07-13 13:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556738 -3.004498)'), GeomFromEWKT('SRID=4674;POINT (-39.556737 -3.00464)'))) / (select extract(epoch from '2026-07-13 13:20:40'::timestamp) - extract(epoch from '2026-07-13 13:20: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'), 47852, 'SRID=4674;POINT (-39.556738 -3.00478)', '2026-07-13 13:20:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556737 -3.00464)'), GeomFromEWKT('SRID=4674;POINT (-39.556738 -3.00478)'))) / (select extract(epoch from '2026-07-13 13:20:47'::timestamp) - extract(epoch from '2026-07-13 13:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556737 -3.00464)'), GeomFromEWKT('SRID=4674;POINT (-39.556738 -3.00478)'))) / (select extract(epoch from '2026-07-13 13:20:47'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.556743 -3.004918)', '2026-07-13 13:20:54', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556738 -3.00478)'), GeomFromEWKT('SRID=4674;POINT (-39.556743 -3.004918)'))) / (select extract(epoch from '2026-07-13 13:20:54'::timestamp) - extract(epoch from '2026-07-13 13:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556738 -3.00478)'), GeomFromEWKT('SRID=4674;POINT (-39.556743 -3.004918)'))) / (select extract(epoch from '2026-07-13 13:20:54'::timestamp) - extract(epoch from '2026-07-13 13:20: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'), 47852, 'SRID=4674;POINT (-39.55673 -3.005063)', '2026-07-13 13:21:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556743 -3.004918)'), GeomFromEWKT('SRID=4674;POINT (-39.55673 -3.005063)'))) / (select extract(epoch from '2026-07-13 13:21:01'::timestamp) - extract(epoch from '2026-07-13 13:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556743 -3.004918)'), GeomFromEWKT('SRID=4674;POINT (-39.55673 -3.005063)'))) / (select extract(epoch from '2026-07-13 13:21:01'::timestamp) - extract(epoch from '2026-07-13 13:20: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'), 47852, 'SRID=4674;POINT (-39.556689 -3.005179)', '2026-07-13 13:21:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55673 -3.005063)'), GeomFromEWKT('SRID=4674;POINT (-39.556689 -3.005179)'))) / (select extract(epoch from '2026-07-13 13:21:07'::timestamp) - extract(epoch from '2026-07-13 13:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55673 -3.005063)'), GeomFromEWKT('SRID=4674;POINT (-39.556689 -3.005179)'))) / (select extract(epoch from '2026-07-13 13:21:07'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47852, 'SRID=4674;POINT (-39.556655 -3.005314)', '2026-07-13 13:21:14', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556689 -3.005179)'), GeomFromEWKT('SRID=4674;POINT (-39.556655 -3.005314)'))) / (select extract(epoch from '2026-07-13 13:21:14'::timestamp) - extract(epoch from '2026-07-13 13:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556689 -3.005179)'), GeomFromEWKT('SRID=4674;POINT (-39.556655 -3.005314)'))) / (select extract(epoch from '2026-07-13 13:21:14'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47852, 'SRID=4674;POINT (-39.556624 -3.005501)', '2026-07-13 13:21:23', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556655 -3.005314)'), GeomFromEWKT('SRID=4674;POINT (-39.556624 -3.005501)'))) / (select extract(epoch from '2026-07-13 13:21:23'::timestamp) - extract(epoch from '2026-07-13 13:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556655 -3.005314)'), GeomFromEWKT('SRID=4674;POINT (-39.556624 -3.005501)'))) / (select extract(epoch from '2026-07-13 13:21:23'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.556598 -3.005655)', '2026-07-13 13:21:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556624 -3.005501)'), GeomFromEWKT('SRID=4674;POINT (-39.556598 -3.005655)'))) / (select extract(epoch from '2026-07-13 13:21:31'::timestamp) - extract(epoch from '2026-07-13 13:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556624 -3.005501)'), GeomFromEWKT('SRID=4674;POINT (-39.556598 -3.005655)'))) / (select extract(epoch from '2026-07-13 13:21:31'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47852, 'SRID=4674;POINT (-39.556606 -3.005818)', '2026-07-13 13:21:39', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556598 -3.005655)'), GeomFromEWKT('SRID=4674;POINT (-39.556606 -3.005818)'))) / (select extract(epoch from '2026-07-13 13:21:39'::timestamp) - extract(epoch from '2026-07-13 13:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556598 -3.005655)'), GeomFromEWKT('SRID=4674;POINT (-39.556606 -3.005818)'))) / (select extract(epoch from '2026-07-13 13:21:39'::timestamp) - extract(epoch from '2026-07-13 13:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556591 -3.005945)', '2026-07-13 13:21:45', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556606 -3.005818)'), GeomFromEWKT('SRID=4674;POINT (-39.556591 -3.005945)'))) / (select extract(epoch from '2026-07-13 13:21:45'::timestamp) - extract(epoch from '2026-07-13 13:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556606 -3.005818)'), GeomFromEWKT('SRID=4674;POINT (-39.556591 -3.005945)'))) / (select extract(epoch from '2026-07-13 13:21:45'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47852, 'SRID=4674;POINT (-39.556584 -3.006093)', '2026-07-13 13:21:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556591 -3.005945)'), GeomFromEWKT('SRID=4674;POINT (-39.556584 -3.006093)'))) / (select extract(epoch from '2026-07-13 13:21:52'::timestamp) - extract(epoch from '2026-07-13 13:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556591 -3.005945)'), GeomFromEWKT('SRID=4674;POINT (-39.556584 -3.006093)'))) / (select extract(epoch from '2026-07-13 13:21:52'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47852, 'SRID=4674;POINT (-39.556565 -3.006202)', '2026-07-13 13:21:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556584 -3.006093)'), GeomFromEWKT('SRID=4674;POINT (-39.556565 -3.006202)'))) / (select extract(epoch from '2026-07-13 13:21:58'::timestamp) - extract(epoch from '2026-07-13 13:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556584 -3.006093)'), GeomFromEWKT('SRID=4674;POINT (-39.556565 -3.006202)'))) / (select extract(epoch from '2026-07-13 13:21:58'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47852, 'SRID=4674;POINT (-39.556558 -3.006348)', '2026-07-13 13:22:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556565 -3.006202)'), GeomFromEWKT('SRID=4674;POINT (-39.556558 -3.006348)'))) / (select extract(epoch from '2026-07-13 13:22:06'::timestamp) - extract(epoch from '2026-07-13 13:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556565 -3.006202)'), GeomFromEWKT('SRID=4674;POINT (-39.556558 -3.006348)'))) / (select extract(epoch from '2026-07-13 13:22:06'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47852, 'SRID=4674;POINT (-39.556567 -3.006532)', '2026-07-13 13:22:15', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556558 -3.006348)'), GeomFromEWKT('SRID=4674;POINT (-39.556567 -3.006532)'))) / (select extract(epoch from '2026-07-13 13:22:15'::timestamp) - extract(epoch from '2026-07-13 13:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556558 -3.006348)'), GeomFromEWKT('SRID=4674;POINT (-39.556567 -3.006532)'))) / (select extract(epoch from '2026-07-13 13:22:15'::timestamp) - extract(epoch from '2026-07-13 13:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556576 -3.006647)', '2026-07-13 13:22:21', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556567 -3.006532)'), GeomFromEWKT('SRID=4674;POINT (-39.556576 -3.006647)'))) / (select extract(epoch from '2026-07-13 13:22:21'::timestamp) - extract(epoch from '2026-07-13 13:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556567 -3.006532)'), GeomFromEWKT('SRID=4674;POINT (-39.556576 -3.006647)'))) / (select extract(epoch from '2026-07-13 13:22:21'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47852, 'SRID=4674;POINT (-39.55658 -3.006772)', '2026-07-13 13:22:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556576 -3.006647)'), GeomFromEWKT('SRID=4674;POINT (-39.55658 -3.006772)'))) / (select extract(epoch from '2026-07-13 13:22:28'::timestamp) - extract(epoch from '2026-07-13 13:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556576 -3.006647)'), GeomFromEWKT('SRID=4674;POINT (-39.55658 -3.006772)'))) / (select extract(epoch from '2026-07-13 13:22:28'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47852, 'SRID=4674;POINT (-39.55657 -3.006958)', '2026-07-13 13:22:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55658 -3.006772)'), GeomFromEWKT('SRID=4674;POINT (-39.55657 -3.006958)'))) / (select extract(epoch from '2026-07-13 13:22:36'::timestamp) - extract(epoch from '2026-07-13 13:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55658 -3.006772)'), GeomFromEWKT('SRID=4674;POINT (-39.55657 -3.006958)'))) / (select extract(epoch from '2026-07-13 13:22:36'::timestamp) - extract(epoch from '2026-07-13 13:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47852, 'SRID=4674;POINT (-39.556547 -3.00713)', '2026-07-13 13:22:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55657 -3.006958)'), GeomFromEWKT('SRID=4674;POINT (-39.556547 -3.00713)'))) / (select extract(epoch from '2026-07-13 13:22:44'::timestamp) - extract(epoch from '2026-07-13 13:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55657 -3.006958)'), GeomFromEWKT('SRID=4674;POINT (-39.556547 -3.00713)'))) / (select extract(epoch from '2026-07-13 13:22:44'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47852, 'SRID=4674;POINT (-39.556562 -3.007317)', '2026-07-13 13:22:53', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556547 -3.00713)'), GeomFromEWKT('SRID=4674;POINT (-39.556562 -3.007317)'))) / (select extract(epoch from '2026-07-13 13:22:53'::timestamp) - extract(epoch from '2026-07-13 13:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556547 -3.00713)'), GeomFromEWKT('SRID=4674;POINT (-39.556562 -3.007317)'))) / (select extract(epoch from '2026-07-13 13:22:53'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47852, 'SRID=4674;POINT (-39.556554 -3.007457)', '2026-07-13 13:23:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556562 -3.007317)'), GeomFromEWKT('SRID=4674;POINT (-39.556554 -3.007457)'))) / (select extract(epoch from '2026-07-13 13:23:00'::timestamp) - extract(epoch from '2026-07-13 13:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556562 -3.007317)'), GeomFromEWKT('SRID=4674;POINT (-39.556554 -3.007457)'))) / (select extract(epoch from '2026-07-13 13:23:00'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47852, 'SRID=4674;POINT (-39.556545 -3.007569)', '2026-07-13 13:23:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556554 -3.007457)'), GeomFromEWKT('SRID=4674;POINT (-39.556545 -3.007569)'))) / (select extract(epoch from '2026-07-13 13:23:06'::timestamp) - extract(epoch from '2026-07-13 13:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556554 -3.007457)'), GeomFromEWKT('SRID=4674;POINT (-39.556545 -3.007569)'))) / (select extract(epoch from '2026-07-13 13:23:06'::timestamp) - extract(epoch from '2026-07-13 13:23: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'), 47852, 'SRID=4674;POINT (-39.556555 -3.00771)', '2026-07-13 13:23:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556545 -3.007569)'), GeomFromEWKT('SRID=4674;POINT (-39.556555 -3.00771)'))) / (select extract(epoch from '2026-07-13 13:23:13'::timestamp) - extract(epoch from '2026-07-13 13:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556545 -3.007569)'), GeomFromEWKT('SRID=4674;POINT (-39.556555 -3.00771)'))) / (select extract(epoch from '2026-07-13 13:23:13'::timestamp) - extract(epoch from '2026-07-13 13:23: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'), 47852, 'SRID=4674;POINT (-39.556547 -3.007851)', '2026-07-13 13:23:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556555 -3.00771)'), GeomFromEWKT('SRID=4674;POINT (-39.556547 -3.007851)'))) / (select extract(epoch from '2026-07-13 13:23:20'::timestamp) - extract(epoch from '2026-07-13 13:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556555 -3.00771)'), GeomFromEWKT('SRID=4674;POINT (-39.556547 -3.007851)'))) / (select extract(epoch from '2026-07-13 13:23:20'::timestamp) - extract(epoch from '2026-07-13 13:23: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'), 47852, 'SRID=4674;POINT (-39.556541 -3.007975)', '2026-07-13 13:23:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556547 -3.007851)'), GeomFromEWKT('SRID=4674;POINT (-39.556541 -3.007975)'))) / (select extract(epoch from '2026-07-13 13:23:26'::timestamp) - extract(epoch from '2026-07-13 13:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.556547 -3.007851)'), GeomFromEWKT('SRID=4674;POINT (-39.556541 -3.007975)'))) / (select extract(epoch from '2026-07-13 13:23:26'::timestamp) - extract(epoch from '2026-07-13 13:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
