BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.695875 -2.998509)', '2026-06-14 07:41:30', 49.6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.695713 -2.998612)', '2026-06-14 07:41:42', 50.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695875 -2.998509)'), GeomFromEWKT('SRID=4674;POINT (-39.695713 -2.998612)'))) / (select extract(epoch from '2026-06-14 07:41:42'::timestamp) - extract(epoch from '2026-06-14 07:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695875 -2.998509)'), GeomFromEWKT('SRID=4674;POINT (-39.695713 -2.998612)'))) / (select extract(epoch from '2026-06-14 07:41:42'::timestamp) - extract(epoch from '2026-06-14 07:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.695698 -2.998612)', '2026-06-14 07:41:58', 48.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695713 -2.998612)'), GeomFromEWKT('SRID=4674;POINT (-39.695698 -2.998612)'))) / (select extract(epoch from '2026-06-14 07:41:58'::timestamp) - extract(epoch from '2026-06-14 07:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695713 -2.998612)'), GeomFromEWKT('SRID=4674;POINT (-39.695698 -2.998612)'))) / (select extract(epoch from '2026-06-14 07:41:58'::timestamp) - extract(epoch from '2026-06-14 07:41: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'), 46743, 'SRID=4674;POINT (-39.695755 -2.99862)', '2026-06-14 07:42:15', 42.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695698 -2.998612)'), GeomFromEWKT('SRID=4674;POINT (-39.695755 -2.99862)'))) / (select extract(epoch from '2026-06-14 07:42:15'::timestamp) - extract(epoch from '2026-06-14 07:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695698 -2.998612)'), GeomFromEWKT('SRID=4674;POINT (-39.695755 -2.99862)'))) / (select extract(epoch from '2026-06-14 07:42:15'::timestamp) - extract(epoch from '2026-06-14 07:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.695762 -2.998615)', '2026-06-14 07:42:23', 38.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695755 -2.99862)'), GeomFromEWKT('SRID=4674;POINT (-39.695762 -2.998615)'))) / (select extract(epoch from '2026-06-14 07:42:23'::timestamp) - extract(epoch from '2026-06-14 07:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695755 -2.99862)'), GeomFromEWKT('SRID=4674;POINT (-39.695762 -2.998615)'))) / (select extract(epoch from '2026-06-14 07:42:23'::timestamp) - extract(epoch from '2026-06-14 07:42: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'), 46743, 'SRID=4674;POINT (-39.695761 -2.998653)', '2026-06-14 07:42:30', 33.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695762 -2.998615)'), GeomFromEWKT('SRID=4674;POINT (-39.695761 -2.998653)'))) / (select extract(epoch from '2026-06-14 07:42:30'::timestamp) - extract(epoch from '2026-06-14 07:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695762 -2.998615)'), GeomFromEWKT('SRID=4674;POINT (-39.695761 -2.998653)'))) / (select extract(epoch from '2026-06-14 07:42:30'::timestamp) - extract(epoch from '2026-06-14 07:42: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'), 46743, 'SRID=4674;POINT (-39.695735 -2.998696)', '2026-06-14 07:42:41', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695761 -2.998653)'), GeomFromEWKT('SRID=4674;POINT (-39.695735 -2.998696)'))) / (select extract(epoch from '2026-06-14 07:42:41'::timestamp) - extract(epoch from '2026-06-14 07:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695761 -2.998653)'), GeomFromEWKT('SRID=4674;POINT (-39.695735 -2.998696)'))) / (select extract(epoch from '2026-06-14 07:42:41'::timestamp) - extract(epoch from '2026-06-14 07:42: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'), 46743, 'SRID=4674;POINT (-39.695708 -2.998688)', '2026-06-14 07:42:54', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695735 -2.998696)'), GeomFromEWKT('SRID=4674;POINT (-39.695708 -2.998688)'))) / (select extract(epoch from '2026-06-14 07:42:54'::timestamp) - extract(epoch from '2026-06-14 07:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695735 -2.998696)'), GeomFromEWKT('SRID=4674;POINT (-39.695708 -2.998688)'))) / (select extract(epoch from '2026-06-14 07:42:54'::timestamp) - extract(epoch from '2026-06-14 07:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.695844 -2.998663)', '2026-06-14 07:43:02', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695708 -2.998688)'), GeomFromEWKT('SRID=4674;POINT (-39.695844 -2.998663)'))) / (select extract(epoch from '2026-06-14 07:43:02'::timestamp) - extract(epoch from '2026-06-14 07:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695708 -2.998688)'), GeomFromEWKT('SRID=4674;POINT (-39.695844 -2.998663)'))) / (select extract(epoch from '2026-06-14 07:43:02'::timestamp) - extract(epoch from '2026-06-14 07:42: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'), 46743, 'SRID=4674;POINT (-39.69584 -2.998656)', '2026-06-14 07:43:11', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695844 -2.998663)'), GeomFromEWKT('SRID=4674;POINT (-39.69584 -2.998656)'))) / (select extract(epoch from '2026-06-14 07:43:11'::timestamp) - extract(epoch from '2026-06-14 07:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695844 -2.998663)'), GeomFromEWKT('SRID=4674;POINT (-39.69584 -2.998656)'))) / (select extract(epoch from '2026-06-14 07:43:11'::timestamp) - extract(epoch from '2026-06-14 07:43:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.695841 -2.998652)', '2026-06-14 07:43:20', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69584 -2.998656)'), GeomFromEWKT('SRID=4674;POINT (-39.695841 -2.998652)'))) / (select extract(epoch from '2026-06-14 07:43:20'::timestamp) - extract(epoch from '2026-06-14 07:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69584 -2.998656)'), GeomFromEWKT('SRID=4674;POINT (-39.695841 -2.998652)'))) / (select extract(epoch from '2026-06-14 07:43:20'::timestamp) - extract(epoch from '2026-06-14 07:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.694276 -2.995232)', '2026-06-14 07:53:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695841 -2.998652)'), GeomFromEWKT('SRID=4674;POINT (-39.694276 -2.995232)'))) / (select extract(epoch from '2026-06-14 07:53:39'::timestamp) - extract(epoch from '2026-06-14 07:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695841 -2.998652)'), GeomFromEWKT('SRID=4674;POINT (-39.694276 -2.995232)'))) / (select extract(epoch from '2026-06-14 07:53:39'::timestamp) - extract(epoch from '2026-06-14 07:43: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'), 46743, 'SRID=4674;POINT (-39.691978 -2.991362)', '2026-06-14 08:04:14', -46.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694276 -2.995232)'), GeomFromEWKT('SRID=4674;POINT (-39.691978 -2.991362)'))) / (select extract(epoch from '2026-06-14 08:04:14'::timestamp) - extract(epoch from '2026-06-14 07:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694276 -2.995232)'), GeomFromEWKT('SRID=4674;POINT (-39.691978 -2.991362)'))) / (select extract(epoch from '2026-06-14 08:04:14'::timestamp) - extract(epoch from '2026-06-14 07:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.689041 -2.989077)', '2026-06-14 08:12:22', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691978 -2.991362)'), GeomFromEWKT('SRID=4674;POINT (-39.689041 -2.989077)'))) / (select extract(epoch from '2026-06-14 08:12:22'::timestamp) - extract(epoch from '2026-06-14 08:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691978 -2.991362)'), GeomFromEWKT('SRID=4674;POINT (-39.689041 -2.989077)'))) / (select extract(epoch from '2026-06-14 08:12:22'::timestamp) - extract(epoch from '2026-06-14 08:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.689005 -2.989044)', '2026-06-14 08:12:23', 35.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689041 -2.989077)'), GeomFromEWKT('SRID=4674;POINT (-39.689005 -2.989044)'))) / (select extract(epoch from '2026-06-14 08:12:23'::timestamp) - extract(epoch from '2026-06-14 08:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689041 -2.989077)'), GeomFromEWKT('SRID=4674;POINT (-39.689005 -2.989044)'))) / (select extract(epoch from '2026-06-14 08:12:23'::timestamp) - extract(epoch from '2026-06-14 08:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.689004 -2.989002)', '2026-06-14 08:12:26', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689005 -2.989044)'), GeomFromEWKT('SRID=4674;POINT (-39.689004 -2.989002)'))) / (select extract(epoch from '2026-06-14 08:12:26'::timestamp) - extract(epoch from '2026-06-14 08:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689005 -2.989044)'), GeomFromEWKT('SRID=4674;POINT (-39.689004 -2.989002)'))) / (select extract(epoch from '2026-06-14 08:12:26'::timestamp) - extract(epoch from '2026-06-14 08:12: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'), 46743, 'SRID=4674;POINT (-39.688913 -2.988944)', '2026-06-14 08:12:33', 34.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689004 -2.989002)'), GeomFromEWKT('SRID=4674;POINT (-39.688913 -2.988944)'))) / (select extract(epoch from '2026-06-14 08:12:33'::timestamp) - extract(epoch from '2026-06-14 08:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689004 -2.989002)'), GeomFromEWKT('SRID=4674;POINT (-39.688913 -2.988944)'))) / (select extract(epoch from '2026-06-14 08:12:33'::timestamp) - extract(epoch from '2026-06-14 08:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.688805 -2.988868)', '2026-06-14 08:12:41', 44.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688913 -2.988944)'), GeomFromEWKT('SRID=4674;POINT (-39.688805 -2.988868)'))) / (select extract(epoch from '2026-06-14 08:12:41'::timestamp) - extract(epoch from '2026-06-14 08:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688913 -2.988944)'), GeomFromEWKT('SRID=4674;POINT (-39.688805 -2.988868)'))) / (select extract(epoch from '2026-06-14 08:12:41'::timestamp) - extract(epoch from '2026-06-14 08:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.688713 -2.988801)', '2026-06-14 08:12:49', 49.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688805 -2.988868)'), GeomFromEWKT('SRID=4674;POINT (-39.688713 -2.988801)'))) / (select extract(epoch from '2026-06-14 08:12:49'::timestamp) - extract(epoch from '2026-06-14 08:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688805 -2.988868)'), GeomFromEWKT('SRID=4674;POINT (-39.688713 -2.988801)'))) / (select extract(epoch from '2026-06-14 08:12:49'::timestamp) - extract(epoch from '2026-06-14 08:12: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'), 46743, 'SRID=4674;POINT (-39.688683 -2.988794)', '2026-06-14 08:12:58', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688713 -2.988801)'), GeomFromEWKT('SRID=4674;POINT (-39.688683 -2.988794)'))) / (select extract(epoch from '2026-06-14 08:12:58'::timestamp) - extract(epoch from '2026-06-14 08:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688713 -2.988801)'), GeomFromEWKT('SRID=4674;POINT (-39.688683 -2.988794)'))) / (select extract(epoch from '2026-06-14 08:12:58'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.688595 -2.988754)', '2026-06-14 08:13:11', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688683 -2.988794)'), GeomFromEWKT('SRID=4674;POINT (-39.688595 -2.988754)'))) / (select extract(epoch from '2026-06-14 08:13:11'::timestamp) - extract(epoch from '2026-06-14 08:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688683 -2.988794)'), GeomFromEWKT('SRID=4674;POINT (-39.688595 -2.988754)'))) / (select extract(epoch from '2026-06-14 08:13:11'::timestamp) - extract(epoch from '2026-06-14 08:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.688551 -2.988732)', '2026-06-14 08:13:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688595 -2.988754)'), GeomFromEWKT('SRID=4674;POINT (-39.688551 -2.988732)'))) / (select extract(epoch from '2026-06-14 08:13:17'::timestamp) - extract(epoch from '2026-06-14 08:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688595 -2.988754)'), GeomFromEWKT('SRID=4674;POINT (-39.688551 -2.988732)'))) / (select extract(epoch from '2026-06-14 08:13:17'::timestamp) - extract(epoch from '2026-06-14 08:13: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'), 46743, 'SRID=4674;POINT (-39.688506 -2.988717)', '2026-06-14 08:13:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688551 -2.988732)'), GeomFromEWKT('SRID=4674;POINT (-39.688506 -2.988717)'))) / (select extract(epoch from '2026-06-14 08:13:24'::timestamp) - extract(epoch from '2026-06-14 08:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688551 -2.988732)'), GeomFromEWKT('SRID=4674;POINT (-39.688506 -2.988717)'))) / (select extract(epoch from '2026-06-14 08:13:24'::timestamp) - extract(epoch from '2026-06-14 08:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.688464 -2.9887)', '2026-06-14 08:13:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688506 -2.988717)'), GeomFromEWKT('SRID=4674;POINT (-39.688464 -2.9887)'))) / (select extract(epoch from '2026-06-14 08:13:30'::timestamp) - extract(epoch from '2026-06-14 08:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688506 -2.988717)'), GeomFromEWKT('SRID=4674;POINT (-39.688464 -2.9887)'))) / (select extract(epoch from '2026-06-14 08:13:30'::timestamp) - extract(epoch from '2026-06-14 08:13: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'), 46743, 'SRID=4674;POINT (-39.688441 -2.988697)', '2026-06-14 08:13:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688464 -2.9887)'), GeomFromEWKT('SRID=4674;POINT (-39.688441 -2.988697)'))) / (select extract(epoch from '2026-06-14 08:13:33'::timestamp) - extract(epoch from '2026-06-14 08:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688464 -2.9887)'), GeomFromEWKT('SRID=4674;POINT (-39.688441 -2.988697)'))) / (select extract(epoch from '2026-06-14 08:13:33'::timestamp) - extract(epoch from '2026-06-14 08:13: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'), 46743, 'SRID=4674;POINT (-39.688417 -2.988687)', '2026-06-14 08:13:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688441 -2.988697)'), GeomFromEWKT('SRID=4674;POINT (-39.688417 -2.988687)'))) / (select extract(epoch from '2026-06-14 08:13:36'::timestamp) - extract(epoch from '2026-06-14 08:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688441 -2.988697)'), GeomFromEWKT('SRID=4674;POINT (-39.688417 -2.988687)'))) / (select extract(epoch from '2026-06-14 08:13:36'::timestamp) - extract(epoch from '2026-06-14 08:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.688349 -2.988653)', '2026-06-14 08:13:45', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688417 -2.988687)'), GeomFromEWKT('SRID=4674;POINT (-39.688349 -2.988653)'))) / (select extract(epoch from '2026-06-14 08:13:45'::timestamp) - extract(epoch from '2026-06-14 08:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688417 -2.988687)'), GeomFromEWKT('SRID=4674;POINT (-39.688349 -2.988653)'))) / (select extract(epoch from '2026-06-14 08:13:45'::timestamp) - extract(epoch from '2026-06-14 08:13: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'), 46743, 'SRID=4674;POINT (-39.688285 -2.988609)', '2026-06-14 08:13:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688349 -2.988653)'), GeomFromEWKT('SRID=4674;POINT (-39.688285 -2.988609)'))) / (select extract(epoch from '2026-06-14 08:13:53'::timestamp) - extract(epoch from '2026-06-14 08:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688349 -2.988653)'), GeomFromEWKT('SRID=4674;POINT (-39.688285 -2.988609)'))) / (select extract(epoch from '2026-06-14 08:13:53'::timestamp) - extract(epoch from '2026-06-14 08:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.688247 -2.988597)', '2026-06-14 08:14:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688285 -2.988609)'), GeomFromEWKT('SRID=4674;POINT (-39.688247 -2.988597)'))) / (select extract(epoch from '2026-06-14 08:14:00'::timestamp) - extract(epoch from '2026-06-14 08:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688285 -2.988609)'), GeomFromEWKT('SRID=4674;POINT (-39.688247 -2.988597)'))) / (select extract(epoch from '2026-06-14 08:14:00'::timestamp) - extract(epoch from '2026-06-14 08:13: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'), 46743, 'SRID=4674;POINT (-39.688179 -2.988569)', '2026-06-14 08:14:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688247 -2.988597)'), GeomFromEWKT('SRID=4674;POINT (-39.688179 -2.988569)'))) / (select extract(epoch from '2026-06-14 08:14:07'::timestamp) - extract(epoch from '2026-06-14 08:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688247 -2.988597)'), GeomFromEWKT('SRID=4674;POINT (-39.688179 -2.988569)'))) / (select extract(epoch from '2026-06-14 08:14:07'::timestamp) - extract(epoch from '2026-06-14 08:14: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'), 46743, 'SRID=4674;POINT (-39.688099 -2.98852)', '2026-06-14 08:14:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688179 -2.988569)'), GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.98852)'))) / (select extract(epoch from '2026-06-14 08:14:14'::timestamp) - extract(epoch from '2026-06-14 08:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688179 -2.988569)'), GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.98852)'))) / (select extract(epoch from '2026-06-14 08:14:14'::timestamp) - extract(epoch from '2026-06-14 08:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.681824 -2.983307)', '2026-06-14 08:24:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.98852)'), GeomFromEWKT('SRID=4674;POINT (-39.681824 -2.983307)'))) / (select extract(epoch from '2026-06-14 08:24:21'::timestamp) - extract(epoch from '2026-06-14 08:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.98852)'), GeomFromEWKT('SRID=4674;POINT (-39.681824 -2.983307)'))) / (select extract(epoch from '2026-06-14 08:24:21'::timestamp) - extract(epoch from '2026-06-14 08:14: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'), 46743, 'SRID=4674;POINT (-39.680686 -2.982523)', '2026-06-14 08:26:07', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681824 -2.983307)'), GeomFromEWKT('SRID=4674;POINT (-39.680686 -2.982523)'))) / (select extract(epoch from '2026-06-14 08:26:07'::timestamp) - extract(epoch from '2026-06-14 08:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681824 -2.983307)'), GeomFromEWKT('SRID=4674;POINT (-39.680686 -2.982523)'))) / (select extract(epoch from '2026-06-14 08:26:07'::timestamp) - extract(epoch from '2026-06-14 08:24: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'), 46743, 'SRID=4674;POINT (-39.68069 -2.982535)', '2026-06-14 08:26:11', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680686 -2.982523)'), GeomFromEWKT('SRID=4674;POINT (-39.68069 -2.982535)'))) / (select extract(epoch from '2026-06-14 08:26:11'::timestamp) - extract(epoch from '2026-06-14 08:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680686 -2.982523)'), GeomFromEWKT('SRID=4674;POINT (-39.68069 -2.982535)'))) / (select extract(epoch from '2026-06-14 08:26:11'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.680703 -2.982547)', '2026-06-14 08:26:14', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68069 -2.982535)'), GeomFromEWKT('SRID=4674;POINT (-39.680703 -2.982547)'))) / (select extract(epoch from '2026-06-14 08:26:14'::timestamp) - extract(epoch from '2026-06-14 08:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68069 -2.982535)'), GeomFromEWKT('SRID=4674;POINT (-39.680703 -2.982547)'))) / (select extract(epoch from '2026-06-14 08:26:14'::timestamp) - extract(epoch from '2026-06-14 08:26: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'), 46743, 'SRID=4674;POINT (-39.68072 -2.982571)', '2026-06-14 08:26:17', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680703 -2.982547)'), GeomFromEWKT('SRID=4674;POINT (-39.68072 -2.982571)'))) / (select extract(epoch from '2026-06-14 08:26:17'::timestamp) - extract(epoch from '2026-06-14 08:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680703 -2.982547)'), GeomFromEWKT('SRID=4674;POINT (-39.68072 -2.982571)'))) / (select extract(epoch from '2026-06-14 08:26:17'::timestamp) - extract(epoch from '2026-06-14 08:26: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'), 46743, 'SRID=4674;POINT (-39.680734 -2.982589)', '2026-06-14 08:26:19', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68072 -2.982571)'), GeomFromEWKT('SRID=4674;POINT (-39.680734 -2.982589)'))) / (select extract(epoch from '2026-06-14 08:26:19'::timestamp) - extract(epoch from '2026-06-14 08:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68072 -2.982571)'), GeomFromEWKT('SRID=4674;POINT (-39.680734 -2.982589)'))) / (select extract(epoch from '2026-06-14 08:26:19'::timestamp) - extract(epoch from '2026-06-14 08:26: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'), 46743, 'SRID=4674;POINT (-39.680762 -2.982676)', '2026-06-14 08:26:27', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680734 -2.982589)'), GeomFromEWKT('SRID=4674;POINT (-39.680762 -2.982676)'))) / (select extract(epoch from '2026-06-14 08:26:27'::timestamp) - extract(epoch from '2026-06-14 08:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680734 -2.982589)'), GeomFromEWKT('SRID=4674;POINT (-39.680762 -2.982676)'))) / (select extract(epoch from '2026-06-14 08:26:27'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.680771 -2.982782)', '2026-06-14 08:26:35', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680762 -2.982676)'), GeomFromEWKT('SRID=4674;POINT (-39.680771 -2.982782)'))) / (select extract(epoch from '2026-06-14 08:26:35'::timestamp) - extract(epoch from '2026-06-14 08:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680762 -2.982676)'), GeomFromEWKT('SRID=4674;POINT (-39.680771 -2.982782)'))) / (select extract(epoch from '2026-06-14 08:26:35'::timestamp) - extract(epoch from '2026-06-14 08:26: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'), 46743, 'SRID=4674;POINT (-39.680772 -2.982806)', '2026-06-14 08:26:37', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680771 -2.982782)'), GeomFromEWKT('SRID=4674;POINT (-39.680772 -2.982806)'))) / (select extract(epoch from '2026-06-14 08:26:37'::timestamp) - extract(epoch from '2026-06-14 08:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680771 -2.982782)'), GeomFromEWKT('SRID=4674;POINT (-39.680772 -2.982806)'))) / (select extract(epoch from '2026-06-14 08:26:37'::timestamp) - extract(epoch from '2026-06-14 08:26: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'), 46743, 'SRID=4674;POINT (-39.680781 -2.982864)', '2026-06-14 08:26:41', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680772 -2.982806)'), GeomFromEWKT('SRID=4674;POINT (-39.680781 -2.982864)'))) / (select extract(epoch from '2026-06-14 08:26:41'::timestamp) - extract(epoch from '2026-06-14 08:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680772 -2.982806)'), GeomFromEWKT('SRID=4674;POINT (-39.680781 -2.982864)'))) / (select extract(epoch from '2026-06-14 08:26:41'::timestamp) - extract(epoch from '2026-06-14 08:26: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'), 46743, 'SRID=4674;POINT (-39.680788 -2.98289)', '2026-06-14 08:26:43', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680781 -2.982864)'), GeomFromEWKT('SRID=4674;POINT (-39.680788 -2.98289)'))) / (select extract(epoch from '2026-06-14 08:26:43'::timestamp) - extract(epoch from '2026-06-14 08:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680781 -2.982864)'), GeomFromEWKT('SRID=4674;POINT (-39.680788 -2.98289)'))) / (select extract(epoch from '2026-06-14 08:26:43'::timestamp) - extract(epoch from '2026-06-14 08:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.680797 -2.982942)', '2026-06-14 08:26:47', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680788 -2.98289)'), GeomFromEWKT('SRID=4674;POINT (-39.680797 -2.982942)'))) / (select extract(epoch from '2026-06-14 08:26:47'::timestamp) - extract(epoch from '2026-06-14 08:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680788 -2.98289)'), GeomFromEWKT('SRID=4674;POINT (-39.680797 -2.982942)'))) / (select extract(epoch from '2026-06-14 08:26:47'::timestamp) - extract(epoch from '2026-06-14 08:26: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'), 46743, 'SRID=4674;POINT (-39.680824 -2.983068)', '2026-06-14 08:26:56', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680797 -2.982942)'), GeomFromEWKT('SRID=4674;POINT (-39.680824 -2.983068)'))) / (select extract(epoch from '2026-06-14 08:26:56'::timestamp) - extract(epoch from '2026-06-14 08:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680797 -2.982942)'), GeomFromEWKT('SRID=4674;POINT (-39.680824 -2.983068)'))) / (select extract(epoch from '2026-06-14 08:26:56'::timestamp) - extract(epoch from '2026-06-14 08:26: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'), 46743, 'SRID=4674;POINT (-39.680847 -2.983136)', '2026-06-14 08:27:02', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680824 -2.983068)'), GeomFromEWKT('SRID=4674;POINT (-39.680847 -2.983136)'))) / (select extract(epoch from '2026-06-14 08:27:02'::timestamp) - extract(epoch from '2026-06-14 08:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680824 -2.983068)'), GeomFromEWKT('SRID=4674;POINT (-39.680847 -2.983136)'))) / (select extract(epoch from '2026-06-14 08:27:02'::timestamp) - extract(epoch from '2026-06-14 08:26: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'), 46743, 'SRID=4674;POINT (-39.680874 -2.983223)', '2026-06-14 08:27:09', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680847 -2.983136)'), GeomFromEWKT('SRID=4674;POINT (-39.680874 -2.983223)'))) / (select extract(epoch from '2026-06-14 08:27:09'::timestamp) - extract(epoch from '2026-06-14 08:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680847 -2.983136)'), GeomFromEWKT('SRID=4674;POINT (-39.680874 -2.983223)'))) / (select extract(epoch from '2026-06-14 08:27:09'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.680894 -2.983299)', '2026-06-14 08:27:15', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680874 -2.983223)'), GeomFromEWKT('SRID=4674;POINT (-39.680894 -2.983299)'))) / (select extract(epoch from '2026-06-14 08:27:15'::timestamp) - extract(epoch from '2026-06-14 08:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680874 -2.983223)'), GeomFromEWKT('SRID=4674;POINT (-39.680894 -2.983299)'))) / (select extract(epoch from '2026-06-14 08:27:15'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.68092 -2.983351)', '2026-06-14 08:27:19', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680894 -2.983299)'), GeomFromEWKT('SRID=4674;POINT (-39.68092 -2.983351)'))) / (select extract(epoch from '2026-06-14 08:27:19'::timestamp) - extract(epoch from '2026-06-14 08:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680894 -2.983299)'), GeomFromEWKT('SRID=4674;POINT (-39.68092 -2.983351)'))) / (select extract(epoch from '2026-06-14 08:27:19'::timestamp) - extract(epoch from '2026-06-14 08:27: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'), 46743, 'SRID=4674;POINT (-39.680934 -2.983389)', '2026-06-14 08:27:22', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68092 -2.983351)'), GeomFromEWKT('SRID=4674;POINT (-39.680934 -2.983389)'))) / (select extract(epoch from '2026-06-14 08:27:22'::timestamp) - extract(epoch from '2026-06-14 08:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68092 -2.983351)'), GeomFromEWKT('SRID=4674;POINT (-39.680934 -2.983389)'))) / (select extract(epoch from '2026-06-14 08:27:22'::timestamp) - extract(epoch from '2026-06-14 08:27: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'), 46743, 'SRID=4674;POINT (-39.680965 -2.983485)', '2026-06-14 08:27:30', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680934 -2.983389)'), GeomFromEWKT('SRID=4674;POINT (-39.680965 -2.983485)'))) / (select extract(epoch from '2026-06-14 08:27:30'::timestamp) - extract(epoch from '2026-06-14 08:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680934 -2.983389)'), GeomFromEWKT('SRID=4674;POINT (-39.680965 -2.983485)'))) / (select extract(epoch from '2026-06-14 08:27:30'::timestamp) - extract(epoch from '2026-06-14 08:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.680993 -2.98354)', '2026-06-14 08:27:35', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680965 -2.983485)'), GeomFromEWKT('SRID=4674;POINT (-39.680993 -2.98354)'))) / (select extract(epoch from '2026-06-14 08:27:35'::timestamp) - extract(epoch from '2026-06-14 08:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680965 -2.983485)'), GeomFromEWKT('SRID=4674;POINT (-39.680993 -2.98354)'))) / (select extract(epoch from '2026-06-14 08:27:35'::timestamp) - extract(epoch from '2026-06-14 08:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.681064 -2.983659)', '2026-06-14 08:27:47', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680993 -2.98354)'), GeomFromEWKT('SRID=4674;POINT (-39.681064 -2.983659)'))) / (select extract(epoch from '2026-06-14 08:27:47'::timestamp) - extract(epoch from '2026-06-14 08:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680993 -2.98354)'), GeomFromEWKT('SRID=4674;POINT (-39.681064 -2.983659)'))) / (select extract(epoch from '2026-06-14 08:27:47'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.682657 -2.985976)', '2026-06-14 08:34:30', 33.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681064 -2.983659)'), GeomFromEWKT('SRID=4674;POINT (-39.682657 -2.985976)'))) / (select extract(epoch from '2026-06-14 08:34:30'::timestamp) - extract(epoch from '2026-06-14 08:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681064 -2.983659)'), GeomFromEWKT('SRID=4674;POINT (-39.682657 -2.985976)'))) / (select extract(epoch from '2026-06-14 08:34:30'::timestamp) - extract(epoch from '2026-06-14 08:27: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'), 46743, 'SRID=4674;POINT (-39.682655 -2.98598)', '2026-06-14 08:34:31', 33.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682657 -2.985976)'), GeomFromEWKT('SRID=4674;POINT (-39.682655 -2.98598)'))) / (select extract(epoch from '2026-06-14 08:34:31'::timestamp) - extract(epoch from '2026-06-14 08:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682657 -2.985976)'), GeomFromEWKT('SRID=4674;POINT (-39.682655 -2.98598)'))) / (select extract(epoch from '2026-06-14 08:34:31'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.68268 -2.985995)', '2026-06-14 08:34:43', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682655 -2.98598)'), GeomFromEWKT('SRID=4674;POINT (-39.68268 -2.985995)'))) / (select extract(epoch from '2026-06-14 08:34:43'::timestamp) - extract(epoch from '2026-06-14 08:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682655 -2.98598)'), GeomFromEWKT('SRID=4674;POINT (-39.68268 -2.985995)'))) / (select extract(epoch from '2026-06-14 08:34:43'::timestamp) - extract(epoch from '2026-06-14 08:34: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'), 46743, 'SRID=4674;POINT (-39.682691 -2.985998)', '2026-06-14 08:34:50', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68268 -2.985995)'), GeomFromEWKT('SRID=4674;POINT (-39.682691 -2.985998)'))) / (select extract(epoch from '2026-06-14 08:34:50'::timestamp) - extract(epoch from '2026-06-14 08:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68268 -2.985995)'), GeomFromEWKT('SRID=4674;POINT (-39.682691 -2.985998)'))) / (select extract(epoch from '2026-06-14 08:34:50'::timestamp) - extract(epoch from '2026-06-14 08:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.682719 -2.985986)', '2026-06-14 08:35:04', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682691 -2.985998)'), GeomFromEWKT('SRID=4674;POINT (-39.682719 -2.985986)'))) / (select extract(epoch from '2026-06-14 08:35:04'::timestamp) - extract(epoch from '2026-06-14 08:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682691 -2.985998)'), GeomFromEWKT('SRID=4674;POINT (-39.682719 -2.985986)'))) / (select extract(epoch from '2026-06-14 08:35:04'::timestamp) - extract(epoch from '2026-06-14 08:34: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'), 46743, 'SRID=4674;POINT (-39.682744 -2.985992)', '2026-06-14 08:35:17', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682719 -2.985986)'), GeomFromEWKT('SRID=4674;POINT (-39.682744 -2.985992)'))) / (select extract(epoch from '2026-06-14 08:35:17'::timestamp) - extract(epoch from '2026-06-14 08:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682719 -2.985986)'), GeomFromEWKT('SRID=4674;POINT (-39.682744 -2.985992)'))) / (select extract(epoch from '2026-06-14 08:35:17'::timestamp) - extract(epoch from '2026-06-14 08:35:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.682758 -2.985997)', '2026-06-14 08:35:29', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682744 -2.985992)'), GeomFromEWKT('SRID=4674;POINT (-39.682758 -2.985997)'))) / (select extract(epoch from '2026-06-14 08:35:29'::timestamp) - extract(epoch from '2026-06-14 08:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682744 -2.985992)'), GeomFromEWKT('SRID=4674;POINT (-39.682758 -2.985997)'))) / (select extract(epoch from '2026-06-14 08:35:29'::timestamp) - extract(epoch from '2026-06-14 08:35: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'), 46743, 'SRID=4674;POINT (-39.682771 -2.985973)', '2026-06-14 08:35:36', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682758 -2.985997)'), GeomFromEWKT('SRID=4674;POINT (-39.682771 -2.985973)'))) / (select extract(epoch from '2026-06-14 08:35:36'::timestamp) - extract(epoch from '2026-06-14 08:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682758 -2.985997)'), GeomFromEWKT('SRID=4674;POINT (-39.682771 -2.985973)'))) / (select extract(epoch from '2026-06-14 08:35:36'::timestamp) - extract(epoch from '2026-06-14 08:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.682786 -2.985954)', '2026-06-14 08:35:48', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682771 -2.985973)'), GeomFromEWKT('SRID=4674;POINT (-39.682786 -2.985954)'))) / (select extract(epoch from '2026-06-14 08:35:48'::timestamp) - extract(epoch from '2026-06-14 08:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682771 -2.985973)'), GeomFromEWKT('SRID=4674;POINT (-39.682786 -2.985954)'))) / (select extract(epoch from '2026-06-14 08:35:48'::timestamp) - extract(epoch from '2026-06-14 08:35: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'), 46743, 'SRID=4674;POINT (-39.682808 -2.985943)', '2026-06-14 08:35:57', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682786 -2.985954)'), GeomFromEWKT('SRID=4674;POINT (-39.682808 -2.985943)'))) / (select extract(epoch from '2026-06-14 08:35:57'::timestamp) - extract(epoch from '2026-06-14 08:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682786 -2.985954)'), GeomFromEWKT('SRID=4674;POINT (-39.682808 -2.985943)'))) / (select extract(epoch from '2026-06-14 08:35:57'::timestamp) - extract(epoch from '2026-06-14 08:35: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'), 46743, 'SRID=4674;POINT (-39.682817 -2.985935)', '2026-06-14 08:36:07', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682808 -2.985943)'), GeomFromEWKT('SRID=4674;POINT (-39.682817 -2.985935)'))) / (select extract(epoch from '2026-06-14 08:36:07'::timestamp) - extract(epoch from '2026-06-14 08:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682808 -2.985943)'), GeomFromEWKT('SRID=4674;POINT (-39.682817 -2.985935)'))) / (select extract(epoch from '2026-06-14 08:36:07'::timestamp) - extract(epoch from '2026-06-14 08:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.682822 -2.985933)', '2026-06-14 08:36:27', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682817 -2.985935)'), GeomFromEWKT('SRID=4674;POINT (-39.682822 -2.985933)'))) / (select extract(epoch from '2026-06-14 08:36:27'::timestamp) - extract(epoch from '2026-06-14 08:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682817 -2.985935)'), GeomFromEWKT('SRID=4674;POINT (-39.682822 -2.985933)'))) / (select extract(epoch from '2026-06-14 08:36:27'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.682594 -2.986144)', '2026-06-14 08:46:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682822 -2.985933)'), GeomFromEWKT('SRID=4674;POINT (-39.682594 -2.986144)'))) / (select extract(epoch from '2026-06-14 08:46:48'::timestamp) - extract(epoch from '2026-06-14 08:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682822 -2.985933)'), GeomFromEWKT('SRID=4674;POINT (-39.682594 -2.986144)'))) / (select extract(epoch from '2026-06-14 08:46:48'::timestamp) - extract(epoch from '2026-06-14 08:36:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683626 -2.985804)', '2026-06-14 08:53:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682594 -2.986144)'), GeomFromEWKT('SRID=4674;POINT (-39.683626 -2.985804)'))) / (select extract(epoch from '2026-06-14 08:53:12'::timestamp) - extract(epoch from '2026-06-14 08:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682594 -2.986144)'), GeomFromEWKT('SRID=4674;POINT (-39.683626 -2.985804)'))) / (select extract(epoch from '2026-06-14 08:53:12'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.683627 -2.985804)', '2026-06-14 08:53:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683626 -2.985804)'), GeomFromEWKT('SRID=4674;POINT (-39.683627 -2.985804)'))) / (select extract(epoch from '2026-06-14 08:53:13'::timestamp) - extract(epoch from '2026-06-14 08:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683626 -2.985804)'), GeomFromEWKT('SRID=4674;POINT (-39.683627 -2.985804)'))) / (select extract(epoch from '2026-06-14 08:53:13'::timestamp) - extract(epoch from '2026-06-14 08:53: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'), 46743, 'SRID=4674;POINT (-39.683629 -2.98581)', '2026-06-14 08:53:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683627 -2.985804)'), GeomFromEWKT('SRID=4674;POINT (-39.683629 -2.98581)'))) / (select extract(epoch from '2026-06-14 08:53:23'::timestamp) - extract(epoch from '2026-06-14 08:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683627 -2.985804)'), GeomFromEWKT('SRID=4674;POINT (-39.683629 -2.98581)'))) / (select extract(epoch from '2026-06-14 08:53:23'::timestamp) - extract(epoch from '2026-06-14 08:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683639 -2.985816)', '2026-06-14 08:53:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683629 -2.98581)'), GeomFromEWKT('SRID=4674;POINT (-39.683639 -2.985816)'))) / (select extract(epoch from '2026-06-14 08:53:34'::timestamp) - extract(epoch from '2026-06-14 08:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683629 -2.98581)'), GeomFromEWKT('SRID=4674;POINT (-39.683639 -2.985816)'))) / (select extract(epoch from '2026-06-14 08:53:34'::timestamp) - extract(epoch from '2026-06-14 08:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683632 -2.985819)', '2026-06-14 08:53:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683639 -2.985816)'), GeomFromEWKT('SRID=4674;POINT (-39.683632 -2.985819)'))) / (select extract(epoch from '2026-06-14 08:53:46'::timestamp) - extract(epoch from '2026-06-14 08:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683639 -2.985816)'), GeomFromEWKT('SRID=4674;POINT (-39.683632 -2.985819)'))) / (select extract(epoch from '2026-06-14 08:53:46'::timestamp) - extract(epoch from '2026-06-14 08:53: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'), 46743, 'SRID=4674;POINT (-39.683636 -2.9858)', '2026-06-14 08:53:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683632 -2.985819)'), GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.9858)'))) / (select extract(epoch from '2026-06-14 08:53:57'::timestamp) - extract(epoch from '2026-06-14 08:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683632 -2.985819)'), GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.9858)'))) / (select extract(epoch from '2026-06-14 08:53:57'::timestamp) - extract(epoch from '2026-06-14 08:53: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'), 46743, 'SRID=4674;POINT (-39.683645 -2.985795)', '2026-06-14 08:54:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.9858)'), GeomFromEWKT('SRID=4674;POINT (-39.683645 -2.985795)'))) / (select extract(epoch from '2026-06-14 08:54:14'::timestamp) - extract(epoch from '2026-06-14 08:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.9858)'), GeomFromEWKT('SRID=4674;POINT (-39.683645 -2.985795)'))) / (select extract(epoch from '2026-06-14 08:54:14'::timestamp) - extract(epoch from '2026-06-14 08:53: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'), 46743, 'SRID=4674;POINT (-39.683646 -2.985794)', '2026-06-14 08:54:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683645 -2.985795)'), GeomFromEWKT('SRID=4674;POINT (-39.683646 -2.985794)'))) / (select extract(epoch from '2026-06-14 08:54:27'::timestamp) - extract(epoch from '2026-06-14 08:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683645 -2.985795)'), GeomFromEWKT('SRID=4674;POINT (-39.683646 -2.985794)'))) / (select extract(epoch from '2026-06-14 08:54:27'::timestamp) - extract(epoch from '2026-06-14 08:54: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'), 46743, 'SRID=4674;POINT (-39.683649 -2.985798)', '2026-06-14 08:54:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683646 -2.985794)'), GeomFromEWKT('SRID=4674;POINT (-39.683649 -2.985798)'))) / (select extract(epoch from '2026-06-14 08:54:37'::timestamp) - extract(epoch from '2026-06-14 08:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683646 -2.985794)'), GeomFromEWKT('SRID=4674;POINT (-39.683649 -2.985798)'))) / (select extract(epoch from '2026-06-14 08:54:37'::timestamp) - extract(epoch from '2026-06-14 08:54: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'), 46743, 'SRID=4674;POINT (-39.68366 -2.985801)', '2026-06-14 08:54:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683649 -2.985798)'), GeomFromEWKT('SRID=4674;POINT (-39.68366 -2.985801)'))) / (select extract(epoch from '2026-06-14 08:54:49'::timestamp) - extract(epoch from '2026-06-14 08:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683649 -2.985798)'), GeomFromEWKT('SRID=4674;POINT (-39.68366 -2.985801)'))) / (select extract(epoch from '2026-06-14 08:54:49'::timestamp) - extract(epoch from '2026-06-14 08:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683676 -2.985792)', '2026-06-14 08:54:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68366 -2.985801)'), GeomFromEWKT('SRID=4674;POINT (-39.683676 -2.985792)'))) / (select extract(epoch from '2026-06-14 08:54:56'::timestamp) - extract(epoch from '2026-06-14 08:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68366 -2.985801)'), GeomFromEWKT('SRID=4674;POINT (-39.683676 -2.985792)'))) / (select extract(epoch from '2026-06-14 08:54:56'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.683695 -2.98579)', '2026-06-14 08:55:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683676 -2.985792)'), GeomFromEWKT('SRID=4674;POINT (-39.683695 -2.98579)'))) / (select extract(epoch from '2026-06-14 08:55:11'::timestamp) - extract(epoch from '2026-06-14 08:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683676 -2.985792)'), GeomFromEWKT('SRID=4674;POINT (-39.683695 -2.98579)'))) / (select extract(epoch from '2026-06-14 08:55:11'::timestamp) - extract(epoch from '2026-06-14 08:54: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'), 46743, 'SRID=4674;POINT (-39.683697 -2.98579)', '2026-06-14 08:55:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683695 -2.98579)'), GeomFromEWKT('SRID=4674;POINT (-39.683697 -2.98579)'))) / (select extract(epoch from '2026-06-14 08:55:27'::timestamp) - extract(epoch from '2026-06-14 08:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683695 -2.98579)'), GeomFromEWKT('SRID=4674;POINT (-39.683697 -2.98579)'))) / (select extract(epoch from '2026-06-14 08:55:27'::timestamp) - extract(epoch from '2026-06-14 08:55: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'), 46743, 'SRID=4674;POINT (-39.68372 -2.985835)', '2026-06-14 08:57:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683697 -2.98579)'), GeomFromEWKT('SRID=4674;POINT (-39.68372 -2.985835)'))) / (select extract(epoch from '2026-06-14 08:57:25'::timestamp) - extract(epoch from '2026-06-14 08:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683697 -2.98579)'), GeomFromEWKT('SRID=4674;POINT (-39.68372 -2.985835)'))) / (select extract(epoch from '2026-06-14 08:57:25'::timestamp) - extract(epoch from '2026-06-14 08: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'), 46743, 'SRID=4674;POINT (-39.683718 -2.985834)', '2026-06-14 08:57:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68372 -2.985835)'), GeomFromEWKT('SRID=4674;POINT (-39.683718 -2.985834)'))) / (select extract(epoch from '2026-06-14 08:57:26'::timestamp) - extract(epoch from '2026-06-14 08:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68372 -2.985835)'), GeomFromEWKT('SRID=4674;POINT (-39.683718 -2.985834)'))) / (select extract(epoch from '2026-06-14 08:57:26'::timestamp) - extract(epoch from '2026-06-14 08:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683703 -2.985826)', '2026-06-14 08:57:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683718 -2.985834)'), GeomFromEWKT('SRID=4674;POINT (-39.683703 -2.985826)'))) / (select extract(epoch from '2026-06-14 08:57:35'::timestamp) - extract(epoch from '2026-06-14 08:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683718 -2.985834)'), GeomFromEWKT('SRID=4674;POINT (-39.683703 -2.985826)'))) / (select extract(epoch from '2026-06-14 08:57:35'::timestamp) - extract(epoch from '2026-06-14 08:57: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'), 46743, 'SRID=4674;POINT (-39.683714 -2.985825)', '2026-06-14 08:57:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683703 -2.985826)'), GeomFromEWKT('SRID=4674;POINT (-39.683714 -2.985825)'))) / (select extract(epoch from '2026-06-14 08:57:50'::timestamp) - extract(epoch from '2026-06-14 08:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683703 -2.985826)'), GeomFromEWKT('SRID=4674;POINT (-39.683714 -2.985825)'))) / (select extract(epoch from '2026-06-14 08:57:50'::timestamp) - extract(epoch from '2026-06-14 08:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683716 -2.985839)', '2026-06-14 08:58:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683714 -2.985825)'), GeomFromEWKT('SRID=4674;POINT (-39.683716 -2.985839)'))) / (select extract(epoch from '2026-06-14 08:58:04'::timestamp) - extract(epoch from '2026-06-14 08:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683714 -2.985825)'), GeomFromEWKT('SRID=4674;POINT (-39.683716 -2.985839)'))) / (select extract(epoch from '2026-06-14 08:58:04'::timestamp) - extract(epoch from '2026-06-14 08:57:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683715 -2.985841)', '2026-06-14 08:58:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683716 -2.985839)'), GeomFromEWKT('SRID=4674;POINT (-39.683715 -2.985841)'))) / (select extract(epoch from '2026-06-14 08:58:18'::timestamp) - extract(epoch from '2026-06-14 08:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683716 -2.985839)'), GeomFromEWKT('SRID=4674;POINT (-39.683715 -2.985841)'))) / (select extract(epoch from '2026-06-14 08:58:18'::timestamp) - extract(epoch from '2026-06-14 08:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683717 -2.98584)', '2026-06-14 08:58:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683715 -2.985841)'), GeomFromEWKT('SRID=4674;POINT (-39.683717 -2.98584)'))) / (select extract(epoch from '2026-06-14 08:58:29'::timestamp) - extract(epoch from '2026-06-14 08:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683715 -2.985841)'), GeomFromEWKT('SRID=4674;POINT (-39.683717 -2.98584)'))) / (select extract(epoch from '2026-06-14 08:58:29'::timestamp) - extract(epoch from '2026-06-14 08:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683724 -2.98584)', '2026-06-14 08:58:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683717 -2.98584)'), GeomFromEWKT('SRID=4674;POINT (-39.683724 -2.98584)'))) / (select extract(epoch from '2026-06-14 08:58:43'::timestamp) - extract(epoch from '2026-06-14 08:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683717 -2.98584)'), GeomFromEWKT('SRID=4674;POINT (-39.683724 -2.98584)'))) / (select extract(epoch from '2026-06-14 08:58:43'::timestamp) - extract(epoch from '2026-06-14 08:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683726 -2.985838)', '2026-06-14 08:58:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683724 -2.98584)'), GeomFromEWKT('SRID=4674;POINT (-39.683726 -2.985838)'))) / (select extract(epoch from '2026-06-14 08:58:59'::timestamp) - extract(epoch from '2026-06-14 08:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683724 -2.98584)'), GeomFromEWKT('SRID=4674;POINT (-39.683726 -2.985838)'))) / (select extract(epoch from '2026-06-14 08:58:59'::timestamp) - extract(epoch from '2026-06-14 08:58: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'), 46743, 'SRID=4674;POINT (-39.683725 -2.985839)', '2026-06-14 08:59:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683726 -2.985838)'), GeomFromEWKT('SRID=4674;POINT (-39.683725 -2.985839)'))) / (select extract(epoch from '2026-06-14 08:59:08'::timestamp) - extract(epoch from '2026-06-14 08:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683726 -2.985838)'), GeomFromEWKT('SRID=4674;POINT (-39.683725 -2.985839)'))) / (select extract(epoch from '2026-06-14 08:59:08'::timestamp) - extract(epoch from '2026-06-14 08:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683725 -2.985845)', '2026-06-14 08:59:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683725 -2.985839)'), GeomFromEWKT('SRID=4674;POINT (-39.683725 -2.985845)'))) / (select extract(epoch from '2026-06-14 08:59:25'::timestamp) - extract(epoch from '2026-06-14 08:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683725 -2.985839)'), GeomFromEWKT('SRID=4674;POINT (-39.683725 -2.985845)'))) / (select extract(epoch from '2026-06-14 08:59:25'::timestamp) - extract(epoch from '2026-06-14 08:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683723 -2.985845)', '2026-06-14 08:59:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683725 -2.985845)'), GeomFromEWKT('SRID=4674;POINT (-39.683723 -2.985845)'))) / (select extract(epoch from '2026-06-14 08:59:32'::timestamp) - extract(epoch from '2026-06-14 08:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683725 -2.985845)'), GeomFromEWKT('SRID=4674;POINT (-39.683723 -2.985845)'))) / (select extract(epoch from '2026-06-14 08:59:32'::timestamp) - extract(epoch from '2026-06-14 08:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683822 -2.985819)', '2026-06-14 09:09:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683723 -2.985845)'), GeomFromEWKT('SRID=4674;POINT (-39.683822 -2.985819)'))) / (select extract(epoch from '2026-06-14 09:09:36'::timestamp) - extract(epoch from '2026-06-14 08:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683723 -2.985845)'), GeomFromEWKT('SRID=4674;POINT (-39.683822 -2.985819)'))) / (select extract(epoch from '2026-06-14 09:09:36'::timestamp) - extract(epoch from '2026-06-14 08:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683705 -2.98568)', '2026-06-14 09:19:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683822 -2.985819)'), GeomFromEWKT('SRID=4674;POINT (-39.683705 -2.98568)'))) / (select extract(epoch from '2026-06-14 09:19:43'::timestamp) - extract(epoch from '2026-06-14 09:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683822 -2.985819)'), GeomFromEWKT('SRID=4674;POINT (-39.683705 -2.98568)'))) / (select extract(epoch from '2026-06-14 09:19:43'::timestamp) - extract(epoch from '2026-06-14 09:09: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'), 46743, 'SRID=4674;POINT (-39.68378 -2.985548)', '2026-06-14 09:29:35', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683705 -2.98568)'), GeomFromEWKT('SRID=4674;POINT (-39.68378 -2.985548)'))) / (select extract(epoch from '2026-06-14 09:29:35'::timestamp) - extract(epoch from '2026-06-14 09:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683705 -2.98568)'), GeomFromEWKT('SRID=4674;POINT (-39.68378 -2.985548)'))) / (select extract(epoch from '2026-06-14 09:29:35'::timestamp) - extract(epoch from '2026-06-14 09:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683796 -2.985495)', '2026-06-14 09:39:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68378 -2.985548)'), GeomFromEWKT('SRID=4674;POINT (-39.683796 -2.985495)'))) / (select extract(epoch from '2026-06-14 09:39:40'::timestamp) - extract(epoch from '2026-06-14 09:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68378 -2.985548)'), GeomFromEWKT('SRID=4674;POINT (-39.683796 -2.985495)'))) / (select extract(epoch from '2026-06-14 09:39:40'::timestamp) - extract(epoch from '2026-06-14 09: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'), 46743, 'SRID=4674;POINT (-39.683901 -2.985487)', '2026-06-14 09:48:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683796 -2.985495)'), GeomFromEWKT('SRID=4674;POINT (-39.683901 -2.985487)'))) / (select extract(epoch from '2026-06-14 09:48:49'::timestamp) - extract(epoch from '2026-06-14 09:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683796 -2.985495)'), GeomFromEWKT('SRID=4674;POINT (-39.683901 -2.985487)'))) / (select extract(epoch from '2026-06-14 09:48:49'::timestamp) - extract(epoch from '2026-06-14 09:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683898 -2.985481)', '2026-06-14 09:48:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683901 -2.985487)'), GeomFromEWKT('SRID=4674;POINT (-39.683898 -2.985481)'))) / (select extract(epoch from '2026-06-14 09:48:58'::timestamp) - extract(epoch from '2026-06-14 09:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683901 -2.985487)'), GeomFromEWKT('SRID=4674;POINT (-39.683898 -2.985481)'))) / (select extract(epoch from '2026-06-14 09:48:58'::timestamp) - extract(epoch from '2026-06-14 09:48: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'), 46743, 'SRID=4674;POINT (-39.683889 -2.985484)', '2026-06-14 09:49:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683898 -2.985481)'), GeomFromEWKT('SRID=4674;POINT (-39.683889 -2.985484)'))) / (select extract(epoch from '2026-06-14 09:49:12'::timestamp) - extract(epoch from '2026-06-14 09:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683898 -2.985481)'), GeomFromEWKT('SRID=4674;POINT (-39.683889 -2.985484)'))) / (select extract(epoch from '2026-06-14 09:49:12'::timestamp) - extract(epoch from '2026-06-14 09:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683895 -2.985518)', '2026-06-14 09:49:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683889 -2.985484)'), GeomFromEWKT('SRID=4674;POINT (-39.683895 -2.985518)'))) / (select extract(epoch from '2026-06-14 09:49:27'::timestamp) - extract(epoch from '2026-06-14 09:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683889 -2.985484)'), GeomFromEWKT('SRID=4674;POINT (-39.683895 -2.985518)'))) / (select extract(epoch from '2026-06-14 09:49:27'::timestamp) - extract(epoch from '2026-06-14 09:49:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683891 -2.985515)', '2026-06-14 09:49:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683895 -2.985518)'), GeomFromEWKT('SRID=4674;POINT (-39.683891 -2.985515)'))) / (select extract(epoch from '2026-06-14 09:49:41'::timestamp) - extract(epoch from '2026-06-14 09:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683895 -2.985518)'), GeomFromEWKT('SRID=4674;POINT (-39.683891 -2.985515)'))) / (select extract(epoch from '2026-06-14 09:49:41'::timestamp) - extract(epoch from '2026-06-14 09:49: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'), 46743, 'SRID=4674;POINT (-39.683895 -2.985517)', '2026-06-14 09:49:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683891 -2.985515)'), GeomFromEWKT('SRID=4674;POINT (-39.683895 -2.985517)'))) / (select extract(epoch from '2026-06-14 09:49:50'::timestamp) - extract(epoch from '2026-06-14 09:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683891 -2.985515)'), GeomFromEWKT('SRID=4674;POINT (-39.683895 -2.985517)'))) / (select extract(epoch from '2026-06-14 09:49:50'::timestamp) - extract(epoch from '2026-06-14 09:49: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'), 46743, 'SRID=4674;POINT (-39.683896 -2.985514)', '2026-06-14 09:49:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683895 -2.985517)'), GeomFromEWKT('SRID=4674;POINT (-39.683896 -2.985514)'))) / (select extract(epoch from '2026-06-14 09:49:58'::timestamp) - extract(epoch from '2026-06-14 09:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683895 -2.985517)'), GeomFromEWKT('SRID=4674;POINT (-39.683896 -2.985514)'))) / (select extract(epoch from '2026-06-14 09:49:58'::timestamp) - extract(epoch from '2026-06-14 09:49: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'), 46743, 'SRID=4674;POINT (-39.683894 -2.98552)', '2026-06-14 09:50:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683896 -2.985514)'), GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.98552)'))) / (select extract(epoch from '2026-06-14 09:50:10'::timestamp) - extract(epoch from '2026-06-14 09:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683896 -2.985514)'), GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.98552)'))) / (select extract(epoch from '2026-06-14 09:50:10'::timestamp) - extract(epoch from '2026-06-14 09:49: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'), 46743, 'SRID=4674;POINT (-39.683898 -2.985522)', '2026-06-14 09:50:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.98552)'), GeomFromEWKT('SRID=4674;POINT (-39.683898 -2.985522)'))) / (select extract(epoch from '2026-06-14 09:50:21'::timestamp) - extract(epoch from '2026-06-14 09:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.98552)'), GeomFromEWKT('SRID=4674;POINT (-39.683898 -2.985522)'))) / (select extract(epoch from '2026-06-14 09:50:21'::timestamp) - extract(epoch from '2026-06-14 09:50: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'), 46743, 'SRID=4674;POINT (-39.683894 -2.98552)', '2026-06-14 09:50:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683898 -2.985522)'), GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.98552)'))) / (select extract(epoch from '2026-06-14 09:50:39'::timestamp) - extract(epoch from '2026-06-14 09:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683898 -2.985522)'), GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.98552)'))) / (select extract(epoch from '2026-06-14 09:50:39'::timestamp) - extract(epoch from '2026-06-14 09: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'), 46743, 'SRID=4674;POINT (-39.683998 -2.985742)', '2026-06-14 10:00:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.98552)'), GeomFromEWKT('SRID=4674;POINT (-39.683998 -2.985742)'))) / (select extract(epoch from '2026-06-14 10:00:50'::timestamp) - extract(epoch from '2026-06-14 09:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.98552)'), GeomFromEWKT('SRID=4674;POINT (-39.683998 -2.985742)'))) / (select extract(epoch from '2026-06-14 10:00:50'::timestamp) - extract(epoch from '2026-06-14 09:50: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'), 46743, 'SRID=4674;POINT (-39.683723 -2.985856)', '2026-06-14 10:11:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683998 -2.985742)'), GeomFromEWKT('SRID=4674;POINT (-39.683723 -2.985856)'))) / (select extract(epoch from '2026-06-14 10:11:02'::timestamp) - extract(epoch from '2026-06-14 10:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683998 -2.985742)'), GeomFromEWKT('SRID=4674;POINT (-39.683723 -2.985856)'))) / (select extract(epoch from '2026-06-14 10:11:02'::timestamp) - extract(epoch from '2026-06-14 10:00:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683756 -2.985888)', '2026-06-14 10:21:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683723 -2.985856)'), GeomFromEWKT('SRID=4674;POINT (-39.683756 -2.985888)'))) / (select extract(epoch from '2026-06-14 10:21:00'::timestamp) - extract(epoch from '2026-06-14 10:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683723 -2.985856)'), GeomFromEWKT('SRID=4674;POINT (-39.683756 -2.985888)'))) / (select extract(epoch from '2026-06-14 10:21:00'::timestamp) - extract(epoch from '2026-06-14 10:11: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'), 46743, 'SRID=4674;POINT (-39.683733 -2.985913)', '2026-06-14 10:21:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683756 -2.985888)'), GeomFromEWKT('SRID=4674;POINT (-39.683733 -2.985913)'))) / (select extract(epoch from '2026-06-14 10:21:50'::timestamp) - extract(epoch from '2026-06-14 10:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683756 -2.985888)'), GeomFromEWKT('SRID=4674;POINT (-39.683733 -2.985913)'))) / (select extract(epoch from '2026-06-14 10:21:50'::timestamp) - extract(epoch from '2026-06-14 10:21: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'), 46743, 'SRID=4674;POINT (-39.68374 -2.985916)', '2026-06-14 10:21:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683733 -2.985913)'), GeomFromEWKT('SRID=4674;POINT (-39.68374 -2.985916)'))) / (select extract(epoch from '2026-06-14 10:21:56'::timestamp) - extract(epoch from '2026-06-14 10:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683733 -2.985913)'), GeomFromEWKT('SRID=4674;POINT (-39.68374 -2.985916)'))) / (select extract(epoch from '2026-06-14 10:21:56'::timestamp) - extract(epoch from '2026-06-14 10:21: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'), 46743, 'SRID=4674;POINT (-39.683738 -2.985907)', '2026-06-14 10:22:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68374 -2.985916)'), GeomFromEWKT('SRID=4674;POINT (-39.683738 -2.985907)'))) / (select extract(epoch from '2026-06-14 10:22:05'::timestamp) - extract(epoch from '2026-06-14 10:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68374 -2.985916)'), GeomFromEWKT('SRID=4674;POINT (-39.683738 -2.985907)'))) / (select extract(epoch from '2026-06-14 10:22:05'::timestamp) - extract(epoch from '2026-06-14 10:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683743 -2.985891)', '2026-06-14 10:22:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683738 -2.985907)'), GeomFromEWKT('SRID=4674;POINT (-39.683743 -2.985891)'))) / (select extract(epoch from '2026-06-14 10:22:19'::timestamp) - extract(epoch from '2026-06-14 10:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683738 -2.985907)'), GeomFromEWKT('SRID=4674;POINT (-39.683743 -2.985891)'))) / (select extract(epoch from '2026-06-14 10:22:19'::timestamp) - extract(epoch from '2026-06-14 10:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683752 -2.985885)', '2026-06-14 10:22:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683743 -2.985891)'), GeomFromEWKT('SRID=4674;POINT (-39.683752 -2.985885)'))) / (select extract(epoch from '2026-06-14 10:22:35'::timestamp) - extract(epoch from '2026-06-14 10:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683743 -2.985891)'), GeomFromEWKT('SRID=4674;POINT (-39.683752 -2.985885)'))) / (select extract(epoch from '2026-06-14 10:22:35'::timestamp) - extract(epoch from '2026-06-14 10:22: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'), 46743, 'SRID=4674;POINT (-39.683751 -2.985893)', '2026-06-14 10:22:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683752 -2.985885)'), GeomFromEWKT('SRID=4674;POINT (-39.683751 -2.985893)'))) / (select extract(epoch from '2026-06-14 10:22:46'::timestamp) - extract(epoch from '2026-06-14 10:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683752 -2.985885)'), GeomFromEWKT('SRID=4674;POINT (-39.683751 -2.985893)'))) / (select extract(epoch from '2026-06-14 10:22:46'::timestamp) - extract(epoch from '2026-06-14 10:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683756 -2.985906)', '2026-06-14 10:22:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683751 -2.985893)'), GeomFromEWKT('SRID=4674;POINT (-39.683756 -2.985906)'))) / (select extract(epoch from '2026-06-14 10:22:56'::timestamp) - extract(epoch from '2026-06-14 10:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683751 -2.985893)'), GeomFromEWKT('SRID=4674;POINT (-39.683756 -2.985906)'))) / (select extract(epoch from '2026-06-14 10:22:56'::timestamp) - extract(epoch from '2026-06-14 10:22: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'), 46743, 'SRID=4674;POINT (-39.683755 -2.985912)', '2026-06-14 10:23:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683756 -2.985906)'), GeomFromEWKT('SRID=4674;POINT (-39.683755 -2.985912)'))) / (select extract(epoch from '2026-06-14 10:23:04'::timestamp) - extract(epoch from '2026-06-14 10:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683756 -2.985906)'), GeomFromEWKT('SRID=4674;POINT (-39.683755 -2.985912)'))) / (select extract(epoch from '2026-06-14 10:23:04'::timestamp) - extract(epoch from '2026-06-14 10:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.68376 -2.985913)', '2026-06-14 10:23:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683755 -2.985912)'), GeomFromEWKT('SRID=4674;POINT (-39.68376 -2.985913)'))) / (select extract(epoch from '2026-06-14 10:23:16'::timestamp) - extract(epoch from '2026-06-14 10:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683755 -2.985912)'), GeomFromEWKT('SRID=4674;POINT (-39.68376 -2.985913)'))) / (select extract(epoch from '2026-06-14 10:23:16'::timestamp) - extract(epoch from '2026-06-14 10:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683757 -2.985913)', '2026-06-14 10:23:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68376 -2.985913)'), GeomFromEWKT('SRID=4674;POINT (-39.683757 -2.985913)'))) / (select extract(epoch from '2026-06-14 10:23:27'::timestamp) - extract(epoch from '2026-06-14 10:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68376 -2.985913)'), GeomFromEWKT('SRID=4674;POINT (-39.683757 -2.985913)'))) / (select extract(epoch from '2026-06-14 10:23:27'::timestamp) - extract(epoch from '2026-06-14 10:23: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'), 46743, 'SRID=4674;POINT (-39.683762 -2.985916)', '2026-06-14 10:23:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683757 -2.985913)'), GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.985916)'))) / (select extract(epoch from '2026-06-14 10:23:37'::timestamp) - extract(epoch from '2026-06-14 10:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683757 -2.985913)'), GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.985916)'))) / (select extract(epoch from '2026-06-14 10:23:37'::timestamp) - extract(epoch from '2026-06-14 10:23: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'), 46743, 'SRID=4674;POINT (-39.683762 -2.985914)', '2026-06-14 10:23:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.985916)'), GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.985914)'))) / (select extract(epoch from '2026-06-14 10:23:48'::timestamp) - extract(epoch from '2026-06-14 10:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.985916)'), GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.985914)'))) / (select extract(epoch from '2026-06-14 10:23:48'::timestamp) - extract(epoch from '2026-06-14 10:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683968 -2.986045)', '2026-06-14 10:34:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.985914)'), GeomFromEWKT('SRID=4674;POINT (-39.683968 -2.986045)'))) / (select extract(epoch from '2026-06-14 10:34:07'::timestamp) - extract(epoch from '2026-06-14 10:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.985914)'), GeomFromEWKT('SRID=4674;POINT (-39.683968 -2.986045)'))) / (select extract(epoch from '2026-06-14 10:34:07'::timestamp) - extract(epoch from '2026-06-14 10:23: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'), 46743, 'SRID=4674;POINT (-39.683968 -2.985868)', '2026-06-14 10:43:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683968 -2.986045)'), GeomFromEWKT('SRID=4674;POINT (-39.683968 -2.985868)'))) / (select extract(epoch from '2026-06-14 10:43:59'::timestamp) - extract(epoch from '2026-06-14 10:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683968 -2.986045)'), GeomFromEWKT('SRID=4674;POINT (-39.683968 -2.985868)'))) / (select extract(epoch from '2026-06-14 10:43:59'::timestamp) - extract(epoch from '2026-06-14 10: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'), 46743, 'SRID=4674;POINT (-39.683973 -2.985883)', '2026-06-14 10:54:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683968 -2.985868)'), GeomFromEWKT('SRID=4674;POINT (-39.683973 -2.985883)'))) / (select extract(epoch from '2026-06-14 10:54:02'::timestamp) - extract(epoch from '2026-06-14 10:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683968 -2.985868)'), GeomFromEWKT('SRID=4674;POINT (-39.683973 -2.985883)'))) / (select extract(epoch from '2026-06-14 10:54:02'::timestamp) - extract(epoch from '2026-06-14 10:43: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'), 46743, 'SRID=4674;POINT (-39.683736 -2.985983)', '2026-06-14 10:57:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683973 -2.985883)'), GeomFromEWKT('SRID=4674;POINT (-39.683736 -2.985983)'))) / (select extract(epoch from '2026-06-14 10:57:14'::timestamp) - extract(epoch from '2026-06-14 10:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683973 -2.985883)'), GeomFromEWKT('SRID=4674;POINT (-39.683736 -2.985983)'))) / (select extract(epoch from '2026-06-14 10:57:14'::timestamp) - extract(epoch from '2026-06-14 10:54: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'), 46743, 'SRID=4674;POINT (-39.683728 -2.985972)', '2026-06-14 10:57:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683736 -2.985983)'), GeomFromEWKT('SRID=4674;POINT (-39.683728 -2.985972)'))) / (select extract(epoch from '2026-06-14 10:57:23'::timestamp) - extract(epoch from '2026-06-14 10:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683736 -2.985983)'), GeomFromEWKT('SRID=4674;POINT (-39.683728 -2.985972)'))) / (select extract(epoch from '2026-06-14 10:57:23'::timestamp) - extract(epoch from '2026-06-14 10:57:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683709 -2.985974)', '2026-06-14 10:57:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683728 -2.985972)'), GeomFromEWKT('SRID=4674;POINT (-39.683709 -2.985974)'))) / (select extract(epoch from '2026-06-14 10:57:36'::timestamp) - extract(epoch from '2026-06-14 10:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683728 -2.985972)'), GeomFromEWKT('SRID=4674;POINT (-39.683709 -2.985974)'))) / (select extract(epoch from '2026-06-14 10:57:36'::timestamp) - extract(epoch from '2026-06-14 10:57: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'), 46743, 'SRID=4674;POINT (-39.683638 -2.986001)', '2026-06-14 10:57:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683709 -2.985974)'), GeomFromEWKT('SRID=4674;POINT (-39.683638 -2.986001)'))) / (select extract(epoch from '2026-06-14 10:57:47'::timestamp) - extract(epoch from '2026-06-14 10:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683709 -2.985974)'), GeomFromEWKT('SRID=4674;POINT (-39.683638 -2.986001)'))) / (select extract(epoch from '2026-06-14 10:57:47'::timestamp) - extract(epoch from '2026-06-14 10:57: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'), 46743, 'SRID=4674;POINT (-39.683604 -2.986004)', '2026-06-14 10:57:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683638 -2.986001)'), GeomFromEWKT('SRID=4674;POINT (-39.683604 -2.986004)'))) / (select extract(epoch from '2026-06-14 10:57:54'::timestamp) - extract(epoch from '2026-06-14 10:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683638 -2.986001)'), GeomFromEWKT('SRID=4674;POINT (-39.683604 -2.986004)'))) / (select extract(epoch from '2026-06-14 10:57:54'::timestamp) - extract(epoch from '2026-06-14 10: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'), 46743, 'SRID=4674;POINT (-39.683557 -2.986016)', '2026-06-14 10:58:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683604 -2.986004)'), GeomFromEWKT('SRID=4674;POINT (-39.683557 -2.986016)'))) / (select extract(epoch from '2026-06-14 10:58:05'::timestamp) - extract(epoch from '2026-06-14 10:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683604 -2.986004)'), GeomFromEWKT('SRID=4674;POINT (-39.683557 -2.986016)'))) / (select extract(epoch from '2026-06-14 10:58:05'::timestamp) - extract(epoch from '2026-06-14 10:57: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'), 46743, 'SRID=4674;POINT (-39.683504 -2.986038)', '2026-06-14 10:58:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683557 -2.986016)'), GeomFromEWKT('SRID=4674;POINT (-39.683504 -2.986038)'))) / (select extract(epoch from '2026-06-14 10:58:16'::timestamp) - extract(epoch from '2026-06-14 10:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683557 -2.986016)'), GeomFromEWKT('SRID=4674;POINT (-39.683504 -2.986038)'))) / (select extract(epoch from '2026-06-14 10:58:16'::timestamp) - extract(epoch from '2026-06-14 10:58: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'), 46743, 'SRID=4674;POINT (-39.683476 -2.986038)', '2026-06-14 10:58:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683504 -2.986038)'), GeomFromEWKT('SRID=4674;POINT (-39.683476 -2.986038)'))) / (select extract(epoch from '2026-06-14 10:58:24'::timestamp) - extract(epoch from '2026-06-14 10:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683504 -2.986038)'), GeomFromEWKT('SRID=4674;POINT (-39.683476 -2.986038)'))) / (select extract(epoch from '2026-06-14 10:58:24'::timestamp) - extract(epoch from '2026-06-14 10:58: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'), 46743, 'SRID=4674;POINT (-39.68347 -2.98604)', '2026-06-14 10:58:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683476 -2.986038)'), GeomFromEWKT('SRID=4674;POINT (-39.68347 -2.98604)'))) / (select extract(epoch from '2026-06-14 10:58:32'::timestamp) - extract(epoch from '2026-06-14 10:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683476 -2.986038)'), GeomFromEWKT('SRID=4674;POINT (-39.68347 -2.98604)'))) / (select extract(epoch from '2026-06-14 10:58:32'::timestamp) - extract(epoch from '2026-06-14 10:58:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683463 -2.986055)', '2026-06-14 10:58:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68347 -2.98604)'), GeomFromEWKT('SRID=4674;POINT (-39.683463 -2.986055)'))) / (select extract(epoch from '2026-06-14 10:58:41'::timestamp) - extract(epoch from '2026-06-14 10:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68347 -2.98604)'), GeomFromEWKT('SRID=4674;POINT (-39.683463 -2.986055)'))) / (select extract(epoch from '2026-06-14 10:58:41'::timestamp) - extract(epoch from '2026-06-14 10: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'), 46743, 'SRID=4674;POINT (-39.683453 -2.986066)', '2026-06-14 10:58:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683463 -2.986055)'), GeomFromEWKT('SRID=4674;POINT (-39.683453 -2.986066)'))) / (select extract(epoch from '2026-06-14 10:58:47'::timestamp) - extract(epoch from '2026-06-14 10:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683463 -2.986055)'), GeomFromEWKT('SRID=4674;POINT (-39.683453 -2.986066)'))) / (select extract(epoch from '2026-06-14 10:58:47'::timestamp) - extract(epoch from '2026-06-14 10:58: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'), 46743, 'SRID=4674;POINT (-39.683421 -2.986079)', '2026-06-14 10:58:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683453 -2.986066)'), GeomFromEWKT('SRID=4674;POINT (-39.683421 -2.986079)'))) / (select extract(epoch from '2026-06-14 10:58:55'::timestamp) - extract(epoch from '2026-06-14 10:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683453 -2.986066)'), GeomFromEWKT('SRID=4674;POINT (-39.683421 -2.986079)'))) / (select extract(epoch from '2026-06-14 10:58:55'::timestamp) - extract(epoch from '2026-06-14 10:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.68335 -2.986095)', '2026-06-14 10:59:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683421 -2.986079)'), GeomFromEWKT('SRID=4674;POINT (-39.68335 -2.986095)'))) / (select extract(epoch from '2026-06-14 10:59:10'::timestamp) - extract(epoch from '2026-06-14 10:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683421 -2.986079)'), GeomFromEWKT('SRID=4674;POINT (-39.68335 -2.986095)'))) / (select extract(epoch from '2026-06-14 10:59:10'::timestamp) - extract(epoch from '2026-06-14 10:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683351 -2.986101)', '2026-06-14 10:59:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68335 -2.986095)'), GeomFromEWKT('SRID=4674;POINT (-39.683351 -2.986101)'))) / (select extract(epoch from '2026-06-14 10:59:20'::timestamp) - extract(epoch from '2026-06-14 10:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68335 -2.986095)'), GeomFromEWKT('SRID=4674;POINT (-39.683351 -2.986101)'))) / (select extract(epoch from '2026-06-14 10:59:20'::timestamp) - extract(epoch from '2026-06-14 10:59: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'), 46743, 'SRID=4674;POINT (-39.683374 -2.986089)', '2026-06-14 10:59:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683351 -2.986101)'), GeomFromEWKT('SRID=4674;POINT (-39.683374 -2.986089)'))) / (select extract(epoch from '2026-06-14 10:59:28'::timestamp) - extract(epoch from '2026-06-14 10:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683351 -2.986101)'), GeomFromEWKT('SRID=4674;POINT (-39.683374 -2.986089)'))) / (select extract(epoch from '2026-06-14 10:59:28'::timestamp) - extract(epoch from '2026-06-14 10:59: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'), 46743, 'SRID=4674;POINT (-39.683435 -2.986076)', '2026-06-14 10:59:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683374 -2.986089)'), GeomFromEWKT('SRID=4674;POINT (-39.683435 -2.986076)'))) / (select extract(epoch from '2026-06-14 10:59:39'::timestamp) - extract(epoch from '2026-06-14 10:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683374 -2.986089)'), GeomFromEWKT('SRID=4674;POINT (-39.683435 -2.986076)'))) / (select extract(epoch from '2026-06-14 10:59:39'::timestamp) - extract(epoch from '2026-06-14 10:59: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'), 46743, 'SRID=4674;POINT (-39.683501 -2.986083)', '2026-06-14 10:59:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683435 -2.986076)'), GeomFromEWKT('SRID=4674;POINT (-39.683501 -2.986083)'))) / (select extract(epoch from '2026-06-14 10:59:49'::timestamp) - extract(epoch from '2026-06-14 10:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683435 -2.986076)'), GeomFromEWKT('SRID=4674;POINT (-39.683501 -2.986083)'))) / (select extract(epoch from '2026-06-14 10:59:49'::timestamp) - extract(epoch from '2026-06-14 10:59: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'), 46743, 'SRID=4674;POINT (-39.68356 -2.986075)', '2026-06-14 11:00:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683501 -2.986083)'), GeomFromEWKT('SRID=4674;POINT (-39.68356 -2.986075)'))) / (select extract(epoch from '2026-06-14 11:00:01'::timestamp) - extract(epoch from '2026-06-14 10:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683501 -2.986083)'), GeomFromEWKT('SRID=4674;POINT (-39.68356 -2.986075)'))) / (select extract(epoch from '2026-06-14 11:00:01'::timestamp) - extract(epoch from '2026-06-14 10:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.683596 -2.986088)', '2026-06-14 11:00:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68356 -2.986075)'), GeomFromEWKT('SRID=4674;POINT (-39.683596 -2.986088)'))) / (select extract(epoch from '2026-06-14 11:00:10'::timestamp) - extract(epoch from '2026-06-14 11:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68356 -2.986075)'), GeomFromEWKT('SRID=4674;POINT (-39.683596 -2.986088)'))) / (select extract(epoch from '2026-06-14 11:00:10'::timestamp) - extract(epoch from '2026-06-14 11:00: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'), 46743, 'SRID=4674;POINT (-39.683667 -2.986067)', '2026-06-14 11:00:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683596 -2.986088)'), GeomFromEWKT('SRID=4674;POINT (-39.683667 -2.986067)'))) / (select extract(epoch from '2026-06-14 11:00:23'::timestamp) - extract(epoch from '2026-06-14 11:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683596 -2.986088)'), GeomFromEWKT('SRID=4674;POINT (-39.683667 -2.986067)'))) / (select extract(epoch from '2026-06-14 11:00:23'::timestamp) - extract(epoch from '2026-06-14 11:00: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'), 46743, 'SRID=4674;POINT (-39.683717 -2.986037)', '2026-06-14 11:00:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683667 -2.986067)'), GeomFromEWKT('SRID=4674;POINT (-39.683717 -2.986037)'))) / (select extract(epoch from '2026-06-14 11:00:32'::timestamp) - extract(epoch from '2026-06-14 11:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683667 -2.986067)'), GeomFromEWKT('SRID=4674;POINT (-39.683717 -2.986037)'))) / (select extract(epoch from '2026-06-14 11:00:32'::timestamp) - extract(epoch from '2026-06-14 11:00: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'), 46743, 'SRID=4674;POINT (-39.683752 -2.986016)', '2026-06-14 11:00:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683717 -2.986037)'), GeomFromEWKT('SRID=4674;POINT (-39.683752 -2.986016)'))) / (select extract(epoch from '2026-06-14 11:00:42'::timestamp) - extract(epoch from '2026-06-14 11:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683717 -2.986037)'), GeomFromEWKT('SRID=4674;POINT (-39.683752 -2.986016)'))) / (select extract(epoch from '2026-06-14 11:00:42'::timestamp) - extract(epoch from '2026-06-14 11:00: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'), 46743, 'SRID=4674;POINT (-39.68757 -2.988283)', '2026-06-14 11:07:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683752 -2.986016)'), GeomFromEWKT('SRID=4674;POINT (-39.68757 -2.988283)'))) / (select extract(epoch from '2026-06-14 11:07:19'::timestamp) - extract(epoch from '2026-06-14 11:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683752 -2.986016)'), GeomFromEWKT('SRID=4674;POINT (-39.68757 -2.988283)'))) / (select extract(epoch from '2026-06-14 11:07:19'::timestamp) - extract(epoch from '2026-06-14 11:00:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.687583 -2.988294)', '2026-06-14 11:07:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68757 -2.988283)'), GeomFromEWKT('SRID=4674;POINT (-39.687583 -2.988294)'))) / (select extract(epoch from '2026-06-14 11:07:20'::timestamp) - extract(epoch from '2026-06-14 11:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68757 -2.988283)'), GeomFromEWKT('SRID=4674;POINT (-39.687583 -2.988294)'))) / (select extract(epoch from '2026-06-14 11:07:20'::timestamp) - extract(epoch from '2026-06-14 11:07: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'), 46743, 'SRID=4674;POINT (-39.687615 -2.988319)', '2026-06-14 11:07:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687583 -2.988294)'), GeomFromEWKT('SRID=4674;POINT (-39.687615 -2.988319)'))) / (select extract(epoch from '2026-06-14 11:07:22'::timestamp) - extract(epoch from '2026-06-14 11:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687583 -2.988294)'), GeomFromEWKT('SRID=4674;POINT (-39.687615 -2.988319)'))) / (select extract(epoch from '2026-06-14 11:07:22'::timestamp) - extract(epoch from '2026-06-14 11:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.687742 -2.988443)', '2026-06-14 11:07:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687615 -2.988319)'), GeomFromEWKT('SRID=4674;POINT (-39.687742 -2.988443)'))) / (select extract(epoch from '2026-06-14 11:07:30'::timestamp) - extract(epoch from '2026-06-14 11:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687615 -2.988319)'), GeomFromEWKT('SRID=4674;POINT (-39.687742 -2.988443)'))) / (select extract(epoch from '2026-06-14 11:07:30'::timestamp) - extract(epoch from '2026-06-14 11:07: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'), 46743, 'SRID=4674;POINT (-39.687786 -2.9885)', '2026-06-14 11:07:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687742 -2.988443)'), GeomFromEWKT('SRID=4674;POINT (-39.687786 -2.9885)'))) / (select extract(epoch from '2026-06-14 11:07:34'::timestamp) - extract(epoch from '2026-06-14 11:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687742 -2.988443)'), GeomFromEWKT('SRID=4674;POINT (-39.687786 -2.9885)'))) / (select extract(epoch from '2026-06-14 11:07:34'::timestamp) - extract(epoch from '2026-06-14 11: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'), 46743, 'SRID=4674;POINT (-39.687873 -2.988576)', '2026-06-14 11:07:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687786 -2.9885)'), GeomFromEWKT('SRID=4674;POINT (-39.687873 -2.988576)'))) / (select extract(epoch from '2026-06-14 11:07:39'::timestamp) - extract(epoch from '2026-06-14 11:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687786 -2.9885)'), GeomFromEWKT('SRID=4674;POINT (-39.687873 -2.988576)'))) / (select extract(epoch from '2026-06-14 11:07:39'::timestamp) - extract(epoch from '2026-06-14 11: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'), 46743, 'SRID=4674;POINT (-39.687997 -2.988664)', '2026-06-14 11:07:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687873 -2.988576)'), GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.988664)'))) / (select extract(epoch from '2026-06-14 11:07:46'::timestamp) - extract(epoch from '2026-06-14 11:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687873 -2.988576)'), GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.988664)'))) / (select extract(epoch from '2026-06-14 11:07:46'::timestamp) - extract(epoch from '2026-06-14 11:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.68811 -2.988726)', '2026-06-14 11:07:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.988664)'), GeomFromEWKT('SRID=4674;POINT (-39.68811 -2.988726)'))) / (select extract(epoch from '2026-06-14 11:07:52'::timestamp) - extract(epoch from '2026-06-14 11:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.988664)'), GeomFromEWKT('SRID=4674;POINT (-39.68811 -2.988726)'))) / (select extract(epoch from '2026-06-14 11:07:52'::timestamp) - extract(epoch from '2026-06-14 11:07: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'), 46743, 'SRID=4674;POINT (-39.68821 -2.988773)', '2026-06-14 11:07:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68811 -2.988726)'), GeomFromEWKT('SRID=4674;POINT (-39.68821 -2.988773)'))) / (select extract(epoch from '2026-06-14 11:07:57'::timestamp) - extract(epoch from '2026-06-14 11:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68811 -2.988726)'), GeomFromEWKT('SRID=4674;POINT (-39.68821 -2.988773)'))) / (select extract(epoch from '2026-06-14 11:07:57'::timestamp) - extract(epoch from '2026-06-14 11:07: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'), 46743, 'SRID=4674;POINT (-39.688294 -2.988833)', '2026-06-14 11:08:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68821 -2.988773)'), GeomFromEWKT('SRID=4674;POINT (-39.688294 -2.988833)'))) / (select extract(epoch from '2026-06-14 11:08:02'::timestamp) - extract(epoch from '2026-06-14 11:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68821 -2.988773)'), GeomFromEWKT('SRID=4674;POINT (-39.688294 -2.988833)'))) / (select extract(epoch from '2026-06-14 11:08:02'::timestamp) - extract(epoch from '2026-06-14 11:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.688445 -2.988965)', '2026-06-14 11:08:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688294 -2.988833)'), GeomFromEWKT('SRID=4674;POINT (-39.688445 -2.988965)'))) / (select extract(epoch from '2026-06-14 11:08:12'::timestamp) - extract(epoch from '2026-06-14 11:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688294 -2.988833)'), GeomFromEWKT('SRID=4674;POINT (-39.688445 -2.988965)'))) / (select extract(epoch from '2026-06-14 11:08:12'::timestamp) - extract(epoch from '2026-06-14 11:08: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'), 46743, 'SRID=4674;POINT (-39.688548 -2.989067)', '2026-06-14 11:08:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688445 -2.988965)'), GeomFromEWKT('SRID=4674;POINT (-39.688548 -2.989067)'))) / (select extract(epoch from '2026-06-14 11:08:19'::timestamp) - extract(epoch from '2026-06-14 11:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688445 -2.988965)'), GeomFromEWKT('SRID=4674;POINT (-39.688548 -2.989067)'))) / (select extract(epoch from '2026-06-14 11:08:19'::timestamp) - extract(epoch from '2026-06-14 11:08: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'), 46743, 'SRID=4674;POINT (-39.688641 -2.989165)', '2026-06-14 11:08:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688548 -2.989067)'), GeomFromEWKT('SRID=4674;POINT (-39.688641 -2.989165)'))) / (select extract(epoch from '2026-06-14 11:08:25'::timestamp) - extract(epoch from '2026-06-14 11:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688548 -2.989067)'), GeomFromEWKT('SRID=4674;POINT (-39.688641 -2.989165)'))) / (select extract(epoch from '2026-06-14 11:08:25'::timestamp) - extract(epoch from '2026-06-14 11:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.688722 -2.989236)', '2026-06-14 11:08:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688641 -2.989165)'), GeomFromEWKT('SRID=4674;POINT (-39.688722 -2.989236)'))) / (select extract(epoch from '2026-06-14 11:08:30'::timestamp) - extract(epoch from '2026-06-14 11:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688641 -2.989165)'), GeomFromEWKT('SRID=4674;POINT (-39.688722 -2.989236)'))) / (select extract(epoch from '2026-06-14 11:08:30'::timestamp) - extract(epoch from '2026-06-14 11:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.688843 -2.989343)', '2026-06-14 11:08:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688722 -2.989236)'), GeomFromEWKT('SRID=4674;POINT (-39.688843 -2.989343)'))) / (select extract(epoch from '2026-06-14 11:08:37'::timestamp) - extract(epoch from '2026-06-14 11:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688722 -2.989236)'), GeomFromEWKT('SRID=4674;POINT (-39.688843 -2.989343)'))) / (select extract(epoch from '2026-06-14 11:08:37'::timestamp) - extract(epoch from '2026-06-14 11:08: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'), 46743, 'SRID=4674;POINT (-39.688995 -2.989464)', '2026-06-14 11:08:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688843 -2.989343)'), GeomFromEWKT('SRID=4674;POINT (-39.688995 -2.989464)'))) / (select extract(epoch from '2026-06-14 11:08:45'::timestamp) - extract(epoch from '2026-06-14 11:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688843 -2.989343)'), GeomFromEWKT('SRID=4674;POINT (-39.688995 -2.989464)'))) / (select extract(epoch from '2026-06-14 11:08:45'::timestamp) - extract(epoch from '2026-06-14 11:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.689121 -2.989559)', '2026-06-14 11:08:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688995 -2.989464)'), GeomFromEWKT('SRID=4674;POINT (-39.689121 -2.989559)'))) / (select extract(epoch from '2026-06-14 11:08:52'::timestamp) - extract(epoch from '2026-06-14 11:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688995 -2.989464)'), GeomFromEWKT('SRID=4674;POINT (-39.689121 -2.989559)'))) / (select extract(epoch from '2026-06-14 11:08:52'::timestamp) - extract(epoch from '2026-06-14 11:08: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'), 46743, 'SRID=4674;POINT (-39.689256 -2.989656)', '2026-06-14 11:08:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689121 -2.989559)'), GeomFromEWKT('SRID=4674;POINT (-39.689256 -2.989656)'))) / (select extract(epoch from '2026-06-14 11:08:59'::timestamp) - extract(epoch from '2026-06-14 11:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689121 -2.989559)'), GeomFromEWKT('SRID=4674;POINT (-39.689256 -2.989656)'))) / (select extract(epoch from '2026-06-14 11:08:59'::timestamp) - extract(epoch from '2026-06-14 11:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.689393 -2.989758)', '2026-06-14 11:09:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689256 -2.989656)'), GeomFromEWKT('SRID=4674;POINT (-39.689393 -2.989758)'))) / (select extract(epoch from '2026-06-14 11:09:06'::timestamp) - extract(epoch from '2026-06-14 11:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689256 -2.989656)'), GeomFromEWKT('SRID=4674;POINT (-39.689393 -2.989758)'))) / (select extract(epoch from '2026-06-14 11:09:06'::timestamp) - extract(epoch from '2026-06-14 11:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.689505 -2.989826)', '2026-06-14 11:09:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689393 -2.989758)'), GeomFromEWKT('SRID=4674;POINT (-39.689505 -2.989826)'))) / (select extract(epoch from '2026-06-14 11:09:11'::timestamp) - extract(epoch from '2026-06-14 11:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689393 -2.989758)'), GeomFromEWKT('SRID=4674;POINT (-39.689505 -2.989826)'))) / (select extract(epoch from '2026-06-14 11:09:11'::timestamp) - extract(epoch from '2026-06-14 11:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.689631 -2.989892)', '2026-06-14 11:09:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689505 -2.989826)'), GeomFromEWKT('SRID=4674;POINT (-39.689631 -2.989892)'))) / (select extract(epoch from '2026-06-14 11:09:17'::timestamp) - extract(epoch from '2026-06-14 11:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689505 -2.989826)'), GeomFromEWKT('SRID=4674;POINT (-39.689631 -2.989892)'))) / (select extract(epoch from '2026-06-14 11:09:17'::timestamp) - extract(epoch from '2026-06-14 11:09: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'), 46743, 'SRID=4674;POINT (-39.689808 -2.989996)', '2026-06-14 11:09:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689631 -2.989892)'), GeomFromEWKT('SRID=4674;POINT (-39.689808 -2.989996)'))) / (select extract(epoch from '2026-06-14 11:09:26'::timestamp) - extract(epoch from '2026-06-14 11:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689631 -2.989892)'), GeomFromEWKT('SRID=4674;POINT (-39.689808 -2.989996)'))) / (select extract(epoch from '2026-06-14 11:09:26'::timestamp) - extract(epoch from '2026-06-14 11:09: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'), 46743, 'SRID=4674;POINT (-39.689969 -2.990096)', '2026-06-14 11:09:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689808 -2.989996)'), GeomFromEWKT('SRID=4674;POINT (-39.689969 -2.990096)'))) / (select extract(epoch from '2026-06-14 11:09:35'::timestamp) - extract(epoch from '2026-06-14 11:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689808 -2.989996)'), GeomFromEWKT('SRID=4674;POINT (-39.689969 -2.990096)'))) / (select extract(epoch from '2026-06-14 11:09:35'::timestamp) - extract(epoch from '2026-06-14 11:09:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.693442 -2.996372)', '2026-06-14 11:20:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689969 -2.990096)'), GeomFromEWKT('SRID=4674;POINT (-39.693442 -2.996372)'))) / (select extract(epoch from '2026-06-14 11:20:02'::timestamp) - extract(epoch from '2026-06-14 11:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689969 -2.990096)'), GeomFromEWKT('SRID=4674;POINT (-39.693442 -2.996372)'))) / (select extract(epoch from '2026-06-14 11:20:02'::timestamp) - extract(epoch from '2026-06-14 11:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.69341 -2.996715)', '2026-06-14 11:26:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693442 -2.996372)'), GeomFromEWKT('SRID=4674;POINT (-39.69341 -2.996715)'))) / (select extract(epoch from '2026-06-14 11:26:38'::timestamp) - extract(epoch from '2026-06-14 11:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693442 -2.996372)'), GeomFromEWKT('SRID=4674;POINT (-39.69341 -2.996715)'))) / (select extract(epoch from '2026-06-14 11:26:38'::timestamp) - extract(epoch from '2026-06-14 11: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'), 46743, 'SRID=4674;POINT (-39.69341 -2.996717)', '2026-06-14 11:26:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69341 -2.996715)'), GeomFromEWKT('SRID=4674;POINT (-39.69341 -2.996717)'))) / (select extract(epoch from '2026-06-14 11:26:40'::timestamp) - extract(epoch from '2026-06-14 11:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69341 -2.996715)'), GeomFromEWKT('SRID=4674;POINT (-39.69341 -2.996717)'))) / (select extract(epoch from '2026-06-14 11:26:40'::timestamp) - extract(epoch from '2026-06-14 11:26:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.693429 -2.996716)', '2026-06-14 11:26:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69341 -2.996717)'), GeomFromEWKT('SRID=4674;POINT (-39.693429 -2.996716)'))) / (select extract(epoch from '2026-06-14 11:26:55'::timestamp) - extract(epoch from '2026-06-14 11:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69341 -2.996717)'), GeomFromEWKT('SRID=4674;POINT (-39.693429 -2.996716)'))) / (select extract(epoch from '2026-06-14 11:26:55'::timestamp) - extract(epoch from '2026-06-14 11:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.693431 -2.99671)', '2026-06-14 11:27:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693429 -2.996716)'), GeomFromEWKT('SRID=4674;POINT (-39.693431 -2.99671)'))) / (select extract(epoch from '2026-06-14 11:27:14'::timestamp) - extract(epoch from '2026-06-14 11:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693429 -2.996716)'), GeomFromEWKT('SRID=4674;POINT (-39.693431 -2.99671)'))) / (select extract(epoch from '2026-06-14 11:27:14'::timestamp) - extract(epoch from '2026-06-14 11:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.693427 -2.99672)', '2026-06-14 11:27:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693431 -2.99671)'), GeomFromEWKT('SRID=4674;POINT (-39.693427 -2.99672)'))) / (select extract(epoch from '2026-06-14 11:27:33'::timestamp) - extract(epoch from '2026-06-14 11:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693431 -2.99671)'), GeomFromEWKT('SRID=4674;POINT (-39.693427 -2.99672)'))) / (select extract(epoch from '2026-06-14 11:27:33'::timestamp) - extract(epoch from '2026-06-14 11:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.69343 -2.996758)', '2026-06-14 11:27:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693427 -2.99672)'), GeomFromEWKT('SRID=4674;POINT (-39.69343 -2.996758)'))) / (select extract(epoch from '2026-06-14 11:27:44'::timestamp) - extract(epoch from '2026-06-14 11:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693427 -2.99672)'), GeomFromEWKT('SRID=4674;POINT (-39.69343 -2.996758)'))) / (select extract(epoch from '2026-06-14 11:27:44'::timestamp) - extract(epoch from '2026-06-14 11:27: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'), 46743, 'SRID=4674;POINT (-39.693409 -2.996822)', '2026-06-14 11:27:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69343 -2.996758)'), GeomFromEWKT('SRID=4674;POINT (-39.693409 -2.996822)'))) / (select extract(epoch from '2026-06-14 11:27:57'::timestamp) - extract(epoch from '2026-06-14 11:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69343 -2.996758)'), GeomFromEWKT('SRID=4674;POINT (-39.693409 -2.996822)'))) / (select extract(epoch from '2026-06-14 11:27:57'::timestamp) - extract(epoch from '2026-06-14 11:27: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'), 46743, 'SRID=4674;POINT (-39.693402 -2.996881)', '2026-06-14 11:28:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693409 -2.996822)'), GeomFromEWKT('SRID=4674;POINT (-39.693402 -2.996881)'))) / (select extract(epoch from '2026-06-14 11:28:06'::timestamp) - extract(epoch from '2026-06-14 11:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693409 -2.996822)'), GeomFromEWKT('SRID=4674;POINT (-39.693402 -2.996881)'))) / (select extract(epoch from '2026-06-14 11:28:06'::timestamp) - extract(epoch from '2026-06-14 11:27: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'), 46743, 'SRID=4674;POINT (-39.693407 -2.996933)', '2026-06-14 11:28:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693402 -2.996881)'), GeomFromEWKT('SRID=4674;POINT (-39.693407 -2.996933)'))) / (select extract(epoch from '2026-06-14 11:28:15'::timestamp) - extract(epoch from '2026-06-14 11:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693402 -2.996881)'), GeomFromEWKT('SRID=4674;POINT (-39.693407 -2.996933)'))) / (select extract(epoch from '2026-06-14 11:28:15'::timestamp) - extract(epoch from '2026-06-14 11:28: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'), 46743, 'SRID=4674;POINT (-39.693412 -2.996986)', '2026-06-14 11:28:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693407 -2.996933)'), GeomFromEWKT('SRID=4674;POINT (-39.693412 -2.996986)'))) / (select extract(epoch from '2026-06-14 11:28:23'::timestamp) - extract(epoch from '2026-06-14 11:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693407 -2.996933)'), GeomFromEWKT('SRID=4674;POINT (-39.693412 -2.996986)'))) / (select extract(epoch from '2026-06-14 11:28:23'::timestamp) - extract(epoch from '2026-06-14 11:28: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'), 46743, 'SRID=4674;POINT (-39.69342 -2.997043)', '2026-06-14 11:28:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693412 -2.996986)'), GeomFromEWKT('SRID=4674;POINT (-39.69342 -2.997043)'))) / (select extract(epoch from '2026-06-14 11:28:31'::timestamp) - extract(epoch from '2026-06-14 11:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693412 -2.996986)'), GeomFromEWKT('SRID=4674;POINT (-39.69342 -2.997043)'))) / (select extract(epoch from '2026-06-14 11:28:31'::timestamp) - extract(epoch from '2026-06-14 11:28: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'), 46743, 'SRID=4674;POINT (-39.693422 -2.997117)', '2026-06-14 11:28:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69342 -2.997043)'), GeomFromEWKT('SRID=4674;POINT (-39.693422 -2.997117)'))) / (select extract(epoch from '2026-06-14 11:28:41'::timestamp) - extract(epoch from '2026-06-14 11:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69342 -2.997043)'), GeomFromEWKT('SRID=4674;POINT (-39.693422 -2.997117)'))) / (select extract(epoch from '2026-06-14 11:28:41'::timestamp) - extract(epoch from '2026-06-14 11:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.693423 -2.997205)', '2026-06-14 11:28:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693422 -2.997117)'), GeomFromEWKT('SRID=4674;POINT (-39.693423 -2.997205)'))) / (select extract(epoch from '2026-06-14 11:28:51'::timestamp) - extract(epoch from '2026-06-14 11:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693422 -2.997117)'), GeomFromEWKT('SRID=4674;POINT (-39.693423 -2.997205)'))) / (select extract(epoch from '2026-06-14 11:28:51'::timestamp) - extract(epoch from '2026-06-14 11:28: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'), 46743, 'SRID=4674;POINT (-39.693442 -2.997237)', '2026-06-14 11:28:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693423 -2.997205)'), GeomFromEWKT('SRID=4674;POINT (-39.693442 -2.997237)'))) / (select extract(epoch from '2026-06-14 11:28:58'::timestamp) - extract(epoch from '2026-06-14 11:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693423 -2.997205)'), GeomFromEWKT('SRID=4674;POINT (-39.693442 -2.997237)'))) / (select extract(epoch from '2026-06-14 11:28:58'::timestamp) - extract(epoch from '2026-06-14 11:28: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'), 46743, 'SRID=4674;POINT (-39.693492 -2.997298)', '2026-06-14 11:29:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693442 -2.997237)'), GeomFromEWKT('SRID=4674;POINT (-39.693492 -2.997298)'))) / (select extract(epoch from '2026-06-14 11:29:07'::timestamp) - extract(epoch from '2026-06-14 11:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693442 -2.997237)'), GeomFromEWKT('SRID=4674;POINT (-39.693492 -2.997298)'))) / (select extract(epoch from '2026-06-14 11:29:07'::timestamp) - extract(epoch from '2026-06-14 11: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'), 46743, 'SRID=4674;POINT (-39.693527 -2.997343)', '2026-06-14 11:29:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693492 -2.997298)'), GeomFromEWKT('SRID=4674;POINT (-39.693527 -2.997343)'))) / (select extract(epoch from '2026-06-14 11:29:15'::timestamp) - extract(epoch from '2026-06-14 11:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693492 -2.997298)'), GeomFromEWKT('SRID=4674;POINT (-39.693527 -2.997343)'))) / (select extract(epoch from '2026-06-14 11:29:15'::timestamp) - extract(epoch from '2026-06-14 11:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.693851 -2.997726)', '2026-06-14 11:30:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693527 -2.997343)'), GeomFromEWKT('SRID=4674;POINT (-39.693851 -2.997726)'))) / (select extract(epoch from '2026-06-14 11:30:26'::timestamp) - extract(epoch from '2026-06-14 11:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693527 -2.997343)'), GeomFromEWKT('SRID=4674;POINT (-39.693851 -2.997726)'))) / (select extract(epoch from '2026-06-14 11:30:26'::timestamp) - extract(epoch from '2026-06-14 11:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46743, 'SRID=4674;POINT (-39.693846 -2.99773)', '2026-06-14 11:30:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693851 -2.997726)'), GeomFromEWKT('SRID=4674;POINT (-39.693846 -2.99773)'))) / (select extract(epoch from '2026-06-14 11:30:30'::timestamp) - extract(epoch from '2026-06-14 11:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693851 -2.997726)'), GeomFromEWKT('SRID=4674;POINT (-39.693846 -2.99773)'))) / (select extract(epoch from '2026-06-14 11:30:30'::timestamp) - extract(epoch from '2026-06-14 11:30: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'), 46743, 'SRID=4674;POINT (-39.693838 -2.997729)', '2026-06-14 11:30:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693846 -2.99773)'), GeomFromEWKT('SRID=4674;POINT (-39.693838 -2.997729)'))) / (select extract(epoch from '2026-06-14 11:30:41'::timestamp) - extract(epoch from '2026-06-14 11:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693846 -2.99773)'), GeomFromEWKT('SRID=4674;POINT (-39.693838 -2.997729)'))) / (select extract(epoch from '2026-06-14 11:30:41'::timestamp) - extract(epoch from '2026-06-14 11:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
