 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81784 -2.649032)', '2026-07-21 15:29:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817854 -2.649018)'), GeomFromEWKT('SRID=4674;POINT (-39.81784 -2.649032)'))) / (select extract(epoch from '2026-07-21 15:29:00'::timestamp) - extract(epoch from '2026-07-21 15:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817854 -2.649018)'), GeomFromEWKT('SRID=4674;POINT (-39.81784 -2.649032)'))) / (select extract(epoch from '2026-07-21 15:29:00'::timestamp) - extract(epoch from '2026-07-21 15:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817831 -2.649035)', '2026-07-21 15:29:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81784 -2.649032)'), GeomFromEWKT('SRID=4674;POINT (-39.817831 -2.649035)'))) / (select extract(epoch from '2026-07-21 15:29:01'::timestamp) - extract(epoch from '2026-07-21 15:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81784 -2.649032)'), GeomFromEWKT('SRID=4674;POINT (-39.817831 -2.649035)'))) / (select extract(epoch from '2026-07-21 15:29:01'::timestamp) - extract(epoch from '2026-07-21 15:29: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'), 47870, 'SRID=4674;POINT (-39.817804 -2.64905)', '2026-07-21 15:29:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817831 -2.649035)'), GeomFromEWKT('SRID=4674;POINT (-39.817804 -2.64905)'))) / (select extract(epoch from '2026-07-21 15:29:05'::timestamp) - extract(epoch from '2026-07-21 15:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817831 -2.649035)'), GeomFromEWKT('SRID=4674;POINT (-39.817804 -2.64905)'))) / (select extract(epoch from '2026-07-21 15:29:05'::timestamp) - extract(epoch from '2026-07-21 15:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817753 -2.649069)', '2026-07-21 15:29:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817804 -2.64905)'), GeomFromEWKT('SRID=4674;POINT (-39.817753 -2.649069)'))) / (select extract(epoch from '2026-07-21 15:29:13'::timestamp) - extract(epoch from '2026-07-21 15:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817804 -2.64905)'), GeomFromEWKT('SRID=4674;POINT (-39.817753 -2.649069)'))) / (select extract(epoch from '2026-07-21 15:29:13'::timestamp) - extract(epoch from '2026-07-21 15:29:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817715 -2.649068)', '2026-07-21 15:29:23', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817753 -2.649069)'), GeomFromEWKT('SRID=4674;POINT (-39.817715 -2.649068)'))) / (select extract(epoch from '2026-07-21 15:29:23'::timestamp) - extract(epoch from '2026-07-21 15:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817753 -2.649069)'), GeomFromEWKT('SRID=4674;POINT (-39.817715 -2.649068)'))) / (select extract(epoch from '2026-07-21 15:29:23'::timestamp) - extract(epoch from '2026-07-21 15:29: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'), 47870, 'SRID=4674;POINT (-39.817688 -2.649102)', '2026-07-21 15:29:35', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817715 -2.649068)'), GeomFromEWKT('SRID=4674;POINT (-39.817688 -2.649102)'))) / (select extract(epoch from '2026-07-21 15:29:35'::timestamp) - extract(epoch from '2026-07-21 15:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817715 -2.649068)'), GeomFromEWKT('SRID=4674;POINT (-39.817688 -2.649102)'))) / (select extract(epoch from '2026-07-21 15:29:35'::timestamp) - extract(epoch from '2026-07-21 15:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817674 -2.649139)', '2026-07-21 15:29:41', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817688 -2.649102)'), GeomFromEWKT('SRID=4674;POINT (-39.817674 -2.649139)'))) / (select extract(epoch from '2026-07-21 15:29:41'::timestamp) - extract(epoch from '2026-07-21 15:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817688 -2.649102)'), GeomFromEWKT('SRID=4674;POINT (-39.817674 -2.649139)'))) / (select extract(epoch from '2026-07-21 15:29:41'::timestamp) - extract(epoch from '2026-07-21 15:29: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'), 47870, 'SRID=4674;POINT (-39.817647 -2.649161)', '2026-07-21 15:29:48', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817674 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.649161)'))) / (select extract(epoch from '2026-07-21 15:29:48'::timestamp) - extract(epoch from '2026-07-21 15:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817674 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.649161)'))) / (select extract(epoch from '2026-07-21 15:29:48'::timestamp) - extract(epoch from '2026-07-21 15:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817604 -2.64917)', '2026-07-21 15:29:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.649161)'), GeomFromEWKT('SRID=4674;POINT (-39.817604 -2.64917)'))) / (select extract(epoch from '2026-07-21 15:29:54'::timestamp) - extract(epoch from '2026-07-21 15:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.649161)'), GeomFromEWKT('SRID=4674;POINT (-39.817604 -2.64917)'))) / (select extract(epoch from '2026-07-21 15:29:54'::timestamp) - extract(epoch from '2026-07-21 15:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817567 -2.649176)', '2026-07-21 15:29:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817604 -2.64917)'), GeomFromEWKT('SRID=4674;POINT (-39.817567 -2.649176)'))) / (select extract(epoch from '2026-07-21 15:29:59'::timestamp) - extract(epoch from '2026-07-21 15:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817604 -2.64917)'), GeomFromEWKT('SRID=4674;POINT (-39.817567 -2.649176)'))) / (select extract(epoch from '2026-07-21 15:29:59'::timestamp) - extract(epoch from '2026-07-21 15:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817554 -2.649181)', '2026-07-21 15:30:02', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817567 -2.649176)'), GeomFromEWKT('SRID=4674;POINT (-39.817554 -2.649181)'))) / (select extract(epoch from '2026-07-21 15:30:02'::timestamp) - extract(epoch from '2026-07-21 15:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817567 -2.649176)'), GeomFromEWKT('SRID=4674;POINT (-39.817554 -2.649181)'))) / (select extract(epoch from '2026-07-21 15:30:02'::timestamp) - extract(epoch from '2026-07-21 15:29: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'), 47870, 'SRID=4674;POINT (-39.817539 -2.649179)', '2026-07-21 15:30:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817554 -2.649181)'), GeomFromEWKT('SRID=4674;POINT (-39.817539 -2.649179)'))) / (select extract(epoch from '2026-07-21 15:30:08'::timestamp) - extract(epoch from '2026-07-21 15:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817554 -2.649181)'), GeomFromEWKT('SRID=4674;POINT (-39.817539 -2.649179)'))) / (select extract(epoch from '2026-07-21 15:30:08'::timestamp) - extract(epoch from '2026-07-21 15:30: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'), 47870, 'SRID=4674;POINT (-39.817543 -2.649169)', '2026-07-21 15:30:16', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817539 -2.649179)'), GeomFromEWKT('SRID=4674;POINT (-39.817543 -2.649169)'))) / (select extract(epoch from '2026-07-21 15:30:16'::timestamp) - extract(epoch from '2026-07-21 15:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817539 -2.649179)'), GeomFromEWKT('SRID=4674;POINT (-39.817543 -2.649169)'))) / (select extract(epoch from '2026-07-21 15:30:16'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.817544 -2.649154)', '2026-07-21 15:30:20', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817543 -2.649169)'), GeomFromEWKT('SRID=4674;POINT (-39.817544 -2.649154)'))) / (select extract(epoch from '2026-07-21 15:30:20'::timestamp) - extract(epoch from '2026-07-21 15:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817543 -2.649169)'), GeomFromEWKT('SRID=4674;POINT (-39.817544 -2.649154)'))) / (select extract(epoch from '2026-07-21 15:30:20'::timestamp) - extract(epoch from '2026-07-21 15:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817553 -2.649139)', '2026-07-21 15:30:25', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817544 -2.649154)'), GeomFromEWKT('SRID=4674;POINT (-39.817553 -2.649139)'))) / (select extract(epoch from '2026-07-21 15:30:25'::timestamp) - extract(epoch from '2026-07-21 15:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817544 -2.649154)'), GeomFromEWKT('SRID=4674;POINT (-39.817553 -2.649139)'))) / (select extract(epoch from '2026-07-21 15:30:25'::timestamp) - extract(epoch from '2026-07-21 15:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817571 -2.649116)', '2026-07-21 15:30:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817553 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.817571 -2.649116)'))) / (select extract(epoch from '2026-07-21 15:30:30'::timestamp) - extract(epoch from '2026-07-21 15:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817553 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.817571 -2.649116)'))) / (select extract(epoch from '2026-07-21 15:30:30'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.817607 -2.649078)', '2026-07-21 15:30:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817571 -2.649116)'), GeomFromEWKT('SRID=4674;POINT (-39.817607 -2.649078)'))) / (select extract(epoch from '2026-07-21 15:30:38'::timestamp) - extract(epoch from '2026-07-21 15:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817571 -2.649116)'), GeomFromEWKT('SRID=4674;POINT (-39.817607 -2.649078)'))) / (select extract(epoch from '2026-07-21 15:30:38'::timestamp) - extract(epoch from '2026-07-21 15:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817662 -2.649039)', '2026-07-21 15:30:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817607 -2.649078)'), GeomFromEWKT('SRID=4674;POINT (-39.817662 -2.649039)'))) / (select extract(epoch from '2026-07-21 15:30:48'::timestamp) - extract(epoch from '2026-07-21 15:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817607 -2.649078)'), GeomFromEWKT('SRID=4674;POINT (-39.817662 -2.649039)'))) / (select extract(epoch from '2026-07-21 15:30:48'::timestamp) - extract(epoch from '2026-07-21 15:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817708 -2.648992)', '2026-07-21 15:30:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817662 -2.649039)'), GeomFromEWKT('SRID=4674;POINT (-39.817708 -2.648992)'))) / (select extract(epoch from '2026-07-21 15:30:58'::timestamp) - extract(epoch from '2026-07-21 15:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817662 -2.649039)'), GeomFromEWKT('SRID=4674;POINT (-39.817708 -2.648992)'))) / (select extract(epoch from '2026-07-21 15:30:58'::timestamp) - extract(epoch from '2026-07-21 15:30: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'), 47870, 'SRID=4674;POINT (-39.817763 -2.648942)', '2026-07-21 15:31:09', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817708 -2.648992)'), GeomFromEWKT('SRID=4674;POINT (-39.817763 -2.648942)'))) / (select extract(epoch from '2026-07-21 15:31:09'::timestamp) - extract(epoch from '2026-07-21 15:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817708 -2.648992)'), GeomFromEWKT('SRID=4674;POINT (-39.817763 -2.648942)'))) / (select extract(epoch from '2026-07-21 15:31:09'::timestamp) - extract(epoch from '2026-07-21 15:30: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'), 47870, 'SRID=4674;POINT (-39.817778 -2.648934)', '2026-07-21 15:31:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817763 -2.648942)'), GeomFromEWKT('SRID=4674;POINT (-39.817778 -2.648934)'))) / (select extract(epoch from '2026-07-21 15:31:11'::timestamp) - extract(epoch from '2026-07-21 15:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817763 -2.648942)'), GeomFromEWKT('SRID=4674;POINT (-39.817778 -2.648934)'))) / (select extract(epoch from '2026-07-21 15:31:11'::timestamp) - extract(epoch from '2026-07-21 15:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817797 -2.648923)', '2026-07-21 15:31:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817778 -2.648934)'), GeomFromEWKT('SRID=4674;POINT (-39.817797 -2.648923)'))) / (select extract(epoch from '2026-07-21 15:31:14'::timestamp) - extract(epoch from '2026-07-21 15:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817778 -2.648934)'), GeomFromEWKT('SRID=4674;POINT (-39.817797 -2.648923)'))) / (select extract(epoch from '2026-07-21 15:31:14'::timestamp) - extract(epoch from '2026-07-21 15:31:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817833 -2.648902)', '2026-07-21 15:31:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817797 -2.648923)'), GeomFromEWKT('SRID=4674;POINT (-39.817833 -2.648902)'))) / (select extract(epoch from '2026-07-21 15:31:20'::timestamp) - extract(epoch from '2026-07-21 15:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817797 -2.648923)'), GeomFromEWKT('SRID=4674;POINT (-39.817833 -2.648902)'))) / (select extract(epoch from '2026-07-21 15:31:20'::timestamp) - extract(epoch from '2026-07-21 15:31: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'), 47870, 'SRID=4674;POINT (-39.817886 -2.648878)', '2026-07-21 15:31:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817833 -2.648902)'), GeomFromEWKT('SRID=4674;POINT (-39.817886 -2.648878)'))) / (select extract(epoch from '2026-07-21 15:31:27'::timestamp) - extract(epoch from '2026-07-21 15:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817833 -2.648902)'), GeomFromEWKT('SRID=4674;POINT (-39.817886 -2.648878)'))) / (select extract(epoch from '2026-07-21 15:31:27'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.817903 -2.648868)', '2026-07-21 15:31:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817886 -2.648878)'), GeomFromEWKT('SRID=4674;POINT (-39.817903 -2.648868)'))) / (select extract(epoch from '2026-07-21 15:31:29'::timestamp) - extract(epoch from '2026-07-21 15:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817886 -2.648878)'), GeomFromEWKT('SRID=4674;POINT (-39.817903 -2.648868)'))) / (select extract(epoch from '2026-07-21 15:31:29'::timestamp) - extract(epoch from '2026-07-21 15:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81792 -2.648856)', '2026-07-21 15:31:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817903 -2.648868)'), GeomFromEWKT('SRID=4674;POINT (-39.81792 -2.648856)'))) / (select extract(epoch from '2026-07-21 15:31:32'::timestamp) - extract(epoch from '2026-07-21 15:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817903 -2.648868)'), GeomFromEWKT('SRID=4674;POINT (-39.81792 -2.648856)'))) / (select extract(epoch from '2026-07-21 15:31:32'::timestamp) - extract(epoch from '2026-07-21 15:31: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'), 47870, 'SRID=4674;POINT (-39.817945 -2.648816)', '2026-07-21 15:31:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81792 -2.648856)'), GeomFromEWKT('SRID=4674;POINT (-39.817945 -2.648816)'))) / (select extract(epoch from '2026-07-21 15:31:39'::timestamp) - extract(epoch from '2026-07-21 15:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81792 -2.648856)'), GeomFromEWKT('SRID=4674;POINT (-39.817945 -2.648816)'))) / (select extract(epoch from '2026-07-21 15:31:39'::timestamp) - extract(epoch from '2026-07-21 15:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817938 -2.648788)', '2026-07-21 15:31:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817945 -2.648816)'), GeomFromEWKT('SRID=4674;POINT (-39.817938 -2.648788)'))) / (select extract(epoch from '2026-07-21 15:31:47'::timestamp) - extract(epoch from '2026-07-21 15:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817945 -2.648816)'), GeomFromEWKT('SRID=4674;POINT (-39.817938 -2.648788)'))) / (select extract(epoch from '2026-07-21 15:31:47'::timestamp) - extract(epoch from '2026-07-21 15:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817893 -2.648835)', '2026-07-21 15:31:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817938 -2.648788)'), GeomFromEWKT('SRID=4674;POINT (-39.817893 -2.648835)'))) / (select extract(epoch from '2026-07-21 15:31:57'::timestamp) - extract(epoch from '2026-07-21 15:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817938 -2.648788)'), GeomFromEWKT('SRID=4674;POINT (-39.817893 -2.648835)'))) / (select extract(epoch from '2026-07-21 15:31:57'::timestamp) - extract(epoch from '2026-07-21 15:31: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'), 47870, 'SRID=4674;POINT (-39.817854 -2.648894)', '2026-07-21 15:32:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817893 -2.648835)'), GeomFromEWKT('SRID=4674;POINT (-39.817854 -2.648894)'))) / (select extract(epoch from '2026-07-21 15:32:03'::timestamp) - extract(epoch from '2026-07-21 15:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817893 -2.648835)'), GeomFromEWKT('SRID=4674;POINT (-39.817854 -2.648894)'))) / (select extract(epoch from '2026-07-21 15:32:03'::timestamp) - extract(epoch from '2026-07-21 15:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817841 -2.648918)', '2026-07-21 15:32:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817854 -2.648894)'), GeomFromEWKT('SRID=4674;POINT (-39.817841 -2.648918)'))) / (select extract(epoch from '2026-07-21 15:32:05'::timestamp) - extract(epoch from '2026-07-21 15:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817854 -2.648894)'), GeomFromEWKT('SRID=4674;POINT (-39.817841 -2.648918)'))) / (select extract(epoch from '2026-07-21 15:32:05'::timestamp) - extract(epoch from '2026-07-21 15:32: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'), 47870, 'SRID=4674;POINT (-39.817827 -2.648945)', '2026-07-21 15:32:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817841 -2.648918)'), GeomFromEWKT('SRID=4674;POINT (-39.817827 -2.648945)'))) / (select extract(epoch from '2026-07-21 15:32:08'::timestamp) - extract(epoch from '2026-07-21 15:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817841 -2.648918)'), GeomFromEWKT('SRID=4674;POINT (-39.817827 -2.648945)'))) / (select extract(epoch from '2026-07-21 15:32:08'::timestamp) - extract(epoch from '2026-07-21 15:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817795 -2.649011)', '2026-07-21 15:32:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817827 -2.648945)'), GeomFromEWKT('SRID=4674;POINT (-39.817795 -2.649011)'))) / (select extract(epoch from '2026-07-21 15:32:15'::timestamp) - extract(epoch from '2026-07-21 15:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817827 -2.648945)'), GeomFromEWKT('SRID=4674;POINT (-39.817795 -2.649011)'))) / (select extract(epoch from '2026-07-21 15:32:15'::timestamp) - extract(epoch from '2026-07-21 15:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817785 -2.64903)', '2026-07-21 15:32:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817795 -2.649011)'), GeomFromEWKT('SRID=4674;POINT (-39.817785 -2.64903)'))) / (select extract(epoch from '2026-07-21 15:32:17'::timestamp) - extract(epoch from '2026-07-21 15:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817795 -2.649011)'), GeomFromEWKT('SRID=4674;POINT (-39.817785 -2.64903)'))) / (select extract(epoch from '2026-07-21 15:32:17'::timestamp) - extract(epoch from '2026-07-21 15:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817773 -2.649079)', '2026-07-21 15:32:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817785 -2.64903)'), GeomFromEWKT('SRID=4674;POINT (-39.817773 -2.649079)'))) / (select extract(epoch from '2026-07-21 15:32:21'::timestamp) - extract(epoch from '2026-07-21 15:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817785 -2.64903)'), GeomFromEWKT('SRID=4674;POINT (-39.817773 -2.649079)'))) / (select extract(epoch from '2026-07-21 15:32:21'::timestamp) - extract(epoch from '2026-07-21 15:32: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'), 47870, 'SRID=4674;POINT (-39.817761 -2.649124)', '2026-07-21 15:32:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817773 -2.649079)'), GeomFromEWKT('SRID=4674;POINT (-39.817761 -2.649124)'))) / (select extract(epoch from '2026-07-21 15:32:25'::timestamp) - extract(epoch from '2026-07-21 15:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817773 -2.649079)'), GeomFromEWKT('SRID=4674;POINT (-39.817761 -2.649124)'))) / (select extract(epoch from '2026-07-21 15:32:25'::timestamp) - extract(epoch from '2026-07-21 15:32: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'), 47870, 'SRID=4674;POINT (-39.817758 -2.649133)', '2026-07-21 15:32:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817761 -2.649124)'), GeomFromEWKT('SRID=4674;POINT (-39.817758 -2.649133)'))) / (select extract(epoch from '2026-07-21 15:32:26'::timestamp) - extract(epoch from '2026-07-21 15:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817761 -2.649124)'), GeomFromEWKT('SRID=4674;POINT (-39.817758 -2.649133)'))) / (select extract(epoch from '2026-07-21 15:32:26'::timestamp) - extract(epoch from '2026-07-21 15:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817739 -2.649201)', '2026-07-21 15:32:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817758 -2.649133)'), GeomFromEWKT('SRID=4674;POINT (-39.817739 -2.649201)'))) / (select extract(epoch from '2026-07-21 15:32:32'::timestamp) - extract(epoch from '2026-07-21 15:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817758 -2.649133)'), GeomFromEWKT('SRID=4674;POINT (-39.817739 -2.649201)'))) / (select extract(epoch from '2026-07-21 15:32:32'::timestamp) - extract(epoch from '2026-07-21 15:32: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'), 47870, 'SRID=4674;POINT (-39.817733 -2.649211)', '2026-07-21 15:32:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817739 -2.649201)'), GeomFromEWKT('SRID=4674;POINT (-39.817733 -2.649211)'))) / (select extract(epoch from '2026-07-21 15:32:33'::timestamp) - extract(epoch from '2026-07-21 15:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817739 -2.649201)'), GeomFromEWKT('SRID=4674;POINT (-39.817733 -2.649211)'))) / (select extract(epoch from '2026-07-21 15:32:33'::timestamp) - extract(epoch from '2026-07-21 15:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817726 -2.649235)', '2026-07-21 15:32:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817733 -2.649211)'), GeomFromEWKT('SRID=4674;POINT (-39.817726 -2.649235)'))) / (select extract(epoch from '2026-07-21 15:32:35'::timestamp) - extract(epoch from '2026-07-21 15:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817733 -2.649211)'), GeomFromEWKT('SRID=4674;POINT (-39.817726 -2.649235)'))) / (select extract(epoch from '2026-07-21 15:32:35'::timestamp) - extract(epoch from '2026-07-21 15:32: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'), 47870, 'SRID=4674;POINT (-39.817719 -2.649255)', '2026-07-21 15:32:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817726 -2.649235)'), GeomFromEWKT('SRID=4674;POINT (-39.817719 -2.649255)'))) / (select extract(epoch from '2026-07-21 15:32:37'::timestamp) - extract(epoch from '2026-07-21 15:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817726 -2.649235)'), GeomFromEWKT('SRID=4674;POINT (-39.817719 -2.649255)'))) / (select extract(epoch from '2026-07-21 15:32:37'::timestamp) - extract(epoch from '2026-07-21 15:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817666 -2.649327)', '2026-07-21 15:32:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817719 -2.649255)'), GeomFromEWKT('SRID=4674;POINT (-39.817666 -2.649327)'))) / (select extract(epoch from '2026-07-21 15:32:44'::timestamp) - extract(epoch from '2026-07-21 15:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817719 -2.649255)'), GeomFromEWKT('SRID=4674;POINT (-39.817666 -2.649327)'))) / (select extract(epoch from '2026-07-21 15:32:44'::timestamp) - extract(epoch from '2026-07-21 15:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817661 -2.649339)', '2026-07-21 15:32:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817666 -2.649327)'), GeomFromEWKT('SRID=4674;POINT (-39.817661 -2.649339)'))) / (select extract(epoch from '2026-07-21 15:32:45'::timestamp) - extract(epoch from '2026-07-21 15:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817666 -2.649327)'), GeomFromEWKT('SRID=4674;POINT (-39.817661 -2.649339)'))) / (select extract(epoch from '2026-07-21 15:32:45'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.817643 -2.649386)', '2026-07-21 15:32:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817661 -2.649339)'), GeomFromEWKT('SRID=4674;POINT (-39.817643 -2.649386)'))) / (select extract(epoch from '2026-07-21 15:32:49'::timestamp) - extract(epoch from '2026-07-21 15:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817661 -2.649339)'), GeomFromEWKT('SRID=4674;POINT (-39.817643 -2.649386)'))) / (select extract(epoch from '2026-07-21 15:32:49'::timestamp) - extract(epoch from '2026-07-21 15:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817633 -2.649417)', '2026-07-21 15:32:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817643 -2.649386)'), GeomFromEWKT('SRID=4674;POINT (-39.817633 -2.649417)'))) / (select extract(epoch from '2026-07-21 15:32:52'::timestamp) - extract(epoch from '2026-07-21 15:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817643 -2.649386)'), GeomFromEWKT('SRID=4674;POINT (-39.817633 -2.649417)'))) / (select extract(epoch from '2026-07-21 15:32:52'::timestamp) - extract(epoch from '2026-07-21 15:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817631 -2.64944)', '2026-07-21 15:32:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817633 -2.649417)'), GeomFromEWKT('SRID=4674;POINT (-39.817631 -2.64944)'))) / (select extract(epoch from '2026-07-21 15:32:55'::timestamp) - extract(epoch from '2026-07-21 15:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817633 -2.649417)'), GeomFromEWKT('SRID=4674;POINT (-39.817631 -2.64944)'))) / (select extract(epoch from '2026-07-21 15:32:55'::timestamp) - extract(epoch from '2026-07-21 15:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817647 -2.649463)', '2026-07-21 15:32:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817631 -2.64944)'), GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.649463)'))) / (select extract(epoch from '2026-07-21 15:32:58'::timestamp) - extract(epoch from '2026-07-21 15:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817631 -2.64944)'), GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.649463)'))) / (select extract(epoch from '2026-07-21 15:32:58'::timestamp) - extract(epoch from '2026-07-21 15:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817655 -2.64947)', '2026-07-21 15:33:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.649463)'), GeomFromEWKT('SRID=4674;POINT (-39.817655 -2.64947)'))) / (select extract(epoch from '2026-07-21 15:33:00'::timestamp) - extract(epoch from '2026-07-21 15:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817647 -2.649463)'), GeomFromEWKT('SRID=4674;POINT (-39.817655 -2.64947)'))) / (select extract(epoch from '2026-07-21 15:33:00'::timestamp) - extract(epoch from '2026-07-21 15:32:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817689 -2.649505)', '2026-07-21 15:33:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817655 -2.64947)'), GeomFromEWKT('SRID=4674;POINT (-39.817689 -2.649505)'))) / (select extract(epoch from '2026-07-21 15:33:08'::timestamp) - extract(epoch from '2026-07-21 15:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817655 -2.64947)'), GeomFromEWKT('SRID=4674;POINT (-39.817689 -2.649505)'))) / (select extract(epoch from '2026-07-21 15:33:08'::timestamp) - extract(epoch from '2026-07-21 15:33: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'), 47870, 'SRID=4674;POINT (-39.817711 -2.649513)', '2026-07-21 15:33:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817689 -2.649505)'), GeomFromEWKT('SRID=4674;POINT (-39.817711 -2.649513)'))) / (select extract(epoch from '2026-07-21 15:33:13'::timestamp) - extract(epoch from '2026-07-21 15:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817689 -2.649505)'), GeomFromEWKT('SRID=4674;POINT (-39.817711 -2.649513)'))) / (select extract(epoch from '2026-07-21 15:33:13'::timestamp) - extract(epoch from '2026-07-21 15:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817723 -2.649513)', '2026-07-21 15:33:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817711 -2.649513)'), GeomFromEWKT('SRID=4674;POINT (-39.817723 -2.649513)'))) / (select extract(epoch from '2026-07-21 15:33:14'::timestamp) - extract(epoch from '2026-07-21 15:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817711 -2.649513)'), GeomFromEWKT('SRID=4674;POINT (-39.817723 -2.649513)'))) / (select extract(epoch from '2026-07-21 15:33:14'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.817736 -2.64951)', '2026-07-21 15:33:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817723 -2.649513)'), GeomFromEWKT('SRID=4674;POINT (-39.817736 -2.64951)'))) / (select extract(epoch from '2026-07-21 15:33:17'::timestamp) - extract(epoch from '2026-07-21 15:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817723 -2.649513)'), GeomFromEWKT('SRID=4674;POINT (-39.817736 -2.64951)'))) / (select extract(epoch from '2026-07-21 15:33:17'::timestamp) - extract(epoch from '2026-07-21 15:33: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'), 47870, 'SRID=4674;POINT (-39.817774 -2.649505)', '2026-07-21 15:33:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817736 -2.64951)'), GeomFromEWKT('SRID=4674;POINT (-39.817774 -2.649505)'))) / (select extract(epoch from '2026-07-21 15:33:24'::timestamp) - extract(epoch from '2026-07-21 15:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817736 -2.64951)'), GeomFromEWKT('SRID=4674;POINT (-39.817774 -2.649505)'))) / (select extract(epoch from '2026-07-21 15:33:24'::timestamp) - extract(epoch from '2026-07-21 15:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81782 -2.649492)', '2026-07-21 15:33:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817774 -2.649505)'), GeomFromEWKT('SRID=4674;POINT (-39.81782 -2.649492)'))) / (select extract(epoch from '2026-07-21 15:33:30'::timestamp) - extract(epoch from '2026-07-21 15:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817774 -2.649505)'), GeomFromEWKT('SRID=4674;POINT (-39.81782 -2.649492)'))) / (select extract(epoch from '2026-07-21 15:33:30'::timestamp) - extract(epoch from '2026-07-21 15:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817875 -2.649454)', '2026-07-21 15:33:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81782 -2.649492)'), GeomFromEWKT('SRID=4674;POINT (-39.817875 -2.649454)'))) / (select extract(epoch from '2026-07-21 15:33:38'::timestamp) - extract(epoch from '2026-07-21 15:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81782 -2.649492)'), GeomFromEWKT('SRID=4674;POINT (-39.817875 -2.649454)'))) / (select extract(epoch from '2026-07-21 15:33:38'::timestamp) - extract(epoch from '2026-07-21 15:33: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'), 47870, 'SRID=4674;POINT (-39.817883 -2.64945)', '2026-07-21 15:33:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817875 -2.649454)'), GeomFromEWKT('SRID=4674;POINT (-39.817883 -2.64945)'))) / (select extract(epoch from '2026-07-21 15:33:39'::timestamp) - extract(epoch from '2026-07-21 15:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817875 -2.649454)'), GeomFromEWKT('SRID=4674;POINT (-39.817883 -2.64945)'))) / (select extract(epoch from '2026-07-21 15:33:39'::timestamp) - extract(epoch from '2026-07-21 15:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.817916 -2.649433)', '2026-07-21 15:33:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817883 -2.64945)'), GeomFromEWKT('SRID=4674;POINT (-39.817916 -2.649433)'))) / (select extract(epoch from '2026-07-21 15:33:43'::timestamp) - extract(epoch from '2026-07-21 15:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817883 -2.64945)'), GeomFromEWKT('SRID=4674;POINT (-39.817916 -2.649433)'))) / (select extract(epoch from '2026-07-21 15:33:43'::timestamp) - extract(epoch from '2026-07-21 15:33: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'), 47870, 'SRID=4674;POINT (-39.817944 -2.649412)', '2026-07-21 15:33:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817916 -2.649433)'), GeomFromEWKT('SRID=4674;POINT (-39.817944 -2.649412)'))) / (select extract(epoch from '2026-07-21 15:33:48'::timestamp) - extract(epoch from '2026-07-21 15:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817916 -2.649433)'), GeomFromEWKT('SRID=4674;POINT (-39.817944 -2.649412)'))) / (select extract(epoch from '2026-07-21 15:33:48'::timestamp) - extract(epoch from '2026-07-21 15:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818007 -2.649349)', '2026-07-21 15:33:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817944 -2.649412)'), GeomFromEWKT('SRID=4674;POINT (-39.818007 -2.649349)'))) / (select extract(epoch from '2026-07-21 15:33:59'::timestamp) - extract(epoch from '2026-07-21 15:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817944 -2.649412)'), GeomFromEWKT('SRID=4674;POINT (-39.818007 -2.649349)'))) / (select extract(epoch from '2026-07-21 15:33:59'::timestamp) - extract(epoch from '2026-07-21 15:33: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'), 47870, 'SRID=4674;POINT (-39.818035 -2.649302)', '2026-07-21 15:34:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818007 -2.649349)'), GeomFromEWKT('SRID=4674;POINT (-39.818035 -2.649302)'))) / (select extract(epoch from '2026-07-21 15:34:07'::timestamp) - extract(epoch from '2026-07-21 15:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818007 -2.649349)'), GeomFromEWKT('SRID=4674;POINT (-39.818035 -2.649302)'))) / (select extract(epoch from '2026-07-21 15:34:07'::timestamp) - extract(epoch from '2026-07-21 15:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818076 -2.649247)', '2026-07-21 15:34:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818035 -2.649302)'), GeomFromEWKT('SRID=4674;POINT (-39.818076 -2.649247)'))) / (select extract(epoch from '2026-07-21 15:34:18'::timestamp) - extract(epoch from '2026-07-21 15:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818035 -2.649302)'), GeomFromEWKT('SRID=4674;POINT (-39.818076 -2.649247)'))) / (select extract(epoch from '2026-07-21 15:34:18'::timestamp) - extract(epoch from '2026-07-21 15:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818116 -2.649193)', '2026-07-21 15:34:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818076 -2.649247)'), GeomFromEWKT('SRID=4674;POINT (-39.818116 -2.649193)'))) / (select extract(epoch from '2026-07-21 15:34:28'::timestamp) - extract(epoch from '2026-07-21 15:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818076 -2.649247)'), GeomFromEWKT('SRID=4674;POINT (-39.818116 -2.649193)'))) / (select extract(epoch from '2026-07-21 15:34:28'::timestamp) - extract(epoch from '2026-07-21 15:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81814 -2.649169)', '2026-07-21 15:34:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818116 -2.649193)'), GeomFromEWKT('SRID=4674;POINT (-39.81814 -2.649169)'))) / (select extract(epoch from '2026-07-21 15:34:34'::timestamp) - extract(epoch from '2026-07-21 15:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818116 -2.649193)'), GeomFromEWKT('SRID=4674;POINT (-39.81814 -2.649169)'))) / (select extract(epoch from '2026-07-21 15:34:34'::timestamp) - extract(epoch from '2026-07-21 15:34: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'), 47870, 'SRID=4674;POINT (-39.818146 -2.649149)', '2026-07-21 15:34:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81814 -2.649169)'), GeomFromEWKT('SRID=4674;POINT (-39.818146 -2.649149)'))) / (select extract(epoch from '2026-07-21 15:34:40'::timestamp) - extract(epoch from '2026-07-21 15:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81814 -2.649169)'), GeomFromEWKT('SRID=4674;POINT (-39.818146 -2.649149)'))) / (select extract(epoch from '2026-07-21 15:34:40'::timestamp) - extract(epoch from '2026-07-21 15:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818165 -2.649119)', '2026-07-21 15:34:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818146 -2.649149)'), GeomFromEWKT('SRID=4674;POINT (-39.818165 -2.649119)'))) / (select extract(epoch from '2026-07-21 15:34:46'::timestamp) - extract(epoch from '2026-07-21 15:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818146 -2.649149)'), GeomFromEWKT('SRID=4674;POINT (-39.818165 -2.649119)'))) / (select extract(epoch from '2026-07-21 15:34:46'::timestamp) - extract(epoch from '2026-07-21 15:34: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'), 47870, 'SRID=4674;POINT (-39.818212 -2.649067)', '2026-07-21 15:34:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818165 -2.649119)'), GeomFromEWKT('SRID=4674;POINT (-39.818212 -2.649067)'))) / (select extract(epoch from '2026-07-21 15:34:56'::timestamp) - extract(epoch from '2026-07-21 15:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818165 -2.649119)'), GeomFromEWKT('SRID=4674;POINT (-39.818212 -2.649067)'))) / (select extract(epoch from '2026-07-21 15:34:56'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.81826 -2.649038)', '2026-07-21 15:35:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818212 -2.649067)'), GeomFromEWKT('SRID=4674;POINT (-39.81826 -2.649038)'))) / (select extract(epoch from '2026-07-21 15:35:03'::timestamp) - extract(epoch from '2026-07-21 15:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818212 -2.649067)'), GeomFromEWKT('SRID=4674;POINT (-39.81826 -2.649038)'))) / (select extract(epoch from '2026-07-21 15:35:03'::timestamp) - extract(epoch from '2026-07-21 15:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818307 -2.649014)', '2026-07-21 15:35:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81826 -2.649038)'), GeomFromEWKT('SRID=4674;POINT (-39.818307 -2.649014)'))) / (select extract(epoch from '2026-07-21 15:35:09'::timestamp) - extract(epoch from '2026-07-21 15:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81826 -2.649038)'), GeomFromEWKT('SRID=4674;POINT (-39.818307 -2.649014)'))) / (select extract(epoch from '2026-07-21 15:35:09'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.818328 -2.648996)', '2026-07-21 15:35:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818307 -2.649014)'), GeomFromEWKT('SRID=4674;POINT (-39.818328 -2.648996)'))) / (select extract(epoch from '2026-07-21 15:35:12'::timestamp) - extract(epoch from '2026-07-21 15:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818307 -2.649014)'), GeomFromEWKT('SRID=4674;POINT (-39.818328 -2.648996)'))) / (select extract(epoch from '2026-07-21 15:35:12'::timestamp) - extract(epoch from '2026-07-21 15:35: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'), 47870, 'SRID=4674;POINT (-39.818346 -2.648989)', '2026-07-21 15:35:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818328 -2.648996)'), GeomFromEWKT('SRID=4674;POINT (-39.818346 -2.648989)'))) / (select extract(epoch from '2026-07-21 15:35:14'::timestamp) - extract(epoch from '2026-07-21 15:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818328 -2.648996)'), GeomFromEWKT('SRID=4674;POINT (-39.818346 -2.648989)'))) / (select extract(epoch from '2026-07-21 15:35:14'::timestamp) - extract(epoch from '2026-07-21 15:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818397 -2.648968)', '2026-07-21 15:35:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818346 -2.648989)'), GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.648968)'))) / (select extract(epoch from '2026-07-21 15:35:21'::timestamp) - extract(epoch from '2026-07-21 15:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818346 -2.648989)'), GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.648968)'))) / (select extract(epoch from '2026-07-21 15:35:21'::timestamp) - extract(epoch from '2026-07-21 15:35:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818418 -2.648969)', '2026-07-21 15:35:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.648968)'), GeomFromEWKT('SRID=4674;POINT (-39.818418 -2.648969)'))) / (select extract(epoch from '2026-07-21 15:35:26'::timestamp) - extract(epoch from '2026-07-21 15:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.648968)'), GeomFromEWKT('SRID=4674;POINT (-39.818418 -2.648969)'))) / (select extract(epoch from '2026-07-21 15:35:26'::timestamp) - extract(epoch from '2026-07-21 15:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818426 -2.648969)', '2026-07-21 15:35:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818418 -2.648969)'), GeomFromEWKT('SRID=4674;POINT (-39.818426 -2.648969)'))) / (select extract(epoch from '2026-07-21 15:35:39'::timestamp) - extract(epoch from '2026-07-21 15:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818418 -2.648969)'), GeomFromEWKT('SRID=4674;POINT (-39.818426 -2.648969)'))) / (select extract(epoch from '2026-07-21 15:35:39'::timestamp) - extract(epoch from '2026-07-21 15:35: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'), 47870, 'SRID=4674;POINT (-39.818425 -2.649002)', '2026-07-21 15:36:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818426 -2.648969)'), GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649002)'))) / (select extract(epoch from '2026-07-21 15:36:03'::timestamp) - extract(epoch from '2026-07-21 15:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818426 -2.648969)'), GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649002)'))) / (select extract(epoch from '2026-07-21 15:36:03'::timestamp) - extract(epoch from '2026-07-21 15:35: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'), 47870, 'SRID=4674;POINT (-39.818414 -2.649011)', '2026-07-21 15:36:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649002)'), GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649011)'))) / (select extract(epoch from '2026-07-21 15:36:05'::timestamp) - extract(epoch from '2026-07-21 15:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649002)'), GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649011)'))) / (select extract(epoch from '2026-07-21 15:36:05'::timestamp) - extract(epoch from '2026-07-21 15:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818398 -2.649018)', '2026-07-21 15:36:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649011)'), GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649018)'))) / (select extract(epoch from '2026-07-21 15:36:07'::timestamp) - extract(epoch from '2026-07-21 15:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649011)'), GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649018)'))) / (select extract(epoch from '2026-07-21 15:36:07'::timestamp) - extract(epoch from '2026-07-21 15:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818372 -2.649032)', '2026-07-21 15:36:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649018)'), GeomFromEWKT('SRID=4674;POINT (-39.818372 -2.649032)'))) / (select extract(epoch from '2026-07-21 15:36:14'::timestamp) - extract(epoch from '2026-07-21 15:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649018)'), GeomFromEWKT('SRID=4674;POINT (-39.818372 -2.649032)'))) / (select extract(epoch from '2026-07-21 15:36:14'::timestamp) - extract(epoch from '2026-07-21 15:36: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'), 47870, 'SRID=4674;POINT (-39.818354 -2.649041)', '2026-07-21 15:36:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818372 -2.649032)'), GeomFromEWKT('SRID=4674;POINT (-39.818354 -2.649041)'))) / (select extract(epoch from '2026-07-21 15:36:18'::timestamp) - extract(epoch from '2026-07-21 15:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818372 -2.649032)'), GeomFromEWKT('SRID=4674;POINT (-39.818354 -2.649041)'))) / (select extract(epoch from '2026-07-21 15:36:18'::timestamp) - extract(epoch from '2026-07-21 15:36:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818344 -2.649052)', '2026-07-21 15:36:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818354 -2.649041)'), GeomFromEWKT('SRID=4674;POINT (-39.818344 -2.649052)'))) / (select extract(epoch from '2026-07-21 15:36:24'::timestamp) - extract(epoch from '2026-07-21 15:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818354 -2.649041)'), GeomFromEWKT('SRID=4674;POINT (-39.818344 -2.649052)'))) / (select extract(epoch from '2026-07-21 15:36:24'::timestamp) - extract(epoch from '2026-07-21 15:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818328 -2.649056)', '2026-07-21 15:36:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818344 -2.649052)'), GeomFromEWKT('SRID=4674;POINT (-39.818328 -2.649056)'))) / (select extract(epoch from '2026-07-21 15:36:31'::timestamp) - extract(epoch from '2026-07-21 15:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818344 -2.649052)'), GeomFromEWKT('SRID=4674;POINT (-39.818328 -2.649056)'))) / (select extract(epoch from '2026-07-21 15:36:31'::timestamp) - extract(epoch from '2026-07-21 15:36: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'), 47870, 'SRID=4674;POINT (-39.818339 -2.649056)', '2026-07-21 15:37:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818328 -2.649056)'), GeomFromEWKT('SRID=4674;POINT (-39.818339 -2.649056)'))) / (select extract(epoch from '2026-07-21 15:37:07'::timestamp) - extract(epoch from '2026-07-21 15:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818328 -2.649056)'), GeomFromEWKT('SRID=4674;POINT (-39.818339 -2.649056)'))) / (select extract(epoch from '2026-07-21 15:37:07'::timestamp) - extract(epoch from '2026-07-21 15:36: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'), 47870, 'SRID=4674;POINT (-39.818348 -2.649071)', '2026-07-21 15:37:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818339 -2.649056)'), GeomFromEWKT('SRID=4674;POINT (-39.818348 -2.649071)'))) / (select extract(epoch from '2026-07-21 15:37:49'::timestamp) - extract(epoch from '2026-07-21 15:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818339 -2.649056)'), GeomFromEWKT('SRID=4674;POINT (-39.818348 -2.649071)'))) / (select extract(epoch from '2026-07-21 15:37:49'::timestamp) - extract(epoch from '2026-07-21 15:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818345 -2.649069)', '2026-07-21 15:38:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818348 -2.649071)'), GeomFromEWKT('SRID=4674;POINT (-39.818345 -2.649069)'))) / (select extract(epoch from '2026-07-21 15:38:06'::timestamp) - extract(epoch from '2026-07-21 15:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818348 -2.649071)'), GeomFromEWKT('SRID=4674;POINT (-39.818345 -2.649069)'))) / (select extract(epoch from '2026-07-21 15:38:06'::timestamp) - extract(epoch from '2026-07-21 15:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818337 -2.649056)', '2026-07-21 15:38:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818345 -2.649069)'), GeomFromEWKT('SRID=4674;POINT (-39.818337 -2.649056)'))) / (select extract(epoch from '2026-07-21 15:38:19'::timestamp) - extract(epoch from '2026-07-21 15:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818345 -2.649069)'), GeomFromEWKT('SRID=4674;POINT (-39.818337 -2.649056)'))) / (select extract(epoch from '2026-07-21 15:38:19'::timestamp) - extract(epoch from '2026-07-21 15:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818348 -2.649057)', '2026-07-21 15:38:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818337 -2.649056)'), GeomFromEWKT('SRID=4674;POINT (-39.818348 -2.649057)'))) / (select extract(epoch from '2026-07-21 15:38:37'::timestamp) - extract(epoch from '2026-07-21 15:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818337 -2.649056)'), GeomFromEWKT('SRID=4674;POINT (-39.818348 -2.649057)'))) / (select extract(epoch from '2026-07-21 15:38:37'::timestamp) - extract(epoch from '2026-07-21 15:38: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'), 47870, 'SRID=4674;POINT (-39.818332 -2.649036)', '2026-07-21 15:40:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818348 -2.649057)'), GeomFromEWKT('SRID=4674;POINT (-39.818332 -2.649036)'))) / (select extract(epoch from '2026-07-21 15:40:56'::timestamp) - extract(epoch from '2026-07-21 15:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818348 -2.649057)'), GeomFromEWKT('SRID=4674;POINT (-39.818332 -2.649036)'))) / (select extract(epoch from '2026-07-21 15:40:56'::timestamp) - extract(epoch from '2026-07-21 15:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818338 -2.649041)', '2026-07-21 15:41:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818332 -2.649036)'), GeomFromEWKT('SRID=4674;POINT (-39.818338 -2.649041)'))) / (select extract(epoch from '2026-07-21 15:41:15'::timestamp) - extract(epoch from '2026-07-21 15:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818332 -2.649036)'), GeomFromEWKT('SRID=4674;POINT (-39.818338 -2.649041)'))) / (select extract(epoch from '2026-07-21 15:41:15'::timestamp) - extract(epoch from '2026-07-21 15:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818341 -2.649039)', '2026-07-21 15:42:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818338 -2.649041)'), GeomFromEWKT('SRID=4674;POINT (-39.818341 -2.649039)'))) / (select extract(epoch from '2026-07-21 15:42:09'::timestamp) - extract(epoch from '2026-07-21 15:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818338 -2.649041)'), GeomFromEWKT('SRID=4674;POINT (-39.818341 -2.649039)'))) / (select extract(epoch from '2026-07-21 15:42:09'::timestamp) - extract(epoch from '2026-07-21 15:41: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'), 47870, 'SRID=4674;POINT (-39.818343 -2.649052)', '2026-07-21 15:42:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818341 -2.649039)'), GeomFromEWKT('SRID=4674;POINT (-39.818343 -2.649052)'))) / (select extract(epoch from '2026-07-21 15:42:37'::timestamp) - extract(epoch from '2026-07-21 15:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818341 -2.649039)'), GeomFromEWKT('SRID=4674;POINT (-39.818343 -2.649052)'))) / (select extract(epoch from '2026-07-21 15:42:37'::timestamp) - extract(epoch from '2026-07-21 15:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818358 -2.649055)', '2026-07-21 15:43:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818343 -2.649052)'), GeomFromEWKT('SRID=4674;POINT (-39.818358 -2.649055)'))) / (select extract(epoch from '2026-07-21 15:43:15'::timestamp) - extract(epoch from '2026-07-21 15:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818343 -2.649052)'), GeomFromEWKT('SRID=4674;POINT (-39.818358 -2.649055)'))) / (select extract(epoch from '2026-07-21 15:43:15'::timestamp) - extract(epoch from '2026-07-21 15:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818368 -2.649056)', '2026-07-21 15:43:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818358 -2.649055)'), GeomFromEWKT('SRID=4674;POINT (-39.818368 -2.649056)'))) / (select extract(epoch from '2026-07-21 15:43:21'::timestamp) - extract(epoch from '2026-07-21 15:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818358 -2.649055)'), GeomFromEWKT('SRID=4674;POINT (-39.818368 -2.649056)'))) / (select extract(epoch from '2026-07-21 15:43:21'::timestamp) - extract(epoch from '2026-07-21 15:43: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'), 47870, 'SRID=4674;POINT (-39.818372 -2.649098)', '2026-07-21 15:44:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818368 -2.649056)'), GeomFromEWKT('SRID=4674;POINT (-39.818372 -2.649098)'))) / (select extract(epoch from '2026-07-21 15:44:23'::timestamp) - extract(epoch from '2026-07-21 15:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818368 -2.649056)'), GeomFromEWKT('SRID=4674;POINT (-39.818372 -2.649098)'))) / (select extract(epoch from '2026-07-21 15:44:23'::timestamp) - extract(epoch from '2026-07-21 15:43: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'), 47870, 'SRID=4674;POINT (-39.818366 -2.649105)', '2026-07-21 15:46:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818372 -2.649098)'), GeomFromEWKT('SRID=4674;POINT (-39.818366 -2.649105)'))) / (select extract(epoch from '2026-07-21 15:46:24'::timestamp) - extract(epoch from '2026-07-21 15:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818372 -2.649098)'), GeomFromEWKT('SRID=4674;POINT (-39.818366 -2.649105)'))) / (select extract(epoch from '2026-07-21 15:46:24'::timestamp) - extract(epoch from '2026-07-21 15:44: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'), 47870, 'SRID=4674;POINT (-39.818375 -2.649105)', '2026-07-21 15:46:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818366 -2.649105)'), GeomFromEWKT('SRID=4674;POINT (-39.818375 -2.649105)'))) / (select extract(epoch from '2026-07-21 15:46:36'::timestamp) - extract(epoch from '2026-07-21 15:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818366 -2.649105)'), GeomFromEWKT('SRID=4674;POINT (-39.818375 -2.649105)'))) / (select extract(epoch from '2026-07-21 15:46:36'::timestamp) - extract(epoch from '2026-07-21 15:46: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'), 47870, 'SRID=4674;POINT (-39.818376 -2.64911)', '2026-07-21 15:46:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818375 -2.649105)'), GeomFromEWKT('SRID=4674;POINT (-39.818376 -2.64911)'))) / (select extract(epoch from '2026-07-21 15:46:48'::timestamp) - extract(epoch from '2026-07-21 15:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818375 -2.649105)'), GeomFromEWKT('SRID=4674;POINT (-39.818376 -2.64911)'))) / (select extract(epoch from '2026-07-21 15:46:48'::timestamp) - extract(epoch from '2026-07-21 15:46: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'), 47870, 'SRID=4674;POINT (-39.81839 -2.649126)', '2026-07-21 15:47:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818376 -2.64911)'), GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649126)'))) / (select extract(epoch from '2026-07-21 15:47:28'::timestamp) - extract(epoch from '2026-07-21 15:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818376 -2.64911)'), GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649126)'))) / (select extract(epoch from '2026-07-21 15:47:28'::timestamp) - extract(epoch from '2026-07-21 15:46: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'), 47870, 'SRID=4674;POINT (-39.818401 -2.649129)', '2026-07-21 15:48:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649126)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649129)'))) / (select extract(epoch from '2026-07-21 15:48:02'::timestamp) - extract(epoch from '2026-07-21 15:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649126)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649129)'))) / (select extract(epoch from '2026-07-21 15:48:02'::timestamp) - extract(epoch from '2026-07-21 15:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818404 -2.64915)', '2026-07-21 15:50:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649129)'), GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.64915)'))) / (select extract(epoch from '2026-07-21 15:50:03'::timestamp) - extract(epoch from '2026-07-21 15:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649129)'), GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.64915)'))) / (select extract(epoch from '2026-07-21 15:50:03'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.818393 -2.649144)', '2026-07-21 15:50:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.64915)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649144)'))) / (select extract(epoch from '2026-07-21 15:50:24'::timestamp) - extract(epoch from '2026-07-21 15:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.64915)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649144)'))) / (select extract(epoch from '2026-07-21 15:50:24'::timestamp) - extract(epoch from '2026-07-21 15:50: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'), 47870, 'SRID=4674;POINT (-39.818398 -2.649123)', '2026-07-21 15:51:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649123)'))) / (select extract(epoch from '2026-07-21 15:51:00'::timestamp) - extract(epoch from '2026-07-21 15:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649123)'))) / (select extract(epoch from '2026-07-21 15:51:00'::timestamp) - extract(epoch from '2026-07-21 15:50: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'), 47870, 'SRID=4674;POINT (-39.818384 -2.649101)', '2026-07-21 15:51:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649123)'), GeomFromEWKT('SRID=4674;POINT (-39.818384 -2.649101)'))) / (select extract(epoch from '2026-07-21 15:51:21'::timestamp) - extract(epoch from '2026-07-21 15:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649123)'), GeomFromEWKT('SRID=4674;POINT (-39.818384 -2.649101)'))) / (select extract(epoch from '2026-07-21 15:51:21'::timestamp) - extract(epoch from '2026-07-21 15:51: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'), 47870, 'SRID=4674;POINT (-39.818393 -2.649092)', '2026-07-21 15:51:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818384 -2.649101)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649092)'))) / (select extract(epoch from '2026-07-21 15:51:32'::timestamp) - extract(epoch from '2026-07-21 15:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818384 -2.649101)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649092)'))) / (select extract(epoch from '2026-07-21 15:51:32'::timestamp) - extract(epoch from '2026-07-21 15:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818395 -2.649096)', '2026-07-21 15:51:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649092)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649096)'))) / (select extract(epoch from '2026-07-21 15:51:38'::timestamp) - extract(epoch from '2026-07-21 15:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649092)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649096)'))) / (select extract(epoch from '2026-07-21 15:51:38'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.818401 -2.649098)', '2026-07-21 15:51:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649096)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649098)'))) / (select extract(epoch from '2026-07-21 15:51:45'::timestamp) - extract(epoch from '2026-07-21 15:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649096)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649098)'))) / (select extract(epoch from '2026-07-21 15:51:45'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.818397 -2.649098)', '2026-07-21 15:52:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649098)'), GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.649098)'))) / (select extract(epoch from '2026-07-21 15:52:00'::timestamp) - extract(epoch from '2026-07-21 15:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649098)'), GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.649098)'))) / (select extract(epoch from '2026-07-21 15:52:00'::timestamp) - extract(epoch from '2026-07-21 15:51: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'), 47870, 'SRID=4674;POINT (-39.818385 -2.6491)', '2026-07-21 15:52:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.649098)'), GeomFromEWKT('SRID=4674;POINT (-39.818385 -2.6491)'))) / (select extract(epoch from '2026-07-21 15:52:09'::timestamp) - extract(epoch from '2026-07-21 15:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.649098)'), GeomFromEWKT('SRID=4674;POINT (-39.818385 -2.6491)'))) / (select extract(epoch from '2026-07-21 15:52:09'::timestamp) - extract(epoch from '2026-07-21 15:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81839 -2.649104)', '2026-07-21 15:52:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818385 -2.6491)'), GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649104)'))) / (select extract(epoch from '2026-07-21 15:52:16'::timestamp) - extract(epoch from '2026-07-21 15:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818385 -2.6491)'), GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649104)'))) / (select extract(epoch from '2026-07-21 15:52:16'::timestamp) - extract(epoch from '2026-07-21 15:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818387 -2.649102)', '2026-07-21 15:53:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649104)'), GeomFromEWKT('SRID=4674;POINT (-39.818387 -2.649102)'))) / (select extract(epoch from '2026-07-21 15:53:21'::timestamp) - extract(epoch from '2026-07-21 15:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649104)'), GeomFromEWKT('SRID=4674;POINT (-39.818387 -2.649102)'))) / (select extract(epoch from '2026-07-21 15:53:21'::timestamp) - extract(epoch from '2026-07-21 15:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818381 -2.649097)', '2026-07-21 15:53:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818387 -2.649102)'), GeomFromEWKT('SRID=4674;POINT (-39.818381 -2.649097)'))) / (select extract(epoch from '2026-07-21 15:53:30'::timestamp) - extract(epoch from '2026-07-21 15:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818387 -2.649102)'), GeomFromEWKT('SRID=4674;POINT (-39.818381 -2.649097)'))) / (select extract(epoch from '2026-07-21 15:53:30'::timestamp) - extract(epoch from '2026-07-21 15:53: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'), 47870, 'SRID=4674;POINT (-39.818378 -2.649099)', '2026-07-21 15:54:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818381 -2.649097)'), GeomFromEWKT('SRID=4674;POINT (-39.818378 -2.649099)'))) / (select extract(epoch from '2026-07-21 15:54:09'::timestamp) - extract(epoch from '2026-07-21 15:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818381 -2.649097)'), GeomFromEWKT('SRID=4674;POINT (-39.818378 -2.649099)'))) / (select extract(epoch from '2026-07-21 15:54:09'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.81839 -2.649109)', '2026-07-21 15:55:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818378 -2.649099)'), GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649109)'))) / (select extract(epoch from '2026-07-21 15:55:27'::timestamp) - extract(epoch from '2026-07-21 15:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818378 -2.649099)'), GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649109)'))) / (select extract(epoch from '2026-07-21 15:55:27'::timestamp) - extract(epoch from '2026-07-21 15:54: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'), 47870, 'SRID=4674;POINT (-39.818394 -2.649128)', '2026-07-21 15:56:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649109)'), GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649128)'))) / (select extract(epoch from '2026-07-21 15:56:08'::timestamp) - extract(epoch from '2026-07-21 15:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649109)'), GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649128)'))) / (select extract(epoch from '2026-07-21 15:56:08'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.818408 -2.649163)', '2026-07-21 15:57:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649128)'), GeomFromEWKT('SRID=4674;POINT (-39.818408 -2.649163)'))) / (select extract(epoch from '2026-07-21 15:57:32'::timestamp) - extract(epoch from '2026-07-21 15:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649128)'), GeomFromEWKT('SRID=4674;POINT (-39.818408 -2.649163)'))) / (select extract(epoch from '2026-07-21 15:57:32'::timestamp) - extract(epoch from '2026-07-21 15:56: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'), 47870, 'SRID=4674;POINT (-39.818401 -2.649161)', '2026-07-21 15:58:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818408 -2.649163)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649161)'))) / (select extract(epoch from '2026-07-21 15:58:03'::timestamp) - extract(epoch from '2026-07-21 15:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818408 -2.649163)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649161)'))) / (select extract(epoch from '2026-07-21 15:58:03'::timestamp) - extract(epoch from '2026-07-21 15:57: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'), 47870, 'SRID=4674;POINT (-39.8184 -2.649143)', '2026-07-21 15:58:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649161)'), GeomFromEWKT('SRID=4674;POINT (-39.8184 -2.649143)'))) / (select extract(epoch from '2026-07-21 15:58:32'::timestamp) - extract(epoch from '2026-07-21 15:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649161)'), GeomFromEWKT('SRID=4674;POINT (-39.8184 -2.649143)'))) / (select extract(epoch from '2026-07-21 15:58:32'::timestamp) - extract(epoch from '2026-07-21 15:58: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'), 47870, 'SRID=4674;POINT (-39.818389 -2.649149)', '2026-07-21 15:58:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8184 -2.649143)'), GeomFromEWKT('SRID=4674;POINT (-39.818389 -2.649149)'))) / (select extract(epoch from '2026-07-21 15:58:40'::timestamp) - extract(epoch from '2026-07-21 15:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8184 -2.649143)'), GeomFromEWKT('SRID=4674;POINT (-39.818389 -2.649149)'))) / (select extract(epoch from '2026-07-21 15:58:40'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.818404 -2.649144)', '2026-07-21 15:59:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818389 -2.649149)'), GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649144)'))) / (select extract(epoch from '2026-07-21 15:59:02'::timestamp) - extract(epoch from '2026-07-21 15:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818389 -2.649149)'), GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649144)'))) / (select extract(epoch from '2026-07-21 15:59:02'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.818413 -2.649139)', '2026-07-21 15:59:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818413 -2.649139)'))) / (select extract(epoch from '2026-07-21 15:59:07'::timestamp) - extract(epoch from '2026-07-21 15:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818413 -2.649139)'))) / (select extract(epoch from '2026-07-21 15:59:07'::timestamp) - extract(epoch from '2026-07-21 15: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'), 47870, 'SRID=4674;POINT (-39.818421 -2.649151)', '2026-07-21 15:59:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818413 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649151)'))) / (select extract(epoch from '2026-07-21 15:59:23'::timestamp) - extract(epoch from '2026-07-21 15:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818413 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649151)'))) / (select extract(epoch from '2026-07-21 15:59:23'::timestamp) - extract(epoch from '2026-07-21 15:59: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'), 47870, 'SRID=4674;POINT (-39.81842 -2.649159)', '2026-07-21 15:59:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649151)'), GeomFromEWKT('SRID=4674;POINT (-39.81842 -2.649159)'))) / (select extract(epoch from '2026-07-21 15:59:30'::timestamp) - extract(epoch from '2026-07-21 15:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649151)'), GeomFromEWKT('SRID=4674;POINT (-39.81842 -2.649159)'))) / (select extract(epoch from '2026-07-21 15:59:30'::timestamp) - extract(epoch from '2026-07-21 15:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818402 -2.649153)', '2026-07-21 16:00:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81842 -2.649159)'), GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649153)'))) / (select extract(epoch from '2026-07-21 16:00:25'::timestamp) - extract(epoch from '2026-07-21 15:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81842 -2.649159)'), GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649153)'))) / (select extract(epoch from '2026-07-21 16:00:25'::timestamp) - extract(epoch from '2026-07-21 15:59: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'), 47870, 'SRID=4674;POINT (-39.8184 -2.649137)', '2026-07-21 16:01:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649153)'), GeomFromEWKT('SRID=4674;POINT (-39.8184 -2.649137)'))) / (select extract(epoch from '2026-07-21 16:01:29'::timestamp) - extract(epoch from '2026-07-21 16:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649153)'), GeomFromEWKT('SRID=4674;POINT (-39.8184 -2.649137)'))) / (select extract(epoch from '2026-07-21 16:01:29'::timestamp) - extract(epoch from '2026-07-21 16:00: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'), 47870, 'SRID=4674;POINT (-39.818413 -2.649141)', '2026-07-21 16:01:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8184 -2.649137)'), GeomFromEWKT('SRID=4674;POINT (-39.818413 -2.649141)'))) / (select extract(epoch from '2026-07-21 16:01:32'::timestamp) - extract(epoch from '2026-07-21 16:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8184 -2.649137)'), GeomFromEWKT('SRID=4674;POINT (-39.818413 -2.649141)'))) / (select extract(epoch from '2026-07-21 16:01:32'::timestamp) - extract(epoch from '2026-07-21 16:01: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'), 47870, 'SRID=4674;POINT (-39.818403 -2.649139)', '2026-07-21 16:01:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818413 -2.649141)'), GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649139)'))) / (select extract(epoch from '2026-07-21 16:01:40'::timestamp) - extract(epoch from '2026-07-21 16:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818413 -2.649141)'), GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649139)'))) / (select extract(epoch from '2026-07-21 16:01:40'::timestamp) - extract(epoch from '2026-07-21 16:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818401 -2.64913)', '2026-07-21 16:01:59', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.64913)'))) / (select extract(epoch from '2026-07-21 16:01:59'::timestamp) - extract(epoch from '2026-07-21 16:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.64913)'))) / (select extract(epoch from '2026-07-21 16:01:59'::timestamp) - extract(epoch from '2026-07-21 16:01: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'), 47870, 'SRID=4674;POINT (-39.81841 -2.649132)', '2026-07-21 16:02:15', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.64913)'), GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649132)'))) / (select extract(epoch from '2026-07-21 16:02:15'::timestamp) - extract(epoch from '2026-07-21 16:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.64913)'), GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649132)'))) / (select extract(epoch from '2026-07-21 16:02:15'::timestamp) - extract(epoch from '2026-07-21 16:01: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'), 47870, 'SRID=4674;POINT (-39.818419 -2.649139)', '2026-07-21 16:02:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649132)'), GeomFromEWKT('SRID=4674;POINT (-39.818419 -2.649139)'))) / (select extract(epoch from '2026-07-21 16:02:20'::timestamp) - extract(epoch from '2026-07-21 16:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649132)'), GeomFromEWKT('SRID=4674;POINT (-39.818419 -2.649139)'))) / (select extract(epoch from '2026-07-21 16:02:20'::timestamp) - extract(epoch from '2026-07-21 16:02: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'), 47870, 'SRID=4674;POINT (-39.818407 -2.649144)', '2026-07-21 16:02:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818419 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649144)'))) / (select extract(epoch from '2026-07-21 16:02:47'::timestamp) - extract(epoch from '2026-07-21 16:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818419 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649144)'))) / (select extract(epoch from '2026-07-21 16:02:47'::timestamp) - extract(epoch from '2026-07-21 16:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818407 -2.649138)', '2026-07-21 16:02:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649138)'))) / (select extract(epoch from '2026-07-21 16:02:52'::timestamp) - extract(epoch from '2026-07-21 16:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649138)'))) / (select extract(epoch from '2026-07-21 16:02:52'::timestamp) - extract(epoch from '2026-07-21 16:02: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'), 47870, 'SRID=4674;POINT (-39.818425 -2.649165)', '2026-07-21 16:03:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649138)'), GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649165)'))) / (select extract(epoch from '2026-07-21 16:03:20'::timestamp) - extract(epoch from '2026-07-21 16:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649138)'), GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649165)'))) / (select extract(epoch from '2026-07-21 16:03:20'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818423 -2.649176)', '2026-07-21 16:03:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649165)'), GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649176)'))) / (select extract(epoch from '2026-07-21 16:03:49'::timestamp) - extract(epoch from '2026-07-21 16:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649165)'), GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649176)'))) / (select extract(epoch from '2026-07-21 16:03:49'::timestamp) - extract(epoch from '2026-07-21 16:03: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'), 47870, 'SRID=4674;POINT (-39.818416 -2.649176)', '2026-07-21 16:04:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649176)'), GeomFromEWKT('SRID=4674;POINT (-39.818416 -2.649176)'))) / (select extract(epoch from '2026-07-21 16:04:01'::timestamp) - extract(epoch from '2026-07-21 16:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649176)'), GeomFromEWKT('SRID=4674;POINT (-39.818416 -2.649176)'))) / (select extract(epoch from '2026-07-21 16:04:01'::timestamp) - extract(epoch from '2026-07-21 16:03: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'), 47870, 'SRID=4674;POINT (-39.818417 -2.64918)', '2026-07-21 16:04:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818416 -2.649176)'), GeomFromEWKT('SRID=4674;POINT (-39.818417 -2.64918)'))) / (select extract(epoch from '2026-07-21 16:04:03'::timestamp) - extract(epoch from '2026-07-21 16:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818416 -2.649176)'), GeomFromEWKT('SRID=4674;POINT (-39.818417 -2.64918)'))) / (select extract(epoch from '2026-07-21 16:04:03'::timestamp) - extract(epoch from '2026-07-21 16:04: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'), 47870, 'SRID=4674;POINT (-39.818427 -2.649179)', '2026-07-21 16:04:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818417 -2.64918)'), GeomFromEWKT('SRID=4674;POINT (-39.818427 -2.649179)'))) / (select extract(epoch from '2026-07-21 16:04:06'::timestamp) - extract(epoch from '2026-07-21 16:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818417 -2.64918)'), GeomFromEWKT('SRID=4674;POINT (-39.818427 -2.649179)'))) / (select extract(epoch from '2026-07-21 16:04:06'::timestamp) - extract(epoch from '2026-07-21 16:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818428 -2.649175)', '2026-07-21 16:04:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818427 -2.649179)'), GeomFromEWKT('SRID=4674;POINT (-39.818428 -2.649175)'))) / (select extract(epoch from '2026-07-21 16:04:17'::timestamp) - extract(epoch from '2026-07-21 16:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818427 -2.649179)'), GeomFromEWKT('SRID=4674;POINT (-39.818428 -2.649175)'))) / (select extract(epoch from '2026-07-21 16:04:17'::timestamp) - extract(epoch from '2026-07-21 16:04: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'), 47870, 'SRID=4674;POINT (-39.818429 -2.649177)', '2026-07-21 16:04:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818428 -2.649175)'), GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.649177)'))) / (select extract(epoch from '2026-07-21 16:04:50'::timestamp) - extract(epoch from '2026-07-21 16:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818428 -2.649175)'), GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.649177)'))) / (select extract(epoch from '2026-07-21 16:04:50'::timestamp) - extract(epoch from '2026-07-21 16:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818429 -2.64917)', '2026-07-21 16:05:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.649177)'), GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.64917)'))) / (select extract(epoch from '2026-07-21 16:05:43'::timestamp) - extract(epoch from '2026-07-21 16:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.649177)'), GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.64917)'))) / (select extract(epoch from '2026-07-21 16:05:43'::timestamp) - extract(epoch from '2026-07-21 16:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818432 -2.649174)', '2026-07-21 16:05:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.64917)'), GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.649174)'))) / (select extract(epoch from '2026-07-21 16:05:55'::timestamp) - extract(epoch from '2026-07-21 16:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.64917)'), GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.649174)'))) / (select extract(epoch from '2026-07-21 16:05:55'::timestamp) - extract(epoch from '2026-07-21 16:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818419 -2.649137)', '2026-07-21 16:06:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.649174)'), GeomFromEWKT('SRID=4674;POINT (-39.818419 -2.649137)'))) / (select extract(epoch from '2026-07-21 16:06:28'::timestamp) - extract(epoch from '2026-07-21 16:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.649174)'), GeomFromEWKT('SRID=4674;POINT (-39.818419 -2.649137)'))) / (select extract(epoch from '2026-07-21 16:06:28'::timestamp) - extract(epoch from '2026-07-21 16:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818414 -2.649129)', '2026-07-21 16:06:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818419 -2.649137)'), GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649129)'))) / (select extract(epoch from '2026-07-21 16:06:36'::timestamp) - extract(epoch from '2026-07-21 16:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818419 -2.649137)'), GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649129)'))) / (select extract(epoch from '2026-07-21 16:06:36'::timestamp) - extract(epoch from '2026-07-21 16:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818435 -2.649145)', '2026-07-21 16:06:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649129)'), GeomFromEWKT('SRID=4674;POINT (-39.818435 -2.649145)'))) / (select extract(epoch from '2026-07-21 16:06:54'::timestamp) - extract(epoch from '2026-07-21 16:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649129)'), GeomFromEWKT('SRID=4674;POINT (-39.818435 -2.649145)'))) / (select extract(epoch from '2026-07-21 16:06:54'::timestamp) - extract(epoch from '2026-07-21 16:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818433 -2.649136)', '2026-07-21 16:06:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818435 -2.649145)'), GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649136)'))) / (select extract(epoch from '2026-07-21 16:06:55'::timestamp) - extract(epoch from '2026-07-21 16:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818435 -2.649145)'), GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649136)'))) / (select extract(epoch from '2026-07-21 16:06:55'::timestamp) - extract(epoch from '2026-07-21 16:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818423 -2.649121)', '2026-07-21 16:07:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649136)'), GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649121)'))) / (select extract(epoch from '2026-07-21 16:07:01'::timestamp) - extract(epoch from '2026-07-21 16:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649136)'), GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649121)'))) / (select extract(epoch from '2026-07-21 16:07:01'::timestamp) - extract(epoch from '2026-07-21 16:06: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'), 47870, 'SRID=4674;POINT (-39.818414 -2.649132)', '2026-07-21 16:07:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649121)'), GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649132)'))) / (select extract(epoch from '2026-07-21 16:07:08'::timestamp) - extract(epoch from '2026-07-21 16:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649121)'), GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649132)'))) / (select extract(epoch from '2026-07-21 16:07:08'::timestamp) - extract(epoch from '2026-07-21 16:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818417 -2.649128)', '2026-07-21 16:07:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649132)'), GeomFromEWKT('SRID=4674;POINT (-39.818417 -2.649128)'))) / (select extract(epoch from '2026-07-21 16:07:14'::timestamp) - extract(epoch from '2026-07-21 16:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649132)'), GeomFromEWKT('SRID=4674;POINT (-39.818417 -2.649128)'))) / (select extract(epoch from '2026-07-21 16:07:14'::timestamp) - extract(epoch from '2026-07-21 16:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818415 -2.649144)', '2026-07-21 16:07:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818417 -2.649128)'), GeomFromEWKT('SRID=4674;POINT (-39.818415 -2.649144)'))) / (select extract(epoch from '2026-07-21 16:07:24'::timestamp) - extract(epoch from '2026-07-21 16:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818417 -2.649128)'), GeomFromEWKT('SRID=4674;POINT (-39.818415 -2.649144)'))) / (select extract(epoch from '2026-07-21 16:07:24'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818411 -2.64915)', '2026-07-21 16:07:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818415 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818411 -2.64915)'))) / (select extract(epoch from '2026-07-21 16:07:30'::timestamp) - extract(epoch from '2026-07-21 16:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818415 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818411 -2.64915)'))) / (select extract(epoch from '2026-07-21 16:07:30'::timestamp) - extract(epoch from '2026-07-21 16:07: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'), 47870, 'SRID=4674;POINT (-39.81842 -2.649155)', '2026-07-21 16:07:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818411 -2.64915)'), GeomFromEWKT('SRID=4674;POINT (-39.81842 -2.649155)'))) / (select extract(epoch from '2026-07-21 16:07:34'::timestamp) - extract(epoch from '2026-07-21 16:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818411 -2.64915)'), GeomFromEWKT('SRID=4674;POINT (-39.81842 -2.649155)'))) / (select extract(epoch from '2026-07-21 16:07:34'::timestamp) - extract(epoch from '2026-07-21 16:07: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'), 47870, 'SRID=4674;POINT (-39.818414 -2.649154)', '2026-07-21 16:07:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81842 -2.649155)'), GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649154)'))) / (select extract(epoch from '2026-07-21 16:07:37'::timestamp) - extract(epoch from '2026-07-21 16:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81842 -2.649155)'), GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649154)'))) / (select extract(epoch from '2026-07-21 16:07:37'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818397 -2.649128)', '2026-07-21 16:07:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649154)'), GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.649128)'))) / (select extract(epoch from '2026-07-21 16:07:51'::timestamp) - extract(epoch from '2026-07-21 16:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818414 -2.649154)'), GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.649128)'))) / (select extract(epoch from '2026-07-21 16:07:51'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818386 -2.649159)', '2026-07-21 16:08:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.649128)'), GeomFromEWKT('SRID=4674;POINT (-39.818386 -2.649159)'))) / (select extract(epoch from '2026-07-21 16:08:49'::timestamp) - extract(epoch from '2026-07-21 16:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818397 -2.649128)'), GeomFromEWKT('SRID=4674;POINT (-39.818386 -2.649159)'))) / (select extract(epoch from '2026-07-21 16:08:49'::timestamp) - extract(epoch from '2026-07-21 16:07:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818393 -2.649154)', '2026-07-21 16:09:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818386 -2.649159)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649154)'))) / (select extract(epoch from '2026-07-21 16:09:04'::timestamp) - extract(epoch from '2026-07-21 16:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818386 -2.649159)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649154)'))) / (select extract(epoch from '2026-07-21 16:09:04'::timestamp) - extract(epoch from '2026-07-21 16:08: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'), 47870, 'SRID=4674;POINT (-39.818394 -2.649149)', '2026-07-21 16:09:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649154)'), GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649149)'))) / (select extract(epoch from '2026-07-21 16:09:10'::timestamp) - extract(epoch from '2026-07-21 16:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649154)'), GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649149)'))) / (select extract(epoch from '2026-07-21 16:09:10'::timestamp) - extract(epoch from '2026-07-21 16:09: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'), 47870, 'SRID=4674;POINT (-39.818395 -2.649141)', '2026-07-21 16:09:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649149)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649141)'))) / (select extract(epoch from '2026-07-21 16:09:16'::timestamp) - extract(epoch from '2026-07-21 16:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649149)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649141)'))) / (select extract(epoch from '2026-07-21 16:09:16'::timestamp) - extract(epoch from '2026-07-21 16:09: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'), 47870, 'SRID=4674;POINT (-39.818402 -2.649137)', '2026-07-21 16:09:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649141)'), GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649137)'))) / (select extract(epoch from '2026-07-21 16:09:54'::timestamp) - extract(epoch from '2026-07-21 16:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649141)'), GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649137)'))) / (select extract(epoch from '2026-07-21 16:09:54'::timestamp) - extract(epoch from '2026-07-21 16:09: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'), 47870, 'SRID=4674;POINT (-39.818401 -2.649145)', '2026-07-21 16:10:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649137)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649145)'))) / (select extract(epoch from '2026-07-21 16:10:19'::timestamp) - extract(epoch from '2026-07-21 16:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649137)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649145)'))) / (select extract(epoch from '2026-07-21 16:10:19'::timestamp) - extract(epoch from '2026-07-21 16:09: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'), 47870, 'SRID=4674;POINT (-39.81841 -2.649161)', '2026-07-21 16:10:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649145)'), GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649161)'))) / (select extract(epoch from '2026-07-21 16:10:31'::timestamp) - extract(epoch from '2026-07-21 16:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649145)'), GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649161)'))) / (select extract(epoch from '2026-07-21 16:10:31'::timestamp) - extract(epoch from '2026-07-21 16:10: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'), 47870, 'SRID=4674;POINT (-39.81841 -2.649162)', '2026-07-21 16:10:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649161)'), GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649162)'))) / (select extract(epoch from '2026-07-21 16:10:33'::timestamp) - extract(epoch from '2026-07-21 16:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649161)'), GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649162)'))) / (select extract(epoch from '2026-07-21 16:10:33'::timestamp) - extract(epoch from '2026-07-21 16:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818395 -2.649154)', '2026-07-21 16:10:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649162)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649154)'))) / (select extract(epoch from '2026-07-21 16:10:49'::timestamp) - extract(epoch from '2026-07-21 16:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81841 -2.649162)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649154)'))) / (select extract(epoch from '2026-07-21 16:10:49'::timestamp) - extract(epoch from '2026-07-21 16:10: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'), 47870, 'SRID=4674;POINT (-39.818395 -2.649148)', '2026-07-21 16:10:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649154)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649148)'))) / (select extract(epoch from '2026-07-21 16:10:55'::timestamp) - extract(epoch from '2026-07-21 16:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649154)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649148)'))) / (select extract(epoch from '2026-07-21 16:10:55'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818393 -2.64915)', '2026-07-21 16:11:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649148)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.64915)'))) / (select extract(epoch from '2026-07-21 16:11:03'::timestamp) - extract(epoch from '2026-07-21 16:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649148)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.64915)'))) / (select extract(epoch from '2026-07-21 16:11:03'::timestamp) - extract(epoch from '2026-07-21 16:10: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'), 47870, 'SRID=4674;POINT (-39.81839 -2.649134)', '2026-07-21 16:11:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.64915)'), GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649134)'))) / (select extract(epoch from '2026-07-21 16:11:18'::timestamp) - extract(epoch from '2026-07-21 16:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.64915)'), GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649134)'))) / (select extract(epoch from '2026-07-21 16:11:18'::timestamp) - extract(epoch from '2026-07-21 16:11: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'), 47870, 'SRID=4674;POINT (-39.818398 -2.649117)', '2026-07-21 16:11:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649134)'), GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649117)'))) / (select extract(epoch from '2026-07-21 16:11:26'::timestamp) - extract(epoch from '2026-07-21 16:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649134)'), GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649117)'))) / (select extract(epoch from '2026-07-21 16:11:26'::timestamp) - extract(epoch from '2026-07-21 16:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818399 -2.649137)', '2026-07-21 16:11:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649117)'), GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649137)'))) / (select extract(epoch from '2026-07-21 16:11:54'::timestamp) - extract(epoch from '2026-07-21 16:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649117)'), GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649137)'))) / (select extract(epoch from '2026-07-21 16:11:54'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818403 -2.649138)', '2026-07-21 16:12:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649137)'), GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649138)'))) / (select extract(epoch from '2026-07-21 16:12:07'::timestamp) - extract(epoch from '2026-07-21 16:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649137)'), GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649138)'))) / (select extract(epoch from '2026-07-21 16:12:07'::timestamp) - extract(epoch from '2026-07-21 16:11: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'), 47870, 'SRID=4674;POINT (-39.818403 -2.649137)', '2026-07-21 16:12:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649138)'), GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649137)'))) / (select extract(epoch from '2026-07-21 16:12:30'::timestamp) - extract(epoch from '2026-07-21 16:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649138)'), GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649137)'))) / (select extract(epoch from '2026-07-21 16:12:30'::timestamp) - extract(epoch from '2026-07-21 16:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818399 -2.64915)', '2026-07-21 16:12:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649137)'), GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.64915)'))) / (select extract(epoch from '2026-07-21 16:12:49'::timestamp) - extract(epoch from '2026-07-21 16:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649137)'), GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.64915)'))) / (select extract(epoch from '2026-07-21 16:12:49'::timestamp) - extract(epoch from '2026-07-21 16:12: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'), 47870, 'SRID=4674;POINT (-39.818403 -2.649147)', '2026-07-21 16:12:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.64915)'), GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649147)'))) / (select extract(epoch from '2026-07-21 16:12:57'::timestamp) - extract(epoch from '2026-07-21 16:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.64915)'), GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649147)'))) / (select extract(epoch from '2026-07-21 16:12:57'::timestamp) - extract(epoch from '2026-07-21 16:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818399 -2.649155)', '2026-07-21 16:13:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649147)'), GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649155)'))) / (select extract(epoch from '2026-07-21 16:13:01'::timestamp) - extract(epoch from '2026-07-21 16:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649147)'), GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649155)'))) / (select extract(epoch from '2026-07-21 16:13:01'::timestamp) - extract(epoch from '2026-07-21 16:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818398 -2.649157)', '2026-07-21 16:13:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649155)'), GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649157)'))) / (select extract(epoch from '2026-07-21 16:13:04'::timestamp) - extract(epoch from '2026-07-21 16:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649155)'), GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649157)'))) / (select extract(epoch from '2026-07-21 16:13:04'::timestamp) - extract(epoch from '2026-07-21 16:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818406 -2.649159)', '2026-07-21 16:13:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649157)'), GeomFromEWKT('SRID=4674;POINT (-39.818406 -2.649159)'))) / (select extract(epoch from '2026-07-21 16:13:34'::timestamp) - extract(epoch from '2026-07-21 16:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.649157)'), GeomFromEWKT('SRID=4674;POINT (-39.818406 -2.649159)'))) / (select extract(epoch from '2026-07-21 16:13:34'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818409 -2.649159)', '2026-07-21 16:13:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818406 -2.649159)'), GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649159)'))) / (select extract(epoch from '2026-07-21 16:13:42'::timestamp) - extract(epoch from '2026-07-21 16:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818406 -2.649159)'), GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649159)'))) / (select extract(epoch from '2026-07-21 16:13:42'::timestamp) - extract(epoch from '2026-07-21 16:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818409 -2.649162)', '2026-07-21 16:13:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649159)'), GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649162)'))) / (select extract(epoch from '2026-07-21 16:13:51'::timestamp) - extract(epoch from '2026-07-21 16:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649159)'), GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649162)'))) / (select extract(epoch from '2026-07-21 16:13:51'::timestamp) - extract(epoch from '2026-07-21 16:13:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818402 -2.649161)', '2026-07-21 16:14:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649162)'), GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649161)'))) / (select extract(epoch from '2026-07-21 16:14:05'::timestamp) - extract(epoch from '2026-07-21 16:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649162)'), GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649161)'))) / (select extract(epoch from '2026-07-21 16:14:05'::timestamp) - extract(epoch from '2026-07-21 16:13: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'), 47870, 'SRID=4674;POINT (-39.818389 -2.64916)', '2026-07-21 16:14:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649161)'), GeomFromEWKT('SRID=4674;POINT (-39.818389 -2.64916)'))) / (select extract(epoch from '2026-07-21 16:14:13'::timestamp) - extract(epoch from '2026-07-21 16:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818402 -2.649161)'), GeomFromEWKT('SRID=4674;POINT (-39.818389 -2.64916)'))) / (select extract(epoch from '2026-07-21 16:14:13'::timestamp) - extract(epoch from '2026-07-21 16:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81839 -2.649154)', '2026-07-21 16:14:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818389 -2.64916)'), GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649154)'))) / (select extract(epoch from '2026-07-21 16:14:21'::timestamp) - extract(epoch from '2026-07-21 16:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818389 -2.64916)'), GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649154)'))) / (select extract(epoch from '2026-07-21 16:14:21'::timestamp) - extract(epoch from '2026-07-21 16:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818393 -2.649164)', '2026-07-21 16:14:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649154)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649164)'))) / (select extract(epoch from '2026-07-21 16:14:27'::timestamp) - extract(epoch from '2026-07-21 16:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81839 -2.649154)'), GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649164)'))) / (select extract(epoch from '2026-07-21 16:14:27'::timestamp) - extract(epoch from '2026-07-21 16:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818384 -2.649159)', '2026-07-21 16:14:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649164)'), GeomFromEWKT('SRID=4674;POINT (-39.818384 -2.649159)'))) / (select extract(epoch from '2026-07-21 16:14:41'::timestamp) - extract(epoch from '2026-07-21 16:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818393 -2.649164)'), GeomFromEWKT('SRID=4674;POINT (-39.818384 -2.649159)'))) / (select extract(epoch from '2026-07-21 16:14:41'::timestamp) - extract(epoch from '2026-07-21 16:14:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818387 -2.649144)', '2026-07-21 16:14:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818384 -2.649159)'), GeomFromEWKT('SRID=4674;POINT (-39.818387 -2.649144)'))) / (select extract(epoch from '2026-07-21 16:14:51'::timestamp) - extract(epoch from '2026-07-21 16:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818384 -2.649159)'), GeomFromEWKT('SRID=4674;POINT (-39.818387 -2.649144)'))) / (select extract(epoch from '2026-07-21 16:14:51'::timestamp) - extract(epoch from '2026-07-21 16:14: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'), 47870, 'SRID=4674;POINT (-39.818386 -2.64914)', '2026-07-21 16:15:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818387 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818386 -2.64914)'))) / (select extract(epoch from '2026-07-21 16:15:01'::timestamp) - extract(epoch from '2026-07-21 16:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818387 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818386 -2.64914)'))) / (select extract(epoch from '2026-07-21 16:15:01'::timestamp) - extract(epoch from '2026-07-21 16:14: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'), 47870, 'SRID=4674;POINT (-39.818395 -2.649139)', '2026-07-21 16:15:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818386 -2.64914)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649139)'))) / (select extract(epoch from '2026-07-21 16:15:12'::timestamp) - extract(epoch from '2026-07-21 16:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818386 -2.64914)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649139)'))) / (select extract(epoch from '2026-07-21 16:15:12'::timestamp) - extract(epoch from '2026-07-21 16:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818404 -2.649144)', '2026-07-21 16:15:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649144)'))) / (select extract(epoch from '2026-07-21 16:15:39'::timestamp) - extract(epoch from '2026-07-21 16:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649139)'), GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649144)'))) / (select extract(epoch from '2026-07-21 16:15:39'::timestamp) - extract(epoch from '2026-07-21 16:15: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'), 47870, 'SRID=4674;POINT (-39.818403 -2.649143)', '2026-07-21 16:15:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649143)'))) / (select extract(epoch from '2026-07-21 16:15:45'::timestamp) - extract(epoch from '2026-07-21 16:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649144)'), GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649143)'))) / (select extract(epoch from '2026-07-21 16:15:45'::timestamp) - extract(epoch from '2026-07-21 16:15: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'), 47870, 'SRID=4674;POINT (-39.818407 -2.649155)', '2026-07-21 16:15:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649143)'), GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649155)'))) / (select extract(epoch from '2026-07-21 16:15:58'::timestamp) - extract(epoch from '2026-07-21 16:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818403 -2.649143)'), GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649155)'))) / (select extract(epoch from '2026-07-21 16:15:58'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818409 -2.649178)', '2026-07-21 16:16:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649155)'), GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649178)'))) / (select extract(epoch from '2026-07-21 16:16:07'::timestamp) - extract(epoch from '2026-07-21 16:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818407 -2.649155)'), GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649178)'))) / (select extract(epoch from '2026-07-21 16:16:07'::timestamp) - extract(epoch from '2026-07-21 16:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818399 -2.649166)', '2026-07-21 16:16:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649178)'), GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649166)'))) / (select extract(epoch from '2026-07-21 16:16:44'::timestamp) - extract(epoch from '2026-07-21 16:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818409 -2.649178)'), GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649166)'))) / (select extract(epoch from '2026-07-21 16:16:44'::timestamp) - extract(epoch from '2026-07-21 16:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818398 -2.64916)', '2026-07-21 16:16:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649166)'), GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.64916)'))) / (select extract(epoch from '2026-07-21 16:16:49'::timestamp) - extract(epoch from '2026-07-21 16:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818399 -2.649166)'), GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.64916)'))) / (select extract(epoch from '2026-07-21 16:16:49'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818394 -2.649163)', '2026-07-21 16:17:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.64916)'), GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649163)'))) / (select extract(epoch from '2026-07-21 16:17:10'::timestamp) - extract(epoch from '2026-07-21 16:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818398 -2.64916)'), GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649163)'))) / (select extract(epoch from '2026-07-21 16:17:10'::timestamp) - extract(epoch from '2026-07-21 16:16: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'), 47870, 'SRID=4674;POINT (-39.818404 -2.649173)', '2026-07-21 16:17:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649163)'), GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649173)'))) / (select extract(epoch from '2026-07-21 16:17:22'::timestamp) - extract(epoch from '2026-07-21 16:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818394 -2.649163)'), GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649173)'))) / (select extract(epoch from '2026-07-21 16:17:22'::timestamp) - extract(epoch from '2026-07-21 16:17: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'), 47870, 'SRID=4674;POINT (-39.818395 -2.649194)', '2026-07-21 16:17:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649173)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649194)'))) / (select extract(epoch from '2026-07-21 16:17:52'::timestamp) - extract(epoch from '2026-07-21 16:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818404 -2.649173)'), GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649194)'))) / (select extract(epoch from '2026-07-21 16:17:52'::timestamp) - extract(epoch from '2026-07-21 16:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81844 -2.649263)', '2026-07-21 16:19:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649194)'), GeomFromEWKT('SRID=4674;POINT (-39.81844 -2.649263)'))) / (select extract(epoch from '2026-07-21 16:19:50'::timestamp) - extract(epoch from '2026-07-21 16:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818395 -2.649194)'), GeomFromEWKT('SRID=4674;POINT (-39.81844 -2.649263)'))) / (select extract(epoch from '2026-07-21 16:19:50'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818447 -2.649264)', '2026-07-21 16:20:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81844 -2.649263)'), GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649264)'))) / (select extract(epoch from '2026-07-21 16:20:02'::timestamp) - extract(epoch from '2026-07-21 16:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81844 -2.649263)'), GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649264)'))) / (select extract(epoch from '2026-07-21 16:20:02'::timestamp) - extract(epoch from '2026-07-21 16:19: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'), 47870, 'SRID=4674;POINT (-39.818456 -2.649256)', '2026-07-21 16:20:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649264)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649256)'))) / (select extract(epoch from '2026-07-21 16:20:12'::timestamp) - extract(epoch from '2026-07-21 16:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649264)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649256)'))) / (select extract(epoch from '2026-07-21 16:20:12'::timestamp) - extract(epoch from '2026-07-21 16:20: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'), 47870, 'SRID=4674;POINT (-39.818453 -2.649253)', '2026-07-21 16:20:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649256)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649253)'))) / (select extract(epoch from '2026-07-21 16:20:30'::timestamp) - extract(epoch from '2026-07-21 16:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649256)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649253)'))) / (select extract(epoch from '2026-07-21 16:20:30'::timestamp) - extract(epoch from '2026-07-21 16:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81847 -2.649299)', '2026-07-21 16:21:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649253)'), GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649299)'))) / (select extract(epoch from '2026-07-21 16:21:09'::timestamp) - extract(epoch from '2026-07-21 16:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649253)'), GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649299)'))) / (select extract(epoch from '2026-07-21 16:21:09'::timestamp) - extract(epoch from '2026-07-21 16:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818465 -2.649291)', '2026-07-21 16:21:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649299)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649291)'))) / (select extract(epoch from '2026-07-21 16:21:20'::timestamp) - extract(epoch from '2026-07-21 16:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649299)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649291)'))) / (select extract(epoch from '2026-07-21 16:21:20'::timestamp) - extract(epoch from '2026-07-21 16:21: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'), 47870, 'SRID=4674;POINT (-39.818468 -2.649275)', '2026-07-21 16:21:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649291)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649275)'))) / (select extract(epoch from '2026-07-21 16:21:32'::timestamp) - extract(epoch from '2026-07-21 16:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649291)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649275)'))) / (select extract(epoch from '2026-07-21 16:21:32'::timestamp) - extract(epoch from '2026-07-21 16:21: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'), 47870, 'SRID=4674;POINT (-39.818466 -2.649313)', '2026-07-21 16:22:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649275)'), GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649313)'))) / (select extract(epoch from '2026-07-21 16:22:13'::timestamp) - extract(epoch from '2026-07-21 16:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649275)'), GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649313)'))) / (select extract(epoch from '2026-07-21 16:22:13'::timestamp) - extract(epoch from '2026-07-21 16:21: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'), 47870, 'SRID=4674;POINT (-39.818466 -2.649304)', '2026-07-21 16:22:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649313)'), GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649304)'))) / (select extract(epoch from '2026-07-21 16:22:32'::timestamp) - extract(epoch from '2026-07-21 16:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649313)'), GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649304)'))) / (select extract(epoch from '2026-07-21 16:22:32'::timestamp) - extract(epoch from '2026-07-21 16:22: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'), 47870, 'SRID=4674;POINT (-39.818467 -2.649324)', '2026-07-21 16:22:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649304)'), GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649324)'))) / (select extract(epoch from '2026-07-21 16:22:45'::timestamp) - extract(epoch from '2026-07-21 16:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649304)'), GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649324)'))) / (select extract(epoch from '2026-07-21 16:22:45'::timestamp) - extract(epoch from '2026-07-21 16:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818461 -2.649326)', '2026-07-21 16:23:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649324)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649326)'))) / (select extract(epoch from '2026-07-21 16:23:33'::timestamp) - extract(epoch from '2026-07-21 16:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649324)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649326)'))) / (select extract(epoch from '2026-07-21 16:23:33'::timestamp) - extract(epoch from '2026-07-21 16:22: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'), 47870, 'SRID=4674;POINT (-39.818463 -2.649324)', '2026-07-21 16:23:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649326)'), GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649324)'))) / (select extract(epoch from '2026-07-21 16:23:34'::timestamp) - extract(epoch from '2026-07-21 16:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649326)'), GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649324)'))) / (select extract(epoch from '2026-07-21 16:23:34'::timestamp) - extract(epoch from '2026-07-21 16:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818458 -2.649324)', '2026-07-21 16:23:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649324)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649324)'))) / (select extract(epoch from '2026-07-21 16:23:43'::timestamp) - extract(epoch from '2026-07-21 16:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649324)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649324)'))) / (select extract(epoch from '2026-07-21 16:23:43'::timestamp) - extract(epoch from '2026-07-21 16:23: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'), 47870, 'SRID=4674;POINT (-39.818461 -2.649333)', '2026-07-21 16:23:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649324)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649333)'))) / (select extract(epoch from '2026-07-21 16:23:53'::timestamp) - extract(epoch from '2026-07-21 16:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649324)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649333)'))) / (select extract(epoch from '2026-07-21 16:23:53'::timestamp) - extract(epoch from '2026-07-21 16:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818453 -2.649315)', '2026-07-21 16:24:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649333)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649315)'))) / (select extract(epoch from '2026-07-21 16:24:14'::timestamp) - extract(epoch from '2026-07-21 16:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649333)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649315)'))) / (select extract(epoch from '2026-07-21 16:24:14'::timestamp) - extract(epoch from '2026-07-21 16:23: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'), 47870, 'SRID=4674;POINT (-39.818452 -2.649305)', '2026-07-21 16:24:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649315)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649305)'))) / (select extract(epoch from '2026-07-21 16:24:23'::timestamp) - extract(epoch from '2026-07-21 16:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649315)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649305)'))) / (select extract(epoch from '2026-07-21 16:24:23'::timestamp) - extract(epoch from '2026-07-21 16:24: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'), 47870, 'SRID=4674;POINT (-39.818468 -2.649306)', '2026-07-21 16:24:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649305)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649306)'))) / (select extract(epoch from '2026-07-21 16:24:29'::timestamp) - extract(epoch from '2026-07-21 16:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649305)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649306)'))) / (select extract(epoch from '2026-07-21 16:24:29'::timestamp) - extract(epoch from '2026-07-21 16:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818458 -2.649306)', '2026-07-21 16:25:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649306)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649306)'))) / (select extract(epoch from '2026-07-21 16:25:06'::timestamp) - extract(epoch from '2026-07-21 16:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649306)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649306)'))) / (select extract(epoch from '2026-07-21 16:25:06'::timestamp) - extract(epoch from '2026-07-21 16:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818446 -2.649309)', '2026-07-21 16:25:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649306)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649309)'))) / (select extract(epoch from '2026-07-21 16:25:12'::timestamp) - extract(epoch from '2026-07-21 16:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649306)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649309)'))) / (select extract(epoch from '2026-07-21 16:25:12'::timestamp) - extract(epoch from '2026-07-21 16:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818453 -2.649301)', '2026-07-21 16:25:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649309)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649301)'))) / (select extract(epoch from '2026-07-21 16:25:19'::timestamp) - extract(epoch from '2026-07-21 16:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649309)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649301)'))) / (select extract(epoch from '2026-07-21 16:25:19'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47870, 'SRID=4674;POINT (-39.818458 -2.649308)', '2026-07-21 16:25:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649301)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649308)'))) / (select extract(epoch from '2026-07-21 16:25:28'::timestamp) - extract(epoch from '2026-07-21 16:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649301)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649308)'))) / (select extract(epoch from '2026-07-21 16:25:28'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47870, 'SRID=4674;POINT (-39.81846 -2.649312)', '2026-07-21 16:25:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649308)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649312)'))) / (select extract(epoch from '2026-07-21 16:25:38'::timestamp) - extract(epoch from '2026-07-21 16:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649308)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649312)'))) / (select extract(epoch from '2026-07-21 16:25:38'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47870, 'SRID=4674;POINT (-39.818457 -2.649309)', '2026-07-21 16:25:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649312)'), GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649309)'))) / (select extract(epoch from '2026-07-21 16:25:43'::timestamp) - extract(epoch from '2026-07-21 16:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649312)'), GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649309)'))) / (select extract(epoch from '2026-07-21 16:25:43'::timestamp) - extract(epoch from '2026-07-21 16:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818474 -2.649315)', '2026-07-21 16:26:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649309)'), GeomFromEWKT('SRID=4674;POINT (-39.818474 -2.649315)'))) / (select extract(epoch from '2026-07-21 16:26:50'::timestamp) - extract(epoch from '2026-07-21 16:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649309)'), GeomFromEWKT('SRID=4674;POINT (-39.818474 -2.649315)'))) / (select extract(epoch from '2026-07-21 16:26:50'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47870, 'SRID=4674;POINT (-39.818462 -2.649319)', '2026-07-21 16:26:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818474 -2.649315)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649319)'))) / (select extract(epoch from '2026-07-21 16:26:53'::timestamp) - extract(epoch from '2026-07-21 16:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818474 -2.649315)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649319)'))) / (select extract(epoch from '2026-07-21 16:26:53'::timestamp) - extract(epoch from '2026-07-21 16:26: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'), 47870, 'SRID=4674;POINT (-39.818451 -2.649321)', '2026-07-21 16:27:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649319)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649321)'))) / (select extract(epoch from '2026-07-21 16:27:01'::timestamp) - extract(epoch from '2026-07-21 16:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649319)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649321)'))) / (select extract(epoch from '2026-07-21 16:27:01'::timestamp) - extract(epoch from '2026-07-21 16:26:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818459 -2.649307)', '2026-07-21 16:27:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649321)'), GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649307)'))) / (select extract(epoch from '2026-07-21 16:27:10'::timestamp) - extract(epoch from '2026-07-21 16:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649321)'), GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649307)'))) / (select extract(epoch from '2026-07-21 16:27:10'::timestamp) - extract(epoch from '2026-07-21 16:27:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818455 -2.649305)', '2026-07-21 16:27:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649307)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649305)'))) / (select extract(epoch from '2026-07-21 16:27:21'::timestamp) - extract(epoch from '2026-07-21 16:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649307)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649305)'))) / (select extract(epoch from '2026-07-21 16:27:21'::timestamp) - extract(epoch from '2026-07-21 16:27: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'), 47870, 'SRID=4674;POINT (-39.81845 -2.649325)', '2026-07-21 16:27:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649305)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649325)'))) / (select extract(epoch from '2026-07-21 16:27:35'::timestamp) - extract(epoch from '2026-07-21 16:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649305)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649325)'))) / (select extract(epoch from '2026-07-21 16:27:35'::timestamp) - extract(epoch from '2026-07-21 16:27: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'), 47870, 'SRID=4674;POINT (-39.818454 -2.649328)', '2026-07-21 16:28:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649325)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649328)'))) / (select extract(epoch from '2026-07-21 16:28:50'::timestamp) - extract(epoch from '2026-07-21 16:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649325)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649328)'))) / (select extract(epoch from '2026-07-21 16:28:50'::timestamp) - extract(epoch from '2026-07-21 16:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81845 -2.649331)', '2026-07-21 16:28:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649328)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649331)'))) / (select extract(epoch from '2026-07-21 16:28:58'::timestamp) - extract(epoch from '2026-07-21 16:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649328)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649331)'))) / (select extract(epoch from '2026-07-21 16:28:58'::timestamp) - extract(epoch from '2026-07-21 16:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818473 -2.649339)', '2026-07-21 16:29:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649331)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649339)'))) / (select extract(epoch from '2026-07-21 16:29:49'::timestamp) - extract(epoch from '2026-07-21 16:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649331)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649339)'))) / (select extract(epoch from '2026-07-21 16:29:49'::timestamp) - extract(epoch from '2026-07-21 16:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818482 -2.649326)', '2026-07-21 16:29:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649339)'), GeomFromEWKT('SRID=4674;POINT (-39.818482 -2.649326)'))) / (select extract(epoch from '2026-07-21 16:29:59'::timestamp) - extract(epoch from '2026-07-21 16:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649339)'), GeomFromEWKT('SRID=4674;POINT (-39.818482 -2.649326)'))) / (select extract(epoch from '2026-07-21 16:29:59'::timestamp) - extract(epoch from '2026-07-21 16:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818471 -2.649316)', '2026-07-21 16:30:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818482 -2.649326)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649316)'))) / (select extract(epoch from '2026-07-21 16:30:27'::timestamp) - extract(epoch from '2026-07-21 16:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818482 -2.649326)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649316)'))) / (select extract(epoch from '2026-07-21 16:30:27'::timestamp) - extract(epoch from '2026-07-21 16:29: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'), 47870, 'SRID=4674;POINT (-39.818464 -2.649325)', '2026-07-21 16:30:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649316)'), GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649325)'))) / (select extract(epoch from '2026-07-21 16:30:51'::timestamp) - extract(epoch from '2026-07-21 16:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649316)'), GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649325)'))) / (select extract(epoch from '2026-07-21 16:30:51'::timestamp) - extract(epoch from '2026-07-21 16:30: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'), 47870, 'SRID=4674;POINT (-39.818456 -2.649337)', '2026-07-21 16:31:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649325)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649337)'))) / (select extract(epoch from '2026-07-21 16:31:28'::timestamp) - extract(epoch from '2026-07-21 16:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649325)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649337)'))) / (select extract(epoch from '2026-07-21 16:31:28'::timestamp) - extract(epoch from '2026-07-21 16:30: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'), 47870, 'SRID=4674;POINT (-39.818459 -2.649325)', '2026-07-21 16:31:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649337)'), GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649325)'))) / (select extract(epoch from '2026-07-21 16:31:45'::timestamp) - extract(epoch from '2026-07-21 16:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649337)'), GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649325)'))) / (select extract(epoch from '2026-07-21 16:31:45'::timestamp) - extract(epoch from '2026-07-21 16:31: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'), 47870, 'SRID=4674;POINT (-39.818477 -2.64934)', '2026-07-21 16:32:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649325)'), GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64934)'))) / (select extract(epoch from '2026-07-21 16:32:02'::timestamp) - extract(epoch from '2026-07-21 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649325)'), GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64934)'))) / (select extract(epoch from '2026-07-21 16:32:02'::timestamp) - extract(epoch from '2026-07-21 16:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818477 -2.64935)', '2026-07-21 16:32:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64934)'), GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64935)'))) / (select extract(epoch from '2026-07-21 16:32:07'::timestamp) - extract(epoch from '2026-07-21 16:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64934)'), GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64935)'))) / (select extract(epoch from '2026-07-21 16:32:07'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.81847 -2.649327)', '2026-07-21 16:32:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64935)'), GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649327)'))) / (select extract(epoch from '2026-07-21 16:32:37'::timestamp) - extract(epoch from '2026-07-21 16:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64935)'), GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649327)'))) / (select extract(epoch from '2026-07-21 16:32:37'::timestamp) - extract(epoch from '2026-07-21 16:32: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'), 47870, 'SRID=4674;POINT (-39.818458 -2.649332)', '2026-07-21 16:32:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649327)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649332)'))) / (select extract(epoch from '2026-07-21 16:32:56'::timestamp) - extract(epoch from '2026-07-21 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649327)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649332)'))) / (select extract(epoch from '2026-07-21 16:32:56'::timestamp) - extract(epoch from '2026-07-21 16:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818461 -2.649337)', '2026-07-21 16:33:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649332)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649337)'))) / (select extract(epoch from '2026-07-21 16:33:09'::timestamp) - extract(epoch from '2026-07-21 16:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649332)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649337)'))) / (select extract(epoch from '2026-07-21 16:33:09'::timestamp) - extract(epoch from '2026-07-21 16:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818456 -2.649318)', '2026-07-21 16:33:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649337)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649318)'))) / (select extract(epoch from '2026-07-21 16:33:26'::timestamp) - extract(epoch from '2026-07-21 16:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649337)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649318)'))) / (select extract(epoch from '2026-07-21 16:33:26'::timestamp) - extract(epoch from '2026-07-21 16:33: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'), 47870, 'SRID=4674;POINT (-39.818465 -2.649317)', '2026-07-21 16:33:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649318)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649317)'))) / (select extract(epoch from '2026-07-21 16:33:58'::timestamp) - extract(epoch from '2026-07-21 16:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649318)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649317)'))) / (select extract(epoch from '2026-07-21 16:33:58'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.81846 -2.649315)', '2026-07-21 16:34:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649317)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649315)'))) / (select extract(epoch from '2026-07-21 16:34:03'::timestamp) - extract(epoch from '2026-07-21 16:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649317)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649315)'))) / (select extract(epoch from '2026-07-21 16:34:03'::timestamp) - extract(epoch from '2026-07-21 16:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818483 -2.649317)', '2026-07-21 16:34:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649315)'), GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649317)'))) / (select extract(epoch from '2026-07-21 16:34:24'::timestamp) - extract(epoch from '2026-07-21 16:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649315)'), GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649317)'))) / (select extract(epoch from '2026-07-21 16:34:24'::timestamp) - extract(epoch from '2026-07-21 16:34: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'), 47870, 'SRID=4674;POINT (-39.818473 -2.649306)', '2026-07-21 16:34:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649317)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649306)'))) / (select extract(epoch from '2026-07-21 16:34:30'::timestamp) - extract(epoch from '2026-07-21 16:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649317)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649306)'))) / (select extract(epoch from '2026-07-21 16:34:30'::timestamp) - extract(epoch from '2026-07-21 16:34: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'), 47870, 'SRID=4674;POINT (-39.818469 -2.649305)', '2026-07-21 16:34:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649306)'), GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649305)'))) / (select extract(epoch from '2026-07-21 16:34:32'::timestamp) - extract(epoch from '2026-07-21 16:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649306)'), GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649305)'))) / (select extract(epoch from '2026-07-21 16:34:32'::timestamp) - extract(epoch from '2026-07-21 16:34:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818465 -2.649296)', '2026-07-21 16:34:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649305)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649296)'))) / (select extract(epoch from '2026-07-21 16:34:54'::timestamp) - extract(epoch from '2026-07-21 16:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649305)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649296)'))) / (select extract(epoch from '2026-07-21 16:34:54'::timestamp) - extract(epoch from '2026-07-21 16:34: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'), 47870, 'SRID=4674;POINT (-39.818468 -2.649312)', '2026-07-21 16:34:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649296)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649312)'))) / (select extract(epoch from '2026-07-21 16:34:59'::timestamp) - extract(epoch from '2026-07-21 16:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649296)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649312)'))) / (select extract(epoch from '2026-07-21 16:34:59'::timestamp) - extract(epoch from '2026-07-21 16:34: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'), 47870, 'SRID=4674;POINT (-39.818469 -2.649313)', '2026-07-21 16:35:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649312)'), GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649313)'))) / (select extract(epoch from '2026-07-21 16:35:05'::timestamp) - extract(epoch from '2026-07-21 16:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649312)'), GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649313)'))) / (select extract(epoch from '2026-07-21 16:35:05'::timestamp) - extract(epoch from '2026-07-21 16:34: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'), 47870, 'SRID=4674;POINT (-39.818456 -2.649291)', '2026-07-21 16:35:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649313)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649291)'))) / (select extract(epoch from '2026-07-21 16:35:18'::timestamp) - extract(epoch from '2026-07-21 16:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649313)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649291)'))) / (select extract(epoch from '2026-07-21 16:35:18'::timestamp) - extract(epoch from '2026-07-21 16:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81844 -2.649246)', '2026-07-21 16:35:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649291)'), GeomFromEWKT('SRID=4674;POINT (-39.81844 -2.649246)'))) / (select extract(epoch from '2026-07-21 16:35:56'::timestamp) - extract(epoch from '2026-07-21 16:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649291)'), GeomFromEWKT('SRID=4674;POINT (-39.81844 -2.649246)'))) / (select extract(epoch from '2026-07-21 16:35:56'::timestamp) - extract(epoch from '2026-07-21 16:35: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'), 47870, 'SRID=4674;POINT (-39.818433 -2.649262)', '2026-07-21 16:36:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81844 -2.649246)'), GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649262)'))) / (select extract(epoch from '2026-07-21 16:36:05'::timestamp) - extract(epoch from '2026-07-21 16:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81844 -2.649246)'), GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649262)'))) / (select extract(epoch from '2026-07-21 16:36:05'::timestamp) - extract(epoch from '2026-07-21 16:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818437 -2.649264)', '2026-07-21 16:36:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649262)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649264)'))) / (select extract(epoch from '2026-07-21 16:36:15'::timestamp) - extract(epoch from '2026-07-21 16:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649262)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649264)'))) / (select extract(epoch from '2026-07-21 16:36:15'::timestamp) - extract(epoch from '2026-07-21 16:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818442 -2.649259)', '2026-07-21 16:36:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649264)'), GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649259)'))) / (select extract(epoch from '2026-07-21 16:36:26'::timestamp) - extract(epoch from '2026-07-21 16:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649264)'), GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649259)'))) / (select extract(epoch from '2026-07-21 16:36:26'::timestamp) - extract(epoch from '2026-07-21 16:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818432 -2.649239)', '2026-07-21 16:37:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649259)'), GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.649239)'))) / (select extract(epoch from '2026-07-21 16:37:10'::timestamp) - extract(epoch from '2026-07-21 16:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649259)'), GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.649239)'))) / (select extract(epoch from '2026-07-21 16:37:10'::timestamp) - extract(epoch from '2026-07-21 16:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818431 -2.64923)', '2026-07-21 16:37:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.649239)'), GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.64923)'))) / (select extract(epoch from '2026-07-21 16:37:26'::timestamp) - extract(epoch from '2026-07-21 16:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.649239)'), GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.64923)'))) / (select extract(epoch from '2026-07-21 16:37:26'::timestamp) - extract(epoch from '2026-07-21 16:37: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'), 47870, 'SRID=4674;POINT (-39.818431 -2.649226)', '2026-07-21 16:37:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.64923)'), GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.649226)'))) / (select extract(epoch from '2026-07-21 16:37:36'::timestamp) - extract(epoch from '2026-07-21 16:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.64923)'), GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.649226)'))) / (select extract(epoch from '2026-07-21 16:37:36'::timestamp) - extract(epoch from '2026-07-21 16:37: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'), 47870, 'SRID=4674;POINT (-39.818433 -2.649233)', '2026-07-21 16:37:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.649226)'), GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649233)'))) / (select extract(epoch from '2026-07-21 16:37:58'::timestamp) - extract(epoch from '2026-07-21 16:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818431 -2.649226)'), GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649233)'))) / (select extract(epoch from '2026-07-21 16:37:58'::timestamp) - extract(epoch from '2026-07-21 16:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818424 -2.649246)', '2026-07-21 16:38:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649233)'), GeomFromEWKT('SRID=4674;POINT (-39.818424 -2.649246)'))) / (select extract(epoch from '2026-07-21 16:38:49'::timestamp) - extract(epoch from '2026-07-21 16:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818433 -2.649233)'), GeomFromEWKT('SRID=4674;POINT (-39.818424 -2.649246)'))) / (select extract(epoch from '2026-07-21 16:38:49'::timestamp) - extract(epoch from '2026-07-21 16:37: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'), 47870, 'SRID=4674;POINT (-39.818425 -2.649241)', '2026-07-21 16:38:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818424 -2.649246)'), GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649241)'))) / (select extract(epoch from '2026-07-21 16:38:55'::timestamp) - extract(epoch from '2026-07-21 16:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818424 -2.649246)'), GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649241)'))) / (select extract(epoch from '2026-07-21 16:38:55'::timestamp) - extract(epoch from '2026-07-21 16:38: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'), 47870, 'SRID=4674;POINT (-39.81843 -2.649242)', '2026-07-21 16:39:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649241)'), GeomFromEWKT('SRID=4674;POINT (-39.81843 -2.649242)'))) / (select extract(epoch from '2026-07-21 16:39:02'::timestamp) - extract(epoch from '2026-07-21 16:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818425 -2.649241)'), GeomFromEWKT('SRID=4674;POINT (-39.81843 -2.649242)'))) / (select extract(epoch from '2026-07-21 16:39:02'::timestamp) - extract(epoch from '2026-07-21 16:38: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'), 47870, 'SRID=4674;POINT (-39.818437 -2.649245)', '2026-07-21 16:39:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81843 -2.649242)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649245)'))) / (select extract(epoch from '2026-07-21 16:39:10'::timestamp) - extract(epoch from '2026-07-21 16:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81843 -2.649242)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649245)'))) / (select extract(epoch from '2026-07-21 16:39:10'::timestamp) - extract(epoch from '2026-07-21 16:39: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'), 47870, 'SRID=4674;POINT (-39.818439 -2.649247)', '2026-07-21 16:39:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649245)'), GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649247)'))) / (select extract(epoch from '2026-07-21 16:39:16'::timestamp) - extract(epoch from '2026-07-21 16:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649245)'), GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649247)'))) / (select extract(epoch from '2026-07-21 16:39:16'::timestamp) - extract(epoch from '2026-07-21 16:39: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'), 47870, 'SRID=4674;POINT (-39.818441 -2.649225)', '2026-07-21 16:39:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649247)'), GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649225)'))) / (select extract(epoch from '2026-07-21 16:39:21'::timestamp) - extract(epoch from '2026-07-21 16:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649247)'), GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649225)'))) / (select extract(epoch from '2026-07-21 16:39:21'::timestamp) - extract(epoch from '2026-07-21 16:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818434 -2.649227)', '2026-07-21 16:39:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649225)'), GeomFromEWKT('SRID=4674;POINT (-39.818434 -2.649227)'))) / (select extract(epoch from '2026-07-21 16:39:42'::timestamp) - extract(epoch from '2026-07-21 16:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649225)'), GeomFromEWKT('SRID=4674;POINT (-39.818434 -2.649227)'))) / (select extract(epoch from '2026-07-21 16:39:42'::timestamp) - extract(epoch from '2026-07-21 16:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818423 -2.649229)', '2026-07-21 16:39:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818434 -2.649227)'), GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649229)'))) / (select extract(epoch from '2026-07-21 16:39:48'::timestamp) - extract(epoch from '2026-07-21 16:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818434 -2.649227)'), GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649229)'))) / (select extract(epoch from '2026-07-21 16:39:48'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818421 -2.649221)', '2026-07-21 16:40:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649229)'), GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649221)'))) / (select extract(epoch from '2026-07-21 16:40:19'::timestamp) - extract(epoch from '2026-07-21 16:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818423 -2.649229)'), GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649221)'))) / (select extract(epoch from '2026-07-21 16:40:19'::timestamp) - extract(epoch from '2026-07-21 16:39: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'), 47870, 'SRID=4674;POINT (-39.81845 -2.649255)', '2026-07-21 16:42:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649221)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649255)'))) / (select extract(epoch from '2026-07-21 16:42:05'::timestamp) - extract(epoch from '2026-07-21 16:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649221)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649255)'))) / (select extract(epoch from '2026-07-21 16:42:05'::timestamp) - extract(epoch from '2026-07-21 16:40: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'), 47870, 'SRID=4674;POINT (-39.818458 -2.649265)', '2026-07-21 16:43:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649255)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649265)'))) / (select extract(epoch from '2026-07-21 16:43:06'::timestamp) - extract(epoch from '2026-07-21 16:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649255)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649265)'))) / (select extract(epoch from '2026-07-21 16:43:06'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818464 -2.649274)', '2026-07-21 16:43:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649265)'), GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649274)'))) / (select extract(epoch from '2026-07-21 16:43:12'::timestamp) - extract(epoch from '2026-07-21 16:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649265)'), GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649274)'))) / (select extract(epoch from '2026-07-21 16:43:12'::timestamp) - extract(epoch from '2026-07-21 16:43:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818455 -2.649283)', '2026-07-21 16:43:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649274)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649283)'))) / (select extract(epoch from '2026-07-21 16:43:17'::timestamp) - extract(epoch from '2026-07-21 16:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649274)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649283)'))) / (select extract(epoch from '2026-07-21 16:43:17'::timestamp) - extract(epoch from '2026-07-21 16:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818455 -2.64929)', '2026-07-21 16:43:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.64929)'))) / (select extract(epoch from '2026-07-21 16:43:23'::timestamp) - extract(epoch from '2026-07-21 16:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.64929)'))) / (select extract(epoch from '2026-07-21 16:43:23'::timestamp) - extract(epoch from '2026-07-21 16:43: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'), 47870, 'SRID=4674;POINT (-39.818458 -2.649283)', '2026-07-21 16:44:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.64929)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649283)'))) / (select extract(epoch from '2026-07-21 16:44:11'::timestamp) - extract(epoch from '2026-07-21 16:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.64929)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649283)'))) / (select extract(epoch from '2026-07-21 16:44:11'::timestamp) - extract(epoch from '2026-07-21 16:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818461 -2.649296)', '2026-07-21 16:44:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649296)'))) / (select extract(epoch from '2026-07-21 16:44:29'::timestamp) - extract(epoch from '2026-07-21 16:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649296)'))) / (select extract(epoch from '2026-07-21 16:44:29'::timestamp) - extract(epoch from '2026-07-21 16:44: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'), 47870, 'SRID=4674;POINT (-39.818466 -2.64928)', '2026-07-21 16:44:39', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649296)'), GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.64928)'))) / (select extract(epoch from '2026-07-21 16:44:39'::timestamp) - extract(epoch from '2026-07-21 16:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649296)'), GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.64928)'))) / (select extract(epoch from '2026-07-21 16:44:39'::timestamp) - extract(epoch from '2026-07-21 16:44: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'), 47870, 'SRID=4674;POINT (-39.818458 -2.649292)', '2026-07-21 16:45:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.64928)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649292)'))) / (select extract(epoch from '2026-07-21 16:45:13'::timestamp) - extract(epoch from '2026-07-21 16:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.64928)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649292)'))) / (select extract(epoch from '2026-07-21 16:45:13'::timestamp) - extract(epoch from '2026-07-21 16:44: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'), 47870, 'SRID=4674;POINT (-39.818453 -2.649302)', '2026-07-21 16:45:29', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649292)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649302)'))) / (select extract(epoch from '2026-07-21 16:45:29'::timestamp) - extract(epoch from '2026-07-21 16:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649292)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649302)'))) / (select extract(epoch from '2026-07-21 16:45:29'::timestamp) - extract(epoch from '2026-07-21 16:45: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'), 47870, 'SRID=4674;POINT (-39.818448 -2.649299)', '2026-07-21 16:45:32', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649302)'), GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649299)'))) / (select extract(epoch from '2026-07-21 16:45:32'::timestamp) - extract(epoch from '2026-07-21 16:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649302)'), GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649299)'))) / (select extract(epoch from '2026-07-21 16:45:32'::timestamp) - extract(epoch from '2026-07-21 16:45: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'), 47870, 'SRID=4674;POINT (-39.818458 -2.649303)', '2026-07-21 16:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649299)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649303)'))) / (select extract(epoch from '2026-07-21 16:45:41'::timestamp) - extract(epoch from '2026-07-21 16:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649299)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649303)'))) / (select extract(epoch from '2026-07-21 16:45:41'::timestamp) - extract(epoch from '2026-07-21 16:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818465 -2.64931)', '2026-07-21 16:45:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649303)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.64931)'))) / (select extract(epoch from '2026-07-21 16:45:49'::timestamp) - extract(epoch from '2026-07-21 16:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649303)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.64931)'))) / (select extract(epoch from '2026-07-21 16:45:49'::timestamp) - extract(epoch from '2026-07-21 16:45: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'), 47870, 'SRID=4674;POINT (-39.81846 -2.649323)', '2026-07-21 16:46:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.64931)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649323)'))) / (select extract(epoch from '2026-07-21 16:46:06'::timestamp) - extract(epoch from '2026-07-21 16:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.64931)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649323)'))) / (select extract(epoch from '2026-07-21 16:46:06'::timestamp) - extract(epoch from '2026-07-21 16:45: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'), 47870, 'SRID=4674;POINT (-39.818462 -2.64932)', '2026-07-21 16:46:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649323)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.64932)'))) / (select extract(epoch from '2026-07-21 16:46:33'::timestamp) - extract(epoch from '2026-07-21 16:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649323)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.64932)'))) / (select extract(epoch from '2026-07-21 16:46:33'::timestamp) - extract(epoch from '2026-07-21 16:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818463 -2.649318)', '2026-07-21 16:46:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.64932)'), GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649318)'))) / (select extract(epoch from '2026-07-21 16:46:57'::timestamp) - extract(epoch from '2026-07-21 16:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.64932)'), GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649318)'))) / (select extract(epoch from '2026-07-21 16:46:57'::timestamp) - extract(epoch from '2026-07-21 16:46: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'), 47870, 'SRID=4674;POINT (-39.818465 -2.649314)', '2026-07-21 16:47:04', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649318)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649314)'))) / (select extract(epoch from '2026-07-21 16:47:04'::timestamp) - extract(epoch from '2026-07-21 16:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649318)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649314)'))) / (select extract(epoch from '2026-07-21 16:47:04'::timestamp) - extract(epoch from '2026-07-21 16:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818465 -2.649319)', '2026-07-21 16:47:15', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649314)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649319)'))) / (select extract(epoch from '2026-07-21 16:47:15'::timestamp) - extract(epoch from '2026-07-21 16:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649314)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649319)'))) / (select extract(epoch from '2026-07-21 16:47:15'::timestamp) - extract(epoch from '2026-07-21 16:47: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'), 47870, 'SRID=4674;POINT (-39.818471 -2.649327)', '2026-07-21 16:47:42', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649319)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649327)'))) / (select extract(epoch from '2026-07-21 16:47:42'::timestamp) - extract(epoch from '2026-07-21 16:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649319)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649327)'))) / (select extract(epoch from '2026-07-21 16:47:42'::timestamp) - extract(epoch from '2026-07-21 16:47: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'), 47870, 'SRID=4674;POINT (-39.818473 -2.649325)', '2026-07-21 16:47:48', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649327)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649325)'))) / (select extract(epoch from '2026-07-21 16:47:48'::timestamp) - extract(epoch from '2026-07-21 16:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649327)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649325)'))) / (select extract(epoch from '2026-07-21 16:47:48'::timestamp) - extract(epoch from '2026-07-21 16:47:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818479 -2.649334)', '2026-07-21 16:47:56', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649325)'), GeomFromEWKT('SRID=4674;POINT (-39.818479 -2.649334)'))) / (select extract(epoch from '2026-07-21 16:47:56'::timestamp) - extract(epoch from '2026-07-21 16:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649325)'), GeomFromEWKT('SRID=4674;POINT (-39.818479 -2.649334)'))) / (select extract(epoch from '2026-07-21 16:47:56'::timestamp) - extract(epoch from '2026-07-21 16:47: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'), 47870, 'SRID=4674;POINT (-39.818479 -2.649361)', '2026-07-21 16:48:34', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818479 -2.649334)'), GeomFromEWKT('SRID=4674;POINT (-39.818479 -2.649361)'))) / (select extract(epoch from '2026-07-21 16:48:34'::timestamp) - extract(epoch from '2026-07-21 16:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818479 -2.649334)'), GeomFromEWKT('SRID=4674;POINT (-39.818479 -2.649361)'))) / (select extract(epoch from '2026-07-21 16:48:34'::timestamp) - extract(epoch from '2026-07-21 16:47: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'), 47870, 'SRID=4674;POINT (-39.818477 -2.649379)', '2026-07-21 16:49:32', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818479 -2.649361)'), GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.649379)'))) / (select extract(epoch from '2026-07-21 16:49:32'::timestamp) - extract(epoch from '2026-07-21 16:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818479 -2.649361)'), GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.649379)'))) / (select extract(epoch from '2026-07-21 16:49:32'::timestamp) - extract(epoch from '2026-07-21 16:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818476 -2.649375)', '2026-07-21 16:49:45', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.649379)'), GeomFromEWKT('SRID=4674;POINT (-39.818476 -2.649375)'))) / (select extract(epoch from '2026-07-21 16:49:45'::timestamp) - extract(epoch from '2026-07-21 16:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.649379)'), GeomFromEWKT('SRID=4674;POINT (-39.818476 -2.649375)'))) / (select extract(epoch from '2026-07-21 16:49:45'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818482 -2.649382)', '2026-07-21 16:49:53', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818476 -2.649375)'), GeomFromEWKT('SRID=4674;POINT (-39.818482 -2.649382)'))) / (select extract(epoch from '2026-07-21 16:49:53'::timestamp) - extract(epoch from '2026-07-21 16:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818476 -2.649375)'), GeomFromEWKT('SRID=4674;POINT (-39.818482 -2.649382)'))) / (select extract(epoch from '2026-07-21 16:49:53'::timestamp) - extract(epoch from '2026-07-21 16:49: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'), 47870, 'SRID=4674;POINT (-39.818475 -2.649391)', '2026-07-21 16:50:11', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818482 -2.649382)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649391)'))) / (select extract(epoch from '2026-07-21 16:50:11'::timestamp) - extract(epoch from '2026-07-21 16:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818482 -2.649382)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649391)'))) / (select extract(epoch from '2026-07-21 16:50:11'::timestamp) - extract(epoch from '2026-07-21 16:49: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'), 47870, 'SRID=4674;POINT (-39.818472 -2.6494)', '2026-07-21 16:50:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649391)'), GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.6494)'))) / (select extract(epoch from '2026-07-21 16:50:15'::timestamp) - extract(epoch from '2026-07-21 16:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649391)'), GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.6494)'))) / (select extract(epoch from '2026-07-21 16:50:15'::timestamp) - extract(epoch from '2026-07-21 16:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818469 -2.649404)', '2026-07-21 16:50:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.6494)'), GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649404)'))) / (select extract(epoch from '2026-07-21 16:50:21'::timestamp) - extract(epoch from '2026-07-21 16:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.6494)'), GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649404)'))) / (select extract(epoch from '2026-07-21 16:50:21'::timestamp) - extract(epoch from '2026-07-21 16:50: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'), 47870, 'SRID=4674;POINT (-39.81848 -2.649402)', '2026-07-21 16:51:04', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649404)'), GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649402)'))) / (select extract(epoch from '2026-07-21 16:51:04'::timestamp) - extract(epoch from '2026-07-21 16:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649404)'), GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649402)'))) / (select extract(epoch from '2026-07-21 16:51:04'::timestamp) - extract(epoch from '2026-07-21 16:50: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'), 47870, 'SRID=4674;POINT (-39.818483 -2.649401)', '2026-07-21 16:51:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649402)'), GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649401)'))) / (select extract(epoch from '2026-07-21 16:51:12'::timestamp) - extract(epoch from '2026-07-21 16:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649402)'), GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649401)'))) / (select extract(epoch from '2026-07-21 16:51:12'::timestamp) - extract(epoch from '2026-07-21 16:51: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'), 47870, 'SRID=4674;POINT (-39.818488 -2.64939)', '2026-07-21 16:51:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649401)'), GeomFromEWKT('SRID=4674;POINT (-39.818488 -2.64939)'))) / (select extract(epoch from '2026-07-21 16:51:51'::timestamp) - extract(epoch from '2026-07-21 16:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649401)'), GeomFromEWKT('SRID=4674;POINT (-39.818488 -2.64939)'))) / (select extract(epoch from '2026-07-21 16:51:51'::timestamp) - extract(epoch from '2026-07-21 16:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818486 -2.64939)', '2026-07-21 16:51:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818488 -2.64939)'), GeomFromEWKT('SRID=4674;POINT (-39.818486 -2.64939)'))) / (select extract(epoch from '2026-07-21 16:51:54'::timestamp) - extract(epoch from '2026-07-21 16:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818488 -2.64939)'), GeomFromEWKT('SRID=4674;POINT (-39.818486 -2.64939)'))) / (select extract(epoch from '2026-07-21 16:51:54'::timestamp) - extract(epoch from '2026-07-21 16:51:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818461 -2.649401)', '2026-07-21 16:52:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818486 -2.64939)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649401)'))) / (select extract(epoch from '2026-07-21 16:52:38'::timestamp) - extract(epoch from '2026-07-21 16:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818486 -2.64939)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649401)'))) / (select extract(epoch from '2026-07-21 16:52:38'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818459 -2.649411)', '2026-07-21 16:52:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649401)'), GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649411)'))) / (select extract(epoch from '2026-07-21 16:52:45'::timestamp) - extract(epoch from '2026-07-21 16:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649401)'), GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649411)'))) / (select extract(epoch from '2026-07-21 16:52:45'::timestamp) - extract(epoch from '2026-07-21 16:52:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818475 -2.649413)', '2026-07-21 16:53:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649411)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649413)'))) / (select extract(epoch from '2026-07-21 16:53:11'::timestamp) - extract(epoch from '2026-07-21 16:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649411)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649413)'))) / (select extract(epoch from '2026-07-21 16:53:11'::timestamp) - extract(epoch from '2026-07-21 16:52: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'), 47870, 'SRID=4674;POINT (-39.818475 -2.649412)', '2026-07-21 16:53:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649413)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649412)'))) / (select extract(epoch from '2026-07-21 16:53:18'::timestamp) - extract(epoch from '2026-07-21 16:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649413)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649412)'))) / (select extract(epoch from '2026-07-21 16:53:18'::timestamp) - extract(epoch from '2026-07-21 16:53:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818475 -2.649412)', '2026-07-21 16:53:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649412)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649412)'))) / (select extract(epoch from '2026-07-21 16:53:25'::timestamp) - extract(epoch from '2026-07-21 16:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649412)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649412)'))) / (select extract(epoch from '2026-07-21 16:53:25'::timestamp) - extract(epoch from '2026-07-21 16:53: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'), 47870, 'SRID=4674;POINT (-39.818489 -2.649403)', '2026-07-21 16:54:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649412)'), GeomFromEWKT('SRID=4674;POINT (-39.818489 -2.649403)'))) / (select extract(epoch from '2026-07-21 16:54:49'::timestamp) - extract(epoch from '2026-07-21 16:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649412)'), GeomFromEWKT('SRID=4674;POINT (-39.818489 -2.649403)'))) / (select extract(epoch from '2026-07-21 16:54:49'::timestamp) - extract(epoch from '2026-07-21 16:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818483 -2.649378)', '2026-07-21 16:55:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818489 -2.649403)'), GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649378)'))) / (select extract(epoch from '2026-07-21 16:55:05'::timestamp) - extract(epoch from '2026-07-21 16:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818489 -2.649403)'), GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649378)'))) / (select extract(epoch from '2026-07-21 16:55:05'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818467 -2.649379)', '2026-07-21 16:55:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649378)'), GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649379)'))) / (select extract(epoch from '2026-07-21 16:55:12'::timestamp) - extract(epoch from '2026-07-21 16:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818483 -2.649378)'), GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649379)'))) / (select extract(epoch from '2026-07-21 16:55:12'::timestamp) - extract(epoch from '2026-07-21 16:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818466 -2.649384)', '2026-07-21 16:55:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649379)'), GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649384)'))) / (select extract(epoch from '2026-07-21 16:55:27'::timestamp) - extract(epoch from '2026-07-21 16:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649379)'), GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649384)'))) / (select extract(epoch from '2026-07-21 16:55:27'::timestamp) - extract(epoch from '2026-07-21 16:55: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'), 47870, 'SRID=4674;POINT (-39.818468 -2.649387)', '2026-07-21 16:55:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649384)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649387)'))) / (select extract(epoch from '2026-07-21 16:55:36'::timestamp) - extract(epoch from '2026-07-21 16:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649384)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649387)'))) / (select extract(epoch from '2026-07-21 16:55:36'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47870, 'SRID=4674;POINT (-39.818462 -2.649391)', '2026-07-21 16:55:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649387)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649391)'))) / (select extract(epoch from '2026-07-21 16:55:41'::timestamp) - extract(epoch from '2026-07-21 16:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649387)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649391)'))) / (select extract(epoch from '2026-07-21 16:55:41'::timestamp) - extract(epoch from '2026-07-21 16:55: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'), 47870, 'SRID=4674;POINT (-39.818475 -2.649389)', '2026-07-21 16:55:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649391)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649389)'))) / (select extract(epoch from '2026-07-21 16:55:48'::timestamp) - extract(epoch from '2026-07-21 16:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649391)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649389)'))) / (select extract(epoch from '2026-07-21 16:55:48'::timestamp) - extract(epoch from '2026-07-21 16:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818485 -2.649381)', '2026-07-21 16:55:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649389)'), GeomFromEWKT('SRID=4674;POINT (-39.818485 -2.649381)'))) / (select extract(epoch from '2026-07-21 16:55:53'::timestamp) - extract(epoch from '2026-07-21 16:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649389)'), GeomFromEWKT('SRID=4674;POINT (-39.818485 -2.649381)'))) / (select extract(epoch from '2026-07-21 16:55:53'::timestamp) - extract(epoch from '2026-07-21 16:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818474 -2.649401)', '2026-07-21 16:57:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818485 -2.649381)'), GeomFromEWKT('SRID=4674;POINT (-39.818474 -2.649401)'))) / (select extract(epoch from '2026-07-21 16:57:18'::timestamp) - extract(epoch from '2026-07-21 16:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818485 -2.649381)'), GeomFromEWKT('SRID=4674;POINT (-39.818474 -2.649401)'))) / (select extract(epoch from '2026-07-21 16:57:18'::timestamp) - extract(epoch from '2026-07-21 16:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818477 -2.64939)', '2026-07-21 16:57:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818474 -2.649401)'), GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64939)'))) / (select extract(epoch from '2026-07-21 16:57:47'::timestamp) - extract(epoch from '2026-07-21 16:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818474 -2.649401)'), GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64939)'))) / (select extract(epoch from '2026-07-21 16:57:47'::timestamp) - extract(epoch from '2026-07-21 16:57: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'), 47870, 'SRID=4674;POINT (-39.818473 -2.649392)', '2026-07-21 16:58:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64939)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649392)'))) / (select extract(epoch from '2026-07-21 16:58:00'::timestamp) - extract(epoch from '2026-07-21 16:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818477 -2.64939)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649392)'))) / (select extract(epoch from '2026-07-21 16:58:00'::timestamp) - extract(epoch from '2026-07-21 16:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818465 -2.649383)', '2026-07-21 16:58:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649392)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649383)'))) / (select extract(epoch from '2026-07-21 16:58:30'::timestamp) - extract(epoch from '2026-07-21 16:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649392)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649383)'))) / (select extract(epoch from '2026-07-21 16:58:30'::timestamp) - extract(epoch from '2026-07-21 16:58: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'), 47870, 'SRID=4674;POINT (-39.818461 -2.649393)', '2026-07-21 16:59:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649383)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649393)'))) / (select extract(epoch from '2026-07-21 16:59:00'::timestamp) - extract(epoch from '2026-07-21 16:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649383)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649393)'))) / (select extract(epoch from '2026-07-21 16:59:00'::timestamp) - extract(epoch from '2026-07-21 16:58: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'), 47870, 'SRID=4674;POINT (-39.818463 -2.649393)', '2026-07-21 16:59:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649393)'), GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649393)'))) / (select extract(epoch from '2026-07-21 16:59:31'::timestamp) - extract(epoch from '2026-07-21 16:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649393)'), GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649393)'))) / (select extract(epoch from '2026-07-21 16:59:31'::timestamp) - extract(epoch from '2026-07-21 16:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818468 -2.649391)', '2026-07-21 16:59:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649393)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649391)'))) / (select extract(epoch from '2026-07-21 16:59:44'::timestamp) - extract(epoch from '2026-07-21 16:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818463 -2.649393)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649391)'))) / (select extract(epoch from '2026-07-21 16:59:44'::timestamp) - extract(epoch from '2026-07-21 16:59: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'), 47870, 'SRID=4674;POINT (-39.818455 -2.649389)', '2026-07-21 16:59:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649391)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649389)'))) / (select extract(epoch from '2026-07-21 16:59:55'::timestamp) - extract(epoch from '2026-07-21 16:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649391)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649389)'))) / (select extract(epoch from '2026-07-21 16:59:55'::timestamp) - extract(epoch from '2026-07-21 16:59: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'), 47870, 'SRID=4674;POINT (-39.818451 -2.649377)', '2026-07-21 17:00:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649389)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649377)'))) / (select extract(epoch from '2026-07-21 17:00:02'::timestamp) - extract(epoch from '2026-07-21 16:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649389)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649377)'))) / (select extract(epoch from '2026-07-21 17:00:02'::timestamp) - extract(epoch from '2026-07-21 16:59:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818455 -2.649379)', '2026-07-21 17:00:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649377)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649379)'))) / (select extract(epoch from '2026-07-21 17:00:06'::timestamp) - extract(epoch from '2026-07-21 17:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649377)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649379)'))) / (select extract(epoch from '2026-07-21 17:00:06'::timestamp) - extract(epoch from '2026-07-21 17:00: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'), 47870, 'SRID=4674;POINT (-39.818454 -2.649382)', '2026-07-21 17:00:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649379)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649382)'))) / (select extract(epoch from '2026-07-21 17:00:14'::timestamp) - extract(epoch from '2026-07-21 17:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649379)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649382)'))) / (select extract(epoch from '2026-07-21 17:00:14'::timestamp) - extract(epoch from '2026-07-21 17:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818456 -2.649368)', '2026-07-21 17:00:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649382)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649368)'))) / (select extract(epoch from '2026-07-21 17:00:45'::timestamp) - extract(epoch from '2026-07-21 17:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649382)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649368)'))) / (select extract(epoch from '2026-07-21 17:00:45'::timestamp) - extract(epoch from '2026-07-21 17:00: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'), 47870, 'SRID=4674;POINT (-39.818453 -2.649357)', '2026-07-21 17:00:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649368)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649357)'))) / (select extract(epoch from '2026-07-21 17:00:47'::timestamp) - extract(epoch from '2026-07-21 17:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649368)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649357)'))) / (select extract(epoch from '2026-07-21 17:00:47'::timestamp) - extract(epoch from '2026-07-21 17:00: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'), 47870, 'SRID=4674;POINT (-39.818451 -2.649363)', '2026-07-21 17:00:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649357)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649363)'))) / (select extract(epoch from '2026-07-21 17:00:49'::timestamp) - extract(epoch from '2026-07-21 17:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649357)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649363)'))) / (select extract(epoch from '2026-07-21 17:00:49'::timestamp) - extract(epoch from '2026-07-21 17:00: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'), 47870, 'SRID=4674;POINT (-39.818453 -2.649365)', '2026-07-21 17:00:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649363)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649365)'))) / (select extract(epoch from '2026-07-21 17:00:56'::timestamp) - extract(epoch from '2026-07-21 17:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649363)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649365)'))) / (select extract(epoch from '2026-07-21 17:00:56'::timestamp) - extract(epoch from '2026-07-21 17:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818461 -2.649399)', '2026-07-21 17:01:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649365)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649399)'))) / (select extract(epoch from '2026-07-21 17:01:26'::timestamp) - extract(epoch from '2026-07-21 17:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649365)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649399)'))) / (select extract(epoch from '2026-07-21 17:01:26'::timestamp) - extract(epoch from '2026-07-21 17:00:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818469 -2.649414)', '2026-07-21 17:02:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649399)'), GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649414)'))) / (select extract(epoch from '2026-07-21 17:02:02'::timestamp) - extract(epoch from '2026-07-21 17:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649399)'), GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649414)'))) / (select extract(epoch from '2026-07-21 17:02:02'::timestamp) - extract(epoch from '2026-07-21 17:01: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'), 47870, 'SRID=4674;POINT (-39.818473 -2.649424)', '2026-07-21 17:02:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649414)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649424)'))) / (select extract(epoch from '2026-07-21 17:02:12'::timestamp) - extract(epoch from '2026-07-21 17:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649414)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649424)'))) / (select extract(epoch from '2026-07-21 17:02:12'::timestamp) - extract(epoch from '2026-07-21 17:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818471 -2.64943)', '2026-07-21 17:02:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649424)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.64943)'))) / (select extract(epoch from '2026-07-21 17:02:25'::timestamp) - extract(epoch from '2026-07-21 17:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649424)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.64943)'))) / (select extract(epoch from '2026-07-21 17:02:25'::timestamp) - extract(epoch from '2026-07-21 17:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818453 -2.649424)', '2026-07-21 17:03:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.64943)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649424)'))) / (select extract(epoch from '2026-07-21 17:03:47'::timestamp) - extract(epoch from '2026-07-21 17:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.64943)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649424)'))) / (select extract(epoch from '2026-07-21 17:03:47'::timestamp) - extract(epoch from '2026-07-21 17:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818457 -2.649421)', '2026-07-21 17:04:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649424)'), GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649421)'))) / (select extract(epoch from '2026-07-21 17:04:05'::timestamp) - extract(epoch from '2026-07-21 17:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649424)'), GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649421)'))) / (select extract(epoch from '2026-07-21 17:04:05'::timestamp) - extract(epoch from '2026-07-21 17:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818467 -2.649415)', '2026-07-21 17:04:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649421)'), GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649415)'))) / (select extract(epoch from '2026-07-21 17:04:20'::timestamp) - extract(epoch from '2026-07-21 17:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649421)'), GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649415)'))) / (select extract(epoch from '2026-07-21 17:04:20'::timestamp) - extract(epoch from '2026-07-21 17:04: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'), 47870, 'SRID=4674;POINT (-39.818471 -2.649427)', '2026-07-21 17:04:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649415)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649427)'))) / (select extract(epoch from '2026-07-21 17:04:41'::timestamp) - extract(epoch from '2026-07-21 17:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818467 -2.649415)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649427)'))) / (select extract(epoch from '2026-07-21 17:04:41'::timestamp) - extract(epoch from '2026-07-21 17:04: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'), 47870, 'SRID=4674;POINT (-39.818469 -2.649441)', '2026-07-21 17:05:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649427)'), GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649441)'))) / (select extract(epoch from '2026-07-21 17:05:03'::timestamp) - extract(epoch from '2026-07-21 17:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649427)'), GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649441)'))) / (select extract(epoch from '2026-07-21 17:05:03'::timestamp) - extract(epoch from '2026-07-21 17:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818475 -2.649436)', '2026-07-21 17:05:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649441)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649436)'))) / (select extract(epoch from '2026-07-21 17:05:21'::timestamp) - extract(epoch from '2026-07-21 17:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818469 -2.649441)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649436)'))) / (select extract(epoch from '2026-07-21 17:05:21'::timestamp) - extract(epoch from '2026-07-21 17:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818486 -2.649434)', '2026-07-21 17:05:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.818486 -2.649434)'))) / (select extract(epoch from '2026-07-21 17:05:40'::timestamp) - extract(epoch from '2026-07-21 17:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.818486 -2.649434)'))) / (select extract(epoch from '2026-07-21 17:05:40'::timestamp) - extract(epoch from '2026-07-21 17:05: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'), 47870, 'SRID=4674;POINT (-39.81848 -2.649443)', '2026-07-21 17:05:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818486 -2.649434)'), GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649443)'))) / (select extract(epoch from '2026-07-21 17:05:58'::timestamp) - extract(epoch from '2026-07-21 17:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818486 -2.649434)'), GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649443)'))) / (select extract(epoch from '2026-07-21 17:05:58'::timestamp) - extract(epoch from '2026-07-21 17:05: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'), 47870, 'SRID=4674;POINT (-39.818485 -2.649439)', '2026-07-21 17:06:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649443)'), GeomFromEWKT('SRID=4674;POINT (-39.818485 -2.649439)'))) / (select extract(epoch from '2026-07-21 17:06:02'::timestamp) - extract(epoch from '2026-07-21 17:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649443)'), GeomFromEWKT('SRID=4674;POINT (-39.818485 -2.649439)'))) / (select extract(epoch from '2026-07-21 17:06:02'::timestamp) - extract(epoch from '2026-07-21 17:05: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'), 47870, 'SRID=4674;POINT (-39.818493 -2.649429)', '2026-07-21 17:06:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818485 -2.649439)'), GeomFromEWKT('SRID=4674;POINT (-39.818493 -2.649429)'))) / (select extract(epoch from '2026-07-21 17:06:12'::timestamp) - extract(epoch from '2026-07-21 17:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818485 -2.649439)'), GeomFromEWKT('SRID=4674;POINT (-39.818493 -2.649429)'))) / (select extract(epoch from '2026-07-21 17:06:12'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47870, 'SRID=4674;POINT (-39.818476 -2.649409)', '2026-07-21 17:06:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818493 -2.649429)'), GeomFromEWKT('SRID=4674;POINT (-39.818476 -2.649409)'))) / (select extract(epoch from '2026-07-21 17:06:53'::timestamp) - extract(epoch from '2026-07-21 17:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818493 -2.649429)'), GeomFromEWKT('SRID=4674;POINT (-39.818476 -2.649409)'))) / (select extract(epoch from '2026-07-21 17:06:53'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47870, 'SRID=4674;POINT (-39.818473 -2.649403)', '2026-07-21 17:07:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818476 -2.649409)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649403)'))) / (select extract(epoch from '2026-07-21 17:07:44'::timestamp) - extract(epoch from '2026-07-21 17:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818476 -2.649409)'), GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649403)'))) / (select extract(epoch from '2026-07-21 17:07:44'::timestamp) - extract(epoch from '2026-07-21 17:06:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818471 -2.649415)', '2026-07-21 17:08:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649403)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649415)'))) / (select extract(epoch from '2026-07-21 17:08:57'::timestamp) - extract(epoch from '2026-07-21 17:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818473 -2.649403)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649415)'))) / (select extract(epoch from '2026-07-21 17:08:57'::timestamp) - extract(epoch from '2026-07-21 17:07: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'), 47870, 'SRID=4674;POINT (-39.818465 -2.649419)', '2026-07-21 17:09:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649415)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649419)'))) / (select extract(epoch from '2026-07-21 17:09:05'::timestamp) - extract(epoch from '2026-07-21 17:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.649415)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649419)'))) / (select extract(epoch from '2026-07-21 17:09:05'::timestamp) - extract(epoch from '2026-07-21 17:08: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'), 47870, 'SRID=4674;POINT (-39.818457 -2.649439)', '2026-07-21 17:09:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649419)'), GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649439)'))) / (select extract(epoch from '2026-07-21 17:09:38'::timestamp) - extract(epoch from '2026-07-21 17:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649419)'), GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649439)'))) / (select extract(epoch from '2026-07-21 17:09:38'::timestamp) - extract(epoch from '2026-07-21 17:09: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'), 47870, 'SRID=4674;POINT (-39.818462 -2.649435)', '2026-07-21 17:09:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649439)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649435)'))) / (select extract(epoch from '2026-07-21 17:09:48'::timestamp) - extract(epoch from '2026-07-21 17:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649439)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649435)'))) / (select extract(epoch from '2026-07-21 17:09:48'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47870, 'SRID=4674;POINT (-39.818464 -2.649436)', '2026-07-21 17:09:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649435)'), GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649436)'))) / (select extract(epoch from '2026-07-21 17:09:54'::timestamp) - extract(epoch from '2026-07-21 17:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649435)'), GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649436)'))) / (select extract(epoch from '2026-07-21 17:09:54'::timestamp) - extract(epoch from '2026-07-21 17:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818466 -2.649444)', '2026-07-21 17:10:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649444)'))) / (select extract(epoch from '2026-07-21 17:10:13'::timestamp) - extract(epoch from '2026-07-21 17:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649444)'))) / (select extract(epoch from '2026-07-21 17:10:13'::timestamp) - extract(epoch from '2026-07-21 17:09: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'), 47870, 'SRID=4674;POINT (-39.818468 -2.649463)', '2026-07-21 17:11:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649444)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649463)'))) / (select extract(epoch from '2026-07-21 17:11:10'::timestamp) - extract(epoch from '2026-07-21 17:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818466 -2.649444)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649463)'))) / (select extract(epoch from '2026-07-21 17:11:10'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47870, 'SRID=4674;POINT (-39.818475 -2.64944)', '2026-07-21 17:12:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649463)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.64944)'))) / (select extract(epoch from '2026-07-21 17:12:21'::timestamp) - extract(epoch from '2026-07-21 17:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649463)'), GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.64944)'))) / (select extract(epoch from '2026-07-21 17:12:21'::timestamp) - extract(epoch from '2026-07-21 17:11: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'), 47870, 'SRID=4674;POINT (-39.81846 -2.649448)', '2026-07-21 17:12:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.64944)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649448)'))) / (select extract(epoch from '2026-07-21 17:12:57'::timestamp) - extract(epoch from '2026-07-21 17:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818475 -2.64944)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649448)'))) / (select extract(epoch from '2026-07-21 17:12:57'::timestamp) - extract(epoch from '2026-07-21 17:12: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'), 47870, 'SRID=4674;POINT (-39.818457 -2.649439)', '2026-07-21 17:13:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649448)'), GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649439)'))) / (select extract(epoch from '2026-07-21 17:13:10'::timestamp) - extract(epoch from '2026-07-21 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649448)'), GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649439)'))) / (select extract(epoch from '2026-07-21 17:13:10'::timestamp) - extract(epoch from '2026-07-21 17:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81848 -2.649438)', '2026-07-21 17:14:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649439)'), GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649438)'))) / (select extract(epoch from '2026-07-21 17:14:59'::timestamp) - extract(epoch from '2026-07-21 17:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649439)'), GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649438)'))) / (select extract(epoch from '2026-07-21 17:14:59'::timestamp) - extract(epoch from '2026-07-21 17:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818472 -2.649436)', '2026-07-21 17:15:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649438)'), GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649436)'))) / (select extract(epoch from '2026-07-21 17:15:05'::timestamp) - extract(epoch from '2026-07-21 17:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81848 -2.649438)'), GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649436)'))) / (select extract(epoch from '2026-07-21 17:15:05'::timestamp) - extract(epoch from '2026-07-21 17:14: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'), 47870, 'SRID=4674;POINT (-39.81847 -2.649426)', '2026-07-21 17:15:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649426)'))) / (select extract(epoch from '2026-07-21 17:15:21'::timestamp) - extract(epoch from '2026-07-21 17:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649436)'), GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649426)'))) / (select extract(epoch from '2026-07-21 17:15:21'::timestamp) - extract(epoch from '2026-07-21 17:15: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'), 47870, 'SRID=4674;POINT (-39.818472 -2.649424)', '2026-07-21 17:16:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649426)'), GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649424)'))) / (select extract(epoch from '2026-07-21 17:16:04'::timestamp) - extract(epoch from '2026-07-21 17:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81847 -2.649426)'), GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649424)'))) / (select extract(epoch from '2026-07-21 17:16:04'::timestamp) - extract(epoch from '2026-07-21 17:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818316 -2.649292)', '2026-07-22 06:23:45', -21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649424)'), GeomFromEWKT('SRID=4674;POINT (-39.818316 -2.649292)'))) / (select extract(epoch from '2026-07-22 06:23:45'::timestamp) - extract(epoch from '2026-07-21 17:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649424)'), GeomFromEWKT('SRID=4674;POINT (-39.818316 -2.649292)'))) / (select extract(epoch from '2026-07-22 06:23:45'::timestamp) - extract(epoch from '2026-07-21 17:16: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'), 47870, 'SRID=4674;POINT (-39.818285 -2.649321)', '2026-07-22 06:23:53', -11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818316 -2.649292)'), GeomFromEWKT('SRID=4674;POINT (-39.818285 -2.649321)'))) / (select extract(epoch from '2026-07-22 06:23:53'::timestamp) - extract(epoch from '2026-07-22 06:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818316 -2.649292)'), GeomFromEWKT('SRID=4674;POINT (-39.818285 -2.649321)'))) / (select extract(epoch from '2026-07-22 06:23:53'::timestamp) - extract(epoch from '2026-07-22 06:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818311 -2.649313)', '2026-07-22 06:24:04', -9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818285 -2.649321)'), GeomFromEWKT('SRID=4674;POINT (-39.818311 -2.649313)'))) / (select extract(epoch from '2026-07-22 06:24:04'::timestamp) - extract(epoch from '2026-07-22 06:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818285 -2.649321)'), GeomFromEWKT('SRID=4674;POINT (-39.818311 -2.649313)'))) / (select extract(epoch from '2026-07-22 06:24:04'::timestamp) - extract(epoch from '2026-07-22 06:23: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'), 47870, 'SRID=4674;POINT (-39.818297 -2.649278)', '2026-07-22 06:24:13', -17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818311 -2.649313)'), GeomFromEWKT('SRID=4674;POINT (-39.818297 -2.649278)'))) / (select extract(epoch from '2026-07-22 06:24:13'::timestamp) - extract(epoch from '2026-07-22 06:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818311 -2.649313)'), GeomFromEWKT('SRID=4674;POINT (-39.818297 -2.649278)'))) / (select extract(epoch from '2026-07-22 06:24:13'::timestamp) - extract(epoch from '2026-07-22 06:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818306 -2.649266)', '2026-07-22 06:24:18', -20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818297 -2.649278)'), GeomFromEWKT('SRID=4674;POINT (-39.818306 -2.649266)'))) / (select extract(epoch from '2026-07-22 06:24:18'::timestamp) - extract(epoch from '2026-07-22 06:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818297 -2.649278)'), GeomFromEWKT('SRID=4674;POINT (-39.818306 -2.649266)'))) / (select extract(epoch from '2026-07-22 06:24:18'::timestamp) - extract(epoch from '2026-07-22 06:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818316 -2.649249)', '2026-07-22 06:24:23', -17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818306 -2.649266)'), GeomFromEWKT('SRID=4674;POINT (-39.818316 -2.649249)'))) / (select extract(epoch from '2026-07-22 06:24:23'::timestamp) - extract(epoch from '2026-07-22 06:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818306 -2.649266)'), GeomFromEWKT('SRID=4674;POINT (-39.818316 -2.649249)'))) / (select extract(epoch from '2026-07-22 06:24:23'::timestamp) - extract(epoch from '2026-07-22 06:24: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'), 47870, 'SRID=4674;POINT (-39.818352 -2.649258)', '2026-07-22 06:24:34', -8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818316 -2.649249)'), GeomFromEWKT('SRID=4674;POINT (-39.818352 -2.649258)'))) / (select extract(epoch from '2026-07-22 06:24:34'::timestamp) - extract(epoch from '2026-07-22 06:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818316 -2.649249)'), GeomFromEWKT('SRID=4674;POINT (-39.818352 -2.649258)'))) / (select extract(epoch from '2026-07-22 06:24:34'::timestamp) - extract(epoch from '2026-07-22 06:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818378 -2.649262)', '2026-07-22 06:24:41', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818352 -2.649258)'), GeomFromEWKT('SRID=4674;POINT (-39.818378 -2.649262)'))) / (select extract(epoch from '2026-07-22 06:24:41'::timestamp) - extract(epoch from '2026-07-22 06:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818352 -2.649258)'), GeomFromEWKT('SRID=4674;POINT (-39.818378 -2.649262)'))) / (select extract(epoch from '2026-07-22 06:24:41'::timestamp) - extract(epoch from '2026-07-22 06:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81837 -2.649264)', '2026-07-22 06:24:46', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818378 -2.649262)'), GeomFromEWKT('SRID=4674;POINT (-39.81837 -2.649264)'))) / (select extract(epoch from '2026-07-22 06:24:46'::timestamp) - extract(epoch from '2026-07-22 06:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818378 -2.649262)'), GeomFromEWKT('SRID=4674;POINT (-39.81837 -2.649264)'))) / (select extract(epoch from '2026-07-22 06:24:46'::timestamp) - extract(epoch from '2026-07-22 06:24: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'), 47870, 'SRID=4674;POINT (-39.818361 -2.649249)', '2026-07-22 06:24:53', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81837 -2.649264)'), GeomFromEWKT('SRID=4674;POINT (-39.818361 -2.649249)'))) / (select extract(epoch from '2026-07-22 06:24:53'::timestamp) - extract(epoch from '2026-07-22 06:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81837 -2.649264)'), GeomFromEWKT('SRID=4674;POINT (-39.818361 -2.649249)'))) / (select extract(epoch from '2026-07-22 06:24:53'::timestamp) - extract(epoch from '2026-07-22 06:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818359 -2.649249)', '2026-07-22 06:24:59', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818361 -2.649249)'), GeomFromEWKT('SRID=4674;POINT (-39.818359 -2.649249)'))) / (select extract(epoch from '2026-07-22 06:24:59'::timestamp) - extract(epoch from '2026-07-22 06:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818361 -2.649249)'), GeomFromEWKT('SRID=4674;POINT (-39.818359 -2.649249)'))) / (select extract(epoch from '2026-07-22 06:24:59'::timestamp) - extract(epoch from '2026-07-22 06:24: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'), 47870, 'SRID=4674;POINT (-39.818364 -2.649257)', '2026-07-22 06:25:04', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818359 -2.649249)'), GeomFromEWKT('SRID=4674;POINT (-39.818364 -2.649257)'))) / (select extract(epoch from '2026-07-22 06:25:04'::timestamp) - extract(epoch from '2026-07-22 06:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818359 -2.649249)'), GeomFromEWKT('SRID=4674;POINT (-39.818364 -2.649257)'))) / (select extract(epoch from '2026-07-22 06:25:04'::timestamp) - extract(epoch from '2026-07-22 06:24: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'), 47870, 'SRID=4674;POINT (-39.818367 -2.649253)', '2026-07-22 06:25:10', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818364 -2.649257)'), GeomFromEWKT('SRID=4674;POINT (-39.818367 -2.649253)'))) / (select extract(epoch from '2026-07-22 06:25:10'::timestamp) - extract(epoch from '2026-07-22 06:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818364 -2.649257)'), GeomFromEWKT('SRID=4674;POINT (-39.818367 -2.649253)'))) / (select extract(epoch from '2026-07-22 06:25:10'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47870, 'SRID=4674;POINT (-39.818368 -2.649258)', '2026-07-22 06:25:17', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818367 -2.649253)'), GeomFromEWKT('SRID=4674;POINT (-39.818368 -2.649258)'))) / (select extract(epoch from '2026-07-22 06:25:17'::timestamp) - extract(epoch from '2026-07-22 06:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818367 -2.649253)'), GeomFromEWKT('SRID=4674;POINT (-39.818368 -2.649258)'))) / (select extract(epoch from '2026-07-22 06:25:17'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47870, 'SRID=4674;POINT (-39.818382 -2.649258)', '2026-07-22 06:25:27', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818368 -2.649258)'), GeomFromEWKT('SRID=4674;POINT (-39.818382 -2.649258)'))) / (select extract(epoch from '2026-07-22 06:25:27'::timestamp) - extract(epoch from '2026-07-22 06:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818368 -2.649258)'), GeomFromEWKT('SRID=4674;POINT (-39.818382 -2.649258)'))) / (select extract(epoch from '2026-07-22 06:25:27'::timestamp) - extract(epoch from '2026-07-22 06:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818396 -2.649271)', '2026-07-22 06:25:36', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818382 -2.649258)'), GeomFromEWKT('SRID=4674;POINT (-39.818396 -2.649271)'))) / (select extract(epoch from '2026-07-22 06:25:36'::timestamp) - extract(epoch from '2026-07-22 06:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818382 -2.649258)'), GeomFromEWKT('SRID=4674;POINT (-39.818396 -2.649271)'))) / (select extract(epoch from '2026-07-22 06:25:36'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47870, 'SRID=4674;POINT (-39.818401 -2.649273)', '2026-07-22 06:25:45', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818396 -2.649271)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649273)'))) / (select extract(epoch from '2026-07-22 06:25:45'::timestamp) - extract(epoch from '2026-07-22 06:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818396 -2.649271)'), GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649273)'))) / (select extract(epoch from '2026-07-22 06:25:45'::timestamp) - extract(epoch from '2026-07-22 06:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818412 -2.649268)', '2026-07-22 06:25:52', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649273)'), GeomFromEWKT('SRID=4674;POINT (-39.818412 -2.649268)'))) / (select extract(epoch from '2026-07-22 06:25:52'::timestamp) - extract(epoch from '2026-07-22 06:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818401 -2.649273)'), GeomFromEWKT('SRID=4674;POINT (-39.818412 -2.649268)'))) / (select extract(epoch from '2026-07-22 06:25:52'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47870, 'SRID=4674;POINT (-39.818421 -2.649279)', '2026-07-22 06:25:56', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818412 -2.649268)'), GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649279)'))) / (select extract(epoch from '2026-07-22 06:25:56'::timestamp) - extract(epoch from '2026-07-22 06:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818412 -2.649268)'), GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649279)'))) / (select extract(epoch from '2026-07-22 06:25:56'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47870, 'SRID=4674;POINT (-39.818429 -2.649285)', '2026-07-22 06:25:58', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649279)'), GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.649285)'))) / (select extract(epoch from '2026-07-22 06:25:58'::timestamp) - extract(epoch from '2026-07-22 06:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818421 -2.649279)'), GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.649285)'))) / (select extract(epoch from '2026-07-22 06:25:58'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47870, 'SRID=4674;POINT (-39.818426 -2.649299)', '2026-07-22 06:26:07', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.649285)'), GeomFromEWKT('SRID=4674;POINT (-39.818426 -2.649299)'))) / (select extract(epoch from '2026-07-22 06:26:07'::timestamp) - extract(epoch from '2026-07-22 06:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818429 -2.649285)'), GeomFromEWKT('SRID=4674;POINT (-39.818426 -2.649299)'))) / (select extract(epoch from '2026-07-22 06:26:07'::timestamp) - extract(epoch from '2026-07-22 06:25:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818428 -2.649298)', '2026-07-22 06:26:12', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818426 -2.649299)'), GeomFromEWKT('SRID=4674;POINT (-39.818428 -2.649298)'))) / (select extract(epoch from '2026-07-22 06:26:12'::timestamp) - extract(epoch from '2026-07-22 06:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818426 -2.649299)'), GeomFromEWKT('SRID=4674;POINT (-39.818428 -2.649298)'))) / (select extract(epoch from '2026-07-22 06:26:12'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47870, 'SRID=4674;POINT (-39.818437 -2.649303)', '2026-07-22 06:26:19', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818428 -2.649298)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649303)'))) / (select extract(epoch from '2026-07-22 06:26:19'::timestamp) - extract(epoch from '2026-07-22 06:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818428 -2.649298)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649303)'))) / (select extract(epoch from '2026-07-22 06:26:19'::timestamp) - extract(epoch from '2026-07-22 06:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818441 -2.649305)', '2026-07-22 06:26:26', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649303)'), GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649305)'))) / (select extract(epoch from '2026-07-22 06:26:26'::timestamp) - extract(epoch from '2026-07-22 06:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649303)'), GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649305)'))) / (select extract(epoch from '2026-07-22 06:26:26'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47870, 'SRID=4674;POINT (-39.81845 -2.649303)', '2026-07-22 06:26:33', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649305)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649303)'))) / (select extract(epoch from '2026-07-22 06:26:33'::timestamp) - extract(epoch from '2026-07-22 06:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649305)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649303)'))) / (select extract(epoch from '2026-07-22 06:26:33'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47870, 'SRID=4674;POINT (-39.818452 -2.649301)', '2026-07-22 06:26:42', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649303)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649301)'))) / (select extract(epoch from '2026-07-22 06:26:42'::timestamp) - extract(epoch from '2026-07-22 06:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649303)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649301)'))) / (select extract(epoch from '2026-07-22 06:26:42'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47870, 'SRID=4674;POINT (-39.818438 -2.649297)', '2026-07-22 06:26:49', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649301)'), GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649297)'))) / (select extract(epoch from '2026-07-22 06:26:49'::timestamp) - extract(epoch from '2026-07-22 06:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649301)'), GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649297)'))) / (select extract(epoch from '2026-07-22 06:26:49'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47870, 'SRID=4674;POINT (-39.818443 -2.649291)', '2026-07-22 06:26:54', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649297)'), GeomFromEWKT('SRID=4674;POINT (-39.818443 -2.649291)'))) / (select extract(epoch from '2026-07-22 06:26:54'::timestamp) - extract(epoch from '2026-07-22 06:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649297)'), GeomFromEWKT('SRID=4674;POINT (-39.818443 -2.649291)'))) / (select extract(epoch from '2026-07-22 06:26:54'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47870, 'SRID=4674;POINT (-39.818436 -2.649284)', '2026-07-22 06:27:02', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818443 -2.649291)'), GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649284)'))) / (select extract(epoch from '2026-07-22 06:27:02'::timestamp) - extract(epoch from '2026-07-22 06:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818443 -2.649291)'), GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649284)'))) / (select extract(epoch from '2026-07-22 06:27:02'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47870, 'SRID=4674;POINT (-39.818438 -2.649279)', '2026-07-22 06:27:09', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649284)'), GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649279)'))) / (select extract(epoch from '2026-07-22 06:27:09'::timestamp) - extract(epoch from '2026-07-22 06:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649284)'), GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649279)'))) / (select extract(epoch from '2026-07-22 06:27:09'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47870, 'SRID=4674;POINT (-39.818445 -2.649288)', '2026-07-22 06:27:17', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649279)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649288)'))) / (select extract(epoch from '2026-07-22 06:27:17'::timestamp) - extract(epoch from '2026-07-22 06:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649279)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649288)'))) / (select extract(epoch from '2026-07-22 06:27:17'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47870, 'SRID=4674;POINT (-39.818452 -2.649288)', '2026-07-22 06:27:26', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649288)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649288)'))) / (select extract(epoch from '2026-07-22 06:27:26'::timestamp) - extract(epoch from '2026-07-22 06:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649288)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649288)'))) / (select extract(epoch from '2026-07-22 06:27:26'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47870, 'SRID=4674;POINT (-39.818457 -2.649289)', '2026-07-22 06:27:31', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649288)'), GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649289)'))) / (select extract(epoch from '2026-07-22 06:27:31'::timestamp) - extract(epoch from '2026-07-22 06:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649288)'), GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649289)'))) / (select extract(epoch from '2026-07-22 06:27:31'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47870, 'SRID=4674;POINT (-39.818448 -2.649281)', '2026-07-22 06:27:37', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649289)'), GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649281)'))) / (select extract(epoch from '2026-07-22 06:27:37'::timestamp) - extract(epoch from '2026-07-22 06:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818457 -2.649289)'), GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649281)'))) / (select extract(epoch from '2026-07-22 06:27:37'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47870, 'SRID=4674;POINT (-39.818451 -2.649277)', '2026-07-22 06:27:45', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649281)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649277)'))) / (select extract(epoch from '2026-07-22 06:27:45'::timestamp) - extract(epoch from '2026-07-22 06:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649281)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649277)'))) / (select extract(epoch from '2026-07-22 06:27:45'::timestamp) - extract(epoch from '2026-07-22 06:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818453 -2.649278)', '2026-07-22 06:27:51', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649277)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649278)'))) / (select extract(epoch from '2026-07-22 06:27:51'::timestamp) - extract(epoch from '2026-07-22 06:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649277)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649278)'))) / (select extract(epoch from '2026-07-22 06:27:51'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47870, 'SRID=4674;POINT (-39.818446 -2.64928)', '2026-07-22 06:27:55', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649278)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.64928)'))) / (select extract(epoch from '2026-07-22 06:27:55'::timestamp) - extract(epoch from '2026-07-22 06:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649278)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.64928)'))) / (select extract(epoch from '2026-07-22 06:27:55'::timestamp) - extract(epoch from '2026-07-22 06:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818436 -2.649274)', '2026-07-22 06:28:02', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.64928)'), GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649274)'))) / (select extract(epoch from '2026-07-22 06:28:02'::timestamp) - extract(epoch from '2026-07-22 06:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.64928)'), GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649274)'))) / (select extract(epoch from '2026-07-22 06:28:02'::timestamp) - extract(epoch from '2026-07-22 06:27:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818446 -2.649273)', '2026-07-22 06:28:09', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649274)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649273)'))) / (select extract(epoch from '2026-07-22 06:28:09'::timestamp) - extract(epoch from '2026-07-22 06:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649274)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649273)'))) / (select extract(epoch from '2026-07-22 06:28:09'::timestamp) - extract(epoch from '2026-07-22 06:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818448 -2.649272)', '2026-07-22 06:28:19', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649273)'), GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649272)'))) / (select extract(epoch from '2026-07-22 06:28:19'::timestamp) - extract(epoch from '2026-07-22 06:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649273)'), GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649272)'))) / (select extract(epoch from '2026-07-22 06:28:19'::timestamp) - extract(epoch from '2026-07-22 06:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818455 -2.649283)', '2026-07-22 06:28:24', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649272)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649283)'))) / (select extract(epoch from '2026-07-22 06:28:24'::timestamp) - extract(epoch from '2026-07-22 06:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818448 -2.649272)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649283)'))) / (select extract(epoch from '2026-07-22 06:28:24'::timestamp) - extract(epoch from '2026-07-22 06:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818456 -2.649292)', '2026-07-22 06:28:34', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649292)'))) / (select extract(epoch from '2026-07-22 06:28:34'::timestamp) - extract(epoch from '2026-07-22 06:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649292)'))) / (select extract(epoch from '2026-07-22 06:28:34'::timestamp) - extract(epoch from '2026-07-22 06:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81846 -2.649288)', '2026-07-22 06:28:43', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649292)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649288)'))) / (select extract(epoch from '2026-07-22 06:28:43'::timestamp) - extract(epoch from '2026-07-22 06:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649292)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649288)'))) / (select extract(epoch from '2026-07-22 06:28:43'::timestamp) - extract(epoch from '2026-07-22 06:28: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'), 47870, 'SRID=4674;POINT (-39.818461 -2.649286)', '2026-07-22 06:28:49', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649288)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649286)'))) / (select extract(epoch from '2026-07-22 06:28:49'::timestamp) - extract(epoch from '2026-07-22 06:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649288)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649286)'))) / (select extract(epoch from '2026-07-22 06:28:49'::timestamp) - extract(epoch from '2026-07-22 06:28: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'), 47870, 'SRID=4674;POINT (-39.81846 -2.649281)', '2026-07-22 06:28:55', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649286)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649281)'))) / (select extract(epoch from '2026-07-22 06:28:55'::timestamp) - extract(epoch from '2026-07-22 06:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649286)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649281)'))) / (select extract(epoch from '2026-07-22 06:28:55'::timestamp) - extract(epoch from '2026-07-22 06:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818459 -2.649283)', '2026-07-22 06:29:00', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649281)'), GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649283)'))) / (select extract(epoch from '2026-07-22 06:29:00'::timestamp) - extract(epoch from '2026-07-22 06:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649281)'), GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649283)'))) / (select extract(epoch from '2026-07-22 06:29:00'::timestamp) - extract(epoch from '2026-07-22 06:28: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'), 47870, 'SRID=4674;POINT (-39.818465 -2.649283)', '2026-07-22 06:29:10', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649283)'))) / (select extract(epoch from '2026-07-22 06:29:10'::timestamp) - extract(epoch from '2026-07-22 06:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649283)'))) / (select extract(epoch from '2026-07-22 06:29:10'::timestamp) - extract(epoch from '2026-07-22 06:29: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'), 47870, 'SRID=4674;POINT (-39.818471 -2.64929)', '2026-07-22 06:29:23', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.64929)'))) / (select extract(epoch from '2026-07-22 06:29:23'::timestamp) - extract(epoch from '2026-07-22 06:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818465 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.64929)'))) / (select extract(epoch from '2026-07-22 06:29:23'::timestamp) - extract(epoch from '2026-07-22 06:29: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'), 47870, 'SRID=4674;POINT (-39.818464 -2.649288)', '2026-07-22 06:29:31', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.64929)'), GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649288)'))) / (select extract(epoch from '2026-07-22 06:29:31'::timestamp) - extract(epoch from '2026-07-22 06:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818471 -2.64929)'), GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649288)'))) / (select extract(epoch from '2026-07-22 06:29:31'::timestamp) - extract(epoch from '2026-07-22 06:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818461 -2.649286)', '2026-07-22 06:29:41', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649288)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649286)'))) / (select extract(epoch from '2026-07-22 06:29:41'::timestamp) - extract(epoch from '2026-07-22 06:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.649288)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649286)'))) / (select extract(epoch from '2026-07-22 06:29:41'::timestamp) - extract(epoch from '2026-07-22 06:29: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'), 47870, 'SRID=4674;POINT (-39.81846 -2.649283)', '2026-07-22 06:29:53', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649286)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649283)'))) / (select extract(epoch from '2026-07-22 06:29:53'::timestamp) - extract(epoch from '2026-07-22 06:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.649286)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649283)'))) / (select extract(epoch from '2026-07-22 06:29:53'::timestamp) - extract(epoch from '2026-07-22 06:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818451 -2.649278)', '2026-07-22 06:30:00', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649278)'))) / (select extract(epoch from '2026-07-22 06:30:00'::timestamp) - extract(epoch from '2026-07-22 06:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649283)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649278)'))) / (select extract(epoch from '2026-07-22 06:30:00'::timestamp) - extract(epoch from '2026-07-22 06:29: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'), 47870, 'SRID=4674;POINT (-39.818455 -2.649272)', '2026-07-22 06:30:12', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649278)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649272)'))) / (select extract(epoch from '2026-07-22 06:30:12'::timestamp) - extract(epoch from '2026-07-22 06:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649278)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649272)'))) / (select extract(epoch from '2026-07-22 06:30:12'::timestamp) - extract(epoch from '2026-07-22 06:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818458 -2.649269)', '2026-07-22 06:30:20', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649272)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649269)'))) / (select extract(epoch from '2026-07-22 06:30:20'::timestamp) - extract(epoch from '2026-07-22 06:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649272)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649269)'))) / (select extract(epoch from '2026-07-22 06:30:20'::timestamp) - extract(epoch from '2026-07-22 06:30: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'), 47870, 'SRID=4674;POINT (-39.818456 -2.649265)', '2026-07-22 06:30:27', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649269)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649265)'))) / (select extract(epoch from '2026-07-22 06:30:27'::timestamp) - extract(epoch from '2026-07-22 06:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649269)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649265)'))) / (select extract(epoch from '2026-07-22 06:30:27'::timestamp) - extract(epoch from '2026-07-22 06:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818454 -2.649261)', '2026-07-22 06:30:33', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649265)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649261)'))) / (select extract(epoch from '2026-07-22 06:30:33'::timestamp) - extract(epoch from '2026-07-22 06:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649265)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649261)'))) / (select extract(epoch from '2026-07-22 06:30:33'::timestamp) - extract(epoch from '2026-07-22 06:30: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'), 47870, 'SRID=4674;POINT (-39.818458 -2.649258)', '2026-07-22 06:30:45', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649261)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649258)'))) / (select extract(epoch from '2026-07-22 06:30:45'::timestamp) - extract(epoch from '2026-07-22 06:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649261)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649258)'))) / (select extract(epoch from '2026-07-22 06:30:45'::timestamp) - extract(epoch from '2026-07-22 06:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818459 -2.649257)', '2026-07-22 06:30:55', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649258)'), GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649257)'))) / (select extract(epoch from '2026-07-22 06:30:55'::timestamp) - extract(epoch from '2026-07-22 06:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649258)'), GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649257)'))) / (select extract(epoch from '2026-07-22 06:30:55'::timestamp) - extract(epoch from '2026-07-22 06:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818472 -2.649262)', '2026-07-22 06:31:03', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649257)'), GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649262)'))) / (select extract(epoch from '2026-07-22 06:31:03'::timestamp) - extract(epoch from '2026-07-22 06:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818459 -2.649257)'), GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649262)'))) / (select extract(epoch from '2026-07-22 06:31:03'::timestamp) - extract(epoch from '2026-07-22 06:30: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'), 47870, 'SRID=4674;POINT (-39.818462 -2.649269)', '2026-07-22 06:31:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649262)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649269)'))) / (select extract(epoch from '2026-07-22 06:31:11'::timestamp) - extract(epoch from '2026-07-22 06:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.649262)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649269)'))) / (select extract(epoch from '2026-07-22 06:31:11'::timestamp) - extract(epoch from '2026-07-22 06:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818468 -2.649261)', '2026-07-22 06:31:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649269)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649261)'))) / (select extract(epoch from '2026-07-22 06:31:23'::timestamp) - extract(epoch from '2026-07-22 06:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649269)'), GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649261)'))) / (select extract(epoch from '2026-07-22 06:31:23'::timestamp) - extract(epoch from '2026-07-22 06:31:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818464 -2.64925)', '2026-07-22 06:31:35', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649261)'), GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.64925)'))) / (select extract(epoch from '2026-07-22 06:31:35'::timestamp) - extract(epoch from '2026-07-22 06:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818468 -2.649261)'), GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.64925)'))) / (select extract(epoch from '2026-07-22 06:31:35'::timestamp) - extract(epoch from '2026-07-22 06:31: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'), 47870, 'SRID=4674;POINT (-39.818462 -2.649246)', '2026-07-22 06:31:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.64925)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649246)'))) / (select extract(epoch from '2026-07-22 06:31:44'::timestamp) - extract(epoch from '2026-07-22 06:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818464 -2.64925)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649246)'))) / (select extract(epoch from '2026-07-22 06:31:44'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47870, 'SRID=4674;POINT (-39.818462 -2.649244)', '2026-07-22 06:31:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649246)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649244)'))) / (select extract(epoch from '2026-07-22 06:31:58'::timestamp) - extract(epoch from '2026-07-22 06:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649246)'), GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649244)'))) / (select extract(epoch from '2026-07-22 06:31:58'::timestamp) - extract(epoch from '2026-07-22 06:31: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'), 47870, 'SRID=4674;POINT (-39.818455 -2.649248)', '2026-07-22 06:32:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649244)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649248)'))) / (select extract(epoch from '2026-07-22 06:32:10'::timestamp) - extract(epoch from '2026-07-22 06:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818462 -2.649244)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649248)'))) / (select extract(epoch from '2026-07-22 06:32:10'::timestamp) - extract(epoch from '2026-07-22 06:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81845 -2.649241)', '2026-07-22 06:32:16', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649248)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649241)'))) / (select extract(epoch from '2026-07-22 06:32:16'::timestamp) - extract(epoch from '2026-07-22 06:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649248)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649241)'))) / (select extract(epoch from '2026-07-22 06:32:16'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47870, 'SRID=4674;POINT (-39.818445 -2.649246)', '2026-07-22 06:32:22', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649241)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649246)'))) / (select extract(epoch from '2026-07-22 06:32:22'::timestamp) - extract(epoch from '2026-07-22 06:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649241)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649246)'))) / (select extract(epoch from '2026-07-22 06:32:22'::timestamp) - extract(epoch from '2026-07-22 06:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818461 -2.64924)', '2026-07-22 06:32:31', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649246)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.64924)'))) / (select extract(epoch from '2026-07-22 06:32:31'::timestamp) - extract(epoch from '2026-07-22 06:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649246)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.64924)'))) / (select extract(epoch from '2026-07-22 06:32:31'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47870, 'SRID=4674;POINT (-39.818453 -2.649247)', '2026-07-22 06:32:37', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.64924)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649247)'))) / (select extract(epoch from '2026-07-22 06:32:37'::timestamp) - extract(epoch from '2026-07-22 06:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.64924)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649247)'))) / (select extract(epoch from '2026-07-22 06:32:37'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47870, 'SRID=4674;POINT (-39.818461 -2.64924)', '2026-07-22 06:32:42', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649247)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.64924)'))) / (select extract(epoch from '2026-07-22 06:32:42'::timestamp) - extract(epoch from '2026-07-22 06:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649247)'), GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.64924)'))) / (select extract(epoch from '2026-07-22 06:32:42'::timestamp) - extract(epoch from '2026-07-22 06:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818458 -2.649233)', '2026-07-22 06:32:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.64924)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649233)'))) / (select extract(epoch from '2026-07-22 06:32:51'::timestamp) - extract(epoch from '2026-07-22 06:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818461 -2.64924)'), GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649233)'))) / (select extract(epoch from '2026-07-22 06:32:51'::timestamp) - extract(epoch from '2026-07-22 06:32:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81845 -2.649228)', '2026-07-22 06:32:57', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649233)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649228)'))) / (select extract(epoch from '2026-07-22 06:32:57'::timestamp) - extract(epoch from '2026-07-22 06:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818458 -2.649233)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649228)'))) / (select extract(epoch from '2026-07-22 06:32:57'::timestamp) - extract(epoch from '2026-07-22 06:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818452 -2.649228)', '2026-07-22 06:33:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649228)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649228)'))) / (select extract(epoch from '2026-07-22 06:33:04'::timestamp) - extract(epoch from '2026-07-22 06:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649228)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649228)'))) / (select extract(epoch from '2026-07-22 06:33:04'::timestamp) - extract(epoch from '2026-07-22 06:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81845 -2.649238)', '2026-07-22 06:33:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649228)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649238)'))) / (select extract(epoch from '2026-07-22 06:33:09'::timestamp) - extract(epoch from '2026-07-22 06:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649228)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649238)'))) / (select extract(epoch from '2026-07-22 06:33:09'::timestamp) - extract(epoch from '2026-07-22 06:33: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'), 47870, 'SRID=4674;POINT (-39.818455 -2.649245)', '2026-07-22 06:33:18', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649238)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649245)'))) / (select extract(epoch from '2026-07-22 06:33:18'::timestamp) - extract(epoch from '2026-07-22 06:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649238)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649245)'))) / (select extract(epoch from '2026-07-22 06:33:18'::timestamp) - extract(epoch from '2026-07-22 06:33: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'), 47870, 'SRID=4674;POINT (-39.818453 -2.649248)', '2026-07-22 06:33:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649245)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649248)'))) / (select extract(epoch from '2026-07-22 06:33:27'::timestamp) - extract(epoch from '2026-07-22 06:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649245)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649248)'))) / (select extract(epoch from '2026-07-22 06:33:27'::timestamp) - extract(epoch from '2026-07-22 06:33: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'), 47870, 'SRID=4674;POINT (-39.818449 -2.649248)', '2026-07-22 06:33:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649248)'), GeomFromEWKT('SRID=4674;POINT (-39.818449 -2.649248)'))) / (select extract(epoch from '2026-07-22 06:33:35'::timestamp) - extract(epoch from '2026-07-22 06:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649248)'), GeomFromEWKT('SRID=4674;POINT (-39.818449 -2.649248)'))) / (select extract(epoch from '2026-07-22 06:33:35'::timestamp) - extract(epoch from '2026-07-22 06:33: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'), 47870, 'SRID=4674;POINT (-39.818451 -2.649239)', '2026-07-22 06:33:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818449 -2.649248)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649239)'))) / (select extract(epoch from '2026-07-22 06:33:43'::timestamp) - extract(epoch from '2026-07-22 06:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818449 -2.649248)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649239)'))) / (select extract(epoch from '2026-07-22 06:33:43'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47870, 'SRID=4674;POINT (-39.818451 -2.649236)', '2026-07-22 06:33:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649239)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649236)'))) / (select extract(epoch from '2026-07-22 06:33:58'::timestamp) - extract(epoch from '2026-07-22 06:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649239)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649236)'))) / (select extract(epoch from '2026-07-22 06:33:58'::timestamp) - extract(epoch from '2026-07-22 06:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818451 -2.649233)', '2026-07-22 06:34:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649236)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649233)'))) / (select extract(epoch from '2026-07-22 06:34:08'::timestamp) - extract(epoch from '2026-07-22 06:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649236)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649233)'))) / (select extract(epoch from '2026-07-22 06:34:08'::timestamp) - extract(epoch from '2026-07-22 06:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818442 -2.649219)', '2026-07-22 06:34:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649233)'), GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649219)'))) / (select extract(epoch from '2026-07-22 06:34:14'::timestamp) - extract(epoch from '2026-07-22 06:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649233)'), GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649219)'))) / (select extract(epoch from '2026-07-22 06:34:14'::timestamp) - extract(epoch from '2026-07-22 06:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818438 -2.649218)', '2026-07-22 06:34:21', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649219)'), GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:34:21'::timestamp) - extract(epoch from '2026-07-22 06:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649219)'), GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:34:21'::timestamp) - extract(epoch from '2026-07-22 06:34: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'), 47870, 'SRID=4674;POINT (-39.818451 -2.649225)', '2026-07-22 06:34:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649225)'))) / (select extract(epoch from '2026-07-22 06:34:29'::timestamp) - extract(epoch from '2026-07-22 06:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818438 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649225)'))) / (select extract(epoch from '2026-07-22 06:34:29'::timestamp) - extract(epoch from '2026-07-22 06:34:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818446 -2.649226)', '2026-07-22 06:34:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649225)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649226)'))) / (select extract(epoch from '2026-07-22 06:34:33'::timestamp) - extract(epoch from '2026-07-22 06:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818451 -2.649225)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649226)'))) / (select extract(epoch from '2026-07-22 06:34:33'::timestamp) - extract(epoch from '2026-07-22 06:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818445 -2.649219)', '2026-07-22 06:34:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649226)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649219)'))) / (select extract(epoch from '2026-07-22 06:34:42'::timestamp) - extract(epoch from '2026-07-22 06:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649226)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649219)'))) / (select extract(epoch from '2026-07-22 06:34:42'::timestamp) - extract(epoch from '2026-07-22 06:34: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'), 47870, 'SRID=4674;POINT (-39.818453 -2.649221)', '2026-07-22 06:34:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649219)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649221)'))) / (select extract(epoch from '2026-07-22 06:34:46'::timestamp) - extract(epoch from '2026-07-22 06:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649219)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649221)'))) / (select extract(epoch from '2026-07-22 06:34:46'::timestamp) - extract(epoch from '2026-07-22 06:34: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'), 47870, 'SRID=4674;POINT (-39.818449 -2.649219)', '2026-07-22 06:34:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649221)'), GeomFromEWKT('SRID=4674;POINT (-39.818449 -2.649219)'))) / (select extract(epoch from '2026-07-22 06:34:53'::timestamp) - extract(epoch from '2026-07-22 06:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649221)'), GeomFromEWKT('SRID=4674;POINT (-39.818449 -2.649219)'))) / (select extract(epoch from '2026-07-22 06:34:53'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47870, 'SRID=4674;POINT (-39.818454 -2.649225)', '2026-07-22 06:35:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818449 -2.649219)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649225)'))) / (select extract(epoch from '2026-07-22 06:35:01'::timestamp) - extract(epoch from '2026-07-22 06:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818449 -2.649219)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649225)'))) / (select extract(epoch from '2026-07-22 06:35:01'::timestamp) - extract(epoch from '2026-07-22 06:34: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'), 47870, 'SRID=4674;POINT (-39.818453 -2.649222)', '2026-07-22 06:35:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649225)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649222)'))) / (select extract(epoch from '2026-07-22 06:35:06'::timestamp) - extract(epoch from '2026-07-22 06:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649225)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649222)'))) / (select extract(epoch from '2026-07-22 06:35:06'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47870, 'SRID=4674;POINT (-39.818456 -2.649228)', '2026-07-22 06:35:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649222)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649228)'))) / (select extract(epoch from '2026-07-22 06:35:20'::timestamp) - extract(epoch from '2026-07-22 06:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649222)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649228)'))) / (select extract(epoch from '2026-07-22 06:35:20'::timestamp) - extract(epoch from '2026-07-22 06:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818454 -2.649225)', '2026-07-22 06:35:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649228)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649225)'))) / (select extract(epoch from '2026-07-22 06:35:25'::timestamp) - extract(epoch from '2026-07-22 06:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649228)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649225)'))) / (select extract(epoch from '2026-07-22 06:35:25'::timestamp) - extract(epoch from '2026-07-22 06:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818447 -2.649216)', '2026-07-22 06:35:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649225)'), GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649216)'))) / (select extract(epoch from '2026-07-22 06:35:32'::timestamp) - extract(epoch from '2026-07-22 06:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649225)'), GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649216)'))) / (select extract(epoch from '2026-07-22 06:35:32'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47870, 'SRID=4674;POINT (-39.818445 -2.649217)', '2026-07-22 06:35:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649216)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649217)'))) / (select extract(epoch from '2026-07-22 06:35:39'::timestamp) - extract(epoch from '2026-07-22 06:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649216)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649217)'))) / (select extract(epoch from '2026-07-22 06:35:39'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47870, 'SRID=4674;POINT (-39.818444 -2.649222)', '2026-07-22 06:35:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649217)'), GeomFromEWKT('SRID=4674;POINT (-39.818444 -2.649222)'))) / (select extract(epoch from '2026-07-22 06:35:50'::timestamp) - extract(epoch from '2026-07-22 06:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649217)'), GeomFromEWKT('SRID=4674;POINT (-39.818444 -2.649222)'))) / (select extract(epoch from '2026-07-22 06:35:50'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47870, 'SRID=4674;POINT (-39.818442 -2.649226)', '2026-07-22 06:35:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818444 -2.649222)'), GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649226)'))) / (select extract(epoch from '2026-07-22 06:35:58'::timestamp) - extract(epoch from '2026-07-22 06:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818444 -2.649222)'), GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649226)'))) / (select extract(epoch from '2026-07-22 06:35:58'::timestamp) - extract(epoch from '2026-07-22 06:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818439 -2.649223)', '2026-07-22 06:36:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649226)'), GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649223)'))) / (select extract(epoch from '2026-07-22 06:36:07'::timestamp) - extract(epoch from '2026-07-22 06:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649226)'), GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649223)'))) / (select extract(epoch from '2026-07-22 06:36:07'::timestamp) - extract(epoch from '2026-07-22 06:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818452 -2.649226)', '2026-07-22 06:36:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649223)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649226)'))) / (select extract(epoch from '2026-07-22 06:36:17'::timestamp) - extract(epoch from '2026-07-22 06:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649223)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649226)'))) / (select extract(epoch from '2026-07-22 06:36:17'::timestamp) - extract(epoch from '2026-07-22 06:36: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'), 47870, 'SRID=4674;POINT (-39.818454 -2.649226)', '2026-07-22 06:36:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649226)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649226)'))) / (select extract(epoch from '2026-07-22 06:36:23'::timestamp) - extract(epoch from '2026-07-22 06:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649226)'), GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649226)'))) / (select extract(epoch from '2026-07-22 06:36:23'::timestamp) - extract(epoch from '2026-07-22 06:36: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'), 47870, 'SRID=4674;POINT (-39.818456 -2.649229)', '2026-07-22 06:36:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649226)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649229)'))) / (select extract(epoch from '2026-07-22 06:36:29'::timestamp) - extract(epoch from '2026-07-22 06:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818454 -2.649226)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649229)'))) / (select extract(epoch from '2026-07-22 06:36:29'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47870, 'SRID=4674;POINT (-39.818446 -2.649232)', '2026-07-22 06:36:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649229)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649232)'))) / (select extract(epoch from '2026-07-22 06:36:40'::timestamp) - extract(epoch from '2026-07-22 06:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649229)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649232)'))) / (select extract(epoch from '2026-07-22 06:36:40'::timestamp) - extract(epoch from '2026-07-22 06:36:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81845 -2.649227)', '2026-07-22 06:36:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649232)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649227)'))) / (select extract(epoch from '2026-07-22 06:36:50'::timestamp) - extract(epoch from '2026-07-22 06:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649232)'), GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649227)'))) / (select extract(epoch from '2026-07-22 06:36:50'::timestamp) - extract(epoch from '2026-07-22 06:36:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81846 -2.649218)', '2026-07-22 06:36:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649227)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:36:56'::timestamp) - extract(epoch from '2026-07-22 06:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81845 -2.649227)'), GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:36:56'::timestamp) - extract(epoch from '2026-07-22 06:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818456 -2.649213)', '2026-07-22 06:37:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649213)'))) / (select extract(epoch from '2026-07-22 06:37:01'::timestamp) - extract(epoch from '2026-07-22 06:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81846 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649213)'))) / (select extract(epoch from '2026-07-22 06:37:01'::timestamp) - extract(epoch from '2026-07-22 06:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818445 -2.649223)', '2026-07-22 06:37:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649213)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649223)'))) / (select extract(epoch from '2026-07-22 06:37:07'::timestamp) - extract(epoch from '2026-07-22 06:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.649213)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649223)'))) / (select extract(epoch from '2026-07-22 06:37:07'::timestamp) - extract(epoch from '2026-07-22 06:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818456 -2.64923)', '2026-07-22 06:37:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649223)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.64923)'))) / (select extract(epoch from '2026-07-22 06:37:14'::timestamp) - extract(epoch from '2026-07-22 06:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649223)'), GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.64923)'))) / (select extract(epoch from '2026-07-22 06:37:14'::timestamp) - extract(epoch from '2026-07-22 06:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818453 -2.649225)', '2026-07-22 06:37:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.64923)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649225)'))) / (select extract(epoch from '2026-07-22 06:37:19'::timestamp) - extract(epoch from '2026-07-22 06:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818456 -2.64923)'), GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649225)'))) / (select extract(epoch from '2026-07-22 06:37:19'::timestamp) - extract(epoch from '2026-07-22 06:37: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'), 47870, 'SRID=4674;POINT (-39.818446 -2.649218)', '2026-07-22 06:37:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649225)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:37:26'::timestamp) - extract(epoch from '2026-07-22 06:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818453 -2.649225)'), GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:37:26'::timestamp) - extract(epoch from '2026-07-22 06:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818441 -2.649218)', '2026-07-22 06:37:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:37:30'::timestamp) - extract(epoch from '2026-07-22 06:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818446 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:37:30'::timestamp) - extract(epoch from '2026-07-22 06:37: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'), 47870, 'SRID=4674;POINT (-39.818436 -2.649217)', '2026-07-22 06:37:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649217)'))) / (select extract(epoch from '2026-07-22 06:37:38'::timestamp) - extract(epoch from '2026-07-22 06:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649217)'))) / (select extract(epoch from '2026-07-22 06:37:38'::timestamp) - extract(epoch from '2026-07-22 06:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818439 -2.649212)', '2026-07-22 06:37:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649217)'), GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649212)'))) / (select extract(epoch from '2026-07-22 06:37:43'::timestamp) - extract(epoch from '2026-07-22 06:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.649217)'), GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649212)'))) / (select extract(epoch from '2026-07-22 06:37:43'::timestamp) - extract(epoch from '2026-07-22 06:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818441 -2.649215)', '2026-07-22 06:37:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649212)'), GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649215)'))) / (select extract(epoch from '2026-07-22 06:37:54'::timestamp) - extract(epoch from '2026-07-22 06:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818439 -2.649212)'), GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649215)'))) / (select extract(epoch from '2026-07-22 06:37:54'::timestamp) - extract(epoch from '2026-07-22 06:37: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'), 47870, 'SRID=4674;POINT (-39.818442 -2.649218)', '2026-07-22 06:38:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649215)'), GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:38:05'::timestamp) - extract(epoch from '2026-07-22 06:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818441 -2.649215)'), GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:38:05'::timestamp) - extract(epoch from '2026-07-22 06:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818447 -2.649219)', '2026-07-22 06:38:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649219)'))) / (select extract(epoch from '2026-07-22 06:38:12'::timestamp) - extract(epoch from '2026-07-22 06:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818442 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649219)'))) / (select extract(epoch from '2026-07-22 06:38:12'::timestamp) - extract(epoch from '2026-07-22 06:38: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'), 47870, 'SRID=4674;POINT (-39.818443 -2.649224)', '2026-07-22 06:38:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649219)'), GeomFromEWKT('SRID=4674;POINT (-39.818443 -2.649224)'))) / (select extract(epoch from '2026-07-22 06:38:18'::timestamp) - extract(epoch from '2026-07-22 06:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818447 -2.649219)'), GeomFromEWKT('SRID=4674;POINT (-39.818443 -2.649224)'))) / (select extract(epoch from '2026-07-22 06:38:18'::timestamp) - extract(epoch from '2026-07-22 06:38: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'), 47870, 'SRID=4674;POINT (-39.818445 -2.649223)', '2026-07-22 06:38:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818443 -2.649224)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649223)'))) / (select extract(epoch from '2026-07-22 06:38:24'::timestamp) - extract(epoch from '2026-07-22 06:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818443 -2.649224)'), GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649223)'))) / (select extract(epoch from '2026-07-22 06:38:24'::timestamp) - extract(epoch from '2026-07-22 06:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818436 -2.64922)', '2026-07-22 06:38:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649223)'), GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.64922)'))) / (select extract(epoch from '2026-07-22 06:38:34'::timestamp) - extract(epoch from '2026-07-22 06:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818445 -2.649223)'), GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.64922)'))) / (select extract(epoch from '2026-07-22 06:38:34'::timestamp) - extract(epoch from '2026-07-22 06:38: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'), 47870, 'SRID=4674;POINT (-39.818437 -2.649214)', '2026-07-22 06:38:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.64922)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649214)'))) / (select extract(epoch from '2026-07-22 06:38:45'::timestamp) - extract(epoch from '2026-07-22 06:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818436 -2.64922)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649214)'))) / (select extract(epoch from '2026-07-22 06:38:45'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47870, 'SRID=4674;POINT (-39.818432 -2.64921)', '2026-07-22 06:38:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649214)'), GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.64921)'))) / (select extract(epoch from '2026-07-22 06:38:51'::timestamp) - extract(epoch from '2026-07-22 06:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649214)'), GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.64921)'))) / (select extract(epoch from '2026-07-22 06:38:51'::timestamp) - extract(epoch from '2026-07-22 06:38: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'), 47870, 'SRID=4674;POINT (-39.818437 -2.649214)', '2026-07-22 06:39:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.64921)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649214)'))) / (select extract(epoch from '2026-07-22 06:39:00'::timestamp) - extract(epoch from '2026-07-22 06:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818432 -2.64921)'), GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649214)'))) / (select extract(epoch from '2026-07-22 06:39:00'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47870, 'SRID=4674;POINT (-39.818452 -2.649211)', '2026-07-22 06:39:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649214)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649211)'))) / (select extract(epoch from '2026-07-22 06:39:07'::timestamp) - extract(epoch from '2026-07-22 06:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818437 -2.649214)'), GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649211)'))) / (select extract(epoch from '2026-07-22 06:39:07'::timestamp) - extract(epoch from '2026-07-22 06:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.818444 -2.649218)', '2026-07-22 06:39:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649211)'), GeomFromEWKT('SRID=4674;POINT (-39.818444 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:39:12'::timestamp) - extract(epoch from '2026-07-22 06:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818452 -2.649211)'), GeomFromEWKT('SRID=4674;POINT (-39.818444 -2.649218)'))) / (select extract(epoch from '2026-07-22 06:39:12'::timestamp) - extract(epoch from '2026-07-22 06:39: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'), 47870, 'SRID=4674;POINT (-39.818455 -2.649216)', '2026-07-22 06:39:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818444 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649216)'))) / (select extract(epoch from '2026-07-22 06:39:20'::timestamp) - extract(epoch from '2026-07-22 06:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818444 -2.649218)'), GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649216)'))) / (select extract(epoch from '2026-07-22 06:39:20'::timestamp) - extract(epoch from '2026-07-22 06:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81844 -2.649222)', '2026-07-22 06:39:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649216)'), GeomFromEWKT('SRID=4674;POINT (-39.81844 -2.649222)'))) / (select extract(epoch from '2026-07-22 06:39:28'::timestamp) - extract(epoch from '2026-07-22 06:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818455 -2.649216)'), GeomFromEWKT('SRID=4674;POINT (-39.81844 -2.649222)'))) / (select extract(epoch from '2026-07-22 06:39:28'::timestamp) - extract(epoch from '2026-07-22 06:39:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
