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'), 48136, 'SRID=4674;POINT (-39.040694 -3.411206)', '2026-08-04 16:49:56', 14.4, 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'), 48136, 'SRID=4674;POINT (-39.040697 -3.411209)', '2026-08-04 16:50:00', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040694 -3.411206)'), GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.411209)'))) / (select extract(epoch from '2026-08-04 16:50:00'::timestamp) - extract(epoch from '2026-08-04 16:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040694 -3.411206)'), GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.411209)'))) / (select extract(epoch from '2026-08-04 16:50:00'::timestamp) - extract(epoch from '2026-08-04 16:49: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'), 48136, 'SRID=4674;POINT (-39.040732 -3.41119)', '2026-08-04 16:50:07', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.411209)'), GeomFromEWKT('SRID=4674;POINT (-39.040732 -3.41119)'))) / (select extract(epoch from '2026-08-04 16:50:07'::timestamp) - extract(epoch from '2026-08-04 16:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.411209)'), GeomFromEWKT('SRID=4674;POINT (-39.040732 -3.41119)'))) / (select extract(epoch from '2026-08-04 16:50:07'::timestamp) - extract(epoch from '2026-08-04 16:50: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'), 48136, 'SRID=4674;POINT (-39.040796 -3.411161)', '2026-08-04 16:50:15', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040732 -3.41119)'), GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.411161)'))) / (select extract(epoch from '2026-08-04 16:50:15'::timestamp) - extract(epoch from '2026-08-04 16:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040732 -3.41119)'), GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.411161)'))) / (select extract(epoch from '2026-08-04 16:50:15'::timestamp) - extract(epoch from '2026-08-04 16:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.040813 -3.411159)', '2026-08-04 16:50:17', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.411161)'), GeomFromEWKT('SRID=4674;POINT (-39.040813 -3.411159)'))) / (select extract(epoch from '2026-08-04 16:50:17'::timestamp) - extract(epoch from '2026-08-04 16:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040796 -3.411161)'), GeomFromEWKT('SRID=4674;POINT (-39.040813 -3.411159)'))) / (select extract(epoch from '2026-08-04 16:50:17'::timestamp) - extract(epoch from '2026-08-04 16:50:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.040841 -3.411139)', '2026-08-04 16:50:20', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040813 -3.411159)'), GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.411139)'))) / (select extract(epoch from '2026-08-04 16:50:20'::timestamp) - extract(epoch from '2026-08-04 16:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040813 -3.411159)'), GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.411139)'))) / (select extract(epoch from '2026-08-04 16:50:20'::timestamp) - extract(epoch from '2026-08-04 16:50: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'), 48136, 'SRID=4674;POINT (-39.040905 -3.41109)', '2026-08-04 16:50:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.411139)'), GeomFromEWKT('SRID=4674;POINT (-39.040905 -3.41109)'))) / (select extract(epoch from '2026-08-04 16:50:28'::timestamp) - extract(epoch from '2026-08-04 16:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040841 -3.411139)'), GeomFromEWKT('SRID=4674;POINT (-39.040905 -3.41109)'))) / (select extract(epoch from '2026-08-04 16:50:28'::timestamp) - extract(epoch from '2026-08-04 16:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04097 -3.411027)', '2026-08-04 16:50:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040905 -3.41109)'), GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.411027)'))) / (select extract(epoch from '2026-08-04 16:50:36'::timestamp) - extract(epoch from '2026-08-04 16:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040905 -3.41109)'), GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.411027)'))) / (select extract(epoch from '2026-08-04 16:50:36'::timestamp) - extract(epoch from '2026-08-04 16:50: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'), 48136, 'SRID=4674;POINT (-39.041034 -3.410984)', '2026-08-04 16:50:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.411027)'), GeomFromEWKT('SRID=4674;POINT (-39.041034 -3.410984)'))) / (select extract(epoch from '2026-08-04 16:50:43'::timestamp) - extract(epoch from '2026-08-04 16:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.411027)'), GeomFromEWKT('SRID=4674;POINT (-39.041034 -3.410984)'))) / (select extract(epoch from '2026-08-04 16:50:43'::timestamp) - extract(epoch from '2026-08-04 16:50: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'), 48136, 'SRID=4674;POINT (-39.0411 -3.410944)', '2026-08-04 16:50:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041034 -3.410984)'), GeomFromEWKT('SRID=4674;POINT (-39.0411 -3.410944)'))) / (select extract(epoch from '2026-08-04 16:50:50'::timestamp) - extract(epoch from '2026-08-04 16:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041034 -3.410984)'), GeomFromEWKT('SRID=4674;POINT (-39.0411 -3.410944)'))) / (select extract(epoch from '2026-08-04 16:50:50'::timestamp) - extract(epoch from '2026-08-04 16:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041156 -3.410884)', '2026-08-04 16:50:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0411 -3.410944)'), GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.410884)'))) / (select extract(epoch from '2026-08-04 16:50:57'::timestamp) - extract(epoch from '2026-08-04 16:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0411 -3.410944)'), GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.410884)'))) / (select extract(epoch from '2026-08-04 16:50:57'::timestamp) - extract(epoch from '2026-08-04 16:50: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'), 48136, 'SRID=4674;POINT (-39.041183 -3.41085)', '2026-08-04 16:51:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.410884)'), GeomFromEWKT('SRID=4674;POINT (-39.041183 -3.41085)'))) / (select extract(epoch from '2026-08-04 16:51:01'::timestamp) - extract(epoch from '2026-08-04 16:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.410884)'), GeomFromEWKT('SRID=4674;POINT (-39.041183 -3.41085)'))) / (select extract(epoch from '2026-08-04 16:51:01'::timestamp) - extract(epoch from '2026-08-04 16:50: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'), 48136, 'SRID=4674;POINT (-39.041194 -3.410834)', '2026-08-04 16:51:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041183 -3.41085)'), GeomFromEWKT('SRID=4674;POINT (-39.041194 -3.410834)'))) / (select extract(epoch from '2026-08-04 16:51:03'::timestamp) - extract(epoch from '2026-08-04 16:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041183 -3.41085)'), GeomFromEWKT('SRID=4674;POINT (-39.041194 -3.410834)'))) / (select extract(epoch from '2026-08-04 16:51:03'::timestamp) - extract(epoch from '2026-08-04 16:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04124 -3.410774)', '2026-08-04 16:51:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041194 -3.410834)'), GeomFromEWKT('SRID=4674;POINT (-39.04124 -3.410774)'))) / (select extract(epoch from '2026-08-04 16:51:10'::timestamp) - extract(epoch from '2026-08-04 16:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041194 -3.410834)'), GeomFromEWKT('SRID=4674;POINT (-39.04124 -3.410774)'))) / (select extract(epoch from '2026-08-04 16:51:10'::timestamp) - extract(epoch from '2026-08-04 16:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041289 -3.410712)', '2026-08-04 16:51:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04124 -3.410774)'), GeomFromEWKT('SRID=4674;POINT (-39.041289 -3.410712)'))) / (select extract(epoch from '2026-08-04 16:51:17'::timestamp) - extract(epoch from '2026-08-04 16:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04124 -3.410774)'), GeomFromEWKT('SRID=4674;POINT (-39.041289 -3.410712)'))) / (select extract(epoch from '2026-08-04 16:51:17'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48136, 'SRID=4674;POINT (-39.041348 -3.410633)', '2026-08-04 16:51:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041289 -3.410712)'), GeomFromEWKT('SRID=4674;POINT (-39.041348 -3.410633)'))) / (select extract(epoch from '2026-08-04 16:51:26'::timestamp) - extract(epoch from '2026-08-04 16:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041289 -3.410712)'), GeomFromEWKT('SRID=4674;POINT (-39.041348 -3.410633)'))) / (select extract(epoch from '2026-08-04 16:51:26'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48136, 'SRID=4674;POINT (-39.041356 -3.410625)', '2026-08-04 16:51:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041348 -3.410633)'), GeomFromEWKT('SRID=4674;POINT (-39.041356 -3.410625)'))) / (select extract(epoch from '2026-08-04 16:51:27'::timestamp) - extract(epoch from '2026-08-04 16:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041348 -3.410633)'), GeomFromEWKT('SRID=4674;POINT (-39.041356 -3.410625)'))) / (select extract(epoch from '2026-08-04 16:51:27'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48136, 'SRID=4674;POINT (-39.04139 -3.410577)', '2026-08-04 16:51:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041356 -3.410625)'), GeomFromEWKT('SRID=4674;POINT (-39.04139 -3.410577)'))) / (select extract(epoch from '2026-08-04 16:51:32'::timestamp) - extract(epoch from '2026-08-04 16:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041356 -3.410625)'), GeomFromEWKT('SRID=4674;POINT (-39.04139 -3.410577)'))) / (select extract(epoch from '2026-08-04 16:51:32'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48136, 'SRID=4674;POINT (-39.041397 -3.41057)', '2026-08-04 16:51:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04139 -3.410577)'), GeomFromEWKT('SRID=4674;POINT (-39.041397 -3.41057)'))) / (select extract(epoch from '2026-08-04 16:51:33'::timestamp) - extract(epoch from '2026-08-04 16:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04139 -3.410577)'), GeomFromEWKT('SRID=4674;POINT (-39.041397 -3.41057)'))) / (select extract(epoch from '2026-08-04 16:51:33'::timestamp) - extract(epoch from '2026-08-04 16:51:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041437 -3.410524)', '2026-08-04 16:51:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041397 -3.41057)'), GeomFromEWKT('SRID=4674;POINT (-39.041437 -3.410524)'))) / (select extract(epoch from '2026-08-04 16:51:38'::timestamp) - extract(epoch from '2026-08-04 16:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041397 -3.41057)'), GeomFromEWKT('SRID=4674;POINT (-39.041437 -3.410524)'))) / (select extract(epoch from '2026-08-04 16:51:38'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48136, 'SRID=4674;POINT (-39.041482 -3.410457)', '2026-08-04 16:51:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041437 -3.410524)'), GeomFromEWKT('SRID=4674;POINT (-39.041482 -3.410457)'))) / (select extract(epoch from '2026-08-04 16:51:45'::timestamp) - extract(epoch from '2026-08-04 16:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041437 -3.410524)'), GeomFromEWKT('SRID=4674;POINT (-39.041482 -3.410457)'))) / (select extract(epoch from '2026-08-04 16:51:45'::timestamp) - extract(epoch from '2026-08-04 16:51:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04151 -3.410392)', '2026-08-04 16:51:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041482 -3.410457)'), GeomFromEWKT('SRID=4674;POINT (-39.04151 -3.410392)'))) / (select extract(epoch from '2026-08-04 16:51:52'::timestamp) - extract(epoch from '2026-08-04 16:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041482 -3.410457)'), GeomFromEWKT('SRID=4674;POINT (-39.04151 -3.410392)'))) / (select extract(epoch from '2026-08-04 16:51:52'::timestamp) - extract(epoch from '2026-08-04 16:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041515 -3.410383)', '2026-08-04 16:51:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04151 -3.410392)'), GeomFromEWKT('SRID=4674;POINT (-39.041515 -3.410383)'))) / (select extract(epoch from '2026-08-04 16:51:53'::timestamp) - extract(epoch from '2026-08-04 16:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04151 -3.410392)'), GeomFromEWKT('SRID=4674;POINT (-39.041515 -3.410383)'))) / (select extract(epoch from '2026-08-04 16:51:53'::timestamp) - extract(epoch from '2026-08-04 16:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041521 -3.410367)', '2026-08-04 16:51:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041515 -3.410383)'), GeomFromEWKT('SRID=4674;POINT (-39.041521 -3.410367)'))) / (select extract(epoch from '2026-08-04 16:51:55'::timestamp) - extract(epoch from '2026-08-04 16:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041515 -3.410383)'), GeomFromEWKT('SRID=4674;POINT (-39.041521 -3.410367)'))) / (select extract(epoch from '2026-08-04 16:51:55'::timestamp) - extract(epoch from '2026-08-04 16:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041525 -3.410349)', '2026-08-04 16:51:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041521 -3.410367)'), GeomFromEWKT('SRID=4674;POINT (-39.041525 -3.410349)'))) / (select extract(epoch from '2026-08-04 16:51:57'::timestamp) - extract(epoch from '2026-08-04 16:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041521 -3.410367)'), GeomFromEWKT('SRID=4674;POINT (-39.041525 -3.410349)'))) / (select extract(epoch from '2026-08-04 16:51:57'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48136, 'SRID=4674;POINT (-39.041529 -3.41034)', '2026-08-04 16:51:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041525 -3.410349)'), GeomFromEWKT('SRID=4674;POINT (-39.041529 -3.41034)'))) / (select extract(epoch from '2026-08-04 16:51:58'::timestamp) - extract(epoch from '2026-08-04 16:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041525 -3.410349)'), GeomFromEWKT('SRID=4674;POINT (-39.041529 -3.41034)'))) / (select extract(epoch from '2026-08-04 16:51:58'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48136, 'SRID=4674;POINT (-39.041532 -3.410331)', '2026-08-04 16:51:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041529 -3.41034)'), GeomFromEWKT('SRID=4674;POINT (-39.041532 -3.410331)'))) / (select extract(epoch from '2026-08-04 16:51:59'::timestamp) - extract(epoch from '2026-08-04 16:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041529 -3.41034)'), GeomFromEWKT('SRID=4674;POINT (-39.041532 -3.410331)'))) / (select extract(epoch from '2026-08-04 16:51:59'::timestamp) - extract(epoch from '2026-08-04 16:51: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'), 48136, 'SRID=4674;POINT (-39.041551 -3.410287)', '2026-08-04 16:52:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041532 -3.410331)'), GeomFromEWKT('SRID=4674;POINT (-39.041551 -3.410287)'))) / (select extract(epoch from '2026-08-04 16:52:04'::timestamp) - extract(epoch from '2026-08-04 16:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041532 -3.410331)'), GeomFromEWKT('SRID=4674;POINT (-39.041551 -3.410287)'))) / (select extract(epoch from '2026-08-04 16:52:04'::timestamp) - extract(epoch from '2026-08-04 16:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041564 -3.410266)', '2026-08-04 16:52:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041551 -3.410287)'), GeomFromEWKT('SRID=4674;POINT (-39.041564 -3.410266)'))) / (select extract(epoch from '2026-08-04 16:52:07'::timestamp) - extract(epoch from '2026-08-04 16:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041551 -3.410287)'), GeomFromEWKT('SRID=4674;POINT (-39.041564 -3.410266)'))) / (select extract(epoch from '2026-08-04 16:52:07'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48136, 'SRID=4674;POINT (-39.041575 -3.410242)', '2026-08-04 16:52:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041564 -3.410266)'), GeomFromEWKT('SRID=4674;POINT (-39.041575 -3.410242)'))) / (select extract(epoch from '2026-08-04 16:52:10'::timestamp) - extract(epoch from '2026-08-04 16:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041564 -3.410266)'), GeomFromEWKT('SRID=4674;POINT (-39.041575 -3.410242)'))) / (select extract(epoch from '2026-08-04 16:52:10'::timestamp) - extract(epoch from '2026-08-04 16:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04158 -3.410235)', '2026-08-04 16:52:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041575 -3.410242)'), GeomFromEWKT('SRID=4674;POINT (-39.04158 -3.410235)'))) / (select extract(epoch from '2026-08-04 16:52:11'::timestamp) - extract(epoch from '2026-08-04 16:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041575 -3.410242)'), GeomFromEWKT('SRID=4674;POINT (-39.04158 -3.410235)'))) / (select extract(epoch from '2026-08-04 16:52:11'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48136, 'SRID=4674;POINT (-39.041587 -3.410204)', '2026-08-04 16:52:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04158 -3.410235)'), GeomFromEWKT('SRID=4674;POINT (-39.041587 -3.410204)'))) / (select extract(epoch from '2026-08-04 16:52:14'::timestamp) - extract(epoch from '2026-08-04 16:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04158 -3.410235)'), GeomFromEWKT('SRID=4674;POINT (-39.041587 -3.410204)'))) / (select extract(epoch from '2026-08-04 16:52:14'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48136, 'SRID=4674;POINT (-39.041599 -3.410191)', '2026-08-04 16:52:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041587 -3.410204)'), GeomFromEWKT('SRID=4674;POINT (-39.041599 -3.410191)'))) / (select extract(epoch from '2026-08-04 16:52:16'::timestamp) - extract(epoch from '2026-08-04 16:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041587 -3.410204)'), GeomFromEWKT('SRID=4674;POINT (-39.041599 -3.410191)'))) / (select extract(epoch from '2026-08-04 16:52:16'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48136, 'SRID=4674;POINT (-39.041604 -3.410185)', '2026-08-04 16:52:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041599 -3.410191)'), GeomFromEWKT('SRID=4674;POINT (-39.041604 -3.410185)'))) / (select extract(epoch from '2026-08-04 16:52:17'::timestamp) - extract(epoch from '2026-08-04 16:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041599 -3.410191)'), GeomFromEWKT('SRID=4674;POINT (-39.041604 -3.410185)'))) / (select extract(epoch from '2026-08-04 16:52:17'::timestamp) - extract(epoch from '2026-08-04 16:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041614 -3.410162)', '2026-08-04 16:52:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041604 -3.410185)'), GeomFromEWKT('SRID=4674;POINT (-39.041614 -3.410162)'))) / (select extract(epoch from '2026-08-04 16:52:20'::timestamp) - extract(epoch from '2026-08-04 16:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041604 -3.410185)'), GeomFromEWKT('SRID=4674;POINT (-39.041614 -3.410162)'))) / (select extract(epoch from '2026-08-04 16:52:20'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48136, 'SRID=4674;POINT (-39.041627 -3.41015)', '2026-08-04 16:52:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041614 -3.410162)'), GeomFromEWKT('SRID=4674;POINT (-39.041627 -3.41015)'))) / (select extract(epoch from '2026-08-04 16:52:22'::timestamp) - extract(epoch from '2026-08-04 16:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041614 -3.410162)'), GeomFromEWKT('SRID=4674;POINT (-39.041627 -3.41015)'))) / (select extract(epoch from '2026-08-04 16:52:22'::timestamp) - extract(epoch from '2026-08-04 16:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04163 -3.41014)', '2026-08-04 16:52:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041627 -3.41015)'), GeomFromEWKT('SRID=4674;POINT (-39.04163 -3.41014)'))) / (select extract(epoch from '2026-08-04 16:52:23'::timestamp) - extract(epoch from '2026-08-04 16:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041627 -3.41015)'), GeomFromEWKT('SRID=4674;POINT (-39.04163 -3.41014)'))) / (select extract(epoch from '2026-08-04 16:52:23'::timestamp) - extract(epoch from '2026-08-04 16:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041645 -3.410103)', '2026-08-04 16:52:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04163 -3.41014)'), GeomFromEWKT('SRID=4674;POINT (-39.041645 -3.410103)'))) / (select extract(epoch from '2026-08-04 16:52:28'::timestamp) - extract(epoch from '2026-08-04 16:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04163 -3.41014)'), GeomFromEWKT('SRID=4674;POINT (-39.041645 -3.410103)'))) / (select extract(epoch from '2026-08-04 16:52:28'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48136, 'SRID=4674;POINT (-39.041667 -3.410045)', '2026-08-04 16:52:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041645 -3.410103)'), GeomFromEWKT('SRID=4674;POINT (-39.041667 -3.410045)'))) / (select extract(epoch from '2026-08-04 16:52:35'::timestamp) - extract(epoch from '2026-08-04 16:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041645 -3.410103)'), GeomFromEWKT('SRID=4674;POINT (-39.041667 -3.410045)'))) / (select extract(epoch from '2026-08-04 16:52:35'::timestamp) - extract(epoch from '2026-08-04 16:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041693 -3.409959)', '2026-08-04 16:52:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041667 -3.410045)'), GeomFromEWKT('SRID=4674;POINT (-39.041693 -3.409959)'))) / (select extract(epoch from '2026-08-04 16:52:44'::timestamp) - extract(epoch from '2026-08-04 16:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041667 -3.410045)'), GeomFromEWKT('SRID=4674;POINT (-39.041693 -3.409959)'))) / (select extract(epoch from '2026-08-04 16:52:44'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48136, 'SRID=4674;POINT (-39.041712 -3.409913)', '2026-08-04 16:52:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041693 -3.409959)'), GeomFromEWKT('SRID=4674;POINT (-39.041712 -3.409913)'))) / (select extract(epoch from '2026-08-04 16:52:49'::timestamp) - extract(epoch from '2026-08-04 16:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041693 -3.409959)'), GeomFromEWKT('SRID=4674;POINT (-39.041712 -3.409913)'))) / (select extract(epoch from '2026-08-04 16:52:49'::timestamp) - extract(epoch from '2026-08-04 16:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041721 -3.409897)', '2026-08-04 16:52:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041712 -3.409913)'), GeomFromEWKT('SRID=4674;POINT (-39.041721 -3.409897)'))) / (select extract(epoch from '2026-08-04 16:52:51'::timestamp) - extract(epoch from '2026-08-04 16:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041712 -3.409913)'), GeomFromEWKT('SRID=4674;POINT (-39.041721 -3.409897)'))) / (select extract(epoch from '2026-08-04 16:52:51'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48136, 'SRID=4674;POINT (-39.041724 -3.409866)', '2026-08-04 16:52:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041721 -3.409897)'), GeomFromEWKT('SRID=4674;POINT (-39.041724 -3.409866)'))) / (select extract(epoch from '2026-08-04 16:52:54'::timestamp) - extract(epoch from '2026-08-04 16:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041721 -3.409897)'), GeomFromEWKT('SRID=4674;POINT (-39.041724 -3.409866)'))) / (select extract(epoch from '2026-08-04 16:52:54'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48136, 'SRID=4674;POINT (-39.041734 -3.409831)', '2026-08-04 16:52:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041724 -3.409866)'), GeomFromEWKT('SRID=4674;POINT (-39.041734 -3.409831)'))) / (select extract(epoch from '2026-08-04 16:52:58'::timestamp) - extract(epoch from '2026-08-04 16:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041724 -3.409866)'), GeomFromEWKT('SRID=4674;POINT (-39.041734 -3.409831)'))) / (select extract(epoch from '2026-08-04 16:52:58'::timestamp) - extract(epoch from '2026-08-04 16:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041747 -3.409764)', '2026-08-04 16:53:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041734 -3.409831)'), GeomFromEWKT('SRID=4674;POINT (-39.041747 -3.409764)'))) / (select extract(epoch from '2026-08-04 16:53:05'::timestamp) - extract(epoch from '2026-08-04 16:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041734 -3.409831)'), GeomFromEWKT('SRID=4674;POINT (-39.041747 -3.409764)'))) / (select extract(epoch from '2026-08-04 16:53:05'::timestamp) - extract(epoch from '2026-08-04 16:52: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'), 48136, 'SRID=4674;POINT (-39.041761 -3.409706)', '2026-08-04 16:53:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041747 -3.409764)'), GeomFromEWKT('SRID=4674;POINT (-39.041761 -3.409706)'))) / (select extract(epoch from '2026-08-04 16:53:12'::timestamp) - extract(epoch from '2026-08-04 16:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041747 -3.409764)'), GeomFromEWKT('SRID=4674;POINT (-39.041761 -3.409706)'))) / (select extract(epoch from '2026-08-04 16:53:12'::timestamp) - extract(epoch from '2026-08-04 16:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041768 -3.409661)', '2026-08-04 16:53:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041761 -3.409706)'), GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.409661)'))) / (select extract(epoch from '2026-08-04 16:53:18'::timestamp) - extract(epoch from '2026-08-04 16:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041761 -3.409706)'), GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.409661)'))) / (select extract(epoch from '2026-08-04 16:53:18'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48136, 'SRID=4674;POINT (-39.04178 -3.409603)', '2026-08-04 16:53:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.409661)'), GeomFromEWKT('SRID=4674;POINT (-39.04178 -3.409603)'))) / (select extract(epoch from '2026-08-04 16:53:26'::timestamp) - extract(epoch from '2026-08-04 16:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.409661)'), GeomFromEWKT('SRID=4674;POINT (-39.04178 -3.409603)'))) / (select extract(epoch from '2026-08-04 16:53:26'::timestamp) - extract(epoch from '2026-08-04 16:53:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041782 -3.409548)', '2026-08-04 16:53:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04178 -3.409603)'), GeomFromEWKT('SRID=4674;POINT (-39.041782 -3.409548)'))) / (select extract(epoch from '2026-08-04 16:53:33'::timestamp) - extract(epoch from '2026-08-04 16:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04178 -3.409603)'), GeomFromEWKT('SRID=4674;POINT (-39.041782 -3.409548)'))) / (select extract(epoch from '2026-08-04 16:53:33'::timestamp) - extract(epoch from '2026-08-04 16:53: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'), 48136, 'SRID=4674;POINT (-39.041799 -3.409459)', '2026-08-04 16:53:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041782 -3.409548)'), GeomFromEWKT('SRID=4674;POINT (-39.041799 -3.409459)'))) / (select extract(epoch from '2026-08-04 16:53:43'::timestamp) - extract(epoch from '2026-08-04 16:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041782 -3.409548)'), GeomFromEWKT('SRID=4674;POINT (-39.041799 -3.409459)'))) / (select extract(epoch from '2026-08-04 16:53:43'::timestamp) - extract(epoch from '2026-08-04 16:53: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'), 48136, 'SRID=4674;POINT (-39.041803 -3.409442)', '2026-08-04 16:53:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041799 -3.409459)'), GeomFromEWKT('SRID=4674;POINT (-39.041803 -3.409442)'))) / (select extract(epoch from '2026-08-04 16:53:45'::timestamp) - extract(epoch from '2026-08-04 16:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041799 -3.409459)'), GeomFromEWKT('SRID=4674;POINT (-39.041803 -3.409442)'))) / (select extract(epoch from '2026-08-04 16:53:45'::timestamp) - extract(epoch from '2026-08-04 16:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041803 -3.409416)', '2026-08-04 16:53:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041803 -3.409442)'), GeomFromEWKT('SRID=4674;POINT (-39.041803 -3.409416)'))) / (select extract(epoch from '2026-08-04 16:53:48'::timestamp) - extract(epoch from '2026-08-04 16:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041803 -3.409442)'), GeomFromEWKT('SRID=4674;POINT (-39.041803 -3.409416)'))) / (select extract(epoch from '2026-08-04 16:53:48'::timestamp) - extract(epoch from '2026-08-04 16:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041821 -3.409361)', '2026-08-04 16:53:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041803 -3.409416)'), GeomFromEWKT('SRID=4674;POINT (-39.041821 -3.409361)'))) / (select extract(epoch from '2026-08-04 16:53:55'::timestamp) - extract(epoch from '2026-08-04 16:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041803 -3.409416)'), GeomFromEWKT('SRID=4674;POINT (-39.041821 -3.409361)'))) / (select extract(epoch from '2026-08-04 16:53:55'::timestamp) - extract(epoch from '2026-08-04 16:53: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'), 48136, 'SRID=4674;POINT (-39.041831 -3.409295)', '2026-08-04 16:54:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041821 -3.409361)'), GeomFromEWKT('SRID=4674;POINT (-39.041831 -3.409295)'))) / (select extract(epoch from '2026-08-04 16:54:03'::timestamp) - extract(epoch from '2026-08-04 16:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041821 -3.409361)'), GeomFromEWKT('SRID=4674;POINT (-39.041831 -3.409295)'))) / (select extract(epoch from '2026-08-04 16:54:03'::timestamp) - extract(epoch from '2026-08-04 16:53: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'), 48136, 'SRID=4674;POINT (-39.041845 -3.409248)', '2026-08-04 16:54:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041831 -3.409295)'), GeomFromEWKT('SRID=4674;POINT (-39.041845 -3.409248)'))) / (select extract(epoch from '2026-08-04 16:54:09'::timestamp) - extract(epoch from '2026-08-04 16:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041831 -3.409295)'), GeomFromEWKT('SRID=4674;POINT (-39.041845 -3.409248)'))) / (select extract(epoch from '2026-08-04 16:54:09'::timestamp) - extract(epoch from '2026-08-04 16:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041854 -3.409225)', '2026-08-04 16:54:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041845 -3.409248)'), GeomFromEWKT('SRID=4674;POINT (-39.041854 -3.409225)'))) / (select extract(epoch from '2026-08-04 16:54:12'::timestamp) - extract(epoch from '2026-08-04 16:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041845 -3.409248)'), GeomFromEWKT('SRID=4674;POINT (-39.041854 -3.409225)'))) / (select extract(epoch from '2026-08-04 16:54:12'::timestamp) - extract(epoch from '2026-08-04 16:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041866 -3.409203)', '2026-08-04 16:54:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041854 -3.409225)'), GeomFromEWKT('SRID=4674;POINT (-39.041866 -3.409203)'))) / (select extract(epoch from '2026-08-04 16:54:15'::timestamp) - extract(epoch from '2026-08-04 16:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041854 -3.409225)'), GeomFromEWKT('SRID=4674;POINT (-39.041866 -3.409203)'))) / (select extract(epoch from '2026-08-04 16:54:15'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48136, 'SRID=4674;POINT (-39.041883 -3.409179)', '2026-08-04 16:54:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041866 -3.409203)'), GeomFromEWKT('SRID=4674;POINT (-39.041883 -3.409179)'))) / (select extract(epoch from '2026-08-04 16:54:18'::timestamp) - extract(epoch from '2026-08-04 16:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041866 -3.409203)'), GeomFromEWKT('SRID=4674;POINT (-39.041883 -3.409179)'))) / (select extract(epoch from '2026-08-04 16:54:18'::timestamp) - extract(epoch from '2026-08-04 16:54:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.0419 -3.409157)', '2026-08-04 16:54:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041883 -3.409179)'), GeomFromEWKT('SRID=4674;POINT (-39.0419 -3.409157)'))) / (select extract(epoch from '2026-08-04 16:54:22'::timestamp) - extract(epoch from '2026-08-04 16:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041883 -3.409179)'), GeomFromEWKT('SRID=4674;POINT (-39.0419 -3.409157)'))) / (select extract(epoch from '2026-08-04 16:54:22'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48136, 'SRID=4674;POINT (-39.041928 -3.409121)', '2026-08-04 16:54:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0419 -3.409157)'), GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.409121)'))) / (select extract(epoch from '2026-08-04 16:54:30'::timestamp) - extract(epoch from '2026-08-04 16:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0419 -3.409157)'), GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.409121)'))) / (select extract(epoch from '2026-08-04 16:54:30'::timestamp) - extract(epoch from '2026-08-04 16:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04195 -3.409112)', '2026-08-04 16:54:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.409121)'), GeomFromEWKT('SRID=4674;POINT (-39.04195 -3.409112)'))) / (select extract(epoch from '2026-08-04 16:54:36'::timestamp) - extract(epoch from '2026-08-04 16:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.409121)'), GeomFromEWKT('SRID=4674;POINT (-39.04195 -3.409112)'))) / (select extract(epoch from '2026-08-04 16:54:36'::timestamp) - extract(epoch from '2026-08-04 16:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04198 -3.409117)', '2026-08-04 16:54:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04195 -3.409112)'), GeomFromEWKT('SRID=4674;POINT (-39.04198 -3.409117)'))) / (select extract(epoch from '2026-08-04 16:54:43'::timestamp) - extract(epoch from '2026-08-04 16:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04195 -3.409112)'), GeomFromEWKT('SRID=4674;POINT (-39.04198 -3.409117)'))) / (select extract(epoch from '2026-08-04 16:54:43'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48136, 'SRID=4674;POINT (-39.042036 -3.409108)', '2026-08-04 16:54:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04198 -3.409117)'), GeomFromEWKT('SRID=4674;POINT (-39.042036 -3.409108)'))) / (select extract(epoch from '2026-08-04 16:54:54'::timestamp) - extract(epoch from '2026-08-04 16:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04198 -3.409117)'), GeomFromEWKT('SRID=4674;POINT (-39.042036 -3.409108)'))) / (select extract(epoch from '2026-08-04 16:54:54'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48136, 'SRID=4674;POINT (-39.042068 -3.409107)', '2026-08-04 16:55:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042036 -3.409108)'), GeomFromEWKT('SRID=4674;POINT (-39.042068 -3.409107)'))) / (select extract(epoch from '2026-08-04 16:55:01'::timestamp) - extract(epoch from '2026-08-04 16:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042036 -3.409108)'), GeomFromEWKT('SRID=4674;POINT (-39.042068 -3.409107)'))) / (select extract(epoch from '2026-08-04 16:55:01'::timestamp) - extract(epoch from '2026-08-04 16:54: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'), 48136, 'SRID=4674;POINT (-39.042101 -3.409102)', '2026-08-04 16:55:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042068 -3.409107)'), GeomFromEWKT('SRID=4674;POINT (-39.042101 -3.409102)'))) / (select extract(epoch from '2026-08-04 16:55:08'::timestamp) - extract(epoch from '2026-08-04 16:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042068 -3.409107)'), GeomFromEWKT('SRID=4674;POINT (-39.042101 -3.409102)'))) / (select extract(epoch from '2026-08-04 16:55:08'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48136, 'SRID=4674;POINT (-39.042173 -3.409098)', '2026-08-04 16:55:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042101 -3.409102)'), GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.409098)'))) / (select extract(epoch from '2026-08-04 16:55:21'::timestamp) - extract(epoch from '2026-08-04 16:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042101 -3.409102)'), GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.409098)'))) / (select extract(epoch from '2026-08-04 16:55:21'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48136, 'SRID=4674;POINT (-39.042221 -3.409102)', '2026-08-04 16:55:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.409098)'), GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.409102)'))) / (select extract(epoch from '2026-08-04 16:55:30'::timestamp) - extract(epoch from '2026-08-04 16:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042173 -3.409098)'), GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.409102)'))) / (select extract(epoch from '2026-08-04 16:55:30'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48136, 'SRID=4674;POINT (-39.042256 -3.409102)', '2026-08-04 16:55:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.409102)'), GeomFromEWKT('SRID=4674;POINT (-39.042256 -3.409102)'))) / (select extract(epoch from '2026-08-04 16:55:38'::timestamp) - extract(epoch from '2026-08-04 16:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.409102)'), GeomFromEWKT('SRID=4674;POINT (-39.042256 -3.409102)'))) / (select extract(epoch from '2026-08-04 16:55:38'::timestamp) - extract(epoch from '2026-08-04 16:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04229 -3.409099)', '2026-08-04 16:55:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042256 -3.409102)'), GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.409099)'))) / (select extract(epoch from '2026-08-04 16:55:45'::timestamp) - extract(epoch from '2026-08-04 16:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042256 -3.409102)'), GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.409099)'))) / (select extract(epoch from '2026-08-04 16:55:45'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48136, 'SRID=4674;POINT (-39.042324 -3.409095)', '2026-08-04 16:55:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.409099)'), GeomFromEWKT('SRID=4674;POINT (-39.042324 -3.409095)'))) / (select extract(epoch from '2026-08-04 16:55:52'::timestamp) - extract(epoch from '2026-08-04 16:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.409099)'), GeomFromEWKT('SRID=4674;POINT (-39.042324 -3.409095)'))) / (select extract(epoch from '2026-08-04 16:55:52'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48136, 'SRID=4674;POINT (-39.042355 -3.409094)', '2026-08-04 16:55:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042324 -3.409095)'), GeomFromEWKT('SRID=4674;POINT (-39.042355 -3.409094)'))) / (select extract(epoch from '2026-08-04 16:55:59'::timestamp) - extract(epoch from '2026-08-04 16:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042324 -3.409095)'), GeomFromEWKT('SRID=4674;POINT (-39.042355 -3.409094)'))) / (select extract(epoch from '2026-08-04 16:55:59'::timestamp) - extract(epoch from '2026-08-04 16:55: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'), 48136, 'SRID=4674;POINT (-39.042377 -3.409089)', '2026-08-04 16:56:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042355 -3.409094)'), GeomFromEWKT('SRID=4674;POINT (-39.042377 -3.409089)'))) / (select extract(epoch from '2026-08-04 16:56:05'::timestamp) - extract(epoch from '2026-08-04 16:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042355 -3.409094)'), GeomFromEWKT('SRID=4674;POINT (-39.042377 -3.409089)'))) / (select extract(epoch from '2026-08-04 16:56:05'::timestamp) - extract(epoch from '2026-08-04 16:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042413 -3.409082)', '2026-08-04 16:56:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042377 -3.409089)'), GeomFromEWKT('SRID=4674;POINT (-39.042413 -3.409082)'))) / (select extract(epoch from '2026-08-04 16:56:13'::timestamp) - extract(epoch from '2026-08-04 16:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042377 -3.409089)'), GeomFromEWKT('SRID=4674;POINT (-39.042413 -3.409082)'))) / (select extract(epoch from '2026-08-04 16:56:13'::timestamp) - extract(epoch from '2026-08-04 16:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042448 -3.409077)', '2026-08-04 16:56:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042413 -3.409082)'), GeomFromEWKT('SRID=4674;POINT (-39.042448 -3.409077)'))) / (select extract(epoch from '2026-08-04 16:56:20'::timestamp) - extract(epoch from '2026-08-04 16:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042413 -3.409082)'), GeomFromEWKT('SRID=4674;POINT (-39.042448 -3.409077)'))) / (select extract(epoch from '2026-08-04 16:56:20'::timestamp) - extract(epoch from '2026-08-04 16:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042492 -3.409072)', '2026-08-04 16:56:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042448 -3.409077)'), GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.409072)'))) / (select extract(epoch from '2026-08-04 16:56:30'::timestamp) - extract(epoch from '2026-08-04 16:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042448 -3.409077)'), GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.409072)'))) / (select extract(epoch from '2026-08-04 16:56:30'::timestamp) - extract(epoch from '2026-08-04 16:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042515 -3.40907)', '2026-08-04 16:56:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.409072)'), GeomFromEWKT('SRID=4674;POINT (-39.042515 -3.40907)'))) / (select extract(epoch from '2026-08-04 16:56:45'::timestamp) - extract(epoch from '2026-08-04 16:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042492 -3.409072)'), GeomFromEWKT('SRID=4674;POINT (-39.042515 -3.40907)'))) / (select extract(epoch from '2026-08-04 16:56:45'::timestamp) - extract(epoch from '2026-08-04 16:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042515 -3.40907)', '2026-08-04 16:56:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042515 -3.40907)'), GeomFromEWKT('SRID=4674;POINT (-39.042515 -3.40907)'))) / (select extract(epoch from '2026-08-04 16:56:51'::timestamp) - extract(epoch from '2026-08-04 16:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042515 -3.40907)'), GeomFromEWKT('SRID=4674;POINT (-39.042515 -3.40907)'))) / (select extract(epoch from '2026-08-04 16:56:51'::timestamp) - extract(epoch from '2026-08-04 16:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042528 -3.409062)', '2026-08-04 16:57:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042515 -3.40907)'), GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.409062)'))) / (select extract(epoch from '2026-08-04 16:57:01'::timestamp) - extract(epoch from '2026-08-04 16:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042515 -3.40907)'), GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.409062)'))) / (select extract(epoch from '2026-08-04 16:57:01'::timestamp) - extract(epoch from '2026-08-04 16:56: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'), 48136, 'SRID=4674;POINT (-39.042546 -3.409059)', '2026-08-04 16:57:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.409062)'), GeomFromEWKT('SRID=4674;POINT (-39.042546 -3.409059)'))) / (select extract(epoch from '2026-08-04 16:57:09'::timestamp) - extract(epoch from '2026-08-04 16:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042528 -3.409062)'), GeomFromEWKT('SRID=4674;POINT (-39.042546 -3.409059)'))) / (select extract(epoch from '2026-08-04 16:57:09'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48136, 'SRID=4674;POINT (-39.042572 -3.409063)', '2026-08-04 16:57:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042546 -3.409059)'), GeomFromEWKT('SRID=4674;POINT (-39.042572 -3.409063)'))) / (select extract(epoch from '2026-08-04 16:57:17'::timestamp) - extract(epoch from '2026-08-04 16:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042546 -3.409059)'), GeomFromEWKT('SRID=4674;POINT (-39.042572 -3.409063)'))) / (select extract(epoch from '2026-08-04 16:57:17'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48136, 'SRID=4674;POINT (-39.042597 -3.409061)', '2026-08-04 16:57:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042572 -3.409063)'), GeomFromEWKT('SRID=4674;POINT (-39.042597 -3.409061)'))) / (select extract(epoch from '2026-08-04 16:57:23'::timestamp) - extract(epoch from '2026-08-04 16:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042572 -3.409063)'), GeomFromEWKT('SRID=4674;POINT (-39.042597 -3.409061)'))) / (select extract(epoch from '2026-08-04 16:57:23'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48136, 'SRID=4674;POINT (-39.042628 -3.409052)', '2026-08-04 16:57:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042597 -3.409061)'), GeomFromEWKT('SRID=4674;POINT (-39.042628 -3.409052)'))) / (select extract(epoch from '2026-08-04 16:57:31'::timestamp) - extract(epoch from '2026-08-04 16:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042597 -3.409061)'), GeomFromEWKT('SRID=4674;POINT (-39.042628 -3.409052)'))) / (select extract(epoch from '2026-08-04 16:57:31'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48136, 'SRID=4674;POINT (-39.042657 -3.409046)', '2026-08-04 16:57:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042628 -3.409052)'), GeomFromEWKT('SRID=4674;POINT (-39.042657 -3.409046)'))) / (select extract(epoch from '2026-08-04 16:57:40'::timestamp) - extract(epoch from '2026-08-04 16:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042628 -3.409052)'), GeomFromEWKT('SRID=4674;POINT (-39.042657 -3.409046)'))) / (select extract(epoch from '2026-08-04 16:57:40'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48136, 'SRID=4674;POINT (-39.042671 -3.409043)', '2026-08-04 16:57:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042657 -3.409046)'), GeomFromEWKT('SRID=4674;POINT (-39.042671 -3.409043)'))) / (select extract(epoch from '2026-08-04 16:57:45'::timestamp) - extract(epoch from '2026-08-04 16:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042657 -3.409046)'), GeomFromEWKT('SRID=4674;POINT (-39.042671 -3.409043)'))) / (select extract(epoch from '2026-08-04 16:57:45'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48136, 'SRID=4674;POINT (-39.042695 -3.409043)', '2026-08-04 16:57:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042671 -3.409043)'), GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.409043)'))) / (select extract(epoch from '2026-08-04 16:57:51'::timestamp) - extract(epoch from '2026-08-04 16:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042671 -3.409043)'), GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.409043)'))) / (select extract(epoch from '2026-08-04 16:57:51'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48136, 'SRID=4674;POINT (-39.042725 -3.40904)', '2026-08-04 16:57:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.409043)'), GeomFromEWKT('SRID=4674;POINT (-39.042725 -3.40904)'))) / (select extract(epoch from '2026-08-04 16:57:58'::timestamp) - extract(epoch from '2026-08-04 16:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042695 -3.409043)'), GeomFromEWKT('SRID=4674;POINT (-39.042725 -3.40904)'))) / (select extract(epoch from '2026-08-04 16:57:58'::timestamp) - extract(epoch from '2026-08-04 16:57: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'), 48136, 'SRID=4674;POINT (-39.042767 -3.409033)', '2026-08-04 16:58:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042725 -3.40904)'), GeomFromEWKT('SRID=4674;POINT (-39.042767 -3.409033)'))) / (select extract(epoch from '2026-08-04 16:58:11'::timestamp) - extract(epoch from '2026-08-04 16:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042725 -3.40904)'), GeomFromEWKT('SRID=4674;POINT (-39.042767 -3.409033)'))) / (select extract(epoch from '2026-08-04 16:58:11'::timestamp) - extract(epoch from '2026-08-04 16:57:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042809 -3.409023)', '2026-08-04 16:58:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042767 -3.409033)'), GeomFromEWKT('SRID=4674;POINT (-39.042809 -3.409023)'))) / (select extract(epoch from '2026-08-04 16:58:22'::timestamp) - extract(epoch from '2026-08-04 16:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042767 -3.409033)'), GeomFromEWKT('SRID=4674;POINT (-39.042809 -3.409023)'))) / (select extract(epoch from '2026-08-04 16:58:22'::timestamp) - extract(epoch from '2026-08-04 16:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042835 -3.409008)', '2026-08-04 16:58:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042809 -3.409023)'), GeomFromEWKT('SRID=4674;POINT (-39.042835 -3.409008)'))) / (select extract(epoch from '2026-08-04 16:58:32'::timestamp) - extract(epoch from '2026-08-04 16:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042809 -3.409023)'), GeomFromEWKT('SRID=4674;POINT (-39.042835 -3.409008)'))) / (select extract(epoch from '2026-08-04 16:58:32'::timestamp) - extract(epoch from '2026-08-04 16:58: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'), 48136, 'SRID=4674;POINT (-39.042894 -3.409012)', '2026-08-04 16:58:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042835 -3.409008)'), GeomFromEWKT('SRID=4674;POINT (-39.042894 -3.409012)'))) / (select extract(epoch from '2026-08-04 16:58:47'::timestamp) - extract(epoch from '2026-08-04 16:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042835 -3.409008)'), GeomFromEWKT('SRID=4674;POINT (-39.042894 -3.409012)'))) / (select extract(epoch from '2026-08-04 16:58:47'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48136, 'SRID=4674;POINT (-39.042943 -3.409016)', '2026-08-04 16:59:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042894 -3.409012)'), GeomFromEWKT('SRID=4674;POINT (-39.042943 -3.409016)'))) / (select extract(epoch from '2026-08-04 16:59:00'::timestamp) - extract(epoch from '2026-08-04 16:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042894 -3.409012)'), GeomFromEWKT('SRID=4674;POINT (-39.042943 -3.409016)'))) / (select extract(epoch from '2026-08-04 16:59:00'::timestamp) - extract(epoch from '2026-08-04 16: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'), 48136, 'SRID=4674;POINT (-39.043005 -3.409017)', '2026-08-04 16:59:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042943 -3.409016)'), GeomFromEWKT('SRID=4674;POINT (-39.043005 -3.409017)'))) / (select extract(epoch from '2026-08-04 16:59:14'::timestamp) - extract(epoch from '2026-08-04 16:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042943 -3.409016)'), GeomFromEWKT('SRID=4674;POINT (-39.043005 -3.409017)'))) / (select extract(epoch from '2026-08-04 16:59:14'::timestamp) - extract(epoch from '2026-08-04 16:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043031 -3.409006)', '2026-08-04 16:59:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043005 -3.409017)'), GeomFromEWKT('SRID=4674;POINT (-39.043031 -3.409006)'))) / (select extract(epoch from '2026-08-04 16:59:22'::timestamp) - extract(epoch from '2026-08-04 16:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043005 -3.409017)'), GeomFromEWKT('SRID=4674;POINT (-39.043031 -3.409006)'))) / (select extract(epoch from '2026-08-04 16:59:22'::timestamp) - extract(epoch from '2026-08-04 16:59: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'), 48136, 'SRID=4674;POINT (-39.043052 -3.409006)', '2026-08-04 16:59:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043031 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.043052 -3.409006)'))) / (select extract(epoch from '2026-08-04 16:59:31'::timestamp) - extract(epoch from '2026-08-04 16:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043031 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.043052 -3.409006)'))) / (select extract(epoch from '2026-08-04 16:59:31'::timestamp) - extract(epoch from '2026-08-04 16:59: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'), 48136, 'SRID=4674;POINT (-39.043062 -3.409023)', '2026-08-04 16:59:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043052 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.043062 -3.409023)'))) / (select extract(epoch from '2026-08-04 16:59:38'::timestamp) - extract(epoch from '2026-08-04 16:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043052 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.043062 -3.409023)'))) / (select extract(epoch from '2026-08-04 16:59:38'::timestamp) - extract(epoch from '2026-08-04 16:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043079 -3.409016)', '2026-08-04 16:59:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043062 -3.409023)'), GeomFromEWKT('SRID=4674;POINT (-39.043079 -3.409016)'))) / (select extract(epoch from '2026-08-04 16:59:45'::timestamp) - extract(epoch from '2026-08-04 16:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043062 -3.409023)'), GeomFromEWKT('SRID=4674;POINT (-39.043079 -3.409016)'))) / (select extract(epoch from '2026-08-04 16:59:45'::timestamp) - extract(epoch from '2026-08-04 16:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043104 -3.409006)', '2026-08-04 16:59:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043079 -3.409016)'), GeomFromEWKT('SRID=4674;POINT (-39.043104 -3.409006)'))) / (select extract(epoch from '2026-08-04 16:59:53'::timestamp) - extract(epoch from '2026-08-04 16:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043079 -3.409016)'), GeomFromEWKT('SRID=4674;POINT (-39.043104 -3.409006)'))) / (select extract(epoch from '2026-08-04 16:59:53'::timestamp) - extract(epoch from '2026-08-04 16:59: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'), 48136, 'SRID=4674;POINT (-39.043131 -3.409003)', '2026-08-04 17:00:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043104 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.043131 -3.409003)'))) / (select extract(epoch from '2026-08-04 17:00:01'::timestamp) - extract(epoch from '2026-08-04 16:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043104 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.043131 -3.409003)'))) / (select extract(epoch from '2026-08-04 17:00:01'::timestamp) - extract(epoch from '2026-08-04 16:59: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'), 48136, 'SRID=4674;POINT (-39.043156 -3.409006)', '2026-08-04 17:00:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043131 -3.409003)'), GeomFromEWKT('SRID=4674;POINT (-39.043156 -3.409006)'))) / (select extract(epoch from '2026-08-04 17:00:09'::timestamp) - extract(epoch from '2026-08-04 17:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043131 -3.409003)'), GeomFromEWKT('SRID=4674;POINT (-39.043156 -3.409006)'))) / (select extract(epoch from '2026-08-04 17:00:09'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.043173 -3.409006)', '2026-08-04 17:00:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043156 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.409006)'))) / (select extract(epoch from '2026-08-04 17:00:17'::timestamp) - extract(epoch from '2026-08-04 17:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043156 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.409006)'))) / (select extract(epoch from '2026-08-04 17:00:17'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48136, 'SRID=4674;POINT (-39.043212 -3.408992)', '2026-08-04 17:00:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.043212 -3.408992)'))) / (select extract(epoch from '2026-08-04 17:00:27'::timestamp) - extract(epoch from '2026-08-04 17:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.043212 -3.408992)'))) / (select extract(epoch from '2026-08-04 17:00:27'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48136, 'SRID=4674;POINT (-39.04324 -3.408988)', '2026-08-04 17:00:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043212 -3.408992)'), GeomFromEWKT('SRID=4674;POINT (-39.04324 -3.408988)'))) / (select extract(epoch from '2026-08-04 17:00:35'::timestamp) - extract(epoch from '2026-08-04 17:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043212 -3.408992)'), GeomFromEWKT('SRID=4674;POINT (-39.04324 -3.408988)'))) / (select extract(epoch from '2026-08-04 17:00:35'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48136, 'SRID=4674;POINT (-39.043268 -3.40898)', '2026-08-04 17:00:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04324 -3.408988)'), GeomFromEWKT('SRID=4674;POINT (-39.043268 -3.40898)'))) / (select extract(epoch from '2026-08-04 17:00:43'::timestamp) - extract(epoch from '2026-08-04 17:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04324 -3.408988)'), GeomFromEWKT('SRID=4674;POINT (-39.043268 -3.40898)'))) / (select extract(epoch from '2026-08-04 17:00:43'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48136, 'SRID=4674;POINT (-39.04329 -3.40898)', '2026-08-04 17:00:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043268 -3.40898)'), GeomFromEWKT('SRID=4674;POINT (-39.04329 -3.40898)'))) / (select extract(epoch from '2026-08-04 17:00:50'::timestamp) - extract(epoch from '2026-08-04 17:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043268 -3.40898)'), GeomFromEWKT('SRID=4674;POINT (-39.04329 -3.40898)'))) / (select extract(epoch from '2026-08-04 17:00:50'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48136, 'SRID=4674;POINT (-39.043312 -3.408978)', '2026-08-04 17:00:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04329 -3.40898)'), GeomFromEWKT('SRID=4674;POINT (-39.043312 -3.408978)'))) / (select extract(epoch from '2026-08-04 17:00:59'::timestamp) - extract(epoch from '2026-08-04 17:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04329 -3.40898)'), GeomFromEWKT('SRID=4674;POINT (-39.043312 -3.408978)'))) / (select extract(epoch from '2026-08-04 17:00:59'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.043333 -3.408968)', '2026-08-04 17:01:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043312 -3.408978)'), GeomFromEWKT('SRID=4674;POINT (-39.043333 -3.408968)'))) / (select extract(epoch from '2026-08-04 17:01:07'::timestamp) - extract(epoch from '2026-08-04 17:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043312 -3.408978)'), GeomFromEWKT('SRID=4674;POINT (-39.043333 -3.408968)'))) / (select extract(epoch from '2026-08-04 17:01:07'::timestamp) - extract(epoch from '2026-08-04 17:00: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'), 48136, 'SRID=4674;POINT (-39.043346 -3.408968)', '2026-08-04 17:01:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043333 -3.408968)'), GeomFromEWKT('SRID=4674;POINT (-39.043346 -3.408968)'))) / (select extract(epoch from '2026-08-04 17:01:13'::timestamp) - extract(epoch from '2026-08-04 17:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043333 -3.408968)'), GeomFromEWKT('SRID=4674;POINT (-39.043346 -3.408968)'))) / (select extract(epoch from '2026-08-04 17:01:13'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48136, 'SRID=4674;POINT (-39.043362 -3.408973)', '2026-08-04 17:01:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043346 -3.408968)'), GeomFromEWKT('SRID=4674;POINT (-39.043362 -3.408973)'))) / (select extract(epoch from '2026-08-04 17:01:19'::timestamp) - extract(epoch from '2026-08-04 17:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043346 -3.408968)'), GeomFromEWKT('SRID=4674;POINT (-39.043362 -3.408973)'))) / (select extract(epoch from '2026-08-04 17:01:19'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48136, 'SRID=4674;POINT (-39.043403 -3.408973)', '2026-08-04 17:01:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043362 -3.408973)'), GeomFromEWKT('SRID=4674;POINT (-39.043403 -3.408973)'))) / (select extract(epoch from '2026-08-04 17:01:30'::timestamp) - extract(epoch from '2026-08-04 17:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043362 -3.408973)'), GeomFromEWKT('SRID=4674;POINT (-39.043403 -3.408973)'))) / (select extract(epoch from '2026-08-04 17:01:30'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48136, 'SRID=4674;POINT (-39.043425 -3.408974)', '2026-08-04 17:01:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043403 -3.408973)'), GeomFromEWKT('SRID=4674;POINT (-39.043425 -3.408974)'))) / (select extract(epoch from '2026-08-04 17:01:36'::timestamp) - extract(epoch from '2026-08-04 17:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043403 -3.408973)'), GeomFromEWKT('SRID=4674;POINT (-39.043425 -3.408974)'))) / (select extract(epoch from '2026-08-04 17:01:36'::timestamp) - extract(epoch from '2026-08-04 17:01:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04345 -3.408975)', '2026-08-04 17:01:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043425 -3.408974)'), GeomFromEWKT('SRID=4674;POINT (-39.04345 -3.408975)'))) / (select extract(epoch from '2026-08-04 17:01:43'::timestamp) - extract(epoch from '2026-08-04 17:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043425 -3.408974)'), GeomFromEWKT('SRID=4674;POINT (-39.04345 -3.408975)'))) / (select extract(epoch from '2026-08-04 17:01:43'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48136, 'SRID=4674;POINT (-39.043477 -3.408973)', '2026-08-04 17:01:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04345 -3.408975)'), GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.408973)'))) / (select extract(epoch from '2026-08-04 17:01:51'::timestamp) - extract(epoch from '2026-08-04 17:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04345 -3.408975)'), GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.408973)'))) / (select extract(epoch from '2026-08-04 17:01:51'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48136, 'SRID=4674;POINT (-39.0435 -3.408966)', '2026-08-04 17:01:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.408973)'), GeomFromEWKT('SRID=4674;POINT (-39.0435 -3.408966)'))) / (select extract(epoch from '2026-08-04 17:01:58'::timestamp) - extract(epoch from '2026-08-04 17:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.408973)'), GeomFromEWKT('SRID=4674;POINT (-39.0435 -3.408966)'))) / (select extract(epoch from '2026-08-04 17:01:58'::timestamp) - extract(epoch from '2026-08-04 17:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043529 -3.40896)', '2026-08-04 17:02:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0435 -3.408966)'), GeomFromEWKT('SRID=4674;POINT (-39.043529 -3.40896)'))) / (select extract(epoch from '2026-08-04 17:02:06'::timestamp) - extract(epoch from '2026-08-04 17:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0435 -3.408966)'), GeomFromEWKT('SRID=4674;POINT (-39.043529 -3.40896)'))) / (select extract(epoch from '2026-08-04 17:02:06'::timestamp) - extract(epoch from '2026-08-04 17:01: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'), 48136, 'SRID=4674;POINT (-39.04356 -3.408955)', '2026-08-04 17:02:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043529 -3.40896)'), GeomFromEWKT('SRID=4674;POINT (-39.04356 -3.408955)'))) / (select extract(epoch from '2026-08-04 17:02:15'::timestamp) - extract(epoch from '2026-08-04 17:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043529 -3.40896)'), GeomFromEWKT('SRID=4674;POINT (-39.04356 -3.408955)'))) / (select extract(epoch from '2026-08-04 17:02:15'::timestamp) - extract(epoch from '2026-08-04 17:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043589 -3.408956)', '2026-08-04 17:02:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04356 -3.408955)'), GeomFromEWKT('SRID=4674;POINT (-39.043589 -3.408956)'))) / (select extract(epoch from '2026-08-04 17:02:24'::timestamp) - extract(epoch from '2026-08-04 17:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04356 -3.408955)'), GeomFromEWKT('SRID=4674;POINT (-39.043589 -3.408956)'))) / (select extract(epoch from '2026-08-04 17:02:24'::timestamp) - extract(epoch from '2026-08-04 17:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043615 -3.408952)', '2026-08-04 17:02:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043589 -3.408956)'), GeomFromEWKT('SRID=4674;POINT (-39.043615 -3.408952)'))) / (select extract(epoch from '2026-08-04 17:02:33'::timestamp) - extract(epoch from '2026-08-04 17:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043589 -3.408956)'), GeomFromEWKT('SRID=4674;POINT (-39.043615 -3.408952)'))) / (select extract(epoch from '2026-08-04 17:02:33'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48136, 'SRID=4674;POINT (-39.043625 -3.408943)', '2026-08-04 17:02:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043615 -3.408952)'), GeomFromEWKT('SRID=4674;POINT (-39.043625 -3.408943)'))) / (select extract(epoch from '2026-08-04 17:02:40'::timestamp) - extract(epoch from '2026-08-04 17:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043615 -3.408952)'), GeomFromEWKT('SRID=4674;POINT (-39.043625 -3.408943)'))) / (select extract(epoch from '2026-08-04 17:02:40'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48136, 'SRID=4674;POINT (-39.043659 -3.408942)', '2026-08-04 17:02:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043625 -3.408943)'), GeomFromEWKT('SRID=4674;POINT (-39.043659 -3.408942)'))) / (select extract(epoch from '2026-08-04 17:02:49'::timestamp) - extract(epoch from '2026-08-04 17:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043625 -3.408943)'), GeomFromEWKT('SRID=4674;POINT (-39.043659 -3.408942)'))) / (select extract(epoch from '2026-08-04 17:02:49'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48136, 'SRID=4674;POINT (-39.043698 -3.408931)', '2026-08-04 17:02:59', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043659 -3.408942)'), GeomFromEWKT('SRID=4674;POINT (-39.043698 -3.408931)'))) / (select extract(epoch from '2026-08-04 17:02:59'::timestamp) - extract(epoch from '2026-08-04 17:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043659 -3.408942)'), GeomFromEWKT('SRID=4674;POINT (-39.043698 -3.408931)'))) / (select extract(epoch from '2026-08-04 17:02:59'::timestamp) - extract(epoch from '2026-08-04 17:02: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'), 48136, 'SRID=4674;POINT (-39.043738 -3.408923)', '2026-08-04 17:03:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043698 -3.408931)'), GeomFromEWKT('SRID=4674;POINT (-39.043738 -3.408923)'))) / (select extract(epoch from '2026-08-04 17:03:11'::timestamp) - extract(epoch from '2026-08-04 17:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043698 -3.408931)'), GeomFromEWKT('SRID=4674;POINT (-39.043738 -3.408923)'))) / (select extract(epoch from '2026-08-04 17:03:11'::timestamp) - extract(epoch from '2026-08-04 17:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043783 -3.408915)', '2026-08-04 17:03:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043738 -3.408923)'), GeomFromEWKT('SRID=4674;POINT (-39.043783 -3.408915)'))) / (select extract(epoch from '2026-08-04 17:03:29'::timestamp) - extract(epoch from '2026-08-04 17:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043738 -3.408923)'), GeomFromEWKT('SRID=4674;POINT (-39.043783 -3.408915)'))) / (select extract(epoch from '2026-08-04 17:03:29'::timestamp) - extract(epoch from '2026-08-04 17:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043839 -3.408909)', '2026-08-04 17:03:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043783 -3.408915)'), GeomFromEWKT('SRID=4674;POINT (-39.043839 -3.408909)'))) / (select extract(epoch from '2026-08-04 17:03:42'::timestamp) - extract(epoch from '2026-08-04 17:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043783 -3.408915)'), GeomFromEWKT('SRID=4674;POINT (-39.043839 -3.408909)'))) / (select extract(epoch from '2026-08-04 17:03:42'::timestamp) - extract(epoch from '2026-08-04 17:03: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'), 48136, 'SRID=4674;POINT (-39.043888 -3.408912)', '2026-08-04 17:03:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043839 -3.408909)'), GeomFromEWKT('SRID=4674;POINT (-39.043888 -3.408912)'))) / (select extract(epoch from '2026-08-04 17:03:54'::timestamp) - extract(epoch from '2026-08-04 17:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043839 -3.408909)'), GeomFromEWKT('SRID=4674;POINT (-39.043888 -3.408912)'))) / (select extract(epoch from '2026-08-04 17:03:54'::timestamp) - extract(epoch from '2026-08-04 17:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043935 -3.408912)', '2026-08-04 17:04:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043888 -3.408912)'), GeomFromEWKT('SRID=4674;POINT (-39.043935 -3.408912)'))) / (select extract(epoch from '2026-08-04 17:04:05'::timestamp) - extract(epoch from '2026-08-04 17:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043888 -3.408912)'), GeomFromEWKT('SRID=4674;POINT (-39.043935 -3.408912)'))) / (select extract(epoch from '2026-08-04 17:04:05'::timestamp) - extract(epoch from '2026-08-04 17:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043963 -3.408908)', '2026-08-04 17:04:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043935 -3.408912)'), GeomFromEWKT('SRID=4674;POINT (-39.043963 -3.408908)'))) / (select extract(epoch from '2026-08-04 17:04:13'::timestamp) - extract(epoch from '2026-08-04 17:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043935 -3.408912)'), GeomFromEWKT('SRID=4674;POINT (-39.043963 -3.408908)'))) / (select extract(epoch from '2026-08-04 17:04:13'::timestamp) - extract(epoch from '2026-08-04 17:04:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043966 -3.408905)', '2026-08-04 17:04:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043963 -3.408908)'), GeomFromEWKT('SRID=4674;POINT (-39.043966 -3.408905)'))) / (select extract(epoch from '2026-08-04 17:04:20'::timestamp) - extract(epoch from '2026-08-04 17:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043963 -3.408908)'), GeomFromEWKT('SRID=4674;POINT (-39.043966 -3.408905)'))) / (select extract(epoch from '2026-08-04 17:04:20'::timestamp) - extract(epoch from '2026-08-04 17:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043951 -3.408902)', '2026-08-04 17:04:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043966 -3.408905)'), GeomFromEWKT('SRID=4674;POINT (-39.043951 -3.408902)'))) / (select extract(epoch from '2026-08-04 17:04:27'::timestamp) - extract(epoch from '2026-08-04 17:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043966 -3.408905)'), GeomFromEWKT('SRID=4674;POINT (-39.043951 -3.408902)'))) / (select extract(epoch from '2026-08-04 17:04:27'::timestamp) - extract(epoch from '2026-08-04 17:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043945 -3.408898)', '2026-08-04 17:04:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043951 -3.408902)'), GeomFromEWKT('SRID=4674;POINT (-39.043945 -3.408898)'))) / (select extract(epoch from '2026-08-04 17:04:38'::timestamp) - extract(epoch from '2026-08-04 17:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043951 -3.408902)'), GeomFromEWKT('SRID=4674;POINT (-39.043945 -3.408898)'))) / (select extract(epoch from '2026-08-04 17:04:38'::timestamp) - extract(epoch from '2026-08-04 17:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043942 -3.408902)', '2026-08-04 17:04:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043945 -3.408898)'), GeomFromEWKT('SRID=4674;POINT (-39.043942 -3.408902)'))) / (select extract(epoch from '2026-08-04 17:04:47'::timestamp) - extract(epoch from '2026-08-04 17:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043945 -3.408898)'), GeomFromEWKT('SRID=4674;POINT (-39.043942 -3.408902)'))) / (select extract(epoch from '2026-08-04 17:04:47'::timestamp) - extract(epoch from '2026-08-04 17:04: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'), 48136, 'SRID=4674;POINT (-39.043961 -3.408907)', '2026-08-04 17:04:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043942 -3.408902)'), GeomFromEWKT('SRID=4674;POINT (-39.043961 -3.408907)'))) / (select extract(epoch from '2026-08-04 17:04:57'::timestamp) - extract(epoch from '2026-08-04 17:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043942 -3.408902)'), GeomFromEWKT('SRID=4674;POINT (-39.043961 -3.408907)'))) / (select extract(epoch from '2026-08-04 17:04:57'::timestamp) - extract(epoch from '2026-08-04 17:04: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'), 48136, 'SRID=4674;POINT (-39.043986 -3.408913)', '2026-08-04 17:05:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043961 -3.408907)'), GeomFromEWKT('SRID=4674;POINT (-39.043986 -3.408913)'))) / (select extract(epoch from '2026-08-04 17:05:06'::timestamp) - extract(epoch from '2026-08-04 17:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043961 -3.408907)'), GeomFromEWKT('SRID=4674;POINT (-39.043986 -3.408913)'))) / (select extract(epoch from '2026-08-04 17:05:06'::timestamp) - extract(epoch from '2026-08-04 17:04: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'), 48136, 'SRID=4674;POINT (-39.044005 -3.408911)', '2026-08-04 17:05:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043986 -3.408913)'), GeomFromEWKT('SRID=4674;POINT (-39.044005 -3.408911)'))) / (select extract(epoch from '2026-08-04 17:05:17'::timestamp) - extract(epoch from '2026-08-04 17:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043986 -3.408913)'), GeomFromEWKT('SRID=4674;POINT (-39.044005 -3.408911)'))) / (select extract(epoch from '2026-08-04 17:05:17'::timestamp) - extract(epoch from '2026-08-04 17:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044028 -3.408915)', '2026-08-04 17:05:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044005 -3.408911)'), GeomFromEWKT('SRID=4674;POINT (-39.044028 -3.408915)'))) / (select extract(epoch from '2026-08-04 17:05:25'::timestamp) - extract(epoch from '2026-08-04 17:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044005 -3.408911)'), GeomFromEWKT('SRID=4674;POINT (-39.044028 -3.408915)'))) / (select extract(epoch from '2026-08-04 17:05:25'::timestamp) - extract(epoch from '2026-08-04 17:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04405 -3.408917)', '2026-08-04 17:05:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044028 -3.408915)'), GeomFromEWKT('SRID=4674;POINT (-39.04405 -3.408917)'))) / (select extract(epoch from '2026-08-04 17:05:33'::timestamp) - extract(epoch from '2026-08-04 17:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044028 -3.408915)'), GeomFromEWKT('SRID=4674;POINT (-39.04405 -3.408917)'))) / (select extract(epoch from '2026-08-04 17:05:33'::timestamp) - extract(epoch from '2026-08-04 17:05: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'), 48136, 'SRID=4674;POINT (-39.044074 -3.408912)', '2026-08-04 17:05:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04405 -3.408917)'), GeomFromEWKT('SRID=4674;POINT (-39.044074 -3.408912)'))) / (select extract(epoch from '2026-08-04 17:05:41'::timestamp) - extract(epoch from '2026-08-04 17:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04405 -3.408917)'), GeomFromEWKT('SRID=4674;POINT (-39.044074 -3.408912)'))) / (select extract(epoch from '2026-08-04 17:05:41'::timestamp) - extract(epoch from '2026-08-04 17:05: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'), 48136, 'SRID=4674;POINT (-39.044096 -3.408904)', '2026-08-04 17:05:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044074 -3.408912)'), GeomFromEWKT('SRID=4674;POINT (-39.044096 -3.408904)'))) / (select extract(epoch from '2026-08-04 17:05:53'::timestamp) - extract(epoch from '2026-08-04 17:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044074 -3.408912)'), GeomFromEWKT('SRID=4674;POINT (-39.044096 -3.408904)'))) / (select extract(epoch from '2026-08-04 17:05:53'::timestamp) - extract(epoch from '2026-08-04 17:05: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'), 48136, 'SRID=4674;POINT (-39.04412 -3.408895)', '2026-08-04 17:06:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044096 -3.408904)'), GeomFromEWKT('SRID=4674;POINT (-39.04412 -3.408895)'))) / (select extract(epoch from '2026-08-04 17:06:01'::timestamp) - extract(epoch from '2026-08-04 17:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044096 -3.408904)'), GeomFromEWKT('SRID=4674;POINT (-39.04412 -3.408895)'))) / (select extract(epoch from '2026-08-04 17:06:01'::timestamp) - extract(epoch from '2026-08-04 17:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044151 -3.408891)', '2026-08-04 17:06:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04412 -3.408895)'), GeomFromEWKT('SRID=4674;POINT (-39.044151 -3.408891)'))) / (select extract(epoch from '2026-08-04 17:06:08'::timestamp) - extract(epoch from '2026-08-04 17:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04412 -3.408895)'), GeomFromEWKT('SRID=4674;POINT (-39.044151 -3.408891)'))) / (select extract(epoch from '2026-08-04 17:06:08'::timestamp) - extract(epoch from '2026-08-04 17:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044176 -3.408886)', '2026-08-04 17:06:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044151 -3.408891)'), GeomFromEWKT('SRID=4674;POINT (-39.044176 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:06:14'::timestamp) - extract(epoch from '2026-08-04 17:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044151 -3.408891)'), GeomFromEWKT('SRID=4674;POINT (-39.044176 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:06:14'::timestamp) - extract(epoch from '2026-08-04 17:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044195 -3.40888)', '2026-08-04 17:06:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044176 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044195 -3.40888)'))) / (select extract(epoch from '2026-08-04 17:06:21'::timestamp) - extract(epoch from '2026-08-04 17:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044176 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044195 -3.40888)'))) / (select extract(epoch from '2026-08-04 17:06:21'::timestamp) - extract(epoch from '2026-08-04 17:06:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044208 -3.408886)', '2026-08-04 17:06:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044195 -3.40888)'), GeomFromEWKT('SRID=4674;POINT (-39.044208 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:06:26'::timestamp) - extract(epoch from '2026-08-04 17:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044195 -3.40888)'), GeomFromEWKT('SRID=4674;POINT (-39.044208 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:06:26'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48136, 'SRID=4674;POINT (-39.044222 -3.408886)', '2026-08-04 17:06:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044208 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044222 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:06:32'::timestamp) - extract(epoch from '2026-08-04 17:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044208 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044222 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:06:32'::timestamp) - extract(epoch from '2026-08-04 17:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044236 -3.408888)', '2026-08-04 17:06:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044222 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044236 -3.408888)'))) / (select extract(epoch from '2026-08-04 17:06:38'::timestamp) - extract(epoch from '2026-08-04 17:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044222 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044236 -3.408888)'))) / (select extract(epoch from '2026-08-04 17:06:38'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48136, 'SRID=4674;POINT (-39.044252 -3.408884)', '2026-08-04 17:06:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044236 -3.408888)'), GeomFromEWKT('SRID=4674;POINT (-39.044252 -3.408884)'))) / (select extract(epoch from '2026-08-04 17:06:42'::timestamp) - extract(epoch from '2026-08-04 17:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044236 -3.408888)'), GeomFromEWKT('SRID=4674;POINT (-39.044252 -3.408884)'))) / (select extract(epoch from '2026-08-04 17:06:42'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48136, 'SRID=4674;POINT (-39.044257 -3.408886)', '2026-08-04 17:06:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044252 -3.408884)'), GeomFromEWKT('SRID=4674;POINT (-39.044257 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:06:43'::timestamp) - extract(epoch from '2026-08-04 17:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044252 -3.408884)'), GeomFromEWKT('SRID=4674;POINT (-39.044257 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:06:43'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48136, 'SRID=4674;POINT (-39.044278 -3.408877)', '2026-08-04 17:06:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044257 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044278 -3.408877)'))) / (select extract(epoch from '2026-08-04 17:06:50'::timestamp) - extract(epoch from '2026-08-04 17:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044257 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044278 -3.408877)'))) / (select extract(epoch from '2026-08-04 17:06:50'::timestamp) - extract(epoch from '2026-08-04 17:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044297 -3.408867)', '2026-08-04 17:06:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044278 -3.408877)'), GeomFromEWKT('SRID=4674;POINT (-39.044297 -3.408867)'))) / (select extract(epoch from '2026-08-04 17:06:57'::timestamp) - extract(epoch from '2026-08-04 17:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044278 -3.408877)'), GeomFromEWKT('SRID=4674;POINT (-39.044297 -3.408867)'))) / (select extract(epoch from '2026-08-04 17:06:57'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48136, 'SRID=4674;POINT (-39.044339 -3.408861)', '2026-08-04 17:07:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044297 -3.408867)'), GeomFromEWKT('SRID=4674;POINT (-39.044339 -3.408861)'))) / (select extract(epoch from '2026-08-04 17:07:11'::timestamp) - extract(epoch from '2026-08-04 17:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044297 -3.408867)'), GeomFromEWKT('SRID=4674;POINT (-39.044339 -3.408861)'))) / (select extract(epoch from '2026-08-04 17:07:11'::timestamp) - extract(epoch from '2026-08-04 17:06: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'), 48136, 'SRID=4674;POINT (-39.044356 -3.408852)', '2026-08-04 17:07:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044339 -3.408861)'), GeomFromEWKT('SRID=4674;POINT (-39.044356 -3.408852)'))) / (select extract(epoch from '2026-08-04 17:07:26'::timestamp) - extract(epoch from '2026-08-04 17:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044339 -3.408861)'), GeomFromEWKT('SRID=4674;POINT (-39.044356 -3.408852)'))) / (select extract(epoch from '2026-08-04 17:07:26'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48136, 'SRID=4674;POINT (-39.044378 -3.40885)', '2026-08-04 17:07:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044356 -3.408852)'), GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.40885)'))) / (select extract(epoch from '2026-08-04 17:07:40'::timestamp) - extract(epoch from '2026-08-04 17:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044356 -3.408852)'), GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.40885)'))) / (select extract(epoch from '2026-08-04 17:07:40'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48136, 'SRID=4674;POINT (-39.044375 -3.40885)', '2026-08-04 17:07:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.40885)'), GeomFromEWKT('SRID=4674;POINT (-39.044375 -3.40885)'))) / (select extract(epoch from '2026-08-04 17:07:49'::timestamp) - extract(epoch from '2026-08-04 17:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.40885)'), GeomFromEWKT('SRID=4674;POINT (-39.044375 -3.40885)'))) / (select extract(epoch from '2026-08-04 17:07:49'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48136, 'SRID=4674;POINT (-39.044373 -3.408859)', '2026-08-04 17:07:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044375 -3.40885)'), GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.408859)'))) / (select extract(epoch from '2026-08-04 17:07:59'::timestamp) - extract(epoch from '2026-08-04 17:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044375 -3.40885)'), GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.408859)'))) / (select extract(epoch from '2026-08-04 17:07:59'::timestamp) - extract(epoch from '2026-08-04 17:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044374 -3.408859)', '2026-08-04 17:08:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.408859)'), GeomFromEWKT('SRID=4674;POINT (-39.044374 -3.408859)'))) / (select extract(epoch from '2026-08-04 17:08:07'::timestamp) - extract(epoch from '2026-08-04 17:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.408859)'), GeomFromEWKT('SRID=4674;POINT (-39.044374 -3.408859)'))) / (select extract(epoch from '2026-08-04 17:08:07'::timestamp) - extract(epoch from '2026-08-04 17:07: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'), 48136, 'SRID=4674;POINT (-39.044373 -3.408858)', '2026-08-04 17:08:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044374 -3.408859)'), GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.408858)'))) / (select extract(epoch from '2026-08-04 17:08:14'::timestamp) - extract(epoch from '2026-08-04 17:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044374 -3.408859)'), GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.408858)'))) / (select extract(epoch from '2026-08-04 17:08:14'::timestamp) - extract(epoch from '2026-08-04 17:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044376 -3.408856)', '2026-08-04 17:08:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.408858)'), GeomFromEWKT('SRID=4674;POINT (-39.044376 -3.408856)'))) / (select extract(epoch from '2026-08-04 17:08:27'::timestamp) - extract(epoch from '2026-08-04 17:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.408858)'), GeomFromEWKT('SRID=4674;POINT (-39.044376 -3.408856)'))) / (select extract(epoch from '2026-08-04 17:08:27'::timestamp) - extract(epoch from '2026-08-04 17:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044403 -3.408854)', '2026-08-04 17:08:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044376 -3.408856)'), GeomFromEWKT('SRID=4674;POINT (-39.044403 -3.408854)'))) / (select extract(epoch from '2026-08-04 17:08:37'::timestamp) - extract(epoch from '2026-08-04 17:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044376 -3.408856)'), GeomFromEWKT('SRID=4674;POINT (-39.044403 -3.408854)'))) / (select extract(epoch from '2026-08-04 17:08:37'::timestamp) - extract(epoch from '2026-08-04 17:08: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'), 48136, 'SRID=4674;POINT (-39.044427 -3.408853)', '2026-08-04 17:08:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044403 -3.408854)'), GeomFromEWKT('SRID=4674;POINT (-39.044427 -3.408853)'))) / (select extract(epoch from '2026-08-04 17:08:44'::timestamp) - extract(epoch from '2026-08-04 17:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044403 -3.408854)'), GeomFromEWKT('SRID=4674;POINT (-39.044427 -3.408853)'))) / (select extract(epoch from '2026-08-04 17:08:44'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.044459 -3.408851)', '2026-08-04 17:08:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044427 -3.408853)'), GeomFromEWKT('SRID=4674;POINT (-39.044459 -3.408851)'))) / (select extract(epoch from '2026-08-04 17:08:52'::timestamp) - extract(epoch from '2026-08-04 17:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044427 -3.408853)'), GeomFromEWKT('SRID=4674;POINT (-39.044459 -3.408851)'))) / (select extract(epoch from '2026-08-04 17:08:52'::timestamp) - extract(epoch from '2026-08-04 17:08:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044496 -3.408856)', '2026-08-04 17:09:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044459 -3.408851)'), GeomFromEWKT('SRID=4674;POINT (-39.044496 -3.408856)'))) / (select extract(epoch from '2026-08-04 17:09:00'::timestamp) - extract(epoch from '2026-08-04 17:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044459 -3.408851)'), GeomFromEWKT('SRID=4674;POINT (-39.044496 -3.408856)'))) / (select extract(epoch from '2026-08-04 17:09:00'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.044538 -3.40884)', '2026-08-04 17:09:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044496 -3.408856)'), GeomFromEWKT('SRID=4674;POINT (-39.044538 -3.40884)'))) / (select extract(epoch from '2026-08-04 17:09:07'::timestamp) - extract(epoch from '2026-08-04 17:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044496 -3.408856)'), GeomFromEWKT('SRID=4674;POINT (-39.044538 -3.40884)'))) / (select extract(epoch from '2026-08-04 17:09:07'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48136, 'SRID=4674;POINT (-39.044612 -3.408834)', '2026-08-04 17:09:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044538 -3.40884)'), GeomFromEWKT('SRID=4674;POINT (-39.044612 -3.408834)'))) / (select extract(epoch from '2026-08-04 17:09:14'::timestamp) - extract(epoch from '2026-08-04 17:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044538 -3.40884)'), GeomFromEWKT('SRID=4674;POINT (-39.044612 -3.408834)'))) / (select extract(epoch from '2026-08-04 17:09:14'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48136, 'SRID=4674;POINT (-39.044672 -3.408849)', '2026-08-04 17:09:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044612 -3.408834)'), GeomFromEWKT('SRID=4674;POINT (-39.044672 -3.408849)'))) / (select extract(epoch from '2026-08-04 17:09:19'::timestamp) - extract(epoch from '2026-08-04 17:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044612 -3.408834)'), GeomFromEWKT('SRID=4674;POINT (-39.044672 -3.408849)'))) / (select extract(epoch from '2026-08-04 17:09:19'::timestamp) - extract(epoch from '2026-08-04 17:09:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044737 -3.40887)', '2026-08-04 17:09:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044672 -3.408849)'), GeomFromEWKT('SRID=4674;POINT (-39.044737 -3.40887)'))) / (select extract(epoch from '2026-08-04 17:09:25'::timestamp) - extract(epoch from '2026-08-04 17:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044672 -3.408849)'), GeomFromEWKT('SRID=4674;POINT (-39.044737 -3.40887)'))) / (select extract(epoch from '2026-08-04 17:09:25'::timestamp) - extract(epoch from '2026-08-04 17:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044757 -3.408873)', '2026-08-04 17:09:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044737 -3.40887)'), GeomFromEWKT('SRID=4674;POINT (-39.044757 -3.408873)'))) / (select extract(epoch from '2026-08-04 17:09:27'::timestamp) - extract(epoch from '2026-08-04 17:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044737 -3.40887)'), GeomFromEWKT('SRID=4674;POINT (-39.044757 -3.408873)'))) / (select extract(epoch from '2026-08-04 17:09:27'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48136, 'SRID=4674;POINT (-39.044796 -3.408886)', '2026-08-04 17:09:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044757 -3.408873)'), GeomFromEWKT('SRID=4674;POINT (-39.044796 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:09:30'::timestamp) - extract(epoch from '2026-08-04 17:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044757 -3.408873)'), GeomFromEWKT('SRID=4674;POINT (-39.044796 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:09:30'::timestamp) - extract(epoch from '2026-08-04 17:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044846 -3.408886)', '2026-08-04 17:09:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044796 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044846 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:09:34'::timestamp) - extract(epoch from '2026-08-04 17:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044796 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044846 -3.408886)'))) / (select extract(epoch from '2026-08-04 17:09:34'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48136, 'SRID=4674;POINT (-39.044862 -3.408893)', '2026-08-04 17:09:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044846 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044862 -3.408893)'))) / (select extract(epoch from '2026-08-04 17:09:35'::timestamp) - extract(epoch from '2026-08-04 17:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044846 -3.408886)'), GeomFromEWKT('SRID=4674;POINT (-39.044862 -3.408893)'))) / (select extract(epoch from '2026-08-04 17:09:35'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48136, 'SRID=4674;POINT (-39.044875 -3.408898)', '2026-08-04 17:09:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044862 -3.408893)'), GeomFromEWKT('SRID=4674;POINT (-39.044875 -3.408898)'))) / (select extract(epoch from '2026-08-04 17:09:36'::timestamp) - extract(epoch from '2026-08-04 17:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044862 -3.408893)'), GeomFromEWKT('SRID=4674;POINT (-39.044875 -3.408898)'))) / (select extract(epoch from '2026-08-04 17:09:36'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.044923 -3.408902)', '2026-08-04 17:09:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044875 -3.408898)'), GeomFromEWKT('SRID=4674;POINT (-39.044923 -3.408902)'))) / (select extract(epoch from '2026-08-04 17:09:40'::timestamp) - extract(epoch from '2026-08-04 17:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044875 -3.408898)'), GeomFromEWKT('SRID=4674;POINT (-39.044923 -3.408902)'))) / (select extract(epoch from '2026-08-04 17:09:40'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.044976 -3.408907)', '2026-08-04 17:09:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044923 -3.408902)'), GeomFromEWKT('SRID=4674;POINT (-39.044976 -3.408907)'))) / (select extract(epoch from '2026-08-04 17:09:44'::timestamp) - extract(epoch from '2026-08-04 17:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044923 -3.408902)'), GeomFromEWKT('SRID=4674;POINT (-39.044976 -3.408907)'))) / (select extract(epoch from '2026-08-04 17:09:44'::timestamp) - extract(epoch from '2026-08-04 17:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044996 -3.408904)', '2026-08-04 17:09:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044976 -3.408907)'), GeomFromEWKT('SRID=4674;POINT (-39.044996 -3.408904)'))) / (select extract(epoch from '2026-08-04 17:09:46'::timestamp) - extract(epoch from '2026-08-04 17:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044976 -3.408907)'), GeomFromEWKT('SRID=4674;POINT (-39.044996 -3.408904)'))) / (select extract(epoch from '2026-08-04 17:09:46'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48136, 'SRID=4674;POINT (-39.045045 -3.408921)', '2026-08-04 17:09:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044996 -3.408904)'), GeomFromEWKT('SRID=4674;POINT (-39.045045 -3.408921)'))) / (select extract(epoch from '2026-08-04 17:09:49'::timestamp) - extract(epoch from '2026-08-04 17:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044996 -3.408904)'), GeomFromEWKT('SRID=4674;POINT (-39.045045 -3.408921)'))) / (select extract(epoch from '2026-08-04 17:09:49'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48136, 'SRID=4674;POINT (-39.045055 -3.408921)', '2026-08-04 17:09:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045045 -3.408921)'), GeomFromEWKT('SRID=4674;POINT (-39.045055 -3.408921)'))) / (select extract(epoch from '2026-08-04 17:09:50'::timestamp) - extract(epoch from '2026-08-04 17:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045045 -3.408921)'), GeomFromEWKT('SRID=4674;POINT (-39.045055 -3.408921)'))) / (select extract(epoch from '2026-08-04 17:09:50'::timestamp) - extract(epoch from '2026-08-04 17:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04513 -3.408939)', '2026-08-04 17:09:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045055 -3.408921)'), GeomFromEWKT('SRID=4674;POINT (-39.04513 -3.408939)'))) / (select extract(epoch from '2026-08-04 17:09:56'::timestamp) - extract(epoch from '2026-08-04 17:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045055 -3.408921)'), GeomFromEWKT('SRID=4674;POINT (-39.04513 -3.408939)'))) / (select extract(epoch from '2026-08-04 17:09:56'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48136, 'SRID=4674;POINT (-39.045142 -3.408939)', '2026-08-04 17:09:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04513 -3.408939)'), GeomFromEWKT('SRID=4674;POINT (-39.045142 -3.408939)'))) / (select extract(epoch from '2026-08-04 17:09:57'::timestamp) - extract(epoch from '2026-08-04 17:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04513 -3.408939)'), GeomFromEWKT('SRID=4674;POINT (-39.045142 -3.408939)'))) / (select extract(epoch from '2026-08-04 17:09:57'::timestamp) - extract(epoch from '2026-08-04 17:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045188 -3.408944)', '2026-08-04 17:10:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045142 -3.408939)'), GeomFromEWKT('SRID=4674;POINT (-39.045188 -3.408944)'))) / (select extract(epoch from '2026-08-04 17:10:01'::timestamp) - extract(epoch from '2026-08-04 17:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045142 -3.408939)'), GeomFromEWKT('SRID=4674;POINT (-39.045188 -3.408944)'))) / (select extract(epoch from '2026-08-04 17:10:01'::timestamp) - extract(epoch from '2026-08-04 17:09: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'), 48136, 'SRID=4674;POINT (-39.045203 -3.408948)', '2026-08-04 17:10:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045188 -3.408944)'), GeomFromEWKT('SRID=4674;POINT (-39.045203 -3.408948)'))) / (select extract(epoch from '2026-08-04 17:10:02'::timestamp) - extract(epoch from '2026-08-04 17:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045188 -3.408944)'), GeomFromEWKT('SRID=4674;POINT (-39.045203 -3.408948)'))) / (select extract(epoch from '2026-08-04 17:10:02'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045228 -3.408946)', '2026-08-04 17:10:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045203 -3.408948)'), GeomFromEWKT('SRID=4674;POINT (-39.045228 -3.408946)'))) / (select extract(epoch from '2026-08-04 17:10:04'::timestamp) - extract(epoch from '2026-08-04 17:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045203 -3.408948)'), GeomFromEWKT('SRID=4674;POINT (-39.045228 -3.408946)'))) / (select extract(epoch from '2026-08-04 17:10:04'::timestamp) - extract(epoch from '2026-08-04 17:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04524 -3.408947)', '2026-08-04 17:10:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045228 -3.408946)'), GeomFromEWKT('SRID=4674;POINT (-39.04524 -3.408947)'))) / (select extract(epoch from '2026-08-04 17:10:05'::timestamp) - extract(epoch from '2026-08-04 17:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045228 -3.408946)'), GeomFromEWKT('SRID=4674;POINT (-39.04524 -3.408947)'))) / (select extract(epoch from '2026-08-04 17:10:05'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045251 -3.408946)', '2026-08-04 17:10:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04524 -3.408947)'), GeomFromEWKT('SRID=4674;POINT (-39.045251 -3.408946)'))) / (select extract(epoch from '2026-08-04 17:10:06'::timestamp) - extract(epoch from '2026-08-04 17:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04524 -3.408947)'), GeomFromEWKT('SRID=4674;POINT (-39.045251 -3.408946)'))) / (select extract(epoch from '2026-08-04 17:10:06'::timestamp) - extract(epoch from '2026-08-04 17:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045303 -3.408949)', '2026-08-04 17:10:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045251 -3.408946)'), GeomFromEWKT('SRID=4674;POINT (-39.045303 -3.408949)'))) / (select extract(epoch from '2026-08-04 17:10:10'::timestamp) - extract(epoch from '2026-08-04 17:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045251 -3.408946)'), GeomFromEWKT('SRID=4674;POINT (-39.045303 -3.408949)'))) / (select extract(epoch from '2026-08-04 17:10:10'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045383 -3.408949)', '2026-08-04 17:10:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045303 -3.408949)'), GeomFromEWKT('SRID=4674;POINT (-39.045383 -3.408949)'))) / (select extract(epoch from '2026-08-04 17:10:16'::timestamp) - extract(epoch from '2026-08-04 17:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045303 -3.408949)'), GeomFromEWKT('SRID=4674;POINT (-39.045383 -3.408949)'))) / (select extract(epoch from '2026-08-04 17:10:16'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045407 -3.408949)', '2026-08-04 17:10:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045383 -3.408949)'), GeomFromEWKT('SRID=4674;POINT (-39.045407 -3.408949)'))) / (select extract(epoch from '2026-08-04 17:10:18'::timestamp) - extract(epoch from '2026-08-04 17:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045383 -3.408949)'), GeomFromEWKT('SRID=4674;POINT (-39.045407 -3.408949)'))) / (select extract(epoch from '2026-08-04 17:10:18'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045451 -3.408952)', '2026-08-04 17:10:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045407 -3.408949)'), GeomFromEWKT('SRID=4674;POINT (-39.045451 -3.408952)'))) / (select extract(epoch from '2026-08-04 17:10:21'::timestamp) - extract(epoch from '2026-08-04 17:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045407 -3.408949)'), GeomFromEWKT('SRID=4674;POINT (-39.045451 -3.408952)'))) / (select extract(epoch from '2026-08-04 17:10:21'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045511 -3.408969)', '2026-08-04 17:10:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045451 -3.408952)'), GeomFromEWKT('SRID=4674;POINT (-39.045511 -3.408969)'))) / (select extract(epoch from '2026-08-04 17:10:26'::timestamp) - extract(epoch from '2026-08-04 17:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045451 -3.408952)'), GeomFromEWKT('SRID=4674;POINT (-39.045511 -3.408969)'))) / (select extract(epoch from '2026-08-04 17:10:26'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045521 -3.408969)', '2026-08-04 17:10:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045511 -3.408969)'), GeomFromEWKT('SRID=4674;POINT (-39.045521 -3.408969)'))) / (select extract(epoch from '2026-08-04 17:10:27'::timestamp) - extract(epoch from '2026-08-04 17:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045511 -3.408969)'), GeomFromEWKT('SRID=4674;POINT (-39.045521 -3.408969)'))) / (select extract(epoch from '2026-08-04 17:10:27'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045584 -3.408985)', '2026-08-04 17:10:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045521 -3.408969)'), GeomFromEWKT('SRID=4674;POINT (-39.045584 -3.408985)'))) / (select extract(epoch from '2026-08-04 17:10:32'::timestamp) - extract(epoch from '2026-08-04 17:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045521 -3.408969)'), GeomFromEWKT('SRID=4674;POINT (-39.045584 -3.408985)'))) / (select extract(epoch from '2026-08-04 17:10:32'::timestamp) - extract(epoch from '2026-08-04 17:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04565 -3.408999)', '2026-08-04 17:10:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045584 -3.408985)'), GeomFromEWKT('SRID=4674;POINT (-39.04565 -3.408999)'))) / (select extract(epoch from '2026-08-04 17:10:37'::timestamp) - extract(epoch from '2026-08-04 17:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045584 -3.408985)'), GeomFromEWKT('SRID=4674;POINT (-39.04565 -3.408999)'))) / (select extract(epoch from '2026-08-04 17:10:37'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045674 -3.408995)', '2026-08-04 17:10:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04565 -3.408999)'), GeomFromEWKT('SRID=4674;POINT (-39.045674 -3.408995)'))) / (select extract(epoch from '2026-08-04 17:10:39'::timestamp) - extract(epoch from '2026-08-04 17:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04565 -3.408999)'), GeomFromEWKT('SRID=4674;POINT (-39.045674 -3.408995)'))) / (select extract(epoch from '2026-08-04 17:10:39'::timestamp) - extract(epoch from '2026-08-04 17:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045755 -3.409008)', '2026-08-04 17:10:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045674 -3.408995)'), GeomFromEWKT('SRID=4674;POINT (-39.045755 -3.409008)'))) / (select extract(epoch from '2026-08-04 17:10:45'::timestamp) - extract(epoch from '2026-08-04 17:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045674 -3.408995)'), GeomFromEWKT('SRID=4674;POINT (-39.045755 -3.409008)'))) / (select extract(epoch from '2026-08-04 17:10:45'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045815 -3.409016)', '2026-08-04 17:10:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045755 -3.409008)'), GeomFromEWKT('SRID=4674;POINT (-39.045815 -3.409016)'))) / (select extract(epoch from '2026-08-04 17:10:50'::timestamp) - extract(epoch from '2026-08-04 17:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045755 -3.409008)'), GeomFromEWKT('SRID=4674;POINT (-39.045815 -3.409016)'))) / (select extract(epoch from '2026-08-04 17:10:50'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.04587 -3.409033)', '2026-08-04 17:10:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045815 -3.409016)'), GeomFromEWKT('SRID=4674;POINT (-39.04587 -3.409033)'))) / (select extract(epoch from '2026-08-04 17:10:56'::timestamp) - extract(epoch from '2026-08-04 17:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045815 -3.409016)'), GeomFromEWKT('SRID=4674;POINT (-39.04587 -3.409033)'))) / (select extract(epoch from '2026-08-04 17:10:56'::timestamp) - extract(epoch from '2026-08-04 17:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045876 -3.409036)', '2026-08-04 17:10:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04587 -3.409033)'), GeomFromEWKT('SRID=4674;POINT (-39.045876 -3.409036)'))) / (select extract(epoch from '2026-08-04 17:10:57'::timestamp) - extract(epoch from '2026-08-04 17:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04587 -3.409033)'), GeomFromEWKT('SRID=4674;POINT (-39.045876 -3.409036)'))) / (select extract(epoch from '2026-08-04 17:10:57'::timestamp) - extract(epoch from '2026-08-04 17:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045924 -3.40906)', '2026-08-04 17:11:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045876 -3.409036)'), GeomFromEWKT('SRID=4674;POINT (-39.045924 -3.40906)'))) / (select extract(epoch from '2026-08-04 17:11:05'::timestamp) - extract(epoch from '2026-08-04 17:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045876 -3.409036)'), GeomFromEWKT('SRID=4674;POINT (-39.045924 -3.40906)'))) / (select extract(epoch from '2026-08-04 17:11:05'::timestamp) - extract(epoch from '2026-08-04 17:10: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'), 48136, 'SRID=4674;POINT (-39.045947 -3.409062)', '2026-08-04 17:11:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045924 -3.40906)'), GeomFromEWKT('SRID=4674;POINT (-39.045947 -3.409062)'))) / (select extract(epoch from '2026-08-04 17:11:11'::timestamp) - extract(epoch from '2026-08-04 17:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045924 -3.40906)'), GeomFromEWKT('SRID=4674;POINT (-39.045947 -3.409062)'))) / (select extract(epoch from '2026-08-04 17:11:11'::timestamp) - extract(epoch from '2026-08-04 17:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045985 -3.409059)', '2026-08-04 17:11:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045947 -3.409062)'), GeomFromEWKT('SRID=4674;POINT (-39.045985 -3.409059)'))) / (select extract(epoch from '2026-08-04 17:11:21'::timestamp) - extract(epoch from '2026-08-04 17:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045947 -3.409062)'), GeomFromEWKT('SRID=4674;POINT (-39.045985 -3.409059)'))) / (select extract(epoch from '2026-08-04 17:11:21'::timestamp) - extract(epoch from '2026-08-04 17:11: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'), 48136, 'SRID=4674;POINT (-39.046056 -3.40907)', '2026-08-04 17:11:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045985 -3.409059)'), GeomFromEWKT('SRID=4674;POINT (-39.046056 -3.40907)'))) / (select extract(epoch from '2026-08-04 17:11:37'::timestamp) - extract(epoch from '2026-08-04 17:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045985 -3.409059)'), GeomFromEWKT('SRID=4674;POINT (-39.046056 -3.40907)'))) / (select extract(epoch from '2026-08-04 17:11:37'::timestamp) - extract(epoch from '2026-08-04 17:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046098 -3.409082)', '2026-08-04 17:11:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046056 -3.40907)'), GeomFromEWKT('SRID=4674;POINT (-39.046098 -3.409082)'))) / (select extract(epoch from '2026-08-04 17:11:49'::timestamp) - extract(epoch from '2026-08-04 17:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046056 -3.40907)'), GeomFromEWKT('SRID=4674;POINT (-39.046098 -3.409082)'))) / (select extract(epoch from '2026-08-04 17:11:49'::timestamp) - extract(epoch from '2026-08-04 17:11: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'), 48136, 'SRID=4674;POINT (-39.046139 -3.409083)', '2026-08-04 17:12:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046098 -3.409082)'), GeomFromEWKT('SRID=4674;POINT (-39.046139 -3.409083)'))) / (select extract(epoch from '2026-08-04 17:12:02'::timestamp) - extract(epoch from '2026-08-04 17:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046098 -3.409082)'), GeomFromEWKT('SRID=4674;POINT (-39.046139 -3.409083)'))) / (select extract(epoch from '2026-08-04 17:12:02'::timestamp) - extract(epoch from '2026-08-04 17:11: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'), 48136, 'SRID=4674;POINT (-39.046199 -3.409072)', '2026-08-04 17:12:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046139 -3.409083)'), GeomFromEWKT('SRID=4674;POINT (-39.046199 -3.409072)'))) / (select extract(epoch from '2026-08-04 17:12:22'::timestamp) - extract(epoch from '2026-08-04 17:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046139 -3.409083)'), GeomFromEWKT('SRID=4674;POINT (-39.046199 -3.409072)'))) / (select extract(epoch from '2026-08-04 17:12:22'::timestamp) - extract(epoch from '2026-08-04 17:12: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'), 48136, 'SRID=4674;POINT (-39.046284 -3.40908)', '2026-08-04 17:12:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046199 -3.409072)'), GeomFromEWKT('SRID=4674;POINT (-39.046284 -3.40908)'))) / (select extract(epoch from '2026-08-04 17:12:40'::timestamp) - extract(epoch from '2026-08-04 17:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046199 -3.409072)'), GeomFromEWKT('SRID=4674;POINT (-39.046284 -3.40908)'))) / (select extract(epoch from '2026-08-04 17:12:40'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.046323 -3.409088)', '2026-08-04 17:12:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046284 -3.40908)'), GeomFromEWKT('SRID=4674;POINT (-39.046323 -3.409088)'))) / (select extract(epoch from '2026-08-04 17:12:48'::timestamp) - extract(epoch from '2026-08-04 17:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046284 -3.40908)'), GeomFromEWKT('SRID=4674;POINT (-39.046323 -3.409088)'))) / (select extract(epoch from '2026-08-04 17:12:48'::timestamp) - extract(epoch from '2026-08-04 17:12: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'), 48136, 'SRID=4674;POINT (-39.046313 -3.409079)', '2026-08-04 17:12:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046323 -3.409088)'), GeomFromEWKT('SRID=4674;POINT (-39.046313 -3.409079)'))) / (select extract(epoch from '2026-08-04 17:12:57'::timestamp) - extract(epoch from '2026-08-04 17:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046323 -3.409088)'), GeomFromEWKT('SRID=4674;POINT (-39.046313 -3.409079)'))) / (select extract(epoch from '2026-08-04 17:12:57'::timestamp) - extract(epoch from '2026-08-04 17:12: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'), 48136, 'SRID=4674;POINT (-39.046309 -3.409072)', '2026-08-04 17:13:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046313 -3.409079)'), GeomFromEWKT('SRID=4674;POINT (-39.046309 -3.409072)'))) / (select extract(epoch from '2026-08-04 17:13:05'::timestamp) - extract(epoch from '2026-08-04 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046313 -3.409079)'), GeomFromEWKT('SRID=4674;POINT (-39.046309 -3.409072)'))) / (select extract(epoch from '2026-08-04 17:13:05'::timestamp) - extract(epoch from '2026-08-04 17:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046327 -3.409062)', '2026-08-04 17:13:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046309 -3.409072)'), GeomFromEWKT('SRID=4674;POINT (-39.046327 -3.409062)'))) / (select extract(epoch from '2026-08-04 17:13:16'::timestamp) - extract(epoch from '2026-08-04 17:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046309 -3.409072)'), GeomFromEWKT('SRID=4674;POINT (-39.046327 -3.409062)'))) / (select extract(epoch from '2026-08-04 17:13:16'::timestamp) - extract(epoch from '2026-08-04 17:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046343 -3.409057)', '2026-08-04 17:13:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046327 -3.409062)'), GeomFromEWKT('SRID=4674;POINT (-39.046343 -3.409057)'))) / (select extract(epoch from '2026-08-04 17:13:24'::timestamp) - extract(epoch from '2026-08-04 17:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046327 -3.409062)'), GeomFromEWKT('SRID=4674;POINT (-39.046343 -3.409057)'))) / (select extract(epoch from '2026-08-04 17:13:24'::timestamp) - extract(epoch from '2026-08-04 17:13: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'), 48136, 'SRID=4674;POINT (-39.046372 -3.409057)', '2026-08-04 17:13:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046343 -3.409057)'), GeomFromEWKT('SRID=4674;POINT (-39.046372 -3.409057)'))) / (select extract(epoch from '2026-08-04 17:13:37'::timestamp) - extract(epoch from '2026-08-04 17:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046343 -3.409057)'), GeomFromEWKT('SRID=4674;POINT (-39.046372 -3.409057)'))) / (select extract(epoch from '2026-08-04 17:13:37'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.046426 -3.409068)', '2026-08-04 17:13:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046372 -3.409057)'), GeomFromEWKT('SRID=4674;POINT (-39.046426 -3.409068)'))) / (select extract(epoch from '2026-08-04 17:13:51'::timestamp) - extract(epoch from '2026-08-04 17:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046372 -3.409057)'), GeomFromEWKT('SRID=4674;POINT (-39.046426 -3.409068)'))) / (select extract(epoch from '2026-08-04 17:13:51'::timestamp) - extract(epoch from '2026-08-04 17:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046478 -3.409062)', '2026-08-04 17:14:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046426 -3.409068)'), GeomFromEWKT('SRID=4674;POINT (-39.046478 -3.409062)'))) / (select extract(epoch from '2026-08-04 17:14:06'::timestamp) - extract(epoch from '2026-08-04 17:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046426 -3.409068)'), GeomFromEWKT('SRID=4674;POINT (-39.046478 -3.409062)'))) / (select extract(epoch from '2026-08-04 17:14:06'::timestamp) - extract(epoch from '2026-08-04 17:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046516 -3.409057)', '2026-08-04 17:14:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046478 -3.409062)'), GeomFromEWKT('SRID=4674;POINT (-39.046516 -3.409057)'))) / (select extract(epoch from '2026-08-04 17:14:18'::timestamp) - extract(epoch from '2026-08-04 17:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046478 -3.409062)'), GeomFromEWKT('SRID=4674;POINT (-39.046516 -3.409057)'))) / (select extract(epoch from '2026-08-04 17:14:18'::timestamp) - extract(epoch from '2026-08-04 17:14: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'), 48136, 'SRID=4674;POINT (-39.046552 -3.40904)', '2026-08-04 17:14:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046516 -3.409057)'), GeomFromEWKT('SRID=4674;POINT (-39.046552 -3.40904)'))) / (select extract(epoch from '2026-08-04 17:14:29'::timestamp) - extract(epoch from '2026-08-04 17:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046516 -3.409057)'), GeomFromEWKT('SRID=4674;POINT (-39.046552 -3.40904)'))) / (select extract(epoch from '2026-08-04 17:14:29'::timestamp) - extract(epoch from '2026-08-04 17:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046585 -3.409037)', '2026-08-04 17:14:37', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046552 -3.40904)'), GeomFromEWKT('SRID=4674;POINT (-39.046585 -3.409037)'))) / (select extract(epoch from '2026-08-04 17:14:37'::timestamp) - extract(epoch from '2026-08-04 17:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046552 -3.40904)'), GeomFromEWKT('SRID=4674;POINT (-39.046585 -3.409037)'))) / (select extract(epoch from '2026-08-04 17:14:37'::timestamp) - extract(epoch from '2026-08-04 17:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046609 -3.409035)', '2026-08-04 17:14:44', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046585 -3.409037)'), GeomFromEWKT('SRID=4674;POINT (-39.046609 -3.409035)'))) / (select extract(epoch from '2026-08-04 17:14:44'::timestamp) - extract(epoch from '2026-08-04 17:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046585 -3.409037)'), GeomFromEWKT('SRID=4674;POINT (-39.046609 -3.409035)'))) / (select extract(epoch from '2026-08-04 17:14:44'::timestamp) - extract(epoch from '2026-08-04 17:14: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'), 48136, 'SRID=4674;POINT (-39.046632 -3.409035)', '2026-08-04 17:14:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046609 -3.409035)'), GeomFromEWKT('SRID=4674;POINT (-39.046632 -3.409035)'))) / (select extract(epoch from '2026-08-04 17:14:50'::timestamp) - extract(epoch from '2026-08-04 17:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046609 -3.409035)'), GeomFromEWKT('SRID=4674;POINT (-39.046632 -3.409035)'))) / (select extract(epoch from '2026-08-04 17:14:50'::timestamp) - extract(epoch from '2026-08-04 17:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046654 -3.409034)', '2026-08-04 17:14:56', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046632 -3.409035)'), GeomFromEWKT('SRID=4674;POINT (-39.046654 -3.409034)'))) / (select extract(epoch from '2026-08-04 17:14:56'::timestamp) - extract(epoch from '2026-08-04 17:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046632 -3.409035)'), GeomFromEWKT('SRID=4674;POINT (-39.046654 -3.409034)'))) / (select extract(epoch from '2026-08-04 17:14:56'::timestamp) - extract(epoch from '2026-08-04 17:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046681 -3.409035)', '2026-08-04 17:15:05', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046654 -3.409034)'), GeomFromEWKT('SRID=4674;POINT (-39.046681 -3.409035)'))) / (select extract(epoch from '2026-08-04 17:15:05'::timestamp) - extract(epoch from '2026-08-04 17:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046654 -3.409034)'), GeomFromEWKT('SRID=4674;POINT (-39.046681 -3.409035)'))) / (select extract(epoch from '2026-08-04 17:15:05'::timestamp) - extract(epoch from '2026-08-04 17:14: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'), 48136, 'SRID=4674;POINT (-39.046702 -3.409033)', '2026-08-04 17:15:12', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046681 -3.409035)'), GeomFromEWKT('SRID=4674;POINT (-39.046702 -3.409033)'))) / (select extract(epoch from '2026-08-04 17:15:12'::timestamp) - extract(epoch from '2026-08-04 17:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046681 -3.409035)'), GeomFromEWKT('SRID=4674;POINT (-39.046702 -3.409033)'))) / (select extract(epoch from '2026-08-04 17:15:12'::timestamp) - extract(epoch from '2026-08-04 17:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046743 -3.409033)', '2026-08-04 17:15:23', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046702 -3.409033)'), GeomFromEWKT('SRID=4674;POINT (-39.046743 -3.409033)'))) / (select extract(epoch from '2026-08-04 17:15:23'::timestamp) - extract(epoch from '2026-08-04 17:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046702 -3.409033)'), GeomFromEWKT('SRID=4674;POINT (-39.046743 -3.409033)'))) / (select extract(epoch from '2026-08-04 17:15:23'::timestamp) - extract(epoch from '2026-08-04 17:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046797 -3.409033)', '2026-08-04 17:15:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046743 -3.409033)'), GeomFromEWKT('SRID=4674;POINT (-39.046797 -3.409033)'))) / (select extract(epoch from '2026-08-04 17:15:39'::timestamp) - extract(epoch from '2026-08-04 17:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046743 -3.409033)'), GeomFromEWKT('SRID=4674;POINT (-39.046797 -3.409033)'))) / (select extract(epoch from '2026-08-04 17:15:39'::timestamp) - extract(epoch from '2026-08-04 17:15: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'), 48136, 'SRID=4674;POINT (-39.046838 -3.409034)', '2026-08-04 17:15:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046797 -3.409033)'), GeomFromEWKT('SRID=4674;POINT (-39.046838 -3.409034)'))) / (select extract(epoch from '2026-08-04 17:15:49'::timestamp) - extract(epoch from '2026-08-04 17:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046797 -3.409033)'), GeomFromEWKT('SRID=4674;POINT (-39.046838 -3.409034)'))) / (select extract(epoch from '2026-08-04 17:15:49'::timestamp) - extract(epoch from '2026-08-04 17:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046885 -3.409022)', '2026-08-04 17:16:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046838 -3.409034)'), GeomFromEWKT('SRID=4674;POINT (-39.046885 -3.409022)'))) / (select extract(epoch from '2026-08-04 17:16:02'::timestamp) - extract(epoch from '2026-08-04 17:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046838 -3.409034)'), GeomFromEWKT('SRID=4674;POINT (-39.046885 -3.409022)'))) / (select extract(epoch from '2026-08-04 17:16:02'::timestamp) - extract(epoch from '2026-08-04 17:15: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'), 48136, 'SRID=4674;POINT (-39.046941 -3.409007)', '2026-08-04 17:16:21', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046885 -3.409022)'), GeomFromEWKT('SRID=4674;POINT (-39.046941 -3.409007)'))) / (select extract(epoch from '2026-08-04 17:16:21'::timestamp) - extract(epoch from '2026-08-04 17:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046885 -3.409022)'), GeomFromEWKT('SRID=4674;POINT (-39.046941 -3.409007)'))) / (select extract(epoch from '2026-08-04 17:16:21'::timestamp) - extract(epoch from '2026-08-04 17:16: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'), 48136, 'SRID=4674;POINT (-39.046997 -3.408997)', '2026-08-04 17:16:39', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046941 -3.409007)'), GeomFromEWKT('SRID=4674;POINT (-39.046997 -3.408997)'))) / (select extract(epoch from '2026-08-04 17:16:39'::timestamp) - extract(epoch from '2026-08-04 17:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046941 -3.409007)'), GeomFromEWKT('SRID=4674;POINT (-39.046997 -3.408997)'))) / (select extract(epoch from '2026-08-04 17:16:39'::timestamp) - extract(epoch from '2026-08-04 17:16: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'), 48136, 'SRID=4674;POINT (-39.047055 -3.409005)', '2026-08-04 17:16:55', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046997 -3.408997)'), GeomFromEWKT('SRID=4674;POINT (-39.047055 -3.409005)'))) / (select extract(epoch from '2026-08-04 17:16:55'::timestamp) - extract(epoch from '2026-08-04 17:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046997 -3.408997)'), GeomFromEWKT('SRID=4674;POINT (-39.047055 -3.409005)'))) / (select extract(epoch from '2026-08-04 17:16:55'::timestamp) - extract(epoch from '2026-08-04 17:16: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'), 48136, 'SRID=4674;POINT (-39.047084 -3.409006)', '2026-08-04 17:17:02', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047055 -3.409005)'), GeomFromEWKT('SRID=4674;POINT (-39.047084 -3.409006)'))) / (select extract(epoch from '2026-08-04 17:17:02'::timestamp) - extract(epoch from '2026-08-04 17:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047055 -3.409005)'), GeomFromEWKT('SRID=4674;POINT (-39.047084 -3.409006)'))) / (select extract(epoch from '2026-08-04 17:17:02'::timestamp) - extract(epoch from '2026-08-04 17:16: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'), 48136, 'SRID=4674;POINT (-39.047103 -3.409015)', '2026-08-04 17:17:08', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047084 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.047103 -3.409015)'))) / (select extract(epoch from '2026-08-04 17:17:08'::timestamp) - extract(epoch from '2026-08-04 17:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047084 -3.409006)'), GeomFromEWKT('SRID=4674;POINT (-39.047103 -3.409015)'))) / (select extract(epoch from '2026-08-04 17:17:08'::timestamp) - extract(epoch from '2026-08-04 17:17: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'), 48136, 'SRID=4674;POINT (-39.047118 -3.409011)', '2026-08-04 17:17:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047103 -3.409015)'), GeomFromEWKT('SRID=4674;POINT (-39.047118 -3.409011)'))) / (select extract(epoch from '2026-08-04 17:17:16'::timestamp) - extract(epoch from '2026-08-04 17:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047103 -3.409015)'), GeomFromEWKT('SRID=4674;POINT (-39.047118 -3.409011)'))) / (select extract(epoch from '2026-08-04 17:17:16'::timestamp) - extract(epoch from '2026-08-04 17:17: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'), 48136, 'SRID=4674;POINT (-39.047135 -3.409007)', '2026-08-04 17:17:22', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047118 -3.409011)'), GeomFromEWKT('SRID=4674;POINT (-39.047135 -3.409007)'))) / (select extract(epoch from '2026-08-04 17:17:22'::timestamp) - extract(epoch from '2026-08-04 17:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047118 -3.409011)'), GeomFromEWKT('SRID=4674;POINT (-39.047135 -3.409007)'))) / (select extract(epoch from '2026-08-04 17:17:22'::timestamp) - extract(epoch from '2026-08-04 17:17: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'), 48136, 'SRID=4674;POINT (-39.047152 -3.409004)', '2026-08-04 17:17:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047135 -3.409007)'), GeomFromEWKT('SRID=4674;POINT (-39.047152 -3.409004)'))) / (select extract(epoch from '2026-08-04 17:17:28'::timestamp) - extract(epoch from '2026-08-04 17:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047135 -3.409007)'), GeomFromEWKT('SRID=4674;POINT (-39.047152 -3.409004)'))) / (select extract(epoch from '2026-08-04 17:17:28'::timestamp) - extract(epoch from '2026-08-04 17:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04718 -3.408989)', '2026-08-04 17:17:41', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047152 -3.409004)'), GeomFromEWKT('SRID=4674;POINT (-39.04718 -3.408989)'))) / (select extract(epoch from '2026-08-04 17:17:41'::timestamp) - extract(epoch from '2026-08-04 17:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047152 -3.409004)'), GeomFromEWKT('SRID=4674;POINT (-39.04718 -3.408989)'))) / (select extract(epoch from '2026-08-04 17:17:41'::timestamp) - extract(epoch from '2026-08-04 17:17: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'), 48136, 'SRID=4674;POINT (-39.047215 -3.40899)', '2026-08-04 17:17:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04718 -3.408989)'), GeomFromEWKT('SRID=4674;POINT (-39.047215 -3.40899)'))) / (select extract(epoch from '2026-08-04 17:17:55'::timestamp) - extract(epoch from '2026-08-04 17:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04718 -3.408989)'), GeomFromEWKT('SRID=4674;POINT (-39.047215 -3.40899)'))) / (select extract(epoch from '2026-08-04 17:17:55'::timestamp) - extract(epoch from '2026-08-04 17:17: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'), 48136, 'SRID=4674;POINT (-39.047293 -3.408984)', '2026-08-04 17:18:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047215 -3.40899)'), GeomFromEWKT('SRID=4674;POINT (-39.047293 -3.408984)'))) / (select extract(epoch from '2026-08-04 17:18:16'::timestamp) - extract(epoch from '2026-08-04 17:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047215 -3.40899)'), GeomFromEWKT('SRID=4674;POINT (-39.047293 -3.408984)'))) / (select extract(epoch from '2026-08-04 17:18:16'::timestamp) - extract(epoch from '2026-08-04 17:17: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'), 48136, 'SRID=4674;POINT (-39.047334 -3.408975)', '2026-08-04 17:18:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047293 -3.408984)'), GeomFromEWKT('SRID=4674;POINT (-39.047334 -3.408975)'))) / (select extract(epoch from '2026-08-04 17:18:32'::timestamp) - extract(epoch from '2026-08-04 17:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047293 -3.408984)'), GeomFromEWKT('SRID=4674;POINT (-39.047334 -3.408975)'))) / (select extract(epoch from '2026-08-04 17:18:32'::timestamp) - extract(epoch from '2026-08-04 17:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047368 -3.408976)', '2026-08-04 17:18:45', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047334 -3.408975)'), GeomFromEWKT('SRID=4674;POINT (-39.047368 -3.408976)'))) / (select extract(epoch from '2026-08-04 17:18:45'::timestamp) - extract(epoch from '2026-08-04 17:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047334 -3.408975)'), GeomFromEWKT('SRID=4674;POINT (-39.047368 -3.408976)'))) / (select extract(epoch from '2026-08-04 17:18:45'::timestamp) - extract(epoch from '2026-08-04 17:18: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'), 48136, 'SRID=4674;POINT (-39.047406 -3.408978)', '2026-08-04 17:18:57', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047368 -3.408976)'), GeomFromEWKT('SRID=4674;POINT (-39.047406 -3.408978)'))) / (select extract(epoch from '2026-08-04 17:18:57'::timestamp) - extract(epoch from '2026-08-04 17:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047368 -3.408976)'), GeomFromEWKT('SRID=4674;POINT (-39.047406 -3.408978)'))) / (select extract(epoch from '2026-08-04 17:18:57'::timestamp) - extract(epoch from '2026-08-04 17:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047431 -3.40898)', '2026-08-04 17:19:05', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047406 -3.408978)'), GeomFromEWKT('SRID=4674;POINT (-39.047431 -3.40898)'))) / (select extract(epoch from '2026-08-04 17:19:05'::timestamp) - extract(epoch from '2026-08-04 17:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047406 -3.408978)'), GeomFromEWKT('SRID=4674;POINT (-39.047431 -3.40898)'))) / (select extract(epoch from '2026-08-04 17:19:05'::timestamp) - extract(epoch from '2026-08-04 17:18: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'), 48136, 'SRID=4674;POINT (-39.047442 -3.408982)', '2026-08-04 17:19:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047431 -3.40898)'), GeomFromEWKT('SRID=4674;POINT (-39.047442 -3.408982)'))) / (select extract(epoch from '2026-08-04 17:19:14'::timestamp) - extract(epoch from '2026-08-04 17:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047431 -3.40898)'), GeomFromEWKT('SRID=4674;POINT (-39.047442 -3.408982)'))) / (select extract(epoch from '2026-08-04 17:19:14'::timestamp) - extract(epoch from '2026-08-04 17:19: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'), 48136, 'SRID=4674;POINT (-39.047455 -3.408978)', '2026-08-04 17:19:23', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047442 -3.408982)'), GeomFromEWKT('SRID=4674;POINT (-39.047455 -3.408978)'))) / (select extract(epoch from '2026-08-04 17:19:23'::timestamp) - extract(epoch from '2026-08-04 17:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047442 -3.408982)'), GeomFromEWKT('SRID=4674;POINT (-39.047455 -3.408978)'))) / (select extract(epoch from '2026-08-04 17:19:23'::timestamp) - extract(epoch from '2026-08-04 17:19: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'), 48136, 'SRID=4674;POINT (-39.047488 -3.408969)', '2026-08-04 17:19:37', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047455 -3.408978)'), GeomFromEWKT('SRID=4674;POINT (-39.047488 -3.408969)'))) / (select extract(epoch from '2026-08-04 17:19:37'::timestamp) - extract(epoch from '2026-08-04 17:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047455 -3.408978)'), GeomFromEWKT('SRID=4674;POINT (-39.047488 -3.408969)'))) / (select extract(epoch from '2026-08-04 17:19:37'::timestamp) - extract(epoch from '2026-08-04 17:19: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'), 48136, 'SRID=4674;POINT (-39.047519 -3.408972)', '2026-08-04 17:19:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047488 -3.408969)'), GeomFromEWKT('SRID=4674;POINT (-39.047519 -3.408972)'))) / (select extract(epoch from '2026-08-04 17:19:45'::timestamp) - extract(epoch from '2026-08-04 17:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047488 -3.408969)'), GeomFromEWKT('SRID=4674;POINT (-39.047519 -3.408972)'))) / (select extract(epoch from '2026-08-04 17:19:45'::timestamp) - extract(epoch from '2026-08-04 17:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047547 -3.408971)', '2026-08-04 17:19:53', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047519 -3.408972)'), GeomFromEWKT('SRID=4674;POINT (-39.047547 -3.408971)'))) / (select extract(epoch from '2026-08-04 17:19:53'::timestamp) - extract(epoch from '2026-08-04 17:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047519 -3.408972)'), GeomFromEWKT('SRID=4674;POINT (-39.047547 -3.408971)'))) / (select extract(epoch from '2026-08-04 17:19:53'::timestamp) - extract(epoch from '2026-08-04 17:19: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'), 48136, 'SRID=4674;POINT (-39.047577 -3.408974)', '2026-08-04 17:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047547 -3.408971)'), GeomFromEWKT('SRID=4674;POINT (-39.047577 -3.408974)'))) / (select extract(epoch from '2026-08-04 17:20:00'::timestamp) - extract(epoch from '2026-08-04 17:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047547 -3.408971)'), GeomFromEWKT('SRID=4674;POINT (-39.047577 -3.408974)'))) / (select extract(epoch from '2026-08-04 17:20:00'::timestamp) - extract(epoch from '2026-08-04 17:19: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'), 48136, 'SRID=4674;POINT (-39.047598 -3.408972)', '2026-08-04 17:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047577 -3.408974)'), GeomFromEWKT('SRID=4674;POINT (-39.047598 -3.408972)'))) / (select extract(epoch from '2026-08-04 17:20:07'::timestamp) - extract(epoch from '2026-08-04 17:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047577 -3.408974)'), GeomFromEWKT('SRID=4674;POINT (-39.047598 -3.408972)'))) / (select extract(epoch from '2026-08-04 17:20:07'::timestamp) - extract(epoch from '2026-08-04 17:20: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'), 48136, 'SRID=4674;POINT (-39.047622 -3.408967)', '2026-08-04 17:20:16', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047598 -3.408972)'), GeomFromEWKT('SRID=4674;POINT (-39.047622 -3.408967)'))) / (select extract(epoch from '2026-08-04 17:20:16'::timestamp) - extract(epoch from '2026-08-04 17:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047598 -3.408972)'), GeomFromEWKT('SRID=4674;POINT (-39.047622 -3.408967)'))) / (select extract(epoch from '2026-08-04 17:20:16'::timestamp) - extract(epoch from '2026-08-04 17:20: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'), 48136, 'SRID=4674;POINT (-39.047656 -3.408964)', '2026-08-04 17:20:25', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047622 -3.408967)'), GeomFromEWKT('SRID=4674;POINT (-39.047656 -3.408964)'))) / (select extract(epoch from '2026-08-04 17:20:25'::timestamp) - extract(epoch from '2026-08-04 17:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047622 -3.408967)'), GeomFromEWKT('SRID=4674;POINT (-39.047656 -3.408964)'))) / (select extract(epoch from '2026-08-04 17:20:25'::timestamp) - extract(epoch from '2026-08-04 17:20: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'), 48136, 'SRID=4674;POINT (-39.047682 -3.408952)', '2026-08-04 17:20:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047656 -3.408964)'), GeomFromEWKT('SRID=4674;POINT (-39.047682 -3.408952)'))) / (select extract(epoch from '2026-08-04 17:20:36'::timestamp) - extract(epoch from '2026-08-04 17:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047656 -3.408964)'), GeomFromEWKT('SRID=4674;POINT (-39.047682 -3.408952)'))) / (select extract(epoch from '2026-08-04 17:20:36'::timestamp) - extract(epoch from '2026-08-04 17:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047677 -3.408946)', '2026-08-04 17:20:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047682 -3.408952)'), GeomFromEWKT('SRID=4674;POINT (-39.047677 -3.408946)'))) / (select extract(epoch from '2026-08-04 17:20:43'::timestamp) - extract(epoch from '2026-08-04 17:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047682 -3.408952)'), GeomFromEWKT('SRID=4674;POINT (-39.047677 -3.408946)'))) / (select extract(epoch from '2026-08-04 17:20:43'::timestamp) - extract(epoch from '2026-08-04 17:20: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'), 48136, 'SRID=4674;POINT (-39.047689 -3.408942)', '2026-08-04 17:20:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047677 -3.408946)'), GeomFromEWKT('SRID=4674;POINT (-39.047689 -3.408942)'))) / (select extract(epoch from '2026-08-04 17:20:52'::timestamp) - extract(epoch from '2026-08-04 17:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047677 -3.408946)'), GeomFromEWKT('SRID=4674;POINT (-39.047689 -3.408942)'))) / (select extract(epoch from '2026-08-04 17:20:52'::timestamp) - extract(epoch from '2026-08-04 17:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047706 -3.408934)', '2026-08-04 17:21:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047689 -3.408942)'), GeomFromEWKT('SRID=4674;POINT (-39.047706 -3.408934)'))) / (select extract(epoch from '2026-08-04 17:21:01'::timestamp) - extract(epoch from '2026-08-04 17:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047689 -3.408942)'), GeomFromEWKT('SRID=4674;POINT (-39.047706 -3.408934)'))) / (select extract(epoch from '2026-08-04 17:21:01'::timestamp) - extract(epoch from '2026-08-04 17:20: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'), 48136, 'SRID=4674;POINT (-39.047727 -3.408928)', '2026-08-04 17:21:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047706 -3.408934)'), GeomFromEWKT('SRID=4674;POINT (-39.047727 -3.408928)'))) / (select extract(epoch from '2026-08-04 17:21:08'::timestamp) - extract(epoch from '2026-08-04 17:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047706 -3.408934)'), GeomFromEWKT('SRID=4674;POINT (-39.047727 -3.408928)'))) / (select extract(epoch from '2026-08-04 17:21:08'::timestamp) - extract(epoch from '2026-08-04 17:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047772 -3.408927)', '2026-08-04 17:21:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047727 -3.408928)'), GeomFromEWKT('SRID=4674;POINT (-39.047772 -3.408927)'))) / (select extract(epoch from '2026-08-04 17:21:20'::timestamp) - extract(epoch from '2026-08-04 17:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047727 -3.408928)'), GeomFromEWKT('SRID=4674;POINT (-39.047772 -3.408927)'))) / (select extract(epoch from '2026-08-04 17:21:20'::timestamp) - extract(epoch from '2026-08-04 17:21: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'), 48136, 'SRID=4674;POINT (-39.047825 -3.408921)', '2026-08-04 17:21:36', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047772 -3.408927)'), GeomFromEWKT('SRID=4674;POINT (-39.047825 -3.408921)'))) / (select extract(epoch from '2026-08-04 17:21:36'::timestamp) - extract(epoch from '2026-08-04 17:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047772 -3.408927)'), GeomFromEWKT('SRID=4674;POINT (-39.047825 -3.408921)'))) / (select extract(epoch from '2026-08-04 17:21:36'::timestamp) - extract(epoch from '2026-08-04 17:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047875 -3.408917)', '2026-08-04 17:21:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047825 -3.408921)'), GeomFromEWKT('SRID=4674;POINT (-39.047875 -3.408917)'))) / (select extract(epoch from '2026-08-04 17:21:48'::timestamp) - extract(epoch from '2026-08-04 17:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047825 -3.408921)'), GeomFromEWKT('SRID=4674;POINT (-39.047875 -3.408917)'))) / (select extract(epoch from '2026-08-04 17:21:48'::timestamp) - extract(epoch from '2026-08-04 17:21: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'), 48136, 'SRID=4674;POINT (-39.047915 -3.408919)', '2026-08-04 17:21:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047875 -3.408917)'), GeomFromEWKT('SRID=4674;POINT (-39.047915 -3.408919)'))) / (select extract(epoch from '2026-08-04 17:21:57'::timestamp) - extract(epoch from '2026-08-04 17:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047875 -3.408917)'), GeomFromEWKT('SRID=4674;POINT (-39.047915 -3.408919)'))) / (select extract(epoch from '2026-08-04 17:21:57'::timestamp) - extract(epoch from '2026-08-04 17:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047946 -3.408925)', '2026-08-04 17:22:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047915 -3.408919)'), GeomFromEWKT('SRID=4674;POINT (-39.047946 -3.408925)'))) / (select extract(epoch from '2026-08-04 17:22:05'::timestamp) - extract(epoch from '2026-08-04 17:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047915 -3.408919)'), GeomFromEWKT('SRID=4674;POINT (-39.047946 -3.408925)'))) / (select extract(epoch from '2026-08-04 17:22:05'::timestamp) - extract(epoch from '2026-08-04 17:21: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'), 48136, 'SRID=4674;POINT (-39.047987 -3.408933)', '2026-08-04 17:22:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047946 -3.408925)'), GeomFromEWKT('SRID=4674;POINT (-39.047987 -3.408933)'))) / (select extract(epoch from '2026-08-04 17:22:14'::timestamp) - extract(epoch from '2026-08-04 17:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047946 -3.408925)'), GeomFromEWKT('SRID=4674;POINT (-39.047987 -3.408933)'))) / (select extract(epoch from '2026-08-04 17:22:14'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.048019 -3.408934)', '2026-08-04 17:22:24', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047987 -3.408933)'), GeomFromEWKT('SRID=4674;POINT (-39.048019 -3.408934)'))) / (select extract(epoch from '2026-08-04 17:22:24'::timestamp) - extract(epoch from '2026-08-04 17:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047987 -3.408933)'), GeomFromEWKT('SRID=4674;POINT (-39.048019 -3.408934)'))) / (select extract(epoch from '2026-08-04 17:22:24'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48136, 'SRID=4674;POINT (-39.048033 -3.408925)', '2026-08-04 17:22:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048019 -3.408934)'), GeomFromEWKT('SRID=4674;POINT (-39.048033 -3.408925)'))) / (select extract(epoch from '2026-08-04 17:22:35'::timestamp) - extract(epoch from '2026-08-04 17:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048019 -3.408934)'), GeomFromEWKT('SRID=4674;POINT (-39.048033 -3.408925)'))) / (select extract(epoch from '2026-08-04 17:22:35'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48136, 'SRID=4674;POINT (-39.048037 -3.40892)', '2026-08-04 17:22:45', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048033 -3.408925)'), GeomFromEWKT('SRID=4674;POINT (-39.048037 -3.40892)'))) / (select extract(epoch from '2026-08-04 17:22:45'::timestamp) - extract(epoch from '2026-08-04 17:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048033 -3.408925)'), GeomFromEWKT('SRID=4674;POINT (-39.048037 -3.40892)'))) / (select extract(epoch from '2026-08-04 17:22:45'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.048055 -3.408918)', '2026-08-04 17:22:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048037 -3.40892)'), GeomFromEWKT('SRID=4674;POINT (-39.048055 -3.408918)'))) / (select extract(epoch from '2026-08-04 17:22:51'::timestamp) - extract(epoch from '2026-08-04 17:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048037 -3.40892)'), GeomFromEWKT('SRID=4674;POINT (-39.048055 -3.408918)'))) / (select extract(epoch from '2026-08-04 17:22:51'::timestamp) - extract(epoch from '2026-08-04 17:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048081 -3.408917)', '2026-08-04 17:22:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048055 -3.408918)'), GeomFromEWKT('SRID=4674;POINT (-39.048081 -3.408917)'))) / (select extract(epoch from '2026-08-04 17:22:58'::timestamp) - extract(epoch from '2026-08-04 17:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048055 -3.408918)'), GeomFromEWKT('SRID=4674;POINT (-39.048081 -3.408917)'))) / (select extract(epoch from '2026-08-04 17:22:58'::timestamp) - extract(epoch from '2026-08-04 17:22: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'), 48136, 'SRID=4674;POINT (-39.048137 -3.408915)', '2026-08-04 17:23:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048081 -3.408917)'), GeomFromEWKT('SRID=4674;POINT (-39.048137 -3.408915)'))) / (select extract(epoch from '2026-08-04 17:23:14'::timestamp) - extract(epoch from '2026-08-04 17:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048081 -3.408917)'), GeomFromEWKT('SRID=4674;POINT (-39.048137 -3.408915)'))) / (select extract(epoch from '2026-08-04 17:23:14'::timestamp) - extract(epoch from '2026-08-04 17:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048138 -3.408909)', '2026-08-04 17:23:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048137 -3.408915)'), GeomFromEWKT('SRID=4674;POINT (-39.048138 -3.408909)'))) / (select extract(epoch from '2026-08-04 17:23:29'::timestamp) - extract(epoch from '2026-08-04 17:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048137 -3.408915)'), GeomFromEWKT('SRID=4674;POINT (-39.048138 -3.408909)'))) / (select extract(epoch from '2026-08-04 17:23:29'::timestamp) - extract(epoch from '2026-08-04 17:23: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'), 48136, 'SRID=4674;POINT (-39.048146 -3.408901)', '2026-08-04 17:23:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048138 -3.408909)'), GeomFromEWKT('SRID=4674;POINT (-39.048146 -3.408901)'))) / (select extract(epoch from '2026-08-04 17:23:43'::timestamp) - extract(epoch from '2026-08-04 17:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048138 -3.408909)'), GeomFromEWKT('SRID=4674;POINT (-39.048146 -3.408901)'))) / (select extract(epoch from '2026-08-04 17:23:43'::timestamp) - extract(epoch from '2026-08-04 17:23: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'), 48136, 'SRID=4674;POINT (-39.04815 -3.408899)', '2026-08-04 17:23:48', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048146 -3.408901)'), GeomFromEWKT('SRID=4674;POINT (-39.04815 -3.408899)'))) / (select extract(epoch from '2026-08-04 17:23:48'::timestamp) - extract(epoch from '2026-08-04 17:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048146 -3.408901)'), GeomFromEWKT('SRID=4674;POINT (-39.04815 -3.408899)'))) / (select extract(epoch from '2026-08-04 17:23:48'::timestamp) - extract(epoch from '2026-08-04 17:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04817 -3.4089)', '2026-08-04 17:23:56', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04815 -3.408899)'), GeomFromEWKT('SRID=4674;POINT (-39.04817 -3.4089)'))) / (select extract(epoch from '2026-08-04 17:23:56'::timestamp) - extract(epoch from '2026-08-04 17:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04815 -3.408899)'), GeomFromEWKT('SRID=4674;POINT (-39.04817 -3.4089)'))) / (select extract(epoch from '2026-08-04 17:23:56'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.048186 -3.408902)', '2026-08-04 17:24:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04817 -3.4089)'), GeomFromEWKT('SRID=4674;POINT (-39.048186 -3.408902)'))) / (select extract(epoch from '2026-08-04 17:24:03'::timestamp) - extract(epoch from '2026-08-04 17:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04817 -3.4089)'), GeomFromEWKT('SRID=4674;POINT (-39.048186 -3.408902)'))) / (select extract(epoch from '2026-08-04 17:24:03'::timestamp) - extract(epoch from '2026-08-04 17:23: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'), 48136, 'SRID=4674;POINT (-39.048219 -3.408899)', '2026-08-04 17:24:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048186 -3.408902)'), GeomFromEWKT('SRID=4674;POINT (-39.048219 -3.408899)'))) / (select extract(epoch from '2026-08-04 17:24:13'::timestamp) - extract(epoch from '2026-08-04 17:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048186 -3.408902)'), GeomFromEWKT('SRID=4674;POINT (-39.048219 -3.408899)'))) / (select extract(epoch from '2026-08-04 17:24:13'::timestamp) - extract(epoch from '2026-08-04 17:24:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048244 -3.408898)', '2026-08-04 17:24:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048219 -3.408899)'), GeomFromEWKT('SRID=4674;POINT (-39.048244 -3.408898)'))) / (select extract(epoch from '2026-08-04 17:24:23'::timestamp) - extract(epoch from '2026-08-04 17:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048219 -3.408899)'), GeomFromEWKT('SRID=4674;POINT (-39.048244 -3.408898)'))) / (select extract(epoch from '2026-08-04 17:24:23'::timestamp) - extract(epoch from '2026-08-04 17:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048265 -3.408897)', '2026-08-04 17:24:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048244 -3.408898)'), GeomFromEWKT('SRID=4674;POINT (-39.048265 -3.408897)'))) / (select extract(epoch from '2026-08-04 17:24:31'::timestamp) - extract(epoch from '2026-08-04 17:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048244 -3.408898)'), GeomFromEWKT('SRID=4674;POINT (-39.048265 -3.408897)'))) / (select extract(epoch from '2026-08-04 17:24:31'::timestamp) - extract(epoch from '2026-08-04 17:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048281 -3.408893)', '2026-08-04 17:24:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048265 -3.408897)'), GeomFromEWKT('SRID=4674;POINT (-39.048281 -3.408893)'))) / (select extract(epoch from '2026-08-04 17:24:39'::timestamp) - extract(epoch from '2026-08-04 17:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048265 -3.408897)'), GeomFromEWKT('SRID=4674;POINT (-39.048281 -3.408893)'))) / (select extract(epoch from '2026-08-04 17:24:39'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48136, 'SRID=4674;POINT (-39.048306 -3.408894)', '2026-08-04 17:24:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048281 -3.408893)'), GeomFromEWKT('SRID=4674;POINT (-39.048306 -3.408894)'))) / (select extract(epoch from '2026-08-04 17:24:48'::timestamp) - extract(epoch from '2026-08-04 17:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048281 -3.408893)'), GeomFromEWKT('SRID=4674;POINT (-39.048306 -3.408894)'))) / (select extract(epoch from '2026-08-04 17:24:48'::timestamp) - extract(epoch from '2026-08-04 17:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048325 -3.40889)', '2026-08-04 17:24:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048306 -3.408894)'), GeomFromEWKT('SRID=4674;POINT (-39.048325 -3.40889)'))) / (select extract(epoch from '2026-08-04 17:24:55'::timestamp) - extract(epoch from '2026-08-04 17:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048306 -3.408894)'), GeomFromEWKT('SRID=4674;POINT (-39.048325 -3.40889)'))) / (select extract(epoch from '2026-08-04 17:24:55'::timestamp) - extract(epoch from '2026-08-04 17:24: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'), 48136, 'SRID=4674;POINT (-39.048343 -3.408894)', '2026-08-04 17:25:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048325 -3.40889)'), GeomFromEWKT('SRID=4674;POINT (-39.048343 -3.408894)'))) / (select extract(epoch from '2026-08-04 17:25:01'::timestamp) - extract(epoch from '2026-08-04 17:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048325 -3.40889)'), GeomFromEWKT('SRID=4674;POINT (-39.048343 -3.408894)'))) / (select extract(epoch from '2026-08-04 17:25:01'::timestamp) - extract(epoch from '2026-08-04 17:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04837 -3.408889)', '2026-08-04 17:25:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048343 -3.408894)'), GeomFromEWKT('SRID=4674;POINT (-39.04837 -3.408889)'))) / (select extract(epoch from '2026-08-04 17:25:10'::timestamp) - extract(epoch from '2026-08-04 17:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048343 -3.408894)'), GeomFromEWKT('SRID=4674;POINT (-39.04837 -3.408889)'))) / (select extract(epoch from '2026-08-04 17:25:10'::timestamp) - extract(epoch from '2026-08-04 17:25: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'), 48136, 'SRID=4674;POINT (-39.048377 -3.408887)', '2026-08-04 17:25:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04837 -3.408889)'), GeomFromEWKT('SRID=4674;POINT (-39.048377 -3.408887)'))) / (select extract(epoch from '2026-08-04 17:25:16'::timestamp) - extract(epoch from '2026-08-04 17:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04837 -3.408889)'), GeomFromEWKT('SRID=4674;POINT (-39.048377 -3.408887)'))) / (select extract(epoch from '2026-08-04 17:25:16'::timestamp) - extract(epoch from '2026-08-04 17:25:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048384 -3.408883)', '2026-08-04 17:25:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048377 -3.408887)'), GeomFromEWKT('SRID=4674;POINT (-39.048384 -3.408883)'))) / (select extract(epoch from '2026-08-04 17:25:25'::timestamp) - extract(epoch from '2026-08-04 17:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048377 -3.408887)'), GeomFromEWKT('SRID=4674;POINT (-39.048384 -3.408883)'))) / (select extract(epoch from '2026-08-04 17:25:25'::timestamp) - extract(epoch from '2026-08-04 17:25: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'), 48136, 'SRID=4674;POINT (-39.048409 -3.408881)', '2026-08-04 17:25:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048384 -3.408883)'), GeomFromEWKT('SRID=4674;POINT (-39.048409 -3.408881)'))) / (select extract(epoch from '2026-08-04 17:25:34'::timestamp) - extract(epoch from '2026-08-04 17:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048384 -3.408883)'), GeomFromEWKT('SRID=4674;POINT (-39.048409 -3.408881)'))) / (select extract(epoch from '2026-08-04 17:25:34'::timestamp) - extract(epoch from '2026-08-04 17:25: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'), 48136, 'SRID=4674;POINT (-39.048424 -3.408878)', '2026-08-04 17:25:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048409 -3.408881)'), GeomFromEWKT('SRID=4674;POINT (-39.048424 -3.408878)'))) / (select extract(epoch from '2026-08-04 17:25:40'::timestamp) - extract(epoch from '2026-08-04 17:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048409 -3.408881)'), GeomFromEWKT('SRID=4674;POINT (-39.048424 -3.408878)'))) / (select extract(epoch from '2026-08-04 17:25:40'::timestamp) - extract(epoch from '2026-08-04 17:25: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'), 48136, 'SRID=4674;POINT (-39.048441 -3.408875)', '2026-08-04 17:25:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048424 -3.408878)'), GeomFromEWKT('SRID=4674;POINT (-39.048441 -3.408875)'))) / (select extract(epoch from '2026-08-04 17:25:47'::timestamp) - extract(epoch from '2026-08-04 17:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048424 -3.408878)'), GeomFromEWKT('SRID=4674;POINT (-39.048441 -3.408875)'))) / (select extract(epoch from '2026-08-04 17:25:47'::timestamp) - extract(epoch from '2026-08-04 17:25: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'), 48136, 'SRID=4674;POINT (-39.048485 -3.40887)', '2026-08-04 17:26:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048441 -3.408875)'), GeomFromEWKT('SRID=4674;POINT (-39.048485 -3.40887)'))) / (select extract(epoch from '2026-08-04 17:26:01'::timestamp) - extract(epoch from '2026-08-04 17:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048441 -3.408875)'), GeomFromEWKT('SRID=4674;POINT (-39.048485 -3.40887)'))) / (select extract(epoch from '2026-08-04 17:26:01'::timestamp) - extract(epoch from '2026-08-04 17:25:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048507 -3.408867)', '2026-08-04 17:26:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048485 -3.40887)'), GeomFromEWKT('SRID=4674;POINT (-39.048507 -3.408867)'))) / (select extract(epoch from '2026-08-04 17:26:13'::timestamp) - extract(epoch from '2026-08-04 17:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048485 -3.40887)'), GeomFromEWKT('SRID=4674;POINT (-39.048507 -3.408867)'))) / (select extract(epoch from '2026-08-04 17:26:13'::timestamp) - extract(epoch from '2026-08-04 17:26:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048558 -3.408868)', '2026-08-04 17:26:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048507 -3.408867)'), GeomFromEWKT('SRID=4674;POINT (-39.048558 -3.408868)'))) / (select extract(epoch from '2026-08-04 17:26:31'::timestamp) - extract(epoch from '2026-08-04 17:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048507 -3.408867)'), GeomFromEWKT('SRID=4674;POINT (-39.048558 -3.408868)'))) / (select extract(epoch from '2026-08-04 17:26:31'::timestamp) - extract(epoch from '2026-08-04 17:26: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'), 48136, 'SRID=4674;POINT (-39.048607 -3.408874)', '2026-08-04 17:26:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048558 -3.408868)'), GeomFromEWKT('SRID=4674;POINT (-39.048607 -3.408874)'))) / (select extract(epoch from '2026-08-04 17:26:48'::timestamp) - extract(epoch from '2026-08-04 17:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048558 -3.408868)'), GeomFromEWKT('SRID=4674;POINT (-39.048607 -3.408874)'))) / (select extract(epoch from '2026-08-04 17:26:48'::timestamp) - extract(epoch from '2026-08-04 17:26:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048659 -3.408872)', '2026-08-04 17:27:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048607 -3.408874)'), GeomFromEWKT('SRID=4674;POINT (-39.048659 -3.408872)'))) / (select extract(epoch from '2026-08-04 17:27:05'::timestamp) - extract(epoch from '2026-08-04 17:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048607 -3.408874)'), GeomFromEWKT('SRID=4674;POINT (-39.048659 -3.408872)'))) / (select extract(epoch from '2026-08-04 17:27:05'::timestamp) - extract(epoch from '2026-08-04 17:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048693 -3.408863)', '2026-08-04 17:27:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048659 -3.408872)'), GeomFromEWKT('SRID=4674;POINT (-39.048693 -3.408863)'))) / (select extract(epoch from '2026-08-04 17:27:18'::timestamp) - extract(epoch from '2026-08-04 17:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048659 -3.408872)'), GeomFromEWKT('SRID=4674;POINT (-39.048693 -3.408863)'))) / (select extract(epoch from '2026-08-04 17:27:18'::timestamp) - extract(epoch from '2026-08-04 17:27: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'), 48136, 'SRID=4674;POINT (-39.048727 -3.408865)', '2026-08-04 17:27:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048693 -3.408863)'), GeomFromEWKT('SRID=4674;POINT (-39.048727 -3.408865)'))) / (select extract(epoch from '2026-08-04 17:27:36'::timestamp) - extract(epoch from '2026-08-04 17:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048693 -3.408863)'), GeomFromEWKT('SRID=4674;POINT (-39.048727 -3.408865)'))) / (select extract(epoch from '2026-08-04 17:27:36'::timestamp) - extract(epoch from '2026-08-04 17:27: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'), 48136, 'SRID=4674;POINT (-39.048762 -3.408864)', '2026-08-04 17:27:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048727 -3.408865)'), GeomFromEWKT('SRID=4674;POINT (-39.048762 -3.408864)'))) / (select extract(epoch from '2026-08-04 17:27:49'::timestamp) - extract(epoch from '2026-08-04 17:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048727 -3.408865)'), GeomFromEWKT('SRID=4674;POINT (-39.048762 -3.408864)'))) / (select extract(epoch from '2026-08-04 17:27:49'::timestamp) - extract(epoch from '2026-08-04 17:27: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'), 48136, 'SRID=4674;POINT (-39.048833 -3.408874)', '2026-08-04 17:28:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048762 -3.408864)'), GeomFromEWKT('SRID=4674;POINT (-39.048833 -3.408874)'))) / (select extract(epoch from '2026-08-04 17:28:10'::timestamp) - extract(epoch from '2026-08-04 17:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048762 -3.408864)'), GeomFromEWKT('SRID=4674;POINT (-39.048833 -3.408874)'))) / (select extract(epoch from '2026-08-04 17:28:10'::timestamp) - extract(epoch from '2026-08-04 17:27: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'), 48136, 'SRID=4674;POINT (-39.048893 -3.408876)', '2026-08-04 17:28:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048833 -3.408874)'), GeomFromEWKT('SRID=4674;POINT (-39.048893 -3.408876)'))) / (select extract(epoch from '2026-08-04 17:28:27'::timestamp) - extract(epoch from '2026-08-04 17:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048833 -3.408874)'), GeomFromEWKT('SRID=4674;POINT (-39.048893 -3.408876)'))) / (select extract(epoch from '2026-08-04 17:28:27'::timestamp) - extract(epoch from '2026-08-04 17:28: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'), 48136, 'SRID=4674;POINT (-39.04891 -3.408868)', '2026-08-04 17:28:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048893 -3.408876)'), GeomFromEWKT('SRID=4674;POINT (-39.04891 -3.408868)'))) / (select extract(epoch from '2026-08-04 17:28:41'::timestamp) - extract(epoch from '2026-08-04 17:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048893 -3.408876)'), GeomFromEWKT('SRID=4674;POINT (-39.04891 -3.408868)'))) / (select extract(epoch from '2026-08-04 17:28:41'::timestamp) - extract(epoch from '2026-08-04 17:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048921 -3.408861)', '2026-08-04 17:28:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04891 -3.408868)'), GeomFromEWKT('SRID=4674;POINT (-39.048921 -3.408861)'))) / (select extract(epoch from '2026-08-04 17:28:55'::timestamp) - extract(epoch from '2026-08-04 17:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04891 -3.408868)'), GeomFromEWKT('SRID=4674;POINT (-39.048921 -3.408861)'))) / (select extract(epoch from '2026-08-04 17:28:55'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.048916 -3.408853)', '2026-08-04 17:29:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048921 -3.408861)'), GeomFromEWKT('SRID=4674;POINT (-39.048916 -3.408853)'))) / (select extract(epoch from '2026-08-04 17:29:02'::timestamp) - extract(epoch from '2026-08-04 17:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048921 -3.408861)'), GeomFromEWKT('SRID=4674;POINT (-39.048916 -3.408853)'))) / (select extract(epoch from '2026-08-04 17:29:02'::timestamp) - extract(epoch from '2026-08-04 17:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048933 -3.40884)', '2026-08-04 17:29:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048916 -3.408853)'), GeomFromEWKT('SRID=4674;POINT (-39.048933 -3.40884)'))) / (select extract(epoch from '2026-08-04 17:29:13'::timestamp) - extract(epoch from '2026-08-04 17:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048916 -3.408853)'), GeomFromEWKT('SRID=4674;POINT (-39.048933 -3.40884)'))) / (select extract(epoch from '2026-08-04 17:29:13'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48136, 'SRID=4674;POINT (-39.048996 -3.408822)', '2026-08-04 17:29:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048933 -3.40884)'), GeomFromEWKT('SRID=4674;POINT (-39.048996 -3.408822)'))) / (select extract(epoch from '2026-08-04 17:29:26'::timestamp) - extract(epoch from '2026-08-04 17:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048933 -3.40884)'), GeomFromEWKT('SRID=4674;POINT (-39.048996 -3.408822)'))) / (select extract(epoch from '2026-08-04 17:29:26'::timestamp) - extract(epoch from '2026-08-04 17:29:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.049005 -3.408831)', '2026-08-04 17:29:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048996 -3.408822)'), GeomFromEWKT('SRID=4674;POINT (-39.049005 -3.408831)'))) / (select extract(epoch from '2026-08-04 17:29:34'::timestamp) - extract(epoch from '2026-08-04 17:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048996 -3.408822)'), GeomFromEWKT('SRID=4674;POINT (-39.049005 -3.408831)'))) / (select extract(epoch from '2026-08-04 17:29:34'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48136, 'SRID=4674;POINT (-39.048969 -3.408861)', '2026-08-04 17:29:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049005 -3.408831)'), GeomFromEWKT('SRID=4674;POINT (-39.048969 -3.408861)'))) / (select extract(epoch from '2026-08-04 17:29:44'::timestamp) - extract(epoch from '2026-08-04 17:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049005 -3.408831)'), GeomFromEWKT('SRID=4674;POINT (-39.048969 -3.408861)'))) / (select extract(epoch from '2026-08-04 17:29:44'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48136, 'SRID=4674;POINT (-39.048929 -3.408887)', '2026-08-04 17:29:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048969 -3.408861)'), GeomFromEWKT('SRID=4674;POINT (-39.048929 -3.408887)'))) / (select extract(epoch from '2026-08-04 17:29:51'::timestamp) - extract(epoch from '2026-08-04 17:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048969 -3.408861)'), GeomFromEWKT('SRID=4674;POINT (-39.048929 -3.408887)'))) / (select extract(epoch from '2026-08-04 17:29:51'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48136, 'SRID=4674;POINT (-39.048896 -3.408911)', '2026-08-04 17:29:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048929 -3.408887)'), GeomFromEWKT('SRID=4674;POINT (-39.048896 -3.408911)'))) / (select extract(epoch from '2026-08-04 17:29:58'::timestamp) - extract(epoch from '2026-08-04 17:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048929 -3.408887)'), GeomFromEWKT('SRID=4674;POINT (-39.048896 -3.408911)'))) / (select extract(epoch from '2026-08-04 17:29:58'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48136, 'SRID=4674;POINT (-39.048866 -3.408926)', '2026-08-04 17:30:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048896 -3.408911)'), GeomFromEWKT('SRID=4674;POINT (-39.048866 -3.408926)'))) / (select extract(epoch from '2026-08-04 17:30:03'::timestamp) - extract(epoch from '2026-08-04 17:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048896 -3.408911)'), GeomFromEWKT('SRID=4674;POINT (-39.048866 -3.408926)'))) / (select extract(epoch from '2026-08-04 17:30:03'::timestamp) - extract(epoch from '2026-08-04 17:29: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'), 48136, 'SRID=4674;POINT (-39.048855 -3.408931)', '2026-08-04 17:30:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048866 -3.408926)'), GeomFromEWKT('SRID=4674;POINT (-39.048855 -3.408931)'))) / (select extract(epoch from '2026-08-04 17:30:05'::timestamp) - extract(epoch from '2026-08-04 17:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048866 -3.408926)'), GeomFromEWKT('SRID=4674;POINT (-39.048855 -3.408931)'))) / (select extract(epoch from '2026-08-04 17:30:05'::timestamp) - extract(epoch from '2026-08-04 17:30:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048819 -3.40895)', '2026-08-04 17:30:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048855 -3.408931)'), GeomFromEWKT('SRID=4674;POINT (-39.048819 -3.40895)'))) / (select extract(epoch from '2026-08-04 17:30:13'::timestamp) - extract(epoch from '2026-08-04 17:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048855 -3.408931)'), GeomFromEWKT('SRID=4674;POINT (-39.048819 -3.40895)'))) / (select extract(epoch from '2026-08-04 17:30:13'::timestamp) - extract(epoch from '2026-08-04 17:30: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'), 48136, 'SRID=4674;POINT (-39.0488 -3.408961)', '2026-08-04 17:30:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048819 -3.40895)'), GeomFromEWKT('SRID=4674;POINT (-39.0488 -3.408961)'))) / (select extract(epoch from '2026-08-04 17:30:19'::timestamp) - extract(epoch from '2026-08-04 17:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048819 -3.40895)'), GeomFromEWKT('SRID=4674;POINT (-39.0488 -3.408961)'))) / (select extract(epoch from '2026-08-04 17:30:19'::timestamp) - extract(epoch from '2026-08-04 17:30: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'), 48136, 'SRID=4674;POINT (-39.048773 -3.408981)', '2026-08-04 17:30:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0488 -3.408961)'), GeomFromEWKT('SRID=4674;POINT (-39.048773 -3.408981)'))) / (select extract(epoch from '2026-08-04 17:30:26'::timestamp) - extract(epoch from '2026-08-04 17:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0488 -3.408961)'), GeomFromEWKT('SRID=4674;POINT (-39.048773 -3.408981)'))) / (select extract(epoch from '2026-08-04 17:30:26'::timestamp) - extract(epoch from '2026-08-04 17:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048746 -3.408998)', '2026-08-04 17:30:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048773 -3.408981)'), GeomFromEWKT('SRID=4674;POINT (-39.048746 -3.408998)'))) / (select extract(epoch from '2026-08-04 17:30:32'::timestamp) - extract(epoch from '2026-08-04 17:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048773 -3.408981)'), GeomFromEWKT('SRID=4674;POINT (-39.048746 -3.408998)'))) / (select extract(epoch from '2026-08-04 17:30:32'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.048716 -3.409023)', '2026-08-04 17:30:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048746 -3.408998)'), GeomFromEWKT('SRID=4674;POINT (-39.048716 -3.409023)'))) / (select extract(epoch from '2026-08-04 17:30:39'::timestamp) - extract(epoch from '2026-08-04 17:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048746 -3.408998)'), GeomFromEWKT('SRID=4674;POINT (-39.048716 -3.409023)'))) / (select extract(epoch from '2026-08-04 17:30:39'::timestamp) - extract(epoch from '2026-08-04 17:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048674 -3.409042)', '2026-08-04 17:30:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048716 -3.409023)'), GeomFromEWKT('SRID=4674;POINT (-39.048674 -3.409042)'))) / (select extract(epoch from '2026-08-04 17:30:47'::timestamp) - extract(epoch from '2026-08-04 17:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048716 -3.409023)'), GeomFromEWKT('SRID=4674;POINT (-39.048674 -3.409042)'))) / (select extract(epoch from '2026-08-04 17:30:47'::timestamp) - extract(epoch from '2026-08-04 17:30: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'), 48136, 'SRID=4674;POINT (-39.048653 -3.409055)', '2026-08-04 17:30:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048674 -3.409042)'), GeomFromEWKT('SRID=4674;POINT (-39.048653 -3.409055)'))) / (select extract(epoch from '2026-08-04 17:30:53'::timestamp) - extract(epoch from '2026-08-04 17:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048674 -3.409042)'), GeomFromEWKT('SRID=4674;POINT (-39.048653 -3.409055)'))) / (select extract(epoch from '2026-08-04 17:30:53'::timestamp) - extract(epoch from '2026-08-04 17:30: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'), 48136, 'SRID=4674;POINT (-39.048629 -3.409075)', '2026-08-04 17:31:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048653 -3.409055)'), GeomFromEWKT('SRID=4674;POINT (-39.048629 -3.409075)'))) / (select extract(epoch from '2026-08-04 17:31:00'::timestamp) - extract(epoch from '2026-08-04 17:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048653 -3.409055)'), GeomFromEWKT('SRID=4674;POINT (-39.048629 -3.409075)'))) / (select extract(epoch from '2026-08-04 17:31:00'::timestamp) - extract(epoch from '2026-08-04 17:30:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048593 -3.409093)', '2026-08-04 17:31:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048629 -3.409075)'), GeomFromEWKT('SRID=4674;POINT (-39.048593 -3.409093)'))) / (select extract(epoch from '2026-08-04 17:31:08'::timestamp) - extract(epoch from '2026-08-04 17:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048629 -3.409075)'), GeomFromEWKT('SRID=4674;POINT (-39.048593 -3.409093)'))) / (select extract(epoch from '2026-08-04 17:31:08'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48136, 'SRID=4674;POINT (-39.048565 -3.409119)', '2026-08-04 17:31:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048593 -3.409093)'), GeomFromEWKT('SRID=4674;POINT (-39.048565 -3.409119)'))) / (select extract(epoch from '2026-08-04 17:31:16'::timestamp) - extract(epoch from '2026-08-04 17:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048593 -3.409093)'), GeomFromEWKT('SRID=4674;POINT (-39.048565 -3.409119)'))) / (select extract(epoch from '2026-08-04 17:31:16'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48136, 'SRID=4674;POINT (-39.048525 -3.409135)', '2026-08-04 17:31:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048565 -3.409119)'), GeomFromEWKT('SRID=4674;POINT (-39.048525 -3.409135)'))) / (select extract(epoch from '2026-08-04 17:31:24'::timestamp) - extract(epoch from '2026-08-04 17:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048565 -3.409119)'), GeomFromEWKT('SRID=4674;POINT (-39.048525 -3.409135)'))) / (select extract(epoch from '2026-08-04 17:31:24'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48136, 'SRID=4674;POINT (-39.04849 -3.409152)', '2026-08-04 17:31:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048525 -3.409135)'), GeomFromEWKT('SRID=4674;POINT (-39.04849 -3.409152)'))) / (select extract(epoch from '2026-08-04 17:31:31'::timestamp) - extract(epoch from '2026-08-04 17:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048525 -3.409135)'), GeomFromEWKT('SRID=4674;POINT (-39.04849 -3.409152)'))) / (select extract(epoch from '2026-08-04 17:31:31'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48136, 'SRID=4674;POINT (-39.048462 -3.409165)', '2026-08-04 17:31:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04849 -3.409152)'), GeomFromEWKT('SRID=4674;POINT (-39.048462 -3.409165)'))) / (select extract(epoch from '2026-08-04 17:31:38'::timestamp) - extract(epoch from '2026-08-04 17:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04849 -3.409152)'), GeomFromEWKT('SRID=4674;POINT (-39.048462 -3.409165)'))) / (select extract(epoch from '2026-08-04 17:31:38'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48136, 'SRID=4674;POINT (-39.048434 -3.409184)', '2026-08-04 17:31:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048462 -3.409165)'), GeomFromEWKT('SRID=4674;POINT (-39.048434 -3.409184)'))) / (select extract(epoch from '2026-08-04 17:31:48'::timestamp) - extract(epoch from '2026-08-04 17:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048462 -3.409165)'), GeomFromEWKT('SRID=4674;POINT (-39.048434 -3.409184)'))) / (select extract(epoch from '2026-08-04 17:31:48'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48136, 'SRID=4674;POINT (-39.048407 -3.409196)', '2026-08-04 17:31:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048434 -3.409184)'), GeomFromEWKT('SRID=4674;POINT (-39.048407 -3.409196)'))) / (select extract(epoch from '2026-08-04 17:31:54'::timestamp) - extract(epoch from '2026-08-04 17:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048434 -3.409184)'), GeomFromEWKT('SRID=4674;POINT (-39.048407 -3.409196)'))) / (select extract(epoch from '2026-08-04 17:31:54'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48136, 'SRID=4674;POINT (-39.048395 -3.4092)', '2026-08-04 17:31:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048407 -3.409196)'), GeomFromEWKT('SRID=4674;POINT (-39.048395 -3.4092)'))) / (select extract(epoch from '2026-08-04 17:31:56'::timestamp) - extract(epoch from '2026-08-04 17:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048407 -3.409196)'), GeomFromEWKT('SRID=4674;POINT (-39.048395 -3.4092)'))) / (select extract(epoch from '2026-08-04 17:31:56'::timestamp) - extract(epoch from '2026-08-04 17:31: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'), 48136, 'SRID=4674;POINT (-39.048378 -3.409208)', '2026-08-04 17:32:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048395 -3.4092)'), GeomFromEWKT('SRID=4674;POINT (-39.048378 -3.409208)'))) / (select extract(epoch from '2026-08-04 17:32:00'::timestamp) - extract(epoch from '2026-08-04 17:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048395 -3.4092)'), GeomFromEWKT('SRID=4674;POINT (-39.048378 -3.409208)'))) / (select extract(epoch from '2026-08-04 17:32:00'::timestamp) - extract(epoch from '2026-08-04 17:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048352 -3.409232)', '2026-08-04 17:32:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048378 -3.409208)'), GeomFromEWKT('SRID=4674;POINT (-39.048352 -3.409232)'))) / (select extract(epoch from '2026-08-04 17:32:07'::timestamp) - extract(epoch from '2026-08-04 17:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048378 -3.409208)'), GeomFromEWKT('SRID=4674;POINT (-39.048352 -3.409232)'))) / (select extract(epoch from '2026-08-04 17:32:07'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48136, 'SRID=4674;POINT (-39.048323 -3.40925)', '2026-08-04 17:32:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048352 -3.409232)'), GeomFromEWKT('SRID=4674;POINT (-39.048323 -3.40925)'))) / (select extract(epoch from '2026-08-04 17:32:13'::timestamp) - extract(epoch from '2026-08-04 17:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048352 -3.409232)'), GeomFromEWKT('SRID=4674;POINT (-39.048323 -3.40925)'))) / (select extract(epoch from '2026-08-04 17:32:13'::timestamp) - extract(epoch from '2026-08-04 17:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048304 -3.409271)', '2026-08-04 17:32:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048323 -3.40925)'), GeomFromEWKT('SRID=4674;POINT (-39.048304 -3.409271)'))) / (select extract(epoch from '2026-08-04 17:32:20'::timestamp) - extract(epoch from '2026-08-04 17:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048323 -3.40925)'), GeomFromEWKT('SRID=4674;POINT (-39.048304 -3.409271)'))) / (select extract(epoch from '2026-08-04 17:32:20'::timestamp) - extract(epoch from '2026-08-04 17:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04828 -3.409287)', '2026-08-04 17:32:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048304 -3.409271)'), GeomFromEWKT('SRID=4674;POINT (-39.04828 -3.409287)'))) / (select extract(epoch from '2026-08-04 17:32:27'::timestamp) - extract(epoch from '2026-08-04 17:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048304 -3.409271)'), GeomFromEWKT('SRID=4674;POINT (-39.04828 -3.409287)'))) / (select extract(epoch from '2026-08-04 17:32:27'::timestamp) - extract(epoch from '2026-08-04 17:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048241 -3.409301)', '2026-08-04 17:32:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04828 -3.409287)'), GeomFromEWKT('SRID=4674;POINT (-39.048241 -3.409301)'))) / (select extract(epoch from '2026-08-04 17:32:36'::timestamp) - extract(epoch from '2026-08-04 17:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04828 -3.409287)'), GeomFromEWKT('SRID=4674;POINT (-39.048241 -3.409301)'))) / (select extract(epoch from '2026-08-04 17:32:36'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48136, 'SRID=4674;POINT (-39.048207 -3.409315)', '2026-08-04 17:32:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048241 -3.409301)'), GeomFromEWKT('SRID=4674;POINT (-39.048207 -3.409315)'))) / (select extract(epoch from '2026-08-04 17:32:43'::timestamp) - extract(epoch from '2026-08-04 17:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048241 -3.409301)'), GeomFromEWKT('SRID=4674;POINT (-39.048207 -3.409315)'))) / (select extract(epoch from '2026-08-04 17:32:43'::timestamp) - extract(epoch from '2026-08-04 17:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048182 -3.409332)', '2026-08-04 17:32:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048207 -3.409315)'), GeomFromEWKT('SRID=4674;POINT (-39.048182 -3.409332)'))) / (select extract(epoch from '2026-08-04 17:32:50'::timestamp) - extract(epoch from '2026-08-04 17:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048207 -3.409315)'), GeomFromEWKT('SRID=4674;POINT (-39.048182 -3.409332)'))) / (select extract(epoch from '2026-08-04 17:32:50'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48136, 'SRID=4674;POINT (-39.048159 -3.409348)', '2026-08-04 17:32:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048182 -3.409332)'), GeomFromEWKT('SRID=4674;POINT (-39.048159 -3.409348)'))) / (select extract(epoch from '2026-08-04 17:32:58'::timestamp) - extract(epoch from '2026-08-04 17:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048182 -3.409332)'), GeomFromEWKT('SRID=4674;POINT (-39.048159 -3.409348)'))) / (select extract(epoch from '2026-08-04 17:32:58'::timestamp) - extract(epoch from '2026-08-04 17:32: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'), 48136, 'SRID=4674;POINT (-39.04813 -3.40936)', '2026-08-04 17:33:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048159 -3.409348)'), GeomFromEWKT('SRID=4674;POINT (-39.04813 -3.40936)'))) / (select extract(epoch from '2026-08-04 17:33:05'::timestamp) - extract(epoch from '2026-08-04 17:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048159 -3.409348)'), GeomFromEWKT('SRID=4674;POINT (-39.04813 -3.40936)'))) / (select extract(epoch from '2026-08-04 17:33:05'::timestamp) - extract(epoch from '2026-08-04 17:32:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048106 -3.409373)', '2026-08-04 17:33:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04813 -3.40936)'), GeomFromEWKT('SRID=4674;POINT (-39.048106 -3.409373)'))) / (select extract(epoch from '2026-08-04 17:33:12'::timestamp) - extract(epoch from '2026-08-04 17:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04813 -3.40936)'), GeomFromEWKT('SRID=4674;POINT (-39.048106 -3.409373)'))) / (select extract(epoch from '2026-08-04 17:33:12'::timestamp) - extract(epoch from '2026-08-04 17:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.048077 -3.409401)', '2026-08-04 17:33:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048106 -3.409373)'), GeomFromEWKT('SRID=4674;POINT (-39.048077 -3.409401)'))) / (select extract(epoch from '2026-08-04 17:33:21'::timestamp) - extract(epoch from '2026-08-04 17:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048106 -3.409373)'), GeomFromEWKT('SRID=4674;POINT (-39.048077 -3.409401)'))) / (select extract(epoch from '2026-08-04 17:33:21'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48136, 'SRID=4674;POINT (-39.048036 -3.409432)', '2026-08-04 17:33:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048077 -3.409401)'), GeomFromEWKT('SRID=4674;POINT (-39.048036 -3.409432)'))) / (select extract(epoch from '2026-08-04 17:33:29'::timestamp) - extract(epoch from '2026-08-04 17:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048077 -3.409401)'), GeomFromEWKT('SRID=4674;POINT (-39.048036 -3.409432)'))) / (select extract(epoch from '2026-08-04 17:33:29'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48136, 'SRID=4674;POINT (-39.047989 -3.409449)', '2026-08-04 17:33:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048036 -3.409432)'), GeomFromEWKT('SRID=4674;POINT (-39.047989 -3.409449)'))) / (select extract(epoch from '2026-08-04 17:33:36'::timestamp) - extract(epoch from '2026-08-04 17:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048036 -3.409432)'), GeomFromEWKT('SRID=4674;POINT (-39.047989 -3.409449)'))) / (select extract(epoch from '2026-08-04 17:33:36'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48136, 'SRID=4674;POINT (-39.047968 -3.409456)', '2026-08-04 17:33:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047989 -3.409449)'), GeomFromEWKT('SRID=4674;POINT (-39.047968 -3.409456)'))) / (select extract(epoch from '2026-08-04 17:33:39'::timestamp) - extract(epoch from '2026-08-04 17:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047989 -3.409449)'), GeomFromEWKT('SRID=4674;POINT (-39.047968 -3.409456)'))) / (select extract(epoch from '2026-08-04 17:33:39'::timestamp) - extract(epoch from '2026-08-04 17:33: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'), 48136, 'SRID=4674;POINT (-39.047912 -3.409484)', '2026-08-04 17:33:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047968 -3.409456)'), GeomFromEWKT('SRID=4674;POINT (-39.047912 -3.409484)'))) / (select extract(epoch from '2026-08-04 17:33:49'::timestamp) - extract(epoch from '2026-08-04 17:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047968 -3.409456)'), GeomFromEWKT('SRID=4674;POINT (-39.047912 -3.409484)'))) / (select extract(epoch from '2026-08-04 17:33:49'::timestamp) - extract(epoch from '2026-08-04 17:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047852 -3.409511)', '2026-08-04 17:33:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047912 -3.409484)'), GeomFromEWKT('SRID=4674;POINT (-39.047852 -3.409511)'))) / (select extract(epoch from '2026-08-04 17:33:59'::timestamp) - extract(epoch from '2026-08-04 17:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047912 -3.409484)'), GeomFromEWKT('SRID=4674;POINT (-39.047852 -3.409511)'))) / (select extract(epoch from '2026-08-04 17:33:59'::timestamp) - extract(epoch from '2026-08-04 17:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047821 -3.409522)', '2026-08-04 17:34:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047852 -3.409511)'), GeomFromEWKT('SRID=4674;POINT (-39.047821 -3.409522)'))) / (select extract(epoch from '2026-08-04 17:34:06'::timestamp) - extract(epoch from '2026-08-04 17:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047852 -3.409511)'), GeomFromEWKT('SRID=4674;POINT (-39.047821 -3.409522)'))) / (select extract(epoch from '2026-08-04 17:34:06'::timestamp) - extract(epoch from '2026-08-04 17:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04779 -3.40954)', '2026-08-04 17:34:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047821 -3.409522)'), GeomFromEWKT('SRID=4674;POINT (-39.04779 -3.40954)'))) / (select extract(epoch from '2026-08-04 17:34:12'::timestamp) - extract(epoch from '2026-08-04 17:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047821 -3.409522)'), GeomFromEWKT('SRID=4674;POINT (-39.04779 -3.40954)'))) / (select extract(epoch from '2026-08-04 17:34:12'::timestamp) - extract(epoch from '2026-08-04 17:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047748 -3.409563)', '2026-08-04 17:34:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04779 -3.40954)'), GeomFromEWKT('SRID=4674;POINT (-39.047748 -3.409563)'))) / (select extract(epoch from '2026-08-04 17:34:20'::timestamp) - extract(epoch from '2026-08-04 17:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04779 -3.40954)'), GeomFromEWKT('SRID=4674;POINT (-39.047748 -3.409563)'))) / (select extract(epoch from '2026-08-04 17:34:20'::timestamp) - extract(epoch from '2026-08-04 17:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047716 -3.409574)', '2026-08-04 17:34:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047748 -3.409563)'), GeomFromEWKT('SRID=4674;POINT (-39.047716 -3.409574)'))) / (select extract(epoch from '2026-08-04 17:34:27'::timestamp) - extract(epoch from '2026-08-04 17:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047748 -3.409563)'), GeomFromEWKT('SRID=4674;POINT (-39.047716 -3.409574)'))) / (select extract(epoch from '2026-08-04 17:34:27'::timestamp) - extract(epoch from '2026-08-04 17:34: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'), 48136, 'SRID=4674;POINT (-39.047683 -3.40959)', '2026-08-04 17:34:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047716 -3.409574)'), GeomFromEWKT('SRID=4674;POINT (-39.047683 -3.40959)'))) / (select extract(epoch from '2026-08-04 17:34:34'::timestamp) - extract(epoch from '2026-08-04 17:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047716 -3.409574)'), GeomFromEWKT('SRID=4674;POINT (-39.047683 -3.40959)'))) / (select extract(epoch from '2026-08-04 17:34:34'::timestamp) - extract(epoch from '2026-08-04 17:34: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'), 48136, 'SRID=4674;POINT (-39.047642 -3.409605)', '2026-08-04 17:34:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047683 -3.40959)'), GeomFromEWKT('SRID=4674;POINT (-39.047642 -3.409605)'))) / (select extract(epoch from '2026-08-04 17:34:42'::timestamp) - extract(epoch from '2026-08-04 17:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047683 -3.40959)'), GeomFromEWKT('SRID=4674;POINT (-39.047642 -3.409605)'))) / (select extract(epoch from '2026-08-04 17:34:42'::timestamp) - extract(epoch from '2026-08-04 17:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04762 -3.409615)', '2026-08-04 17:34:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047642 -3.409605)'), GeomFromEWKT('SRID=4674;POINT (-39.04762 -3.409615)'))) / (select extract(epoch from '2026-08-04 17:34:48'::timestamp) - extract(epoch from '2026-08-04 17:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047642 -3.409605)'), GeomFromEWKT('SRID=4674;POINT (-39.04762 -3.409615)'))) / (select extract(epoch from '2026-08-04 17:34:48'::timestamp) - extract(epoch from '2026-08-04 17:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047588 -3.409629)', '2026-08-04 17:34:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04762 -3.409615)'), GeomFromEWKT('SRID=4674;POINT (-39.047588 -3.409629)'))) / (select extract(epoch from '2026-08-04 17:34:55'::timestamp) - extract(epoch from '2026-08-04 17:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04762 -3.409615)'), GeomFromEWKT('SRID=4674;POINT (-39.047588 -3.409629)'))) / (select extract(epoch from '2026-08-04 17:34:55'::timestamp) - extract(epoch from '2026-08-04 17:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047551 -3.409648)', '2026-08-04 17:35:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047588 -3.409629)'), GeomFromEWKT('SRID=4674;POINT (-39.047551 -3.409648)'))) / (select extract(epoch from '2026-08-04 17:35:03'::timestamp) - extract(epoch from '2026-08-04 17:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047588 -3.409629)'), GeomFromEWKT('SRID=4674;POINT (-39.047551 -3.409648)'))) / (select extract(epoch from '2026-08-04 17:35:03'::timestamp) - extract(epoch from '2026-08-04 17:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047516 -3.409658)', '2026-08-04 17:35:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047551 -3.409648)'), GeomFromEWKT('SRID=4674;POINT (-39.047516 -3.409658)'))) / (select extract(epoch from '2026-08-04 17:35:10'::timestamp) - extract(epoch from '2026-08-04 17:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047551 -3.409648)'), GeomFromEWKT('SRID=4674;POINT (-39.047516 -3.409658)'))) / (select extract(epoch from '2026-08-04 17:35:10'::timestamp) - extract(epoch from '2026-08-04 17:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047464 -3.40968)', '2026-08-04 17:35:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047516 -3.409658)'), GeomFromEWKT('SRID=4674;POINT (-39.047464 -3.40968)'))) / (select extract(epoch from '2026-08-04 17:35:19'::timestamp) - extract(epoch from '2026-08-04 17:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047516 -3.409658)'), GeomFromEWKT('SRID=4674;POINT (-39.047464 -3.40968)'))) / (select extract(epoch from '2026-08-04 17:35:19'::timestamp) - extract(epoch from '2026-08-04 17:35: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'), 48136, 'SRID=4674;POINT (-39.047419 -3.409704)', '2026-08-04 17:35:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047464 -3.40968)'), GeomFromEWKT('SRID=4674;POINT (-39.047419 -3.409704)'))) / (select extract(epoch from '2026-08-04 17:35:27'::timestamp) - extract(epoch from '2026-08-04 17:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047464 -3.40968)'), GeomFromEWKT('SRID=4674;POINT (-39.047419 -3.409704)'))) / (select extract(epoch from '2026-08-04 17:35:27'::timestamp) - extract(epoch from '2026-08-04 17:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04738 -3.40972)', '2026-08-04 17:35:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047419 -3.409704)'), GeomFromEWKT('SRID=4674;POINT (-39.04738 -3.40972)'))) / (select extract(epoch from '2026-08-04 17:35:34'::timestamp) - extract(epoch from '2026-08-04 17:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047419 -3.409704)'), GeomFromEWKT('SRID=4674;POINT (-39.04738 -3.40972)'))) / (select extract(epoch from '2026-08-04 17:35:34'::timestamp) - extract(epoch from '2026-08-04 17:35:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047343 -3.409733)', '2026-08-04 17:35:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04738 -3.40972)'), GeomFromEWKT('SRID=4674;POINT (-39.047343 -3.409733)'))) / (select extract(epoch from '2026-08-04 17:35:42'::timestamp) - extract(epoch from '2026-08-04 17:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04738 -3.40972)'), GeomFromEWKT('SRID=4674;POINT (-39.047343 -3.409733)'))) / (select extract(epoch from '2026-08-04 17:35:42'::timestamp) - extract(epoch from '2026-08-04 17:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047306 -3.409746)', '2026-08-04 17:35:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047343 -3.409733)'), GeomFromEWKT('SRID=4674;POINT (-39.047306 -3.409746)'))) / (select extract(epoch from '2026-08-04 17:35:50'::timestamp) - extract(epoch from '2026-08-04 17:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047343 -3.409733)'), GeomFromEWKT('SRID=4674;POINT (-39.047306 -3.409746)'))) / (select extract(epoch from '2026-08-04 17:35:50'::timestamp) - extract(epoch from '2026-08-04 17:35: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'), 48136, 'SRID=4674;POINT (-39.047283 -3.409754)', '2026-08-04 17:35:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047306 -3.409746)'), GeomFromEWKT('SRID=4674;POINT (-39.047283 -3.409754)'))) / (select extract(epoch from '2026-08-04 17:35:56'::timestamp) - extract(epoch from '2026-08-04 17:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047306 -3.409746)'), GeomFromEWKT('SRID=4674;POINT (-39.047283 -3.409754)'))) / (select extract(epoch from '2026-08-04 17:35:56'::timestamp) - extract(epoch from '2026-08-04 17:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04725 -3.409769)', '2026-08-04 17:36:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047283 -3.409754)'), GeomFromEWKT('SRID=4674;POINT (-39.04725 -3.409769)'))) / (select extract(epoch from '2026-08-04 17:36:03'::timestamp) - extract(epoch from '2026-08-04 17:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047283 -3.409754)'), GeomFromEWKT('SRID=4674;POINT (-39.04725 -3.409769)'))) / (select extract(epoch from '2026-08-04 17:36:03'::timestamp) - extract(epoch from '2026-08-04 17:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047206 -3.409781)', '2026-08-04 17:36:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04725 -3.409769)'), GeomFromEWKT('SRID=4674;POINT (-39.047206 -3.409781)'))) / (select extract(epoch from '2026-08-04 17:36:11'::timestamp) - extract(epoch from '2026-08-04 17:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04725 -3.409769)'), GeomFromEWKT('SRID=4674;POINT (-39.047206 -3.409781)'))) / (select extract(epoch from '2026-08-04 17:36:11'::timestamp) - extract(epoch from '2026-08-04 17:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047179 -3.409801)', '2026-08-04 17:36:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047206 -3.409781)'), GeomFromEWKT('SRID=4674;POINT (-39.047179 -3.409801)'))) / (select extract(epoch from '2026-08-04 17:36:18'::timestamp) - extract(epoch from '2026-08-04 17:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047206 -3.409781)'), GeomFromEWKT('SRID=4674;POINT (-39.047179 -3.409801)'))) / (select extract(epoch from '2026-08-04 17:36:18'::timestamp) - extract(epoch from '2026-08-04 17:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047142 -3.409817)', '2026-08-04 17:36:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047179 -3.409801)'), GeomFromEWKT('SRID=4674;POINT (-39.047142 -3.409817)'))) / (select extract(epoch from '2026-08-04 17:36:25'::timestamp) - extract(epoch from '2026-08-04 17:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047179 -3.409801)'), GeomFromEWKT('SRID=4674;POINT (-39.047142 -3.409817)'))) / (select extract(epoch from '2026-08-04 17:36:25'::timestamp) - extract(epoch from '2026-08-04 17:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.047105 -3.409829)', '2026-08-04 17:36:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047142 -3.409817)'), GeomFromEWKT('SRID=4674;POINT (-39.047105 -3.409829)'))) / (select extract(epoch from '2026-08-04 17:36:33'::timestamp) - extract(epoch from '2026-08-04 17:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047142 -3.409817)'), GeomFromEWKT('SRID=4674;POINT (-39.047105 -3.409829)'))) / (select extract(epoch from '2026-08-04 17:36:33'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48136, 'SRID=4674;POINT (-39.047087 -3.409839)', '2026-08-04 17:36:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047105 -3.409829)'), GeomFromEWKT('SRID=4674;POINT (-39.047087 -3.409839)'))) / (select extract(epoch from '2026-08-04 17:36:39'::timestamp) - extract(epoch from '2026-08-04 17:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047105 -3.409829)'), GeomFromEWKT('SRID=4674;POINT (-39.047087 -3.409839)'))) / (select extract(epoch from '2026-08-04 17:36:39'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48136, 'SRID=4674;POINT (-39.047067 -3.409858)', '2026-08-04 17:36:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047087 -3.409839)'), GeomFromEWKT('SRID=4674;POINT (-39.047067 -3.409858)'))) / (select extract(epoch from '2026-08-04 17:36:46'::timestamp) - extract(epoch from '2026-08-04 17:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047087 -3.409839)'), GeomFromEWKT('SRID=4674;POINT (-39.047067 -3.409858)'))) / (select extract(epoch from '2026-08-04 17:36:46'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48136, 'SRID=4674;POINT (-39.04704 -3.409878)', '2026-08-04 17:36:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047067 -3.409858)'), GeomFromEWKT('SRID=4674;POINT (-39.04704 -3.409878)'))) / (select extract(epoch from '2026-08-04 17:36:54'::timestamp) - extract(epoch from '2026-08-04 17:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047067 -3.409858)'), GeomFromEWKT('SRID=4674;POINT (-39.04704 -3.409878)'))) / (select extract(epoch from '2026-08-04 17:36:54'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48136, 'SRID=4674;POINT (-39.046999 -3.40989)', '2026-08-04 17:37:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04704 -3.409878)'), GeomFromEWKT('SRID=4674;POINT (-39.046999 -3.40989)'))) / (select extract(epoch from '2026-08-04 17:37:02'::timestamp) - extract(epoch from '2026-08-04 17:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04704 -3.409878)'), GeomFromEWKT('SRID=4674;POINT (-39.046999 -3.40989)'))) / (select extract(epoch from '2026-08-04 17:37:02'::timestamp) - extract(epoch from '2026-08-04 17:36: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'), 48136, 'SRID=4674;POINT (-39.046953 -3.409893)', '2026-08-04 17:37:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046999 -3.40989)'), GeomFromEWKT('SRID=4674;POINT (-39.046953 -3.409893)'))) / (select extract(epoch from '2026-08-04 17:37:11'::timestamp) - extract(epoch from '2026-08-04 17:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046999 -3.40989)'), GeomFromEWKT('SRID=4674;POINT (-39.046953 -3.409893)'))) / (select extract(epoch from '2026-08-04 17:37:11'::timestamp) - extract(epoch from '2026-08-04 17:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046916 -3.409901)', '2026-08-04 17:37:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046953 -3.409893)'), GeomFromEWKT('SRID=4674;POINT (-39.046916 -3.409901)'))) / (select extract(epoch from '2026-08-04 17:37:18'::timestamp) - extract(epoch from '2026-08-04 17:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046953 -3.409893)'), GeomFromEWKT('SRID=4674;POINT (-39.046916 -3.409901)'))) / (select extract(epoch from '2026-08-04 17:37:18'::timestamp) - extract(epoch from '2026-08-04 17:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046883 -3.409918)', '2026-08-04 17:37:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046916 -3.409901)'), GeomFromEWKT('SRID=4674;POINT (-39.046883 -3.409918)'))) / (select extract(epoch from '2026-08-04 17:37:26'::timestamp) - extract(epoch from '2026-08-04 17:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046916 -3.409901)'), GeomFromEWKT('SRID=4674;POINT (-39.046883 -3.409918)'))) / (select extract(epoch from '2026-08-04 17:37:26'::timestamp) - extract(epoch from '2026-08-04 17:37: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'), 48136, 'SRID=4674;POINT (-39.046847 -3.409927)', '2026-08-04 17:37:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046883 -3.409918)'), GeomFromEWKT('SRID=4674;POINT (-39.046847 -3.409927)'))) / (select extract(epoch from '2026-08-04 17:37:34'::timestamp) - extract(epoch from '2026-08-04 17:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046883 -3.409918)'), GeomFromEWKT('SRID=4674;POINT (-39.046847 -3.409927)'))) / (select extract(epoch from '2026-08-04 17:37:34'::timestamp) - extract(epoch from '2026-08-04 17:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046807 -3.409937)', '2026-08-04 17:37:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046847 -3.409927)'), GeomFromEWKT('SRID=4674;POINT (-39.046807 -3.409937)'))) / (select extract(epoch from '2026-08-04 17:37:41'::timestamp) - extract(epoch from '2026-08-04 17:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046847 -3.409927)'), GeomFromEWKT('SRID=4674;POINT (-39.046807 -3.409937)'))) / (select extract(epoch from '2026-08-04 17:37:41'::timestamp) - extract(epoch from '2026-08-04 17:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.0468 -3.409938)', '2026-08-04 17:37:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046807 -3.409937)'), GeomFromEWKT('SRID=4674;POINT (-39.0468 -3.409938)'))) / (select extract(epoch from '2026-08-04 17:37:42'::timestamp) - extract(epoch from '2026-08-04 17:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046807 -3.409937)'), GeomFromEWKT('SRID=4674;POINT (-39.0468 -3.409938)'))) / (select extract(epoch from '2026-08-04 17:37:42'::timestamp) - extract(epoch from '2026-08-04 17:37: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'), 48136, 'SRID=4674;POINT (-39.046753 -3.409953)', '2026-08-04 17:37:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0468 -3.409938)'), GeomFromEWKT('SRID=4674;POINT (-39.046753 -3.409953)'))) / (select extract(epoch from '2026-08-04 17:37:52'::timestamp) - extract(epoch from '2026-08-04 17:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0468 -3.409938)'), GeomFromEWKT('SRID=4674;POINT (-39.046753 -3.409953)'))) / (select extract(epoch from '2026-08-04 17:37:52'::timestamp) - extract(epoch from '2026-08-04 17:37: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'), 48136, 'SRID=4674;POINT (-39.046727 -3.409962)', '2026-08-04 17:37:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046753 -3.409953)'), GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.409962)'))) / (select extract(epoch from '2026-08-04 17:37:58'::timestamp) - extract(epoch from '2026-08-04 17:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046753 -3.409953)'), GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.409962)'))) / (select extract(epoch from '2026-08-04 17:37:58'::timestamp) - extract(epoch from '2026-08-04 17:37: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'), 48136, 'SRID=4674;POINT (-39.046695 -3.409976)', '2026-08-04 17:38:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.409962)'), GeomFromEWKT('SRID=4674;POINT (-39.046695 -3.409976)'))) / (select extract(epoch from '2026-08-04 17:38:05'::timestamp) - extract(epoch from '2026-08-04 17:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.409962)'), GeomFromEWKT('SRID=4674;POINT (-39.046695 -3.409976)'))) / (select extract(epoch from '2026-08-04 17:38:05'::timestamp) - extract(epoch from '2026-08-04 17:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046659 -3.409985)', '2026-08-04 17:38:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046695 -3.409976)'), GeomFromEWKT('SRID=4674;POINT (-39.046659 -3.409985)'))) / (select extract(epoch from '2026-08-04 17:38:12'::timestamp) - extract(epoch from '2026-08-04 17:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046695 -3.409976)'), GeomFromEWKT('SRID=4674;POINT (-39.046659 -3.409985)'))) / (select extract(epoch from '2026-08-04 17:38:12'::timestamp) - extract(epoch from '2026-08-04 17:38:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04663 -3.410008)', '2026-08-04 17:38:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046659 -3.409985)'), GeomFromEWKT('SRID=4674;POINT (-39.04663 -3.410008)'))) / (select extract(epoch from '2026-08-04 17:38:20'::timestamp) - extract(epoch from '2026-08-04 17:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046659 -3.409985)'), GeomFromEWKT('SRID=4674;POINT (-39.04663 -3.410008)'))) / (select extract(epoch from '2026-08-04 17:38:20'::timestamp) - extract(epoch from '2026-08-04 17:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046601 -3.410022)', '2026-08-04 17:38:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04663 -3.410008)'), GeomFromEWKT('SRID=4674;POINT (-39.046601 -3.410022)'))) / (select extract(epoch from '2026-08-04 17:38:27'::timestamp) - extract(epoch from '2026-08-04 17:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04663 -3.410008)'), GeomFromEWKT('SRID=4674;POINT (-39.046601 -3.410022)'))) / (select extract(epoch from '2026-08-04 17:38:27'::timestamp) - extract(epoch from '2026-08-04 17:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046562 -3.410034)', '2026-08-04 17:38:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046601 -3.410022)'), GeomFromEWKT('SRID=4674;POINT (-39.046562 -3.410034)'))) / (select extract(epoch from '2026-08-04 17:38:35'::timestamp) - extract(epoch from '2026-08-04 17:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046601 -3.410022)'), GeomFromEWKT('SRID=4674;POINT (-39.046562 -3.410034)'))) / (select extract(epoch from '2026-08-04 17:38:35'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48136, 'SRID=4674;POINT (-39.046528 -3.410053)', '2026-08-04 17:38:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046562 -3.410034)'), GeomFromEWKT('SRID=4674;POINT (-39.046528 -3.410053)'))) / (select extract(epoch from '2026-08-04 17:38:42'::timestamp) - extract(epoch from '2026-08-04 17:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046562 -3.410034)'), GeomFromEWKT('SRID=4674;POINT (-39.046528 -3.410053)'))) / (select extract(epoch from '2026-08-04 17:38:42'::timestamp) - extract(epoch from '2026-08-04 17:38: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'), 48136, 'SRID=4674;POINT (-39.046479 -3.410065)', '2026-08-04 17:38:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046528 -3.410053)'), GeomFromEWKT('SRID=4674;POINT (-39.046479 -3.410065)'))) / (select extract(epoch from '2026-08-04 17:38:51'::timestamp) - extract(epoch from '2026-08-04 17:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046528 -3.410053)'), GeomFromEWKT('SRID=4674;POINT (-39.046479 -3.410065)'))) / (select extract(epoch from '2026-08-04 17:38:51'::timestamp) - extract(epoch from '2026-08-04 17:38:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046437 -3.410086)', '2026-08-04 17:38:59', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046479 -3.410065)'), GeomFromEWKT('SRID=4674;POINT (-39.046437 -3.410086)'))) / (select extract(epoch from '2026-08-04 17:38:59'::timestamp) - extract(epoch from '2026-08-04 17:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046479 -3.410065)'), GeomFromEWKT('SRID=4674;POINT (-39.046437 -3.410086)'))) / (select extract(epoch from '2026-08-04 17:38:59'::timestamp) - extract(epoch from '2026-08-04 17:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046404 -3.410097)', '2026-08-04 17:39:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046437 -3.410086)'), GeomFromEWKT('SRID=4674;POINT (-39.046404 -3.410097)'))) / (select extract(epoch from '2026-08-04 17:39:06'::timestamp) - extract(epoch from '2026-08-04 17:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046437 -3.410086)'), GeomFromEWKT('SRID=4674;POINT (-39.046404 -3.410097)'))) / (select extract(epoch from '2026-08-04 17:39:06'::timestamp) - extract(epoch from '2026-08-04 17:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046353 -3.41012)', '2026-08-04 17:39:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046404 -3.410097)'), GeomFromEWKT('SRID=4674;POINT (-39.046353 -3.41012)'))) / (select extract(epoch from '2026-08-04 17:39:16'::timestamp) - extract(epoch from '2026-08-04 17:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046404 -3.410097)'), GeomFromEWKT('SRID=4674;POINT (-39.046353 -3.41012)'))) / (select extract(epoch from '2026-08-04 17:39:16'::timestamp) - extract(epoch from '2026-08-04 17:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046318 -3.410135)', '2026-08-04 17:39:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046353 -3.41012)'), GeomFromEWKT('SRID=4674;POINT (-39.046318 -3.410135)'))) / (select extract(epoch from '2026-08-04 17:39:24'::timestamp) - extract(epoch from '2026-08-04 17:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046353 -3.41012)'), GeomFromEWKT('SRID=4674;POINT (-39.046318 -3.410135)'))) / (select extract(epoch from '2026-08-04 17:39:24'::timestamp) - extract(epoch from '2026-08-04 17:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04628 -3.410145)', '2026-08-04 17:39:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046318 -3.410135)'), GeomFromEWKT('SRID=4674;POINT (-39.04628 -3.410145)'))) / (select extract(epoch from '2026-08-04 17:39:32'::timestamp) - extract(epoch from '2026-08-04 17:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046318 -3.410135)'), GeomFromEWKT('SRID=4674;POINT (-39.04628 -3.410145)'))) / (select extract(epoch from '2026-08-04 17:39:32'::timestamp) - extract(epoch from '2026-08-04 17:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046248 -3.41015)', '2026-08-04 17:39:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04628 -3.410145)'), GeomFromEWKT('SRID=4674;POINT (-39.046248 -3.41015)'))) / (select extract(epoch from '2026-08-04 17:39:39'::timestamp) - extract(epoch from '2026-08-04 17:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04628 -3.410145)'), GeomFromEWKT('SRID=4674;POINT (-39.046248 -3.41015)'))) / (select extract(epoch from '2026-08-04 17:39:39'::timestamp) - extract(epoch from '2026-08-04 17:39: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'), 48136, 'SRID=4674;POINT (-39.046208 -3.410158)', '2026-08-04 17:39:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046248 -3.41015)'), GeomFromEWKT('SRID=4674;POINT (-39.046208 -3.410158)'))) / (select extract(epoch from '2026-08-04 17:39:46'::timestamp) - extract(epoch from '2026-08-04 17:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046248 -3.41015)'), GeomFromEWKT('SRID=4674;POINT (-39.046208 -3.410158)'))) / (select extract(epoch from '2026-08-04 17:39:46'::timestamp) - extract(epoch from '2026-08-04 17:39: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'), 48136, 'SRID=4674;POINT (-39.046173 -3.410169)', '2026-08-04 17:39:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046208 -3.410158)'), GeomFromEWKT('SRID=4674;POINT (-39.046173 -3.410169)'))) / (select extract(epoch from '2026-08-04 17:39:52'::timestamp) - extract(epoch from '2026-08-04 17:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046208 -3.410158)'), GeomFromEWKT('SRID=4674;POINT (-39.046173 -3.410169)'))) / (select extract(epoch from '2026-08-04 17:39:52'::timestamp) - extract(epoch from '2026-08-04 17:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046136 -3.410177)', '2026-08-04 17:39:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046173 -3.410169)'), GeomFromEWKT('SRID=4674;POINT (-39.046136 -3.410177)'))) / (select extract(epoch from '2026-08-04 17:39:58'::timestamp) - extract(epoch from '2026-08-04 17:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046173 -3.410169)'), GeomFromEWKT('SRID=4674;POINT (-39.046136 -3.410177)'))) / (select extract(epoch from '2026-08-04 17:39:58'::timestamp) - extract(epoch from '2026-08-04 17:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046129 -3.410178)', '2026-08-04 17:39:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046136 -3.410177)'), GeomFromEWKT('SRID=4674;POINT (-39.046129 -3.410178)'))) / (select extract(epoch from '2026-08-04 17:39:59'::timestamp) - extract(epoch from '2026-08-04 17:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046136 -3.410177)'), GeomFromEWKT('SRID=4674;POINT (-39.046129 -3.410178)'))) / (select extract(epoch from '2026-08-04 17:39:59'::timestamp) - extract(epoch from '2026-08-04 17:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046084 -3.410202)', '2026-08-04 17:40:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046129 -3.410178)'), GeomFromEWKT('SRID=4674;POINT (-39.046084 -3.410202)'))) / (select extract(epoch from '2026-08-04 17:40:08'::timestamp) - extract(epoch from '2026-08-04 17:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046129 -3.410178)'), GeomFromEWKT('SRID=4674;POINT (-39.046084 -3.410202)'))) / (select extract(epoch from '2026-08-04 17:40:08'::timestamp) - extract(epoch from '2026-08-04 17:39: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'), 48136, 'SRID=4674;POINT (-39.046035 -3.41021)', '2026-08-04 17:40:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046084 -3.410202)'), GeomFromEWKT('SRID=4674;POINT (-39.046035 -3.41021)'))) / (select extract(epoch from '2026-08-04 17:40:16'::timestamp) - extract(epoch from '2026-08-04 17:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046084 -3.410202)'), GeomFromEWKT('SRID=4674;POINT (-39.046035 -3.41021)'))) / (select extract(epoch from '2026-08-04 17:40:16'::timestamp) - extract(epoch from '2026-08-04 17:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.046015 -3.410214)', '2026-08-04 17:40:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046035 -3.41021)'), GeomFromEWKT('SRID=4674;POINT (-39.046015 -3.410214)'))) / (select extract(epoch from '2026-08-04 17:40:19'::timestamp) - extract(epoch from '2026-08-04 17:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046035 -3.41021)'), GeomFromEWKT('SRID=4674;POINT (-39.046015 -3.410214)'))) / (select extract(epoch from '2026-08-04 17:40:19'::timestamp) - extract(epoch from '2026-08-04 17:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045989 -3.41022)', '2026-08-04 17:40:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046015 -3.410214)'), GeomFromEWKT('SRID=4674;POINT (-39.045989 -3.41022)'))) / (select extract(epoch from '2026-08-04 17:40:23'::timestamp) - extract(epoch from '2026-08-04 17:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046015 -3.410214)'), GeomFromEWKT('SRID=4674;POINT (-39.045989 -3.41022)'))) / (select extract(epoch from '2026-08-04 17:40:23'::timestamp) - extract(epoch from '2026-08-04 17:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045949 -3.410235)', '2026-08-04 17:40:31', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045989 -3.41022)'), GeomFromEWKT('SRID=4674;POINT (-39.045949 -3.410235)'))) / (select extract(epoch from '2026-08-04 17:40:31'::timestamp) - extract(epoch from '2026-08-04 17:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045989 -3.41022)'), GeomFromEWKT('SRID=4674;POINT (-39.045949 -3.410235)'))) / (select extract(epoch from '2026-08-04 17:40:31'::timestamp) - extract(epoch from '2026-08-04 17:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045917 -3.410248)', '2026-08-04 17:40:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045949 -3.410235)'), GeomFromEWKT('SRID=4674;POINT (-39.045917 -3.410248)'))) / (select extract(epoch from '2026-08-04 17:40:38'::timestamp) - extract(epoch from '2026-08-04 17:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045949 -3.410235)'), GeomFromEWKT('SRID=4674;POINT (-39.045917 -3.410248)'))) / (select extract(epoch from '2026-08-04 17:40:38'::timestamp) - extract(epoch from '2026-08-04 17:40:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045885 -3.410258)', '2026-08-04 17:40:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045917 -3.410248)'), GeomFromEWKT('SRID=4674;POINT (-39.045885 -3.410258)'))) / (select extract(epoch from '2026-08-04 17:40:46'::timestamp) - extract(epoch from '2026-08-04 17:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045917 -3.410248)'), GeomFromEWKT('SRID=4674;POINT (-39.045885 -3.410258)'))) / (select extract(epoch from '2026-08-04 17:40:46'::timestamp) - extract(epoch from '2026-08-04 17:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045856 -3.410269)', '2026-08-04 17:40:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045885 -3.410258)'), GeomFromEWKT('SRID=4674;POINT (-39.045856 -3.410269)'))) / (select extract(epoch from '2026-08-04 17:40:54'::timestamp) - extract(epoch from '2026-08-04 17:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045885 -3.410258)'), GeomFromEWKT('SRID=4674;POINT (-39.045856 -3.410269)'))) / (select extract(epoch from '2026-08-04 17:40:54'::timestamp) - extract(epoch from '2026-08-04 17:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045832 -3.410281)', '2026-08-04 17:41:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045856 -3.410269)'), GeomFromEWKT('SRID=4674;POINT (-39.045832 -3.410281)'))) / (select extract(epoch from '2026-08-04 17:41:01'::timestamp) - extract(epoch from '2026-08-04 17:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045856 -3.410269)'), GeomFromEWKT('SRID=4674;POINT (-39.045832 -3.410281)'))) / (select extract(epoch from '2026-08-04 17:41:01'::timestamp) - extract(epoch from '2026-08-04 17:40: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'), 48136, 'SRID=4674;POINT (-39.045796 -3.410292)', '2026-08-04 17:41:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045832 -3.410281)'), GeomFromEWKT('SRID=4674;POINT (-39.045796 -3.410292)'))) / (select extract(epoch from '2026-08-04 17:41:08'::timestamp) - extract(epoch from '2026-08-04 17:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045832 -3.410281)'), GeomFromEWKT('SRID=4674;POINT (-39.045796 -3.410292)'))) / (select extract(epoch from '2026-08-04 17:41:08'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48136, 'SRID=4674;POINT (-39.045759 -3.410294)', '2026-08-04 17:41:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045796 -3.410292)'), GeomFromEWKT('SRID=4674;POINT (-39.045759 -3.410294)'))) / (select extract(epoch from '2026-08-04 17:41:16'::timestamp) - extract(epoch from '2026-08-04 17:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045796 -3.410292)'), GeomFromEWKT('SRID=4674;POINT (-39.045759 -3.410294)'))) / (select extract(epoch from '2026-08-04 17:41:16'::timestamp) - extract(epoch from '2026-08-04 17:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04572 -3.410303)', '2026-08-04 17:41:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045759 -3.410294)'), GeomFromEWKT('SRID=4674;POINT (-39.04572 -3.410303)'))) / (select extract(epoch from '2026-08-04 17:41:25'::timestamp) - extract(epoch from '2026-08-04 17:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045759 -3.410294)'), GeomFromEWKT('SRID=4674;POINT (-39.04572 -3.410303)'))) / (select extract(epoch from '2026-08-04 17:41:25'::timestamp) - extract(epoch from '2026-08-04 17:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045685 -3.41031)', '2026-08-04 17:41:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04572 -3.410303)'), GeomFromEWKT('SRID=4674;POINT (-39.045685 -3.41031)'))) / (select extract(epoch from '2026-08-04 17:41:33'::timestamp) - extract(epoch from '2026-08-04 17:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04572 -3.410303)'), GeomFromEWKT('SRID=4674;POINT (-39.045685 -3.41031)'))) / (select extract(epoch from '2026-08-04 17:41:33'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48136, 'SRID=4674;POINT (-39.045634 -3.410328)', '2026-08-04 17:41:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045685 -3.41031)'), GeomFromEWKT('SRID=4674;POINT (-39.045634 -3.410328)'))) / (select extract(epoch from '2026-08-04 17:41:42'::timestamp) - extract(epoch from '2026-08-04 17:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045685 -3.41031)'), GeomFromEWKT('SRID=4674;POINT (-39.045634 -3.410328)'))) / (select extract(epoch from '2026-08-04 17:41:42'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48136, 'SRID=4674;POINT (-39.045606 -3.410343)', '2026-08-04 17:41:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045634 -3.410328)'), GeomFromEWKT('SRID=4674;POINT (-39.045606 -3.410343)'))) / (select extract(epoch from '2026-08-04 17:41:49'::timestamp) - extract(epoch from '2026-08-04 17:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045634 -3.410328)'), GeomFromEWKT('SRID=4674;POINT (-39.045606 -3.410343)'))) / (select extract(epoch from '2026-08-04 17:41:49'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.045562 -3.410363)', '2026-08-04 17:41:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045606 -3.410343)'), GeomFromEWKT('SRID=4674;POINT (-39.045562 -3.410363)'))) / (select extract(epoch from '2026-08-04 17:41:57'::timestamp) - extract(epoch from '2026-08-04 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045606 -3.410343)'), GeomFromEWKT('SRID=4674;POINT (-39.045562 -3.410363)'))) / (select extract(epoch from '2026-08-04 17:41:57'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48136, 'SRID=4674;POINT (-39.045515 -3.410389)', '2026-08-04 17:42:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045562 -3.410363)'), GeomFromEWKT('SRID=4674;POINT (-39.045515 -3.410389)'))) / (select extract(epoch from '2026-08-04 17:42:06'::timestamp) - extract(epoch from '2026-08-04 17:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045562 -3.410363)'), GeomFromEWKT('SRID=4674;POINT (-39.045515 -3.410389)'))) / (select extract(epoch from '2026-08-04 17:42:06'::timestamp) - extract(epoch from '2026-08-04 17:41: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'), 48136, 'SRID=4674;POINT (-39.045485 -3.410412)', '2026-08-04 17:42:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045515 -3.410389)'), GeomFromEWKT('SRID=4674;POINT (-39.045485 -3.410412)'))) / (select extract(epoch from '2026-08-04 17:42:13'::timestamp) - extract(epoch from '2026-08-04 17:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045515 -3.410389)'), GeomFromEWKT('SRID=4674;POINT (-39.045485 -3.410412)'))) / (select extract(epoch from '2026-08-04 17:42:13'::timestamp) - extract(epoch from '2026-08-04 17:42:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045441 -3.410419)', '2026-08-04 17:42:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045485 -3.410412)'), GeomFromEWKT('SRID=4674;POINT (-39.045441 -3.410419)'))) / (select extract(epoch from '2026-08-04 17:42:20'::timestamp) - extract(epoch from '2026-08-04 17:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045485 -3.410412)'), GeomFromEWKT('SRID=4674;POINT (-39.045441 -3.410419)'))) / (select extract(epoch from '2026-08-04 17:42:20'::timestamp) - extract(epoch from '2026-08-04 17:42:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.0454 -3.410436)', '2026-08-04 17:42:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045441 -3.410419)'), GeomFromEWKT('SRID=4674;POINT (-39.0454 -3.410436)'))) / (select extract(epoch from '2026-08-04 17:42:29'::timestamp) - extract(epoch from '2026-08-04 17:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045441 -3.410419)'), GeomFromEWKT('SRID=4674;POINT (-39.0454 -3.410436)'))) / (select extract(epoch from '2026-08-04 17:42:29'::timestamp) - extract(epoch from '2026-08-04 17:42: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'), 48136, 'SRID=4674;POINT (-39.045359 -3.410436)', '2026-08-04 17:42:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0454 -3.410436)'), GeomFromEWKT('SRID=4674;POINT (-39.045359 -3.410436)'))) / (select extract(epoch from '2026-08-04 17:42:37'::timestamp) - extract(epoch from '2026-08-04 17:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0454 -3.410436)'), GeomFromEWKT('SRID=4674;POINT (-39.045359 -3.410436)'))) / (select extract(epoch from '2026-08-04 17:42:37'::timestamp) - extract(epoch from '2026-08-04 17:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045311 -3.410448)', '2026-08-04 17:42:45', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045359 -3.410436)'), GeomFromEWKT('SRID=4674;POINT (-39.045311 -3.410448)'))) / (select extract(epoch from '2026-08-04 17:42:45'::timestamp) - extract(epoch from '2026-08-04 17:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045359 -3.410436)'), GeomFromEWKT('SRID=4674;POINT (-39.045311 -3.410448)'))) / (select extract(epoch from '2026-08-04 17:42:45'::timestamp) - extract(epoch from '2026-08-04 17:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045265 -3.410458)', '2026-08-04 17:42:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045311 -3.410448)'), GeomFromEWKT('SRID=4674;POINT (-39.045265 -3.410458)'))) / (select extract(epoch from '2026-08-04 17:42:53'::timestamp) - extract(epoch from '2026-08-04 17:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045311 -3.410448)'), GeomFromEWKT('SRID=4674;POINT (-39.045265 -3.410458)'))) / (select extract(epoch from '2026-08-04 17:42:53'::timestamp) - extract(epoch from '2026-08-04 17:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04522 -3.410467)', '2026-08-04 17:43:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045265 -3.410458)'), GeomFromEWKT('SRID=4674;POINT (-39.04522 -3.410467)'))) / (select extract(epoch from '2026-08-04 17:43:00'::timestamp) - extract(epoch from '2026-08-04 17:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045265 -3.410458)'), GeomFromEWKT('SRID=4674;POINT (-39.04522 -3.410467)'))) / (select extract(epoch from '2026-08-04 17:43:00'::timestamp) - extract(epoch from '2026-08-04 17:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045178 -3.410482)', '2026-08-04 17:43:07', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04522 -3.410467)'), GeomFromEWKT('SRID=4674;POINT (-39.045178 -3.410482)'))) / (select extract(epoch from '2026-08-04 17:43:07'::timestamp) - extract(epoch from '2026-08-04 17:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04522 -3.410467)'), GeomFromEWKT('SRID=4674;POINT (-39.045178 -3.410482)'))) / (select extract(epoch from '2026-08-04 17:43:07'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48136, 'SRID=4674;POINT (-39.04513 -3.410491)', '2026-08-04 17:43:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045178 -3.410482)'), GeomFromEWKT('SRID=4674;POINT (-39.04513 -3.410491)'))) / (select extract(epoch from '2026-08-04 17:43:15'::timestamp) - extract(epoch from '2026-08-04 17:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045178 -3.410482)'), GeomFromEWKT('SRID=4674;POINT (-39.04513 -3.410491)'))) / (select extract(epoch from '2026-08-04 17:43:15'::timestamp) - extract(epoch from '2026-08-04 17:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045085 -3.410495)', '2026-08-04 17:43:23', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04513 -3.410491)'), GeomFromEWKT('SRID=4674;POINT (-39.045085 -3.410495)'))) / (select extract(epoch from '2026-08-04 17:43:23'::timestamp) - extract(epoch from '2026-08-04 17:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04513 -3.410491)'), GeomFromEWKT('SRID=4674;POINT (-39.045085 -3.410495)'))) / (select extract(epoch from '2026-08-04 17:43:23'::timestamp) - extract(epoch from '2026-08-04 17:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.045036 -3.4105)', '2026-08-04 17:43:31', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045085 -3.410495)'), GeomFromEWKT('SRID=4674;POINT (-39.045036 -3.4105)'))) / (select extract(epoch from '2026-08-04 17:43:31'::timestamp) - extract(epoch from '2026-08-04 17:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045085 -3.410495)'), GeomFromEWKT('SRID=4674;POINT (-39.045036 -3.4105)'))) / (select extract(epoch from '2026-08-04 17:43:31'::timestamp) - extract(epoch from '2026-08-04 17:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044985 -3.410509)', '2026-08-04 17:43:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045036 -3.4105)'), GeomFromEWKT('SRID=4674;POINT (-39.044985 -3.410509)'))) / (select extract(epoch from '2026-08-04 17:43:39'::timestamp) - extract(epoch from '2026-08-04 17:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045036 -3.4105)'), GeomFromEWKT('SRID=4674;POINT (-39.044985 -3.410509)'))) / (select extract(epoch from '2026-08-04 17:43:39'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48136, 'SRID=4674;POINT (-39.044952 -3.410518)', '2026-08-04 17:43:46', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044985 -3.410509)'), GeomFromEWKT('SRID=4674;POINT (-39.044952 -3.410518)'))) / (select extract(epoch from '2026-08-04 17:43:46'::timestamp) - extract(epoch from '2026-08-04 17:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044985 -3.410509)'), GeomFromEWKT('SRID=4674;POINT (-39.044952 -3.410518)'))) / (select extract(epoch from '2026-08-04 17:43:46'::timestamp) - extract(epoch from '2026-08-04 17:43: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'), 48136, 'SRID=4674;POINT (-39.044906 -3.410522)', '2026-08-04 17:43:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044952 -3.410518)'), GeomFromEWKT('SRID=4674;POINT (-39.044906 -3.410522)'))) / (select extract(epoch from '2026-08-04 17:43:54'::timestamp) - extract(epoch from '2026-08-04 17:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044952 -3.410518)'), GeomFromEWKT('SRID=4674;POINT (-39.044906 -3.410522)'))) / (select extract(epoch from '2026-08-04 17:43:54'::timestamp) - extract(epoch from '2026-08-04 17:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044876 -3.410523)', '2026-08-04 17:44:01', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044906 -3.410522)'), GeomFromEWKT('SRID=4674;POINT (-39.044876 -3.410523)'))) / (select extract(epoch from '2026-08-04 17:44:01'::timestamp) - extract(epoch from '2026-08-04 17:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044906 -3.410522)'), GeomFromEWKT('SRID=4674;POINT (-39.044876 -3.410523)'))) / (select extract(epoch from '2026-08-04 17:44:01'::timestamp) - extract(epoch from '2026-08-04 17:43:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04488 -3.410517)', '2026-08-04 17:44:08', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044876 -3.410523)'), GeomFromEWKT('SRID=4674;POINT (-39.04488 -3.410517)'))) / (select extract(epoch from '2026-08-04 17:44:08'::timestamp) - extract(epoch from '2026-08-04 17:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044876 -3.410523)'), GeomFromEWKT('SRID=4674;POINT (-39.04488 -3.410517)'))) / (select extract(epoch from '2026-08-04 17:44:08'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48136, 'SRID=4674;POINT (-39.044875 -3.410513)', '2026-08-04 17:44:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04488 -3.410517)'), GeomFromEWKT('SRID=4674;POINT (-39.044875 -3.410513)'))) / (select extract(epoch from '2026-08-04 17:44:14'::timestamp) - extract(epoch from '2026-08-04 17:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04488 -3.410517)'), GeomFromEWKT('SRID=4674;POINT (-39.044875 -3.410513)'))) / (select extract(epoch from '2026-08-04 17:44:14'::timestamp) - extract(epoch from '2026-08-04 17:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044846 -3.410518)', '2026-08-04 17:44:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044875 -3.410513)'), GeomFromEWKT('SRID=4674;POINT (-39.044846 -3.410518)'))) / (select extract(epoch from '2026-08-04 17:44:21'::timestamp) - extract(epoch from '2026-08-04 17:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044875 -3.410513)'), GeomFromEWKT('SRID=4674;POINT (-39.044846 -3.410518)'))) / (select extract(epoch from '2026-08-04 17:44:21'::timestamp) - extract(epoch from '2026-08-04 17:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044832 -3.410533)', '2026-08-04 17:44:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044846 -3.410518)'), GeomFromEWKT('SRID=4674;POINT (-39.044832 -3.410533)'))) / (select extract(epoch from '2026-08-04 17:44:24'::timestamp) - extract(epoch from '2026-08-04 17:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044846 -3.410518)'), GeomFromEWKT('SRID=4674;POINT (-39.044832 -3.410533)'))) / (select extract(epoch from '2026-08-04 17:44:24'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48136, 'SRID=4674;POINT (-39.044813 -3.410532)', '2026-08-04 17:44:26', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044832 -3.410533)'), GeomFromEWKT('SRID=4674;POINT (-39.044813 -3.410532)'))) / (select extract(epoch from '2026-08-04 17:44:26'::timestamp) - extract(epoch from '2026-08-04 17:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044832 -3.410533)'), GeomFromEWKT('SRID=4674;POINT (-39.044813 -3.410532)'))) / (select extract(epoch from '2026-08-04 17:44:26'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48136, 'SRID=4674;POINT (-39.04476 -3.410549)', '2026-08-04 17:44:33', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044813 -3.410532)'), GeomFromEWKT('SRID=4674;POINT (-39.04476 -3.410549)'))) / (select extract(epoch from '2026-08-04 17:44:33'::timestamp) - extract(epoch from '2026-08-04 17:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044813 -3.410532)'), GeomFromEWKT('SRID=4674;POINT (-39.04476 -3.410549)'))) / (select extract(epoch from '2026-08-04 17:44:33'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48136, 'SRID=4674;POINT (-39.044731 -3.410553)', '2026-08-04 17:44:36', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04476 -3.410549)'), GeomFromEWKT('SRID=4674;POINT (-39.044731 -3.410553)'))) / (select extract(epoch from '2026-08-04 17:44:36'::timestamp) - extract(epoch from '2026-08-04 17:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04476 -3.410549)'), GeomFromEWKT('SRID=4674;POINT (-39.044731 -3.410553)'))) / (select extract(epoch from '2026-08-04 17:44:36'::timestamp) - extract(epoch from '2026-08-04 17:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044708 -3.410559)', '2026-08-04 17:44:39', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044731 -3.410553)'), GeomFromEWKT('SRID=4674;POINT (-39.044708 -3.410559)'))) / (select extract(epoch from '2026-08-04 17:44:39'::timestamp) - extract(epoch from '2026-08-04 17:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044731 -3.410553)'), GeomFromEWKT('SRID=4674;POINT (-39.044708 -3.410559)'))) / (select extract(epoch from '2026-08-04 17:44:39'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48136, 'SRID=4674;POINT (-39.0447 -3.410564)', '2026-08-04 17:44:40', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044708 -3.410559)'), GeomFromEWKT('SRID=4674;POINT (-39.0447 -3.410564)'))) / (select extract(epoch from '2026-08-04 17:44:40'::timestamp) - extract(epoch from '2026-08-04 17:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044708 -3.410559)'), GeomFromEWKT('SRID=4674;POINT (-39.0447 -3.410564)'))) / (select extract(epoch from '2026-08-04 17:44:40'::timestamp) - extract(epoch from '2026-08-04 17:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044658 -3.410559)', '2026-08-04 17:44:44', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0447 -3.410564)'), GeomFromEWKT('SRID=4674;POINT (-39.044658 -3.410559)'))) / (select extract(epoch from '2026-08-04 17:44:44'::timestamp) - extract(epoch from '2026-08-04 17:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0447 -3.410564)'), GeomFromEWKT('SRID=4674;POINT (-39.044658 -3.410559)'))) / (select extract(epoch from '2026-08-04 17:44:44'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48136, 'SRID=4674;POINT (-39.044611 -3.410558)', '2026-08-04 17:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044658 -3.410559)'), GeomFromEWKT('SRID=4674;POINT (-39.044611 -3.410558)'))) / (select extract(epoch from '2026-08-04 17:44:49'::timestamp) - extract(epoch from '2026-08-04 17:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044658 -3.410559)'), GeomFromEWKT('SRID=4674;POINT (-39.044611 -3.410558)'))) / (select extract(epoch from '2026-08-04 17:44:49'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48136, 'SRID=4674;POINT (-39.044593 -3.410557)', '2026-08-04 17:44:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044611 -3.410558)'), GeomFromEWKT('SRID=4674;POINT (-39.044593 -3.410557)'))) / (select extract(epoch from '2026-08-04 17:44:51'::timestamp) - extract(epoch from '2026-08-04 17:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044611 -3.410558)'), GeomFromEWKT('SRID=4674;POINT (-39.044593 -3.410557)'))) / (select extract(epoch from '2026-08-04 17:44:51'::timestamp) - extract(epoch from '2026-08-04 17:44:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044578 -3.410563)', '2026-08-04 17:44:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044593 -3.410557)'), GeomFromEWKT('SRID=4674;POINT (-39.044578 -3.410563)'))) / (select extract(epoch from '2026-08-04 17:44:53'::timestamp) - extract(epoch from '2026-08-04 17:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044593 -3.410557)'), GeomFromEWKT('SRID=4674;POINT (-39.044578 -3.410563)'))) / (select extract(epoch from '2026-08-04 17:44:53'::timestamp) - extract(epoch from '2026-08-04 17:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044567 -3.410562)', '2026-08-04 17:44:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044578 -3.410563)'), GeomFromEWKT('SRID=4674;POINT (-39.044567 -3.410562)'))) / (select extract(epoch from '2026-08-04 17:44:54'::timestamp) - extract(epoch from '2026-08-04 17:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044578 -3.410563)'), GeomFromEWKT('SRID=4674;POINT (-39.044567 -3.410562)'))) / (select extract(epoch from '2026-08-04 17:44:54'::timestamp) - extract(epoch from '2026-08-04 17:44:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044533 -3.410575)', '2026-08-04 17:44:58', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044567 -3.410562)'), GeomFromEWKT('SRID=4674;POINT (-39.044533 -3.410575)'))) / (select extract(epoch from '2026-08-04 17:44:58'::timestamp) - extract(epoch from '2026-08-04 17:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044567 -3.410562)'), GeomFromEWKT('SRID=4674;POINT (-39.044533 -3.410575)'))) / (select extract(epoch from '2026-08-04 17:44:58'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48136, 'SRID=4674;POINT (-39.044524 -3.410574)', '2026-08-04 17:44:59', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044533 -3.410575)'), GeomFromEWKT('SRID=4674;POINT (-39.044524 -3.410574)'))) / (select extract(epoch from '2026-08-04 17:44:59'::timestamp) - extract(epoch from '2026-08-04 17:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044533 -3.410575)'), GeomFromEWKT('SRID=4674;POINT (-39.044524 -3.410574)'))) / (select extract(epoch from '2026-08-04 17:44:59'::timestamp) - extract(epoch from '2026-08-04 17:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044494 -3.410582)', '2026-08-04 17:45:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044524 -3.410574)'), GeomFromEWKT('SRID=4674;POINT (-39.044494 -3.410582)'))) / (select extract(epoch from '2026-08-04 17:45:04'::timestamp) - extract(epoch from '2026-08-04 17:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044524 -3.410574)'), GeomFromEWKT('SRID=4674;POINT (-39.044494 -3.410582)'))) / (select extract(epoch from '2026-08-04 17:45:04'::timestamp) - extract(epoch from '2026-08-04 17:44: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'), 48136, 'SRID=4674;POINT (-39.044455 -3.410603)', '2026-08-04 17:45:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044494 -3.410582)'), GeomFromEWKT('SRID=4674;POINT (-39.044455 -3.410603)'))) / (select extract(epoch from '2026-08-04 17:45:10'::timestamp) - extract(epoch from '2026-08-04 17:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044494 -3.410582)'), GeomFromEWKT('SRID=4674;POINT (-39.044455 -3.410603)'))) / (select extract(epoch from '2026-08-04 17:45:10'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48136, 'SRID=4674;POINT (-39.044443 -3.410599)', '2026-08-04 17:45:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044455 -3.410603)'), GeomFromEWKT('SRID=4674;POINT (-39.044443 -3.410599)'))) / (select extract(epoch from '2026-08-04 17:45:11'::timestamp) - extract(epoch from '2026-08-04 17:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044455 -3.410603)'), GeomFromEWKT('SRID=4674;POINT (-39.044443 -3.410599)'))) / (select extract(epoch from '2026-08-04 17:45:11'::timestamp) - extract(epoch from '2026-08-04 17:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044427 -3.410599)', '2026-08-04 17:45:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044443 -3.410599)'), GeomFromEWKT('SRID=4674;POINT (-39.044427 -3.410599)'))) / (select extract(epoch from '2026-08-04 17:45:13'::timestamp) - extract(epoch from '2026-08-04 17:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044443 -3.410599)'), GeomFromEWKT('SRID=4674;POINT (-39.044427 -3.410599)'))) / (select extract(epoch from '2026-08-04 17:45:13'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48136, 'SRID=4674;POINT (-39.044415 -3.410605)', '2026-08-04 17:45:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044427 -3.410599)'), GeomFromEWKT('SRID=4674;POINT (-39.044415 -3.410605)'))) / (select extract(epoch from '2026-08-04 17:45:15'::timestamp) - extract(epoch from '2026-08-04 17:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044427 -3.410599)'), GeomFromEWKT('SRID=4674;POINT (-39.044415 -3.410605)'))) / (select extract(epoch from '2026-08-04 17:45:15'::timestamp) - extract(epoch from '2026-08-04 17:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044361 -3.410614)', '2026-08-04 17:45:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044415 -3.410605)'), GeomFromEWKT('SRID=4674;POINT (-39.044361 -3.410614)'))) / (select extract(epoch from '2026-08-04 17:45:23'::timestamp) - extract(epoch from '2026-08-04 17:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044415 -3.410605)'), GeomFromEWKT('SRID=4674;POINT (-39.044361 -3.410614)'))) / (select extract(epoch from '2026-08-04 17:45:23'::timestamp) - extract(epoch from '2026-08-04 17:45:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044312 -3.410623)', '2026-08-04 17:45:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044361 -3.410614)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.410623)'))) / (select extract(epoch from '2026-08-04 17:45:31'::timestamp) - extract(epoch from '2026-08-04 17:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044361 -3.410614)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.410623)'))) / (select extract(epoch from '2026-08-04 17:45:31'::timestamp) - extract(epoch from '2026-08-04 17:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044256 -3.410634)', '2026-08-04 17:45:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.410623)'), GeomFromEWKT('SRID=4674;POINT (-39.044256 -3.410634)'))) / (select extract(epoch from '2026-08-04 17:45:39'::timestamp) - extract(epoch from '2026-08-04 17:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.410623)'), GeomFromEWKT('SRID=4674;POINT (-39.044256 -3.410634)'))) / (select extract(epoch from '2026-08-04 17:45:39'::timestamp) - extract(epoch from '2026-08-04 17:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044207 -3.41065)', '2026-08-04 17:45:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044256 -3.410634)'), GeomFromEWKT('SRID=4674;POINT (-39.044207 -3.41065)'))) / (select extract(epoch from '2026-08-04 17:45:47'::timestamp) - extract(epoch from '2026-08-04 17:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044256 -3.410634)'), GeomFromEWKT('SRID=4674;POINT (-39.044207 -3.41065)'))) / (select extract(epoch from '2026-08-04 17:45:47'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48136, 'SRID=4674;POINT (-39.04418 -3.41068)', '2026-08-04 17:45:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044207 -3.41065)'), GeomFromEWKT('SRID=4674;POINT (-39.04418 -3.41068)'))) / (select extract(epoch from '2026-08-04 17:45:54'::timestamp) - extract(epoch from '2026-08-04 17:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044207 -3.41065)'), GeomFromEWKT('SRID=4674;POINT (-39.04418 -3.41068)'))) / (select extract(epoch from '2026-08-04 17:45:54'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48136, 'SRID=4674;POINT (-39.044159 -3.410677)', '2026-08-04 17:46:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04418 -3.41068)'), GeomFromEWKT('SRID=4674;POINT (-39.044159 -3.410677)'))) / (select extract(epoch from '2026-08-04 17:46:00'::timestamp) - extract(epoch from '2026-08-04 17:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04418 -3.41068)'), GeomFromEWKT('SRID=4674;POINT (-39.044159 -3.410677)'))) / (select extract(epoch from '2026-08-04 17:46:00'::timestamp) - extract(epoch from '2026-08-04 17:45: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'), 48136, 'SRID=4674;POINT (-39.044119 -3.410674)', '2026-08-04 17:46:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044159 -3.410677)'), GeomFromEWKT('SRID=4674;POINT (-39.044119 -3.410674)'))) / (select extract(epoch from '2026-08-04 17:46:10'::timestamp) - extract(epoch from '2026-08-04 17:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044159 -3.410677)'), GeomFromEWKT('SRID=4674;POINT (-39.044119 -3.410674)'))) / (select extract(epoch from '2026-08-04 17:46:10'::timestamp) - extract(epoch from '2026-08-04 17:46: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'), 48136, 'SRID=4674;POINT (-39.044082 -3.410685)', '2026-08-04 17:46:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044119 -3.410674)'), GeomFromEWKT('SRID=4674;POINT (-39.044082 -3.410685)'))) / (select extract(epoch from '2026-08-04 17:46:18'::timestamp) - extract(epoch from '2026-08-04 17:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044119 -3.410674)'), GeomFromEWKT('SRID=4674;POINT (-39.044082 -3.410685)'))) / (select extract(epoch from '2026-08-04 17:46:18'::timestamp) - extract(epoch from '2026-08-04 17:46: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'), 48136, 'SRID=4674;POINT (-39.044059 -3.410689)', '2026-08-04 17:46:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044082 -3.410685)'), GeomFromEWKT('SRID=4674;POINT (-39.044059 -3.410689)'))) / (select extract(epoch from '2026-08-04 17:46:25'::timestamp) - extract(epoch from '2026-08-04 17:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044082 -3.410685)'), GeomFromEWKT('SRID=4674;POINT (-39.044059 -3.410689)'))) / (select extract(epoch from '2026-08-04 17:46:25'::timestamp) - extract(epoch from '2026-08-04 17:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.044036 -3.410692)', '2026-08-04 17:46:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044059 -3.410689)'), GeomFromEWKT('SRID=4674;POINT (-39.044036 -3.410692)'))) / (select extract(epoch from '2026-08-04 17:46:35'::timestamp) - extract(epoch from '2026-08-04 17:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044059 -3.410689)'), GeomFromEWKT('SRID=4674;POINT (-39.044036 -3.410692)'))) / (select extract(epoch from '2026-08-04 17:46:35'::timestamp) - extract(epoch from '2026-08-04 17:46: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'), 48136, 'SRID=4674;POINT (-39.044017 -3.410707)', '2026-08-04 17:46:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044036 -3.410692)'), GeomFromEWKT('SRID=4674;POINT (-39.044017 -3.410707)'))) / (select extract(epoch from '2026-08-04 17:46:42'::timestamp) - extract(epoch from '2026-08-04 17:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044036 -3.410692)'), GeomFromEWKT('SRID=4674;POINT (-39.044017 -3.410707)'))) / (select extract(epoch from '2026-08-04 17:46:42'::timestamp) - extract(epoch from '2026-08-04 17:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043977 -3.410733)', '2026-08-04 17:46:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044017 -3.410707)'), GeomFromEWKT('SRID=4674;POINT (-39.043977 -3.410733)'))) / (select extract(epoch from '2026-08-04 17:46:50'::timestamp) - extract(epoch from '2026-08-04 17:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044017 -3.410707)'), GeomFromEWKT('SRID=4674;POINT (-39.043977 -3.410733)'))) / (select extract(epoch from '2026-08-04 17:46:50'::timestamp) - extract(epoch from '2026-08-04 17:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043942 -3.410761)', '2026-08-04 17:46:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043977 -3.410733)'), GeomFromEWKT('SRID=4674;POINT (-39.043942 -3.410761)'))) / (select extract(epoch from '2026-08-04 17:46:57'::timestamp) - extract(epoch from '2026-08-04 17:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043977 -3.410733)'), GeomFromEWKT('SRID=4674;POINT (-39.043942 -3.410761)'))) / (select extract(epoch from '2026-08-04 17:46:57'::timestamp) - extract(epoch from '2026-08-04 17:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043883 -3.410778)', '2026-08-04 17:47:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043942 -3.410761)'), GeomFromEWKT('SRID=4674;POINT (-39.043883 -3.410778)'))) / (select extract(epoch from '2026-08-04 17:47:05'::timestamp) - extract(epoch from '2026-08-04 17:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043942 -3.410761)'), GeomFromEWKT('SRID=4674;POINT (-39.043883 -3.410778)'))) / (select extract(epoch from '2026-08-04 17:47:05'::timestamp) - extract(epoch from '2026-08-04 17:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043823 -3.410795)', '2026-08-04 17:47:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043883 -3.410778)'), GeomFromEWKT('SRID=4674;POINT (-39.043823 -3.410795)'))) / (select extract(epoch from '2026-08-04 17:47:15'::timestamp) - extract(epoch from '2026-08-04 17:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043883 -3.410778)'), GeomFromEWKT('SRID=4674;POINT (-39.043823 -3.410795)'))) / (select extract(epoch from '2026-08-04 17:47:15'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48136, 'SRID=4674;POINT (-39.043778 -3.410815)', '2026-08-04 17:47:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043823 -3.410795)'), GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.410815)'))) / (select extract(epoch from '2026-08-04 17:47:23'::timestamp) - extract(epoch from '2026-08-04 17:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043823 -3.410795)'), GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.410815)'))) / (select extract(epoch from '2026-08-04 17:47:23'::timestamp) - extract(epoch from '2026-08-04 17:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043722 -3.410831)', '2026-08-04 17:47:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.410815)'), GeomFromEWKT('SRID=4674;POINT (-39.043722 -3.410831)'))) / (select extract(epoch from '2026-08-04 17:47:32'::timestamp) - extract(epoch from '2026-08-04 17:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043778 -3.410815)'), GeomFromEWKT('SRID=4674;POINT (-39.043722 -3.410831)'))) / (select extract(epoch from '2026-08-04 17:47:32'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48136, 'SRID=4674;POINT (-39.043683 -3.410853)', '2026-08-04 17:47:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043722 -3.410831)'), GeomFromEWKT('SRID=4674;POINT (-39.043683 -3.410853)'))) / (select extract(epoch from '2026-08-04 17:47:39'::timestamp) - extract(epoch from '2026-08-04 17:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043722 -3.410831)'), GeomFromEWKT('SRID=4674;POINT (-39.043683 -3.410853)'))) / (select extract(epoch from '2026-08-04 17:47:39'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48136, 'SRID=4674;POINT (-39.043636 -3.410869)', '2026-08-04 17:47:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043683 -3.410853)'), GeomFromEWKT('SRID=4674;POINT (-39.043636 -3.410869)'))) / (select extract(epoch from '2026-08-04 17:47:47'::timestamp) - extract(epoch from '2026-08-04 17:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043683 -3.410853)'), GeomFromEWKT('SRID=4674;POINT (-39.043636 -3.410869)'))) / (select extract(epoch from '2026-08-04 17:47:47'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48136, 'SRID=4674;POINT (-39.043596 -3.41088)', '2026-08-04 17:47:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043636 -3.410869)'), GeomFromEWKT('SRID=4674;POINT (-39.043596 -3.41088)'))) / (select extract(epoch from '2026-08-04 17:47:54'::timestamp) - extract(epoch from '2026-08-04 17:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043636 -3.410869)'), GeomFromEWKT('SRID=4674;POINT (-39.043596 -3.41088)'))) / (select extract(epoch from '2026-08-04 17:47:54'::timestamp) - extract(epoch from '2026-08-04 17:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04354 -3.410892)', '2026-08-04 17:48:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043596 -3.41088)'), GeomFromEWKT('SRID=4674;POINT (-39.04354 -3.410892)'))) / (select extract(epoch from '2026-08-04 17:48:03'::timestamp) - extract(epoch from '2026-08-04 17:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043596 -3.41088)'), GeomFromEWKT('SRID=4674;POINT (-39.04354 -3.410892)'))) / (select extract(epoch from '2026-08-04 17:48:03'::timestamp) - extract(epoch from '2026-08-04 17:47: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'), 48136, 'SRID=4674;POINT (-39.043489 -3.410909)', '2026-08-04 17:48:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04354 -3.410892)'), GeomFromEWKT('SRID=4674;POINT (-39.043489 -3.410909)'))) / (select extract(epoch from '2026-08-04 17:48:13'::timestamp) - extract(epoch from '2026-08-04 17:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04354 -3.410892)'), GeomFromEWKT('SRID=4674;POINT (-39.043489 -3.410909)'))) / (select extract(epoch from '2026-08-04 17:48:13'::timestamp) - extract(epoch from '2026-08-04 17:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043431 -3.410922)', '2026-08-04 17:48:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043489 -3.410909)'), GeomFromEWKT('SRID=4674;POINT (-39.043431 -3.410922)'))) / (select extract(epoch from '2026-08-04 17:48:23'::timestamp) - extract(epoch from '2026-08-04 17:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043489 -3.410909)'), GeomFromEWKT('SRID=4674;POINT (-39.043431 -3.410922)'))) / (select extract(epoch from '2026-08-04 17:48:23'::timestamp) - extract(epoch from '2026-08-04 17:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043378 -3.410942)', '2026-08-04 17:48:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043431 -3.410922)'), GeomFromEWKT('SRID=4674;POINT (-39.043378 -3.410942)'))) / (select extract(epoch from '2026-08-04 17:48:31'::timestamp) - extract(epoch from '2026-08-04 17:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043431 -3.410922)'), GeomFromEWKT('SRID=4674;POINT (-39.043378 -3.410942)'))) / (select extract(epoch from '2026-08-04 17:48:31'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48136, 'SRID=4674;POINT (-39.043308 -3.410982)', '2026-08-04 17:48:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043378 -3.410942)'), GeomFromEWKT('SRID=4674;POINT (-39.043308 -3.410982)'))) / (select extract(epoch from '2026-08-04 17:48:42'::timestamp) - extract(epoch from '2026-08-04 17:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043378 -3.410942)'), GeomFromEWKT('SRID=4674;POINT (-39.043308 -3.410982)'))) / (select extract(epoch from '2026-08-04 17:48:42'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48136, 'SRID=4674;POINT (-39.043295 -3.410991)', '2026-08-04 17:48:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043308 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.043295 -3.410991)'))) / (select extract(epoch from '2026-08-04 17:48:44'::timestamp) - extract(epoch from '2026-08-04 17:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043308 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.043295 -3.410991)'))) / (select extract(epoch from '2026-08-04 17:48:44'::timestamp) - extract(epoch from '2026-08-04 17:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04327 -3.410998)', '2026-08-04 17:48:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043295 -3.410991)'), GeomFromEWKT('SRID=4674;POINT (-39.04327 -3.410998)'))) / (select extract(epoch from '2026-08-04 17:48:47'::timestamp) - extract(epoch from '2026-08-04 17:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043295 -3.410991)'), GeomFromEWKT('SRID=4674;POINT (-39.04327 -3.410998)'))) / (select extract(epoch from '2026-08-04 17:48:47'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48136, 'SRID=4674;POINT (-39.043264 -3.411005)', '2026-08-04 17:48:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04327 -3.410998)'), GeomFromEWKT('SRID=4674;POINT (-39.043264 -3.411005)'))) / (select extract(epoch from '2026-08-04 17:48:48'::timestamp) - extract(epoch from '2026-08-04 17:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04327 -3.410998)'), GeomFromEWKT('SRID=4674;POINT (-39.043264 -3.411005)'))) / (select extract(epoch from '2026-08-04 17:48:48'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48136, 'SRID=4674;POINT (-39.043211 -3.411017)', '2026-08-04 17:48:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043264 -3.411005)'), GeomFromEWKT('SRID=4674;POINT (-39.043211 -3.411017)'))) / (select extract(epoch from '2026-08-04 17:48:54'::timestamp) - extract(epoch from '2026-08-04 17:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043264 -3.411005)'), GeomFromEWKT('SRID=4674;POINT (-39.043211 -3.411017)'))) / (select extract(epoch from '2026-08-04 17:48:54'::timestamp) - extract(epoch from '2026-08-04 17:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043206 -3.411022)', '2026-08-04 17:48:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043211 -3.411017)'), GeomFromEWKT('SRID=4674;POINT (-39.043206 -3.411022)'))) / (select extract(epoch from '2026-08-04 17:48:55'::timestamp) - extract(epoch from '2026-08-04 17:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043211 -3.411017)'), GeomFromEWKT('SRID=4674;POINT (-39.043206 -3.411022)'))) / (select extract(epoch from '2026-08-04 17:48:55'::timestamp) - extract(epoch from '2026-08-04 17:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043136 -3.41105)', '2026-08-04 17:49:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043206 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.41105)'))) / (select extract(epoch from '2026-08-04 17:49:04'::timestamp) - extract(epoch from '2026-08-04 17:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043206 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.41105)'))) / (select extract(epoch from '2026-08-04 17:49:04'::timestamp) - extract(epoch from '2026-08-04 17:48: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'), 48136, 'SRID=4674;POINT (-39.04313 -3.411058)', '2026-08-04 17:49:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.41105)'), GeomFromEWKT('SRID=4674;POINT (-39.04313 -3.411058)'))) / (select extract(epoch from '2026-08-04 17:49:05'::timestamp) - extract(epoch from '2026-08-04 17:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.41105)'), GeomFromEWKT('SRID=4674;POINT (-39.04313 -3.411058)'))) / (select extract(epoch from '2026-08-04 17:49:05'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48136, 'SRID=4674;POINT (-39.043112 -3.411076)', '2026-08-04 17:49:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04313 -3.411058)'), GeomFromEWKT('SRID=4674;POINT (-39.043112 -3.411076)'))) / (select extract(epoch from '2026-08-04 17:49:08'::timestamp) - extract(epoch from '2026-08-04 17:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04313 -3.411058)'), GeomFromEWKT('SRID=4674;POINT (-39.043112 -3.411076)'))) / (select extract(epoch from '2026-08-04 17:49:08'::timestamp) - extract(epoch from '2026-08-04 17:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.043039 -3.411102)', '2026-08-04 17:49:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043112 -3.411076)'), GeomFromEWKT('SRID=4674;POINT (-39.043039 -3.411102)'))) / (select extract(epoch from '2026-08-04 17:49:16'::timestamp) - extract(epoch from '2026-08-04 17:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043112 -3.411076)'), GeomFromEWKT('SRID=4674;POINT (-39.043039 -3.411102)'))) / (select extract(epoch from '2026-08-04 17:49:16'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48136, 'SRID=4674;POINT (-39.042996 -3.41112)', '2026-08-04 17:49:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043039 -3.411102)'), GeomFromEWKT('SRID=4674;POINT (-39.042996 -3.41112)'))) / (select extract(epoch from '2026-08-04 17:49:22'::timestamp) - extract(epoch from '2026-08-04 17:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043039 -3.411102)'), GeomFromEWKT('SRID=4674;POINT (-39.042996 -3.41112)'))) / (select extract(epoch from '2026-08-04 17:49:22'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48136, 'SRID=4674;POINT (-39.042941 -3.41114)', '2026-08-04 17:49:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042996 -3.41112)'), GeomFromEWKT('SRID=4674;POINT (-39.042941 -3.41114)'))) / (select extract(epoch from '2026-08-04 17:49:30'::timestamp) - extract(epoch from '2026-08-04 17:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042996 -3.41112)'), GeomFromEWKT('SRID=4674;POINT (-39.042941 -3.41114)'))) / (select extract(epoch from '2026-08-04 17:49:30'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48136, 'SRID=4674;POINT (-39.04289 -3.411162)', '2026-08-04 17:49:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042941 -3.41114)'), GeomFromEWKT('SRID=4674;POINT (-39.04289 -3.411162)'))) / (select extract(epoch from '2026-08-04 17:49:37'::timestamp) - extract(epoch from '2026-08-04 17:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042941 -3.41114)'), GeomFromEWKT('SRID=4674;POINT (-39.04289 -3.411162)'))) / (select extract(epoch from '2026-08-04 17:49:37'::timestamp) - extract(epoch from '2026-08-04 17:49:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042874 -3.411169)', '2026-08-04 17:49:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04289 -3.411162)'), GeomFromEWKT('SRID=4674;POINT (-39.042874 -3.411169)'))) / (select extract(epoch from '2026-08-04 17:49:39'::timestamp) - extract(epoch from '2026-08-04 17:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04289 -3.411162)'), GeomFromEWKT('SRID=4674;POINT (-39.042874 -3.411169)'))) / (select extract(epoch from '2026-08-04 17:49:39'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48136, 'SRID=4674;POINT (-39.042827 -3.411184)', '2026-08-04 17:49:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042874 -3.411169)'), GeomFromEWKT('SRID=4674;POINT (-39.042827 -3.411184)'))) / (select extract(epoch from '2026-08-04 17:49:45'::timestamp) - extract(epoch from '2026-08-04 17:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042874 -3.411169)'), GeomFromEWKT('SRID=4674;POINT (-39.042827 -3.411184)'))) / (select extract(epoch from '2026-08-04 17:49:45'::timestamp) - extract(epoch from '2026-08-04 17:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042811 -3.411196)', '2026-08-04 17:49:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042827 -3.411184)'), GeomFromEWKT('SRID=4674;POINT (-39.042811 -3.411196)'))) / (select extract(epoch from '2026-08-04 17:49:47'::timestamp) - extract(epoch from '2026-08-04 17:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042827 -3.411184)'), GeomFromEWKT('SRID=4674;POINT (-39.042811 -3.411196)'))) / (select extract(epoch from '2026-08-04 17:49:47'::timestamp) - extract(epoch from '2026-08-04 17:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042802 -3.411199)', '2026-08-04 17:49:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042811 -3.411196)'), GeomFromEWKT('SRID=4674;POINT (-39.042802 -3.411199)'))) / (select extract(epoch from '2026-08-04 17:49:48'::timestamp) - extract(epoch from '2026-08-04 17:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042811 -3.411196)'), GeomFromEWKT('SRID=4674;POINT (-39.042802 -3.411199)'))) / (select extract(epoch from '2026-08-04 17:49:48'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48136, 'SRID=4674;POINT (-39.042763 -3.411198)', '2026-08-04 17:49:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042802 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042763 -3.411198)'))) / (select extract(epoch from '2026-08-04 17:49:53'::timestamp) - extract(epoch from '2026-08-04 17:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042802 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042763 -3.411198)'))) / (select extract(epoch from '2026-08-04 17:49:53'::timestamp) - extract(epoch from '2026-08-04 17:49: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'), 48136, 'SRID=4674;POINT (-39.042703 -3.411188)', '2026-08-04 17:50:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042763 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042703 -3.411188)'))) / (select extract(epoch from '2026-08-04 17:50:02'::timestamp) - extract(epoch from '2026-08-04 17:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042763 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042703 -3.411188)'))) / (select extract(epoch from '2026-08-04 17:50:02'::timestamp) - extract(epoch from '2026-08-04 17:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042628 -3.411191)', '2026-08-04 17:50:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042703 -3.411188)'), GeomFromEWKT('SRID=4674;POINT (-39.042628 -3.411191)'))) / (select extract(epoch from '2026-08-04 17:50:13'::timestamp) - extract(epoch from '2026-08-04 17:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042703 -3.411188)'), GeomFromEWKT('SRID=4674;POINT (-39.042628 -3.411191)'))) / (select extract(epoch from '2026-08-04 17:50:13'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48136, 'SRID=4674;POINT (-39.042575 -3.411199)', '2026-08-04 17:50:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042628 -3.411191)'), GeomFromEWKT('SRID=4674;POINT (-39.042575 -3.411199)'))) / (select extract(epoch from '2026-08-04 17:50:20'::timestamp) - extract(epoch from '2026-08-04 17:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042628 -3.411191)'), GeomFromEWKT('SRID=4674;POINT (-39.042575 -3.411199)'))) / (select extract(epoch from '2026-08-04 17:50:20'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48136, 'SRID=4674;POINT (-39.042508 -3.411201)', '2026-08-04 17:50:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042575 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042508 -3.411201)'))) / (select extract(epoch from '2026-08-04 17:50:29'::timestamp) - extract(epoch from '2026-08-04 17:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042575 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042508 -3.411201)'))) / (select extract(epoch from '2026-08-04 17:50:29'::timestamp) - extract(epoch from '2026-08-04 17:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042453 -3.411199)', '2026-08-04 17:50:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042508 -3.411201)'), GeomFromEWKT('SRID=4674;POINT (-39.042453 -3.411199)'))) / (select extract(epoch from '2026-08-04 17:50:36'::timestamp) - extract(epoch from '2026-08-04 17:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042508 -3.411201)'), GeomFromEWKT('SRID=4674;POINT (-39.042453 -3.411199)'))) / (select extract(epoch from '2026-08-04 17:50:36'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48136, 'SRID=4674;POINT (-39.042408 -3.411198)', '2026-08-04 17:50:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042453 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042408 -3.411198)'))) / (select extract(epoch from '2026-08-04 17:50:42'::timestamp) - extract(epoch from '2026-08-04 17:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042453 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042408 -3.411198)'))) / (select extract(epoch from '2026-08-04 17:50:42'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48136, 'SRID=4674;POINT (-39.042373 -3.411182)', '2026-08-04 17:50:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042408 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042373 -3.411182)'))) / (select extract(epoch from '2026-08-04 17:50:48'::timestamp) - extract(epoch from '2026-08-04 17:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042408 -3.411198)'), GeomFromEWKT('SRID=4674;POINT (-39.042373 -3.411182)'))) / (select extract(epoch from '2026-08-04 17:50:48'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48136, 'SRID=4674;POINT (-39.042328 -3.411138)', '2026-08-04 17:50:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042373 -3.411182)'), GeomFromEWKT('SRID=4674;POINT (-39.042328 -3.411138)'))) / (select extract(epoch from '2026-08-04 17:50:58'::timestamp) - extract(epoch from '2026-08-04 17:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042373 -3.411182)'), GeomFromEWKT('SRID=4674;POINT (-39.042328 -3.411138)'))) / (select extract(epoch from '2026-08-04 17:50:58'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48136, 'SRID=4674;POINT (-39.042264 -3.411114)', '2026-08-04 17:51:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042328 -3.411138)'), GeomFromEWKT('SRID=4674;POINT (-39.042264 -3.411114)'))) / (select extract(epoch from '2026-08-04 17:51:08'::timestamp) - extract(epoch from '2026-08-04 17:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042328 -3.411138)'), GeomFromEWKT('SRID=4674;POINT (-39.042264 -3.411114)'))) / (select extract(epoch from '2026-08-04 17:51:08'::timestamp) - extract(epoch from '2026-08-04 17:50: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'), 48136, 'SRID=4674;POINT (-39.042227 -3.411096)', '2026-08-04 17:51:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042264 -3.411114)'), GeomFromEWKT('SRID=4674;POINT (-39.042227 -3.411096)'))) / (select extract(epoch from '2026-08-04 17:51:15'::timestamp) - extract(epoch from '2026-08-04 17:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042264 -3.411114)'), GeomFromEWKT('SRID=4674;POINT (-39.042227 -3.411096)'))) / (select extract(epoch from '2026-08-04 17:51:15'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48136, 'SRID=4674;POINT (-39.042208 -3.411084)', '2026-08-04 17:51:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042227 -3.411096)'), GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.411084)'))) / (select extract(epoch from '2026-08-04 17:51:22'::timestamp) - extract(epoch from '2026-08-04 17:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042227 -3.411096)'), GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.411084)'))) / (select extract(epoch from '2026-08-04 17:51:22'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48136, 'SRID=4674;POINT (-39.042202 -3.411087)', '2026-08-04 17:51:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.411084)'), GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.411087)'))) / (select extract(epoch from '2026-08-04 17:51:28'::timestamp) - extract(epoch from '2026-08-04 17:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.411084)'), GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.411087)'))) / (select extract(epoch from '2026-08-04 17:51:28'::timestamp) - extract(epoch from '2026-08-04 17:51:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042189 -3.411106)', '2026-08-04 17:51:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.411087)'), GeomFromEWKT('SRID=4674;POINT (-39.042189 -3.411106)'))) / (select extract(epoch from '2026-08-04 17:51:38'::timestamp) - extract(epoch from '2026-08-04 17:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042202 -3.411087)'), GeomFromEWKT('SRID=4674;POINT (-39.042189 -3.411106)'))) / (select extract(epoch from '2026-08-04 17:51:38'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48136, 'SRID=4674;POINT (-39.042175 -3.411113)', '2026-08-04 17:51:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042189 -3.411106)'), GeomFromEWKT('SRID=4674;POINT (-39.042175 -3.411113)'))) / (select extract(epoch from '2026-08-04 17:51:47'::timestamp) - extract(epoch from '2026-08-04 17:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042189 -3.411106)'), GeomFromEWKT('SRID=4674;POINT (-39.042175 -3.411113)'))) / (select extract(epoch from '2026-08-04 17:51:47'::timestamp) - extract(epoch from '2026-08-04 17:51:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042131 -3.411114)', '2026-08-04 17:51:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042175 -3.411113)'), GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.411114)'))) / (select extract(epoch from '2026-08-04 17:51:57'::timestamp) - extract(epoch from '2026-08-04 17:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042175 -3.411113)'), GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.411114)'))) / (select extract(epoch from '2026-08-04 17:51:57'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48136, 'SRID=4674;POINT (-39.042098 -3.411106)', '2026-08-04 17:52:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.411114)'), GeomFromEWKT('SRID=4674;POINT (-39.042098 -3.411106)'))) / (select extract(epoch from '2026-08-04 17:52:09'::timestamp) - extract(epoch from '2026-08-04 17:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042131 -3.411114)'), GeomFromEWKT('SRID=4674;POINT (-39.042098 -3.411106)'))) / (select extract(epoch from '2026-08-04 17:52:09'::timestamp) - extract(epoch from '2026-08-04 17:51: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'), 48136, 'SRID=4674;POINT (-39.042053 -3.411077)', '2026-08-04 17:52:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042098 -3.411106)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.411077)'))) / (select extract(epoch from '2026-08-04 17:52:19'::timestamp) - extract(epoch from '2026-08-04 17:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042098 -3.411106)'), GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.411077)'))) / (select extract(epoch from '2026-08-04 17:52:19'::timestamp) - extract(epoch from '2026-08-04 17:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042023 -3.411053)', '2026-08-04 17:52:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.411077)'), GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.411053)'))) / (select extract(epoch from '2026-08-04 17:52:29'::timestamp) - extract(epoch from '2026-08-04 17:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042053 -3.411077)'), GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.411053)'))) / (select extract(epoch from '2026-08-04 17:52:29'::timestamp) - extract(epoch from '2026-08-04 17:52:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042024 -3.411042)', '2026-08-04 17:52:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.411053)'), GeomFromEWKT('SRID=4674;POINT (-39.042024 -3.411042)'))) / (select extract(epoch from '2026-08-04 17:52:44'::timestamp) - extract(epoch from '2026-08-04 17:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042023 -3.411053)'), GeomFromEWKT('SRID=4674;POINT (-39.042024 -3.411042)'))) / (select extract(epoch from '2026-08-04 17:52:44'::timestamp) - extract(epoch from '2026-08-04 17:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042027 -3.411047)', '2026-08-04 17:52:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042024 -3.411042)'), GeomFromEWKT('SRID=4674;POINT (-39.042027 -3.411047)'))) / (select extract(epoch from '2026-08-04 17:52:54'::timestamp) - extract(epoch from '2026-08-04 17:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042024 -3.411042)'), GeomFromEWKT('SRID=4674;POINT (-39.042027 -3.411047)'))) / (select extract(epoch from '2026-08-04 17:52:54'::timestamp) - extract(epoch from '2026-08-04 17:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042032 -3.411044)', '2026-08-04 17:53:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042027 -3.411047)'), GeomFromEWKT('SRID=4674;POINT (-39.042032 -3.411044)'))) / (select extract(epoch from '2026-08-04 17:53:07'::timestamp) - extract(epoch from '2026-08-04 17:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042027 -3.411047)'), GeomFromEWKT('SRID=4674;POINT (-39.042032 -3.411044)'))) / (select extract(epoch from '2026-08-04 17:53:07'::timestamp) - extract(epoch from '2026-08-04 17:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042043 -3.411034)', '2026-08-04 17:53:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042032 -3.411044)'), GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.411034)'))) / (select extract(epoch from '2026-08-04 17:53:22'::timestamp) - extract(epoch from '2026-08-04 17:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042032 -3.411044)'), GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.411034)'))) / (select extract(epoch from '2026-08-04 17:53:22'::timestamp) - extract(epoch from '2026-08-04 17:53: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'), 48136, 'SRID=4674;POINT (-39.042046 -3.411017)', '2026-08-04 17:53:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.411034)'), GeomFromEWKT('SRID=4674;POINT (-39.042046 -3.411017)'))) / (select extract(epoch from '2026-08-04 17:53:40'::timestamp) - extract(epoch from '2026-08-04 17:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042043 -3.411034)'), GeomFromEWKT('SRID=4674;POINT (-39.042046 -3.411017)'))) / (select extract(epoch from '2026-08-04 17:53:40'::timestamp) - extract(epoch from '2026-08-04 17:53:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042045 -3.410999)', '2026-08-04 17:53:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042046 -3.411017)'), GeomFromEWKT('SRID=4674;POINT (-39.042045 -3.410999)'))) / (select extract(epoch from '2026-08-04 17:53:57'::timestamp) - extract(epoch from '2026-08-04 17:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042046 -3.411017)'), GeomFromEWKT('SRID=4674;POINT (-39.042045 -3.410999)'))) / (select extract(epoch from '2026-08-04 17:53:57'::timestamp) - extract(epoch from '2026-08-04 17:53: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'), 48136, 'SRID=4674;POINT (-39.041998 -3.410986)', '2026-08-04 17:54:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042045 -3.410999)'), GeomFromEWKT('SRID=4674;POINT (-39.041998 -3.410986)'))) / (select extract(epoch from '2026-08-04 17:54:16'::timestamp) - extract(epoch from '2026-08-04 17:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042045 -3.410999)'), GeomFromEWKT('SRID=4674;POINT (-39.041998 -3.410986)'))) / (select extract(epoch from '2026-08-04 17:54:16'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.042011 -3.410964)', '2026-08-04 17:54:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041998 -3.410986)'), GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410964)'))) / (select extract(epoch from '2026-08-04 17:54:37'::timestamp) - extract(epoch from '2026-08-04 17:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041998 -3.410986)'), GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410964)'))) / (select extract(epoch from '2026-08-04 17:54:37'::timestamp) - extract(epoch from '2026-08-04 17:54: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'), 48136, 'SRID=4674;POINT (-39.042041 -3.410966)', '2026-08-04 17:54:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.042041 -3.410966)'))) / (select extract(epoch from '2026-08-04 17:54:52'::timestamp) - extract(epoch from '2026-08-04 17:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410964)'), GeomFromEWKT('SRID=4674;POINT (-39.042041 -3.410966)'))) / (select extract(epoch from '2026-08-04 17:54:52'::timestamp) - extract(epoch from '2026-08-04 17:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042072 -3.41097)', '2026-08-04 17:55:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042041 -3.410966)'), GeomFromEWKT('SRID=4674;POINT (-39.042072 -3.41097)'))) / (select extract(epoch from '2026-08-04 17:55:16'::timestamp) - extract(epoch from '2026-08-04 17:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042041 -3.410966)'), GeomFromEWKT('SRID=4674;POINT (-39.042072 -3.41097)'))) / (select extract(epoch from '2026-08-04 17:55:16'::timestamp) - extract(epoch from '2026-08-04 17:54: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'), 48136, 'SRID=4674;POINT (-39.042121 -3.410981)', '2026-08-04 17:55:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042072 -3.41097)'), GeomFromEWKT('SRID=4674;POINT (-39.042121 -3.410981)'))) / (select extract(epoch from '2026-08-04 17:55:47'::timestamp) - extract(epoch from '2026-08-04 17:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042072 -3.41097)'), GeomFromEWKT('SRID=4674;POINT (-39.042121 -3.410981)'))) / (select extract(epoch from '2026-08-04 17:55:47'::timestamp) - extract(epoch from '2026-08-04 17:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042137 -3.410986)', '2026-08-04 17:56:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042121 -3.410981)'), GeomFromEWKT('SRID=4674;POINT (-39.042137 -3.410986)'))) / (select extract(epoch from '2026-08-04 17:56:02'::timestamp) - extract(epoch from '2026-08-04 17:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042121 -3.410981)'), GeomFromEWKT('SRID=4674;POINT (-39.042137 -3.410986)'))) / (select extract(epoch from '2026-08-04 17:56:02'::timestamp) - extract(epoch from '2026-08-04 17:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042166 -3.410982)', '2026-08-04 17:56:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042137 -3.410986)'), GeomFromEWKT('SRID=4674;POINT (-39.042166 -3.410982)'))) / (select extract(epoch from '2026-08-04 17:56:16'::timestamp) - extract(epoch from '2026-08-04 17:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042137 -3.410986)'), GeomFromEWKT('SRID=4674;POINT (-39.042166 -3.410982)'))) / (select extract(epoch from '2026-08-04 17:56:16'::timestamp) - extract(epoch from '2026-08-04 17:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04217 -3.410987)', '2026-08-04 17:56:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042166 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410987)'))) / (select extract(epoch from '2026-08-04 17:56:26'::timestamp) - extract(epoch from '2026-08-04 17:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042166 -3.410982)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410987)'))) / (select extract(epoch from '2026-08-04 17:56:26'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48136, 'SRID=4674;POINT (-39.042179 -3.410985)', '2026-08-04 17:56:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410987)'), GeomFromEWKT('SRID=4674;POINT (-39.042179 -3.410985)'))) / (select extract(epoch from '2026-08-04 17:56:36'::timestamp) - extract(epoch from '2026-08-04 17:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.410987)'), GeomFromEWKT('SRID=4674;POINT (-39.042179 -3.410985)'))) / (select extract(epoch from '2026-08-04 17:56:36'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48136, 'SRID=4674;POINT (-39.042195 -3.410989)', '2026-08-04 17:56:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042179 -3.410985)'), GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.410989)'))) / (select extract(epoch from '2026-08-04 17:56:44'::timestamp) - extract(epoch from '2026-08-04 17:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042179 -3.410985)'), GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.410989)'))) / (select extract(epoch from '2026-08-04 17:56:44'::timestamp) - extract(epoch from '2026-08-04 17:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042218 -3.410987)', '2026-08-04 17:56:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.410989)'), GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.410987)'))) / (select extract(epoch from '2026-08-04 17:56:56'::timestamp) - extract(epoch from '2026-08-04 17:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042195 -3.410989)'), GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.410987)'))) / (select extract(epoch from '2026-08-04 17:56:56'::timestamp) - extract(epoch from '2026-08-04 17:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.04224 -3.410987)', '2026-08-04 17:57:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.410987)'), GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.410987)'))) / (select extract(epoch from '2026-08-04 17:57:07'::timestamp) - extract(epoch from '2026-08-04 17:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042218 -3.410987)'), GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.410987)'))) / (select extract(epoch from '2026-08-04 17:57:07'::timestamp) - extract(epoch from '2026-08-04 17:56: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'), 48136, 'SRID=4674;POINT (-39.042282 -3.410988)', '2026-08-04 17:57:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.410987)'), GeomFromEWKT('SRID=4674;POINT (-39.042282 -3.410988)'))) / (select extract(epoch from '2026-08-04 17:57:30'::timestamp) - extract(epoch from '2026-08-04 17:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04224 -3.410987)'), GeomFromEWKT('SRID=4674;POINT (-39.042282 -3.410988)'))) / (select extract(epoch from '2026-08-04 17:57:30'::timestamp) - extract(epoch from '2026-08-04 17:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042261 -3.410959)', '2026-08-04 17:57:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042282 -3.410988)'), GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.410959)'))) / (select extract(epoch from '2026-08-04 17:57:49'::timestamp) - extract(epoch from '2026-08-04 17:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042282 -3.410988)'), GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.410959)'))) / (select extract(epoch from '2026-08-04 17:57:49'::timestamp) - extract(epoch from '2026-08-04 17:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042196 -3.410953)', '2026-08-04 17:57:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.410959)'), GeomFromEWKT('SRID=4674;POINT (-39.042196 -3.410953)'))) / (select extract(epoch from '2026-08-04 17:57:59'::timestamp) - extract(epoch from '2026-08-04 17:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042261 -3.410959)'), GeomFromEWKT('SRID=4674;POINT (-39.042196 -3.410953)'))) / (select extract(epoch from '2026-08-04 17:57:59'::timestamp) - extract(epoch from '2026-08-04 17:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042156 -3.410957)', '2026-08-04 17:58:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042196 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.042156 -3.410957)'))) / (select extract(epoch from '2026-08-04 17:58:04'::timestamp) - extract(epoch from '2026-08-04 17:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042196 -3.410953)'), GeomFromEWKT('SRID=4674;POINT (-39.042156 -3.410957)'))) / (select extract(epoch from '2026-08-04 17:58:04'::timestamp) - extract(epoch from '2026-08-04 17:57:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042138 -3.410962)', '2026-08-04 17:58:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042156 -3.410957)'), GeomFromEWKT('SRID=4674;POINT (-39.042138 -3.410962)'))) / (select extract(epoch from '2026-08-04 17:58:07'::timestamp) - extract(epoch from '2026-08-04 17:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042156 -3.410957)'), GeomFromEWKT('SRID=4674;POINT (-39.042138 -3.410962)'))) / (select extract(epoch from '2026-08-04 17:58:07'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.042128 -3.41096)', '2026-08-04 17:58:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042138 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.41096)'))) / (select extract(epoch from '2026-08-04 17:58:08'::timestamp) - extract(epoch from '2026-08-04 17:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042138 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.41096)'))) / (select extract(epoch from '2026-08-04 17:58:08'::timestamp) - extract(epoch from '2026-08-04 17:58: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'), 48136, 'SRID=4674;POINT (-39.042077 -3.410956)', '2026-08-04 17:58:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.41096)'), GeomFromEWKT('SRID=4674;POINT (-39.042077 -3.410956)'))) / (select extract(epoch from '2026-08-04 17:58:14'::timestamp) - extract(epoch from '2026-08-04 17:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042128 -3.41096)'), GeomFromEWKT('SRID=4674;POINT (-39.042077 -3.410956)'))) / (select extract(epoch from '2026-08-04 17:58:14'::timestamp) - extract(epoch from '2026-08-04 17:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.042011 -3.410945)', '2026-08-04 17:58:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042077 -3.410956)'), GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410945)'))) / (select extract(epoch from '2026-08-04 17:58:23'::timestamp) - extract(epoch from '2026-08-04 17:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042077 -3.410956)'), GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410945)'))) / (select extract(epoch from '2026-08-04 17:58:23'::timestamp) - extract(epoch from '2026-08-04 17:58: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'), 48136, 'SRID=4674;POINT (-39.041951 -3.410928)', '2026-08-04 17:58:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410945)'), GeomFromEWKT('SRID=4674;POINT (-39.041951 -3.410928)'))) / (select extract(epoch from '2026-08-04 17:58:32'::timestamp) - extract(epoch from '2026-08-04 17:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042011 -3.410945)'), GeomFromEWKT('SRID=4674;POINT (-39.041951 -3.410928)'))) / (select extract(epoch from '2026-08-04 17:58:32'::timestamp) - extract(epoch from '2026-08-04 17:58:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041885 -3.410928)', '2026-08-04 17:58:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041951 -3.410928)'), GeomFromEWKT('SRID=4674;POINT (-39.041885 -3.410928)'))) / (select extract(epoch from '2026-08-04 17:58:41'::timestamp) - extract(epoch from '2026-08-04 17:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041951 -3.410928)'), GeomFromEWKT('SRID=4674;POINT (-39.041885 -3.410928)'))) / (select extract(epoch from '2026-08-04 17:58:41'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.041815 -3.410919)', '2026-08-04 17:58:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041885 -3.410928)'), GeomFromEWKT('SRID=4674;POINT (-39.041815 -3.410919)'))) / (select extract(epoch from '2026-08-04 17:58:50'::timestamp) - extract(epoch from '2026-08-04 17:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041885 -3.410928)'), GeomFromEWKT('SRID=4674;POINT (-39.041815 -3.410919)'))) / (select extract(epoch from '2026-08-04 17:58:50'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.041746 -3.410925)', '2026-08-04 17:58:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041815 -3.410919)'), GeomFromEWKT('SRID=4674;POINT (-39.041746 -3.410925)'))) / (select extract(epoch from '2026-08-04 17:58:59'::timestamp) - extract(epoch from '2026-08-04 17:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041815 -3.410919)'), GeomFromEWKT('SRID=4674;POINT (-39.041746 -3.410925)'))) / (select extract(epoch from '2026-08-04 17:58:59'::timestamp) - extract(epoch from '2026-08-04 17:58: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'), 48136, 'SRID=4674;POINT (-39.041686 -3.410932)', '2026-08-04 17:59:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041746 -3.410925)'), GeomFromEWKT('SRID=4674;POINT (-39.041686 -3.410932)'))) / (select extract(epoch from '2026-08-04 17:59:08'::timestamp) - extract(epoch from '2026-08-04 17:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041746 -3.410925)'), GeomFromEWKT('SRID=4674;POINT (-39.041686 -3.410932)'))) / (select extract(epoch from '2026-08-04 17:59:08'::timestamp) - extract(epoch from '2026-08-04 17:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041632 -3.410919)', '2026-08-04 17:59:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041686 -3.410932)'), GeomFromEWKT('SRID=4674;POINT (-39.041632 -3.410919)'))) / (select extract(epoch from '2026-08-04 17:59:17'::timestamp) - extract(epoch from '2026-08-04 17:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041686 -3.410932)'), GeomFromEWKT('SRID=4674;POINT (-39.041632 -3.410919)'))) / (select extract(epoch from '2026-08-04 17:59:17'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.041597 -3.410893)', '2026-08-04 17:59:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041632 -3.410919)'), GeomFromEWKT('SRID=4674;POINT (-39.041597 -3.410893)'))) / (select extract(epoch from '2026-08-04 17:59:24'::timestamp) - extract(epoch from '2026-08-04 17:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041632 -3.410919)'), GeomFromEWKT('SRID=4674;POINT (-39.041597 -3.410893)'))) / (select extract(epoch from '2026-08-04 17:59:24'::timestamp) - extract(epoch from '2026-08-04 17:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041558 -3.410874)', '2026-08-04 17:59:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041597 -3.410893)'), GeomFromEWKT('SRID=4674;POINT (-39.041558 -3.410874)'))) / (select extract(epoch from '2026-08-04 17:59:32'::timestamp) - extract(epoch from '2026-08-04 17:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041597 -3.410893)'), GeomFromEWKT('SRID=4674;POINT (-39.041558 -3.410874)'))) / (select extract(epoch from '2026-08-04 17:59:32'::timestamp) - extract(epoch from '2026-08-04 17:59: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'), 48136, 'SRID=4674;POINT (-39.04152 -3.410847)', '2026-08-04 17:59:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041558 -3.410874)'), GeomFromEWKT('SRID=4674;POINT (-39.04152 -3.410847)'))) / (select extract(epoch from '2026-08-04 17:59:41'::timestamp) - extract(epoch from '2026-08-04 17:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041558 -3.410874)'), GeomFromEWKT('SRID=4674;POINT (-39.04152 -3.410847)'))) / (select extract(epoch from '2026-08-04 17:59:41'::timestamp) - extract(epoch from '2026-08-04 17: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'), 48136, 'SRID=4674;POINT (-39.04146 -3.410808)', '2026-08-04 17:59:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04152 -3.410847)'), GeomFromEWKT('SRID=4674;POINT (-39.04146 -3.410808)'))) / (select extract(epoch from '2026-08-04 17:59:53'::timestamp) - extract(epoch from '2026-08-04 17:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04152 -3.410847)'), GeomFromEWKT('SRID=4674;POINT (-39.04146 -3.410808)'))) / (select extract(epoch from '2026-08-04 17:59:53'::timestamp) - extract(epoch from '2026-08-04 17:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041436 -3.41079)', '2026-08-04 18:00:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04146 -3.410808)'), GeomFromEWKT('SRID=4674;POINT (-39.041436 -3.41079)'))) / (select extract(epoch from '2026-08-04 18:00:02'::timestamp) - extract(epoch from '2026-08-04 17:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04146 -3.410808)'), GeomFromEWKT('SRID=4674;POINT (-39.041436 -3.41079)'))) / (select extract(epoch from '2026-08-04 18:00:02'::timestamp) - extract(epoch from '2026-08-04 17:59: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'), 48136, 'SRID=4674;POINT (-39.04142 -3.410802)', '2026-08-04 18:00:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041436 -3.41079)'), GeomFromEWKT('SRID=4674;POINT (-39.04142 -3.410802)'))) / (select extract(epoch from '2026-08-04 18:00:13'::timestamp) - extract(epoch from '2026-08-04 18:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041436 -3.41079)'), GeomFromEWKT('SRID=4674;POINT (-39.04142 -3.410802)'))) / (select extract(epoch from '2026-08-04 18:00:13'::timestamp) - extract(epoch from '2026-08-04 18:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.0414 -3.410787)', '2026-08-04 18:00:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04142 -3.410802)'), GeomFromEWKT('SRID=4674;POINT (-39.0414 -3.410787)'))) / (select extract(epoch from '2026-08-04 18:00:26'::timestamp) - extract(epoch from '2026-08-04 18:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04142 -3.410802)'), GeomFromEWKT('SRID=4674;POINT (-39.0414 -3.410787)'))) / (select extract(epoch from '2026-08-04 18:00:26'::timestamp) - extract(epoch from '2026-08-04 18:00: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'), 48136, 'SRID=4674;POINT (-39.041414 -3.410765)', '2026-08-04 18:00:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0414 -3.410787)'), GeomFromEWKT('SRID=4674;POINT (-39.041414 -3.410765)'))) / (select extract(epoch from '2026-08-04 18:00:46'::timestamp) - extract(epoch from '2026-08-04 18:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0414 -3.410787)'), GeomFromEWKT('SRID=4674;POINT (-39.041414 -3.410765)'))) / (select extract(epoch from '2026-08-04 18:00:46'::timestamp) - extract(epoch from '2026-08-04 18:00:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041379 -3.410761)', '2026-08-04 18:01:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041414 -3.410765)'), GeomFromEWKT('SRID=4674;POINT (-39.041379 -3.410761)'))) / (select extract(epoch from '2026-08-04 18:01:00'::timestamp) - extract(epoch from '2026-08-04 18:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041414 -3.410765)'), GeomFromEWKT('SRID=4674;POINT (-39.041379 -3.410761)'))) / (select extract(epoch from '2026-08-04 18:01:00'::timestamp) - extract(epoch from '2026-08-04 18:00: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'), 48136, 'SRID=4674;POINT (-39.041281 -3.410765)', '2026-08-04 18:01:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041379 -3.410761)'), GeomFromEWKT('SRID=4674;POINT (-39.041281 -3.410765)'))) / (select extract(epoch from '2026-08-04 18:01:20'::timestamp) - extract(epoch from '2026-08-04 18:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041379 -3.410761)'), GeomFromEWKT('SRID=4674;POINT (-39.041281 -3.410765)'))) / (select extract(epoch from '2026-08-04 18:01:20'::timestamp) - extract(epoch from '2026-08-04 18:01: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'), 48136, 'SRID=4674;POINT (-39.04119 -3.410767)', '2026-08-04 18:01:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041281 -3.410765)'), GeomFromEWKT('SRID=4674;POINT (-39.04119 -3.410767)'))) / (select extract(epoch from '2026-08-04 18:01:44'::timestamp) - extract(epoch from '2026-08-04 18:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041281 -3.410765)'), GeomFromEWKT('SRID=4674;POINT (-39.04119 -3.410767)'))) / (select extract(epoch from '2026-08-04 18:01:44'::timestamp) - extract(epoch from '2026-08-04 18:01: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'), 48136, 'SRID=4674;POINT (-39.041193 -3.410772)', '2026-08-04 18:02:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04119 -3.410767)'), GeomFromEWKT('SRID=4674;POINT (-39.041193 -3.410772)'))) / (select extract(epoch from '2026-08-04 18:02:06'::timestamp) - extract(epoch from '2026-08-04 18:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04119 -3.410767)'), GeomFromEWKT('SRID=4674;POINT (-39.041193 -3.410772)'))) / (select extract(epoch from '2026-08-04 18:02:06'::timestamp) - extract(epoch from '2026-08-04 18:01: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'), 48136, 'SRID=4674;POINT (-39.041178 -3.41079)', '2026-08-04 18:02:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041193 -3.410772)'), GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.41079)'))) / (select extract(epoch from '2026-08-04 18:02:30'::timestamp) - extract(epoch from '2026-08-04 18:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041193 -3.410772)'), GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.41079)'))) / (select extract(epoch from '2026-08-04 18:02:30'::timestamp) - extract(epoch from '2026-08-04 18:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041187 -3.410793)', '2026-08-04 18:02:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.41079)'), GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410793)'))) / (select extract(epoch from '2026-08-04 18:02:38'::timestamp) - extract(epoch from '2026-08-04 18:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.41079)'), GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410793)'))) / (select extract(epoch from '2026-08-04 18:02:38'::timestamp) - extract(epoch from '2026-08-04 18:02: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'), 48136, 'SRID=4674;POINT (-39.041188 -3.410788)', '2026-08-04 18:02:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410793)'), GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.410788)'))) / (select extract(epoch from '2026-08-04 18:02:52'::timestamp) - extract(epoch from '2026-08-04 18:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410793)'), GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.410788)'))) / (select extract(epoch from '2026-08-04 18:02:52'::timestamp) - extract(epoch from '2026-08-04 18:02:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041187 -3.410785)', '2026-08-04 18:03:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.410788)'), GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410785)'))) / (select extract(epoch from '2026-08-04 18:03:09'::timestamp) - extract(epoch from '2026-08-04 18:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041188 -3.410788)'), GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410785)'))) / (select extract(epoch from '2026-08-04 18:03:09'::timestamp) - extract(epoch from '2026-08-04 18:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.041181 -3.41077)', '2026-08-04 18:03:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410785)'), GeomFromEWKT('SRID=4674;POINT (-39.041181 -3.41077)'))) / (select extract(epoch from '2026-08-04 18:03:22'::timestamp) - extract(epoch from '2026-08-04 18:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041187 -3.410785)'), GeomFromEWKT('SRID=4674;POINT (-39.041181 -3.41077)'))) / (select extract(epoch from '2026-08-04 18:03:22'::timestamp) - extract(epoch from '2026-08-04 18:03: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'), 48136, 'SRID=4674;POINT (-39.04117 -3.410802)', '2026-08-04 18:03:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041181 -3.41077)'), GeomFromEWKT('SRID=4674;POINT (-39.04117 -3.410802)'))) / (select extract(epoch from '2026-08-04 18:03:29'::timestamp) - extract(epoch from '2026-08-04 18:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041181 -3.41077)'), GeomFromEWKT('SRID=4674;POINT (-39.04117 -3.410802)'))) / (select extract(epoch from '2026-08-04 18:03:29'::timestamp) - extract(epoch from '2026-08-04 18:03: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'), 48136, 'SRID=4674;POINT (-39.04113 -3.410842)', '2026-08-04 18:03:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04117 -3.410802)'), GeomFromEWKT('SRID=4674;POINT (-39.04113 -3.410842)'))) / (select extract(epoch from '2026-08-04 18:03:38'::timestamp) - extract(epoch from '2026-08-04 18:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04117 -3.410802)'), GeomFromEWKT('SRID=4674;POINT (-39.04113 -3.410842)'))) / (select extract(epoch from '2026-08-04 18:03:38'::timestamp) - extract(epoch from '2026-08-04 18:03: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'), 48136, 'SRID=4674;POINT (-39.041089 -3.410875)', '2026-08-04 18:03:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04113 -3.410842)'), GeomFromEWKT('SRID=4674;POINT (-39.041089 -3.410875)'))) / (select extract(epoch from '2026-08-04 18:03:46'::timestamp) - extract(epoch from '2026-08-04 18:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04113 -3.410842)'), GeomFromEWKT('SRID=4674;POINT (-39.041089 -3.410875)'))) / (select extract(epoch from '2026-08-04 18:03:46'::timestamp) - extract(epoch from '2026-08-04 18:03: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'), 48136, 'SRID=4674;POINT (-39.041046 -3.410914)', '2026-08-04 18:03:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041089 -3.410875)'), GeomFromEWKT('SRID=4674;POINT (-39.041046 -3.410914)'))) / (select extract(epoch from '2026-08-04 18:03:55'::timestamp) - extract(epoch from '2026-08-04 18:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041089 -3.410875)'), GeomFromEWKT('SRID=4674;POINT (-39.041046 -3.410914)'))) / (select extract(epoch from '2026-08-04 18:03:55'::timestamp) - extract(epoch from '2026-08-04 18:03: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'), 48136, 'SRID=4674;POINT (-39.041001 -3.410961)', '2026-08-04 18:04:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041046 -3.410914)'), GeomFromEWKT('SRID=4674;POINT (-39.041001 -3.410961)'))) / (select extract(epoch from '2026-08-04 18:04:04'::timestamp) - extract(epoch from '2026-08-04 18:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041046 -3.410914)'), GeomFromEWKT('SRID=4674;POINT (-39.041001 -3.410961)'))) / (select extract(epoch from '2026-08-04 18:04:04'::timestamp) - extract(epoch from '2026-08-04 18:03: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'), 48136, 'SRID=4674;POINT (-39.040945 -3.411006)', '2026-08-04 18:04:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041001 -3.410961)'), GeomFromEWKT('SRID=4674;POINT (-39.040945 -3.411006)'))) / (select extract(epoch from '2026-08-04 18:04:15'::timestamp) - extract(epoch from '2026-08-04 18:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041001 -3.410961)'), GeomFromEWKT('SRID=4674;POINT (-39.040945 -3.411006)'))) / (select extract(epoch from '2026-08-04 18:04:15'::timestamp) - extract(epoch from '2026-08-04 18:04: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'), 48136, 'SRID=4674;POINT (-39.040896 -3.411064)', '2026-08-04 18:04:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040945 -3.411006)'), GeomFromEWKT('SRID=4674;POINT (-39.040896 -3.411064)'))) / (select extract(epoch from '2026-08-04 18:04:26'::timestamp) - extract(epoch from '2026-08-04 18:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040945 -3.411006)'), GeomFromEWKT('SRID=4674;POINT (-39.040896 -3.411064)'))) / (select extract(epoch from '2026-08-04 18:04:26'::timestamp) - extract(epoch from '2026-08-04 18:04: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'), 48136, 'SRID=4674;POINT (-39.040835 -3.411092)', '2026-08-04 18:04:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040896 -3.411064)'), GeomFromEWKT('SRID=4674;POINT (-39.040835 -3.411092)'))) / (select extract(epoch from '2026-08-04 18:04:36'::timestamp) - extract(epoch from '2026-08-04 18:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040896 -3.411064)'), GeomFromEWKT('SRID=4674;POINT (-39.040835 -3.411092)'))) / (select extract(epoch from '2026-08-04 18:04:36'::timestamp) - extract(epoch from '2026-08-04 18:04: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'), 48136, 'SRID=4674;POINT (-39.040779 -3.41112)', '2026-08-04 18:04:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040835 -3.411092)'), GeomFromEWKT('SRID=4674;POINT (-39.040779 -3.41112)'))) / (select extract(epoch from '2026-08-04 18:04:47'::timestamp) - extract(epoch from '2026-08-04 18:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040835 -3.411092)'), GeomFromEWKT('SRID=4674;POINT (-39.040779 -3.41112)'))) / (select extract(epoch from '2026-08-04 18:04:47'::timestamp) - extract(epoch from '2026-08-04 18:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48136, 'SRID=4674;POINT (-39.040733 -3.411143)', '2026-08-04 18:04:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040779 -3.41112)'), GeomFromEWKT('SRID=4674;POINT (-39.040733 -3.411143)'))) / (select extract(epoch from '2026-08-04 18:04:55'::timestamp) - extract(epoch from '2026-08-04 18:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040779 -3.41112)'), GeomFromEWKT('SRID=4674;POINT (-39.040733 -3.411143)'))) / (select extract(epoch from '2026-08-04 18:04:55'::timestamp) - extract(epoch from '2026-08-04 18:04: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'), 48136, 'SRID=4674;POINT (-39.040675 -3.411158)', '2026-08-04 18:05:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040733 -3.411143)'), GeomFromEWKT('SRID=4674;POINT (-39.040675 -3.411158)'))) / (select extract(epoch from '2026-08-04 18:05:05'::timestamp) - extract(epoch from '2026-08-04 18:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040733 -3.411143)'), GeomFromEWKT('SRID=4674;POINT (-39.040675 -3.411158)'))) / (select extract(epoch from '2026-08-04 18:05:05'::timestamp) - extract(epoch from '2026-08-04 18:04:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
