 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.020562 -3.386687)', '2026-07-02 12:09:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020533 -3.386598)'), GeomFromEWKT('SRID=4674;POINT (-39.020562 -3.386687)'))) / (select extract(epoch from '2026-07-02 12:09:56'::timestamp) - extract(epoch from '2026-07-02 12:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020533 -3.386598)'), GeomFromEWKT('SRID=4674;POINT (-39.020562 -3.386687)'))) / (select extract(epoch from '2026-07-02 12:09:56'::timestamp) - extract(epoch from '2026-07-02 12:09: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'), 47416, 'SRID=4674;POINT (-39.02059 -3.386782)', '2026-07-02 12:10:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020562 -3.386687)'), GeomFromEWKT('SRID=4674;POINT (-39.02059 -3.386782)'))) / (select extract(epoch from '2026-07-02 12:10:02'::timestamp) - extract(epoch from '2026-07-02 12:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020562 -3.386687)'), GeomFromEWKT('SRID=4674;POINT (-39.02059 -3.386782)'))) / (select extract(epoch from '2026-07-02 12:10:02'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.020628 -3.386884)', '2026-07-02 12:10:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02059 -3.386782)'), GeomFromEWKT('SRID=4674;POINT (-39.020628 -3.386884)'))) / (select extract(epoch from '2026-07-02 12:10:08'::timestamp) - extract(epoch from '2026-07-02 12:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02059 -3.386782)'), GeomFromEWKT('SRID=4674;POINT (-39.020628 -3.386884)'))) / (select extract(epoch from '2026-07-02 12:10:08'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.020645 -3.386986)', '2026-07-02 12:10:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020628 -3.386884)'), GeomFromEWKT('SRID=4674;POINT (-39.020645 -3.386986)'))) / (select extract(epoch from '2026-07-02 12:10:14'::timestamp) - extract(epoch from '2026-07-02 12:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020628 -3.386884)'), GeomFromEWKT('SRID=4674;POINT (-39.020645 -3.386986)'))) / (select extract(epoch from '2026-07-02 12:10:14'::timestamp) - extract(epoch from '2026-07-02 12:10: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'), 47416, 'SRID=4674;POINT (-39.020674 -3.387078)', '2026-07-02 12:10:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020645 -3.386986)'), GeomFromEWKT('SRID=4674;POINT (-39.020674 -3.387078)'))) / (select extract(epoch from '2026-07-02 12:10:19'::timestamp) - extract(epoch from '2026-07-02 12:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020645 -3.386986)'), GeomFromEWKT('SRID=4674;POINT (-39.020674 -3.387078)'))) / (select extract(epoch from '2026-07-02 12:10:19'::timestamp) - extract(epoch from '2026-07-02 12:10: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'), 47416, 'SRID=4674;POINT (-39.020712 -3.387199)', '2026-07-02 12:10:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020674 -3.387078)'), GeomFromEWKT('SRID=4674;POINT (-39.020712 -3.387199)'))) / (select extract(epoch from '2026-07-02 12:10:26'::timestamp) - extract(epoch from '2026-07-02 12:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020674 -3.387078)'), GeomFromEWKT('SRID=4674;POINT (-39.020712 -3.387199)'))) / (select extract(epoch from '2026-07-02 12:10:26'::timestamp) - extract(epoch from '2026-07-02 12:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.020736 -3.387305)', '2026-07-02 12:10:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020712 -3.387199)'), GeomFromEWKT('SRID=4674;POINT (-39.020736 -3.387305)'))) / (select extract(epoch from '2026-07-02 12:10:32'::timestamp) - extract(epoch from '2026-07-02 12:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020712 -3.387199)'), GeomFromEWKT('SRID=4674;POINT (-39.020736 -3.387305)'))) / (select extract(epoch from '2026-07-02 12:10:32'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.020764 -3.387413)', '2026-07-02 12:10:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020736 -3.387305)'), GeomFromEWKT('SRID=4674;POINT (-39.020764 -3.387413)'))) / (select extract(epoch from '2026-07-02 12:10:38'::timestamp) - extract(epoch from '2026-07-02 12:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020736 -3.387305)'), GeomFromEWKT('SRID=4674;POINT (-39.020764 -3.387413)'))) / (select extract(epoch from '2026-07-02 12:10:38'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.020787 -3.387511)', '2026-07-02 12:10:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020764 -3.387413)'), GeomFromEWKT('SRID=4674;POINT (-39.020787 -3.387511)'))) / (select extract(epoch from '2026-07-02 12:10:43'::timestamp) - extract(epoch from '2026-07-02 12:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020764 -3.387413)'), GeomFromEWKT('SRID=4674;POINT (-39.020787 -3.387511)'))) / (select extract(epoch from '2026-07-02 12:10:43'::timestamp) - extract(epoch from '2026-07-02 12:10: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'), 47416, 'SRID=4674;POINT (-39.020793 -3.387541)', '2026-07-02 12:10:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020787 -3.387511)'), GeomFromEWKT('SRID=4674;POINT (-39.020793 -3.387541)'))) / (select extract(epoch from '2026-07-02 12:10:45'::timestamp) - extract(epoch from '2026-07-02 12:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020787 -3.387511)'), GeomFromEWKT('SRID=4674;POINT (-39.020793 -3.387541)'))) / (select extract(epoch from '2026-07-02 12:10:45'::timestamp) - extract(epoch from '2026-07-02 12:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.020801 -3.387572)', '2026-07-02 12:10:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020793 -3.387541)'), GeomFromEWKT('SRID=4674;POINT (-39.020801 -3.387572)'))) / (select extract(epoch from '2026-07-02 12:10:47'::timestamp) - extract(epoch from '2026-07-02 12:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020793 -3.387541)'), GeomFromEWKT('SRID=4674;POINT (-39.020801 -3.387572)'))) / (select extract(epoch from '2026-07-02 12:10:47'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.020839 -3.387688)', '2026-07-02 12:10:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020801 -3.387572)'), GeomFromEWKT('SRID=4674;POINT (-39.020839 -3.387688)'))) / (select extract(epoch from '2026-07-02 12:10:53'::timestamp) - extract(epoch from '2026-07-02 12:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020801 -3.387572)'), GeomFromEWKT('SRID=4674;POINT (-39.020839 -3.387688)'))) / (select extract(epoch from '2026-07-02 12:10:53'::timestamp) - extract(epoch from '2026-07-02 12:10: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'), 47416, 'SRID=4674;POINT (-39.020858 -3.387803)', '2026-07-02 12:11:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020839 -3.387688)'), GeomFromEWKT('SRID=4674;POINT (-39.020858 -3.387803)'))) / (select extract(epoch from '2026-07-02 12:11:00'::timestamp) - extract(epoch from '2026-07-02 12:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020839 -3.387688)'), GeomFromEWKT('SRID=4674;POINT (-39.020858 -3.387803)'))) / (select extract(epoch from '2026-07-02 12:11:00'::timestamp) - extract(epoch from '2026-07-02 12:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.020877 -3.387925)', '2026-07-02 12:11:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020858 -3.387803)'), GeomFromEWKT('SRID=4674;POINT (-39.020877 -3.387925)'))) / (select extract(epoch from '2026-07-02 12:11:07'::timestamp) - extract(epoch from '2026-07-02 12:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020858 -3.387803)'), GeomFromEWKT('SRID=4674;POINT (-39.020877 -3.387925)'))) / (select extract(epoch from '2026-07-02 12:11:07'::timestamp) - extract(epoch from '2026-07-02 12:11: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'), 47416, 'SRID=4674;POINT (-39.020898 -3.388032)', '2026-07-02 12:11:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020877 -3.387925)'), GeomFromEWKT('SRID=4674;POINT (-39.020898 -3.388032)'))) / (select extract(epoch from '2026-07-02 12:11:13'::timestamp) - extract(epoch from '2026-07-02 12:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020877 -3.387925)'), GeomFromEWKT('SRID=4674;POINT (-39.020898 -3.388032)'))) / (select extract(epoch from '2026-07-02 12:11:13'::timestamp) - extract(epoch from '2026-07-02 12:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.020915 -3.388134)', '2026-07-02 12:11:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020898 -3.388032)'), GeomFromEWKT('SRID=4674;POINT (-39.020915 -3.388134)'))) / (select extract(epoch from '2026-07-02 12:11:19'::timestamp) - extract(epoch from '2026-07-02 12:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020898 -3.388032)'), GeomFromEWKT('SRID=4674;POINT (-39.020915 -3.388134)'))) / (select extract(epoch from '2026-07-02 12:11:19'::timestamp) - extract(epoch from '2026-07-02 12:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.020951 -3.388261)', '2026-07-02 12:11:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020915 -3.388134)'), GeomFromEWKT('SRID=4674;POINT (-39.020951 -3.388261)'))) / (select extract(epoch from '2026-07-02 12:11:26'::timestamp) - extract(epoch from '2026-07-02 12:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020915 -3.388134)'), GeomFromEWKT('SRID=4674;POINT (-39.020951 -3.388261)'))) / (select extract(epoch from '2026-07-02 12:11:26'::timestamp) - extract(epoch from '2026-07-02 12:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.020981 -3.388366)', '2026-07-02 12:11:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020951 -3.388261)'), GeomFromEWKT('SRID=4674;POINT (-39.020981 -3.388366)'))) / (select extract(epoch from '2026-07-02 12:11:32'::timestamp) - extract(epoch from '2026-07-02 12:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020951 -3.388261)'), GeomFromEWKT('SRID=4674;POINT (-39.020981 -3.388366)'))) / (select extract(epoch from '2026-07-02 12:11:32'::timestamp) - extract(epoch from '2026-07-02 12:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021014 -3.388474)', '2026-07-02 12:11:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020981 -3.388366)'), GeomFromEWKT('SRID=4674;POINT (-39.021014 -3.388474)'))) / (select extract(epoch from '2026-07-02 12:11:38'::timestamp) - extract(epoch from '2026-07-02 12:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020981 -3.388366)'), GeomFromEWKT('SRID=4674;POINT (-39.021014 -3.388474)'))) / (select extract(epoch from '2026-07-02 12:11:38'::timestamp) - extract(epoch from '2026-07-02 12:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021027 -3.388542)', '2026-07-02 12:11:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021014 -3.388474)'), GeomFromEWKT('SRID=4674;POINT (-39.021027 -3.388542)'))) / (select extract(epoch from '2026-07-02 12:11:42'::timestamp) - extract(epoch from '2026-07-02 12:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021014 -3.388474)'), GeomFromEWKT('SRID=4674;POINT (-39.021027 -3.388542)'))) / (select extract(epoch from '2026-07-02 12:11:42'::timestamp) - extract(epoch from '2026-07-02 12:11: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'), 47416, 'SRID=4674;POINT (-39.02104 -3.388579)', '2026-07-02 12:11:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021027 -3.388542)'), GeomFromEWKT('SRID=4674;POINT (-39.02104 -3.388579)'))) / (select extract(epoch from '2026-07-02 12:11:44'::timestamp) - extract(epoch from '2026-07-02 12:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021027 -3.388542)'), GeomFromEWKT('SRID=4674;POINT (-39.02104 -3.388579)'))) / (select extract(epoch from '2026-07-02 12:11:44'::timestamp) - extract(epoch from '2026-07-02 12:11: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'), 47416, 'SRID=4674;POINT (-39.02106 -3.388707)', '2026-07-02 12:11:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02104 -3.388579)'), GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.388707)'))) / (select extract(epoch from '2026-07-02 12:11:51'::timestamp) - extract(epoch from '2026-07-02 12:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02104 -3.388579)'), GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.388707)'))) / (select extract(epoch from '2026-07-02 12:11:51'::timestamp) - extract(epoch from '2026-07-02 12:11: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'), 47416, 'SRID=4674;POINT (-39.021082 -3.388817)', '2026-07-02 12:11:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.388707)'), GeomFromEWKT('SRID=4674;POINT (-39.021082 -3.388817)'))) / (select extract(epoch from '2026-07-02 12:11:57'::timestamp) - extract(epoch from '2026-07-02 12:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02106 -3.388707)'), GeomFromEWKT('SRID=4674;POINT (-39.021082 -3.388817)'))) / (select extract(epoch from '2026-07-02 12:11:57'::timestamp) - extract(epoch from '2026-07-02 12:11: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'), 47416, 'SRID=4674;POINT (-39.02111 -3.388941)', '2026-07-02 12:12:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021082 -3.388817)'), GeomFromEWKT('SRID=4674;POINT (-39.02111 -3.388941)'))) / (select extract(epoch from '2026-07-02 12:12:04'::timestamp) - extract(epoch from '2026-07-02 12:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021082 -3.388817)'), GeomFromEWKT('SRID=4674;POINT (-39.02111 -3.388941)'))) / (select extract(epoch from '2026-07-02 12:12:04'::timestamp) - extract(epoch from '2026-07-02 12:11: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'), 47416, 'SRID=4674;POINT (-39.021132 -3.389068)', '2026-07-02 12:12:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02111 -3.388941)'), GeomFromEWKT('SRID=4674;POINT (-39.021132 -3.389068)'))) / (select extract(epoch from '2026-07-02 12:12:11'::timestamp) - extract(epoch from '2026-07-02 12:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02111 -3.388941)'), GeomFromEWKT('SRID=4674;POINT (-39.021132 -3.389068)'))) / (select extract(epoch from '2026-07-02 12:12:11'::timestamp) - extract(epoch from '2026-07-02 12:12: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'), 47416, 'SRID=4674;POINT (-39.021129 -3.389136)', '2026-07-02 12:12:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021132 -3.389068)'), GeomFromEWKT('SRID=4674;POINT (-39.021129 -3.389136)'))) / (select extract(epoch from '2026-07-02 12:12:15'::timestamp) - extract(epoch from '2026-07-02 12:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021132 -3.389068)'), GeomFromEWKT('SRID=4674;POINT (-39.021129 -3.389136)'))) / (select extract(epoch from '2026-07-02 12:12:15'::timestamp) - extract(epoch from '2026-07-02 12:12: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'), 47416, 'SRID=4674;POINT (-39.021142 -3.389211)', '2026-07-02 12:12:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021129 -3.389136)'), GeomFromEWKT('SRID=4674;POINT (-39.021142 -3.389211)'))) / (select extract(epoch from '2026-07-02 12:12:19'::timestamp) - extract(epoch from '2026-07-02 12:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021129 -3.389136)'), GeomFromEWKT('SRID=4674;POINT (-39.021142 -3.389211)'))) / (select extract(epoch from '2026-07-02 12:12:19'::timestamp) - extract(epoch from '2026-07-02 12:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021159 -3.389334)', '2026-07-02 12:12:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021142 -3.389211)'), GeomFromEWKT('SRID=4674;POINT (-39.021159 -3.389334)'))) / (select extract(epoch from '2026-07-02 12:12:26'::timestamp) - extract(epoch from '2026-07-02 12:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021142 -3.389211)'), GeomFromEWKT('SRID=4674;POINT (-39.021159 -3.389334)'))) / (select extract(epoch from '2026-07-02 12:12:26'::timestamp) - extract(epoch from '2026-07-02 12:12: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'), 47416, 'SRID=4674;POINT (-39.021183 -3.389465)', '2026-07-02 12:12:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021159 -3.389334)'), GeomFromEWKT('SRID=4674;POINT (-39.021183 -3.389465)'))) / (select extract(epoch from '2026-07-02 12:12:33'::timestamp) - extract(epoch from '2026-07-02 12:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021159 -3.389334)'), GeomFromEWKT('SRID=4674;POINT (-39.021183 -3.389465)'))) / (select extract(epoch from '2026-07-02 12:12:33'::timestamp) - extract(epoch from '2026-07-02 12:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021206 -3.38956)', '2026-07-02 12:12:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021183 -3.389465)'), GeomFromEWKT('SRID=4674;POINT (-39.021206 -3.38956)'))) / (select extract(epoch from '2026-07-02 12:12:38'::timestamp) - extract(epoch from '2026-07-02 12:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021183 -3.389465)'), GeomFromEWKT('SRID=4674;POINT (-39.021206 -3.38956)'))) / (select extract(epoch from '2026-07-02 12:12:38'::timestamp) - extract(epoch from '2026-07-02 12:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021215 -3.389579)', '2026-07-02 12:12:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021206 -3.38956)'), GeomFromEWKT('SRID=4674;POINT (-39.021215 -3.389579)'))) / (select extract(epoch from '2026-07-02 12:12:39'::timestamp) - extract(epoch from '2026-07-02 12:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021206 -3.38956)'), GeomFromEWKT('SRID=4674;POINT (-39.021215 -3.389579)'))) / (select extract(epoch from '2026-07-02 12:12:39'::timestamp) - extract(epoch from '2026-07-02 12:12: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'), 47416, 'SRID=4674;POINT (-39.021242 -3.389683)', '2026-07-02 12:12:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021215 -3.389579)'), GeomFromEWKT('SRID=4674;POINT (-39.021242 -3.389683)'))) / (select extract(epoch from '2026-07-02 12:12:45'::timestamp) - extract(epoch from '2026-07-02 12:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021215 -3.389579)'), GeomFromEWKT('SRID=4674;POINT (-39.021242 -3.389683)'))) / (select extract(epoch from '2026-07-02 12:12:45'::timestamp) - extract(epoch from '2026-07-02 12:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.02127 -3.389792)', '2026-07-02 12:12:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021242 -3.389683)'), GeomFromEWKT('SRID=4674;POINT (-39.02127 -3.389792)'))) / (select extract(epoch from '2026-07-02 12:12:51'::timestamp) - extract(epoch from '2026-07-02 12:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021242 -3.389683)'), GeomFromEWKT('SRID=4674;POINT (-39.02127 -3.389792)'))) / (select extract(epoch from '2026-07-02 12:12:51'::timestamp) - extract(epoch from '2026-07-02 12:12: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'), 47416, 'SRID=4674;POINT (-39.021308 -3.389939)', '2026-07-02 12:12:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02127 -3.389792)'), GeomFromEWKT('SRID=4674;POINT (-39.021308 -3.389939)'))) / (select extract(epoch from '2026-07-02 12:12:59'::timestamp) - extract(epoch from '2026-07-02 12:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02127 -3.389792)'), GeomFromEWKT('SRID=4674;POINT (-39.021308 -3.389939)'))) / (select extract(epoch from '2026-07-02 12:12:59'::timestamp) - extract(epoch from '2026-07-02 12:12: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'), 47416, 'SRID=4674;POINT (-39.021349 -3.390106)', '2026-07-02 12:13:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021308 -3.389939)'), GeomFromEWKT('SRID=4674;POINT (-39.021349 -3.390106)'))) / (select extract(epoch from '2026-07-02 12:13:08'::timestamp) - extract(epoch from '2026-07-02 12:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021308 -3.389939)'), GeomFromEWKT('SRID=4674;POINT (-39.021349 -3.390106)'))) / (select extract(epoch from '2026-07-02 12:13:08'::timestamp) - extract(epoch from '2026-07-02 12:12: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'), 47416, 'SRID=4674;POINT (-39.021375 -3.390219)', '2026-07-02 12:13:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021349 -3.390106)'), GeomFromEWKT('SRID=4674;POINT (-39.021375 -3.390219)'))) / (select extract(epoch from '2026-07-02 12:13:14'::timestamp) - extract(epoch from '2026-07-02 12:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021349 -3.390106)'), GeomFromEWKT('SRID=4674;POINT (-39.021375 -3.390219)'))) / (select extract(epoch from '2026-07-02 12:13:14'::timestamp) - extract(epoch from '2026-07-02 12:13: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'), 47416, 'SRID=4674;POINT (-39.021403 -3.390352)', '2026-07-02 12:13:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021375 -3.390219)'), GeomFromEWKT('SRID=4674;POINT (-39.021403 -3.390352)'))) / (select extract(epoch from '2026-07-02 12:13:21'::timestamp) - extract(epoch from '2026-07-02 12:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021375 -3.390219)'), GeomFromEWKT('SRID=4674;POINT (-39.021403 -3.390352)'))) / (select extract(epoch from '2026-07-02 12:13:21'::timestamp) - extract(epoch from '2026-07-02 12:13:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021421 -3.390407)', '2026-07-02 12:13:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021403 -3.390352)'), GeomFromEWKT('SRID=4674;POINT (-39.021421 -3.390407)'))) / (select extract(epoch from '2026-07-02 12:13:24'::timestamp) - extract(epoch from '2026-07-02 12:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021403 -3.390352)'), GeomFromEWKT('SRID=4674;POINT (-39.021421 -3.390407)'))) / (select extract(epoch from '2026-07-02 12:13:24'::timestamp) - extract(epoch from '2026-07-02 12:13: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'), 47416, 'SRID=4674;POINT (-39.02142 -3.390442)', '2026-07-02 12:13:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021421 -3.390407)'), GeomFromEWKT('SRID=4674;POINT (-39.02142 -3.390442)'))) / (select extract(epoch from '2026-07-02 12:13:26'::timestamp) - extract(epoch from '2026-07-02 12:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021421 -3.390407)'), GeomFromEWKT('SRID=4674;POINT (-39.02142 -3.390442)'))) / (select extract(epoch from '2026-07-02 12:13:26'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.021456 -3.390594)', '2026-07-02 12:13:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02142 -3.390442)'), GeomFromEWKT('SRID=4674;POINT (-39.021456 -3.390594)'))) / (select extract(epoch from '2026-07-02 12:13:34'::timestamp) - extract(epoch from '2026-07-02 12:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02142 -3.390442)'), GeomFromEWKT('SRID=4674;POINT (-39.021456 -3.390594)'))) / (select extract(epoch from '2026-07-02 12:13:34'::timestamp) - extract(epoch from '2026-07-02 12:13: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'), 47416, 'SRID=4674;POINT (-39.021482 -3.390714)', '2026-07-02 12:13:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021456 -3.390594)'), GeomFromEWKT('SRID=4674;POINT (-39.021482 -3.390714)'))) / (select extract(epoch from '2026-07-02 12:13:40'::timestamp) - extract(epoch from '2026-07-02 12:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021456 -3.390594)'), GeomFromEWKT('SRID=4674;POINT (-39.021482 -3.390714)'))) / (select extract(epoch from '2026-07-02 12:13:40'::timestamp) - extract(epoch from '2026-07-02 12:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021503 -3.390815)', '2026-07-02 12:13:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021482 -3.390714)'), GeomFromEWKT('SRID=4674;POINT (-39.021503 -3.390815)'))) / (select extract(epoch from '2026-07-02 12:13:45'::timestamp) - extract(epoch from '2026-07-02 12:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021482 -3.390714)'), GeomFromEWKT('SRID=4674;POINT (-39.021503 -3.390815)'))) / (select extract(epoch from '2026-07-02 12:13:45'::timestamp) - extract(epoch from '2026-07-02 12:13: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'), 47416, 'SRID=4674;POINT (-39.021539 -3.390925)', '2026-07-02 12:13:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021503 -3.390815)'), GeomFromEWKT('SRID=4674;POINT (-39.021539 -3.390925)'))) / (select extract(epoch from '2026-07-02 12:13:51'::timestamp) - extract(epoch from '2026-07-02 12:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021503 -3.390815)'), GeomFromEWKT('SRID=4674;POINT (-39.021539 -3.390925)'))) / (select extract(epoch from '2026-07-02 12:13:51'::timestamp) - extract(epoch from '2026-07-02 12:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021581 -3.39105)', '2026-07-02 12:13:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021539 -3.390925)'), GeomFromEWKT('SRID=4674;POINT (-39.021581 -3.39105)'))) / (select extract(epoch from '2026-07-02 12:13:58'::timestamp) - extract(epoch from '2026-07-02 12:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021539 -3.390925)'), GeomFromEWKT('SRID=4674;POINT (-39.021581 -3.39105)'))) / (select extract(epoch from '2026-07-02 12:13:58'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.021584 -3.391087)', '2026-07-02 12:14:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021581 -3.39105)'), GeomFromEWKT('SRID=4674;POINT (-39.021584 -3.391087)'))) / (select extract(epoch from '2026-07-02 12:14:00'::timestamp) - extract(epoch from '2026-07-02 12:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021581 -3.39105)'), GeomFromEWKT('SRID=4674;POINT (-39.021584 -3.391087)'))) / (select extract(epoch from '2026-07-02 12:14:00'::timestamp) - extract(epoch from '2026-07-02 12:13: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'), 47416, 'SRID=4674;POINT (-39.021601 -3.391125)', '2026-07-02 12:14:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021584 -3.391087)'), GeomFromEWKT('SRID=4674;POINT (-39.021601 -3.391125)'))) / (select extract(epoch from '2026-07-02 12:14:02'::timestamp) - extract(epoch from '2026-07-02 12:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021584 -3.391087)'), GeomFromEWKT('SRID=4674;POINT (-39.021601 -3.391125)'))) / (select extract(epoch from '2026-07-02 12:14:02'::timestamp) - extract(epoch from '2026-07-02 12:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021626 -3.391233)', '2026-07-02 12:14:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021601 -3.391125)'), GeomFromEWKT('SRID=4674;POINT (-39.021626 -3.391233)'))) / (select extract(epoch from '2026-07-02 12:14:08'::timestamp) - extract(epoch from '2026-07-02 12:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021601 -3.391125)'), GeomFromEWKT('SRID=4674;POINT (-39.021626 -3.391233)'))) / (select extract(epoch from '2026-07-02 12:14:08'::timestamp) - extract(epoch from '2026-07-02 12:14: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'), 47416, 'SRID=4674;POINT (-39.021671 -3.391356)', '2026-07-02 12:14:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021626 -3.391233)'), GeomFromEWKT('SRID=4674;POINT (-39.021671 -3.391356)'))) / (select extract(epoch from '2026-07-02 12:14:15'::timestamp) - extract(epoch from '2026-07-02 12:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021626 -3.391233)'), GeomFromEWKT('SRID=4674;POINT (-39.021671 -3.391356)'))) / (select extract(epoch from '2026-07-02 12:14:15'::timestamp) - extract(epoch from '2026-07-02 12:14: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'), 47416, 'SRID=4674;POINT (-39.021702 -3.391471)', '2026-07-02 12:14:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021671 -3.391356)'), GeomFromEWKT('SRID=4674;POINT (-39.021702 -3.391471)'))) / (select extract(epoch from '2026-07-02 12:14:21'::timestamp) - extract(epoch from '2026-07-02 12:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021671 -3.391356)'), GeomFromEWKT('SRID=4674;POINT (-39.021702 -3.391471)'))) / (select extract(epoch from '2026-07-02 12:14:21'::timestamp) - extract(epoch from '2026-07-02 12:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021742 -3.391601)', '2026-07-02 12:14:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021702 -3.391471)'), GeomFromEWKT('SRID=4674;POINT (-39.021742 -3.391601)'))) / (select extract(epoch from '2026-07-02 12:14:28'::timestamp) - extract(epoch from '2026-07-02 12:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021702 -3.391471)'), GeomFromEWKT('SRID=4674;POINT (-39.021742 -3.391601)'))) / (select extract(epoch from '2026-07-02 12:14:28'::timestamp) - extract(epoch from '2026-07-02 12:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021779 -3.391728)', '2026-07-02 12:14:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021742 -3.391601)'), GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.391728)'))) / (select extract(epoch from '2026-07-02 12:14:35'::timestamp) - extract(epoch from '2026-07-02 12:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021742 -3.391601)'), GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.391728)'))) / (select extract(epoch from '2026-07-02 12:14:35'::timestamp) - extract(epoch from '2026-07-02 12:14: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'), 47416, 'SRID=4674;POINT (-39.021826 -3.391864)', '2026-07-02 12:14:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.391728)'), GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.391864)'))) / (select extract(epoch from '2026-07-02 12:14:42'::timestamp) - extract(epoch from '2026-07-02 12:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.391728)'), GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.391864)'))) / (select extract(epoch from '2026-07-02 12:14:42'::timestamp) - extract(epoch from '2026-07-02 12:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021848 -3.391968)', '2026-07-02 12:14:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.391864)'), GeomFromEWKT('SRID=4674;POINT (-39.021848 -3.391968)'))) / (select extract(epoch from '2026-07-02 12:14:48'::timestamp) - extract(epoch from '2026-07-02 12:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.391864)'), GeomFromEWKT('SRID=4674;POINT (-39.021848 -3.391968)'))) / (select extract(epoch from '2026-07-02 12:14:48'::timestamp) - extract(epoch from '2026-07-02 12:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021861 -3.392059)', '2026-07-02 12:14:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021848 -3.391968)'), GeomFromEWKT('SRID=4674;POINT (-39.021861 -3.392059)'))) / (select extract(epoch from '2026-07-02 12:14:53'::timestamp) - extract(epoch from '2026-07-02 12:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021848 -3.391968)'), GeomFromEWKT('SRID=4674;POINT (-39.021861 -3.392059)'))) / (select extract(epoch from '2026-07-02 12:14:53'::timestamp) - extract(epoch from '2026-07-02 12:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021892 -3.392193)', '2026-07-02 12:15:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021861 -3.392059)'), GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.392193)'))) / (select extract(epoch from '2026-07-02 12:15:00'::timestamp) - extract(epoch from '2026-07-02 12:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021861 -3.392059)'), GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.392193)'))) / (select extract(epoch from '2026-07-02 12:15:00'::timestamp) - extract(epoch from '2026-07-02 12:14: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'), 47416, 'SRID=4674;POINT (-39.021909 -3.392307)', '2026-07-02 12:15:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.392193)'), GeomFromEWKT('SRID=4674;POINT (-39.021909 -3.392307)'))) / (select extract(epoch from '2026-07-02 12:15:06'::timestamp) - extract(epoch from '2026-07-02 12:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.392193)'), GeomFromEWKT('SRID=4674;POINT (-39.021909 -3.392307)'))) / (select extract(epoch from '2026-07-02 12:15:06'::timestamp) - extract(epoch from '2026-07-02 12:15: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'), 47416, 'SRID=4674;POINT (-39.021933 -3.392437)', '2026-07-02 12:15:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021909 -3.392307)'), GeomFromEWKT('SRID=4674;POINT (-39.021933 -3.392437)'))) / (select extract(epoch from '2026-07-02 12:15:13'::timestamp) - extract(epoch from '2026-07-02 12:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021909 -3.392307)'), GeomFromEWKT('SRID=4674;POINT (-39.021933 -3.392437)'))) / (select extract(epoch from '2026-07-02 12:15:13'::timestamp) - extract(epoch from '2026-07-02 12:15: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'), 47416, 'SRID=4674;POINT (-39.021956 -3.392531)', '2026-07-02 12:15:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021933 -3.392437)'), GeomFromEWKT('SRID=4674;POINT (-39.021956 -3.392531)'))) / (select extract(epoch from '2026-07-02 12:15:18'::timestamp) - extract(epoch from '2026-07-02 12:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021933 -3.392437)'), GeomFromEWKT('SRID=4674;POINT (-39.021956 -3.392531)'))) / (select extract(epoch from '2026-07-02 12:15:18'::timestamp) - extract(epoch from '2026-07-02 12:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.02197 -3.392636)', '2026-07-02 12:15:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021956 -3.392531)'), GeomFromEWKT('SRID=4674;POINT (-39.02197 -3.392636)'))) / (select extract(epoch from '2026-07-02 12:15:24'::timestamp) - extract(epoch from '2026-07-02 12:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021956 -3.392531)'), GeomFromEWKT('SRID=4674;POINT (-39.02197 -3.392636)'))) / (select extract(epoch from '2026-07-02 12:15:24'::timestamp) - extract(epoch from '2026-07-02 12:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.021995 -3.392759)', '2026-07-02 12:15:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02197 -3.392636)'), GeomFromEWKT('SRID=4674;POINT (-39.021995 -3.392759)'))) / (select extract(epoch from '2026-07-02 12:15:31'::timestamp) - extract(epoch from '2026-07-02 12:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02197 -3.392636)'), GeomFromEWKT('SRID=4674;POINT (-39.021995 -3.392759)'))) / (select extract(epoch from '2026-07-02 12:15:31'::timestamp) - extract(epoch from '2026-07-02 12:15: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'), 47416, 'SRID=4674;POINT (-39.022029 -3.392873)', '2026-07-02 12:15:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021995 -3.392759)'), GeomFromEWKT('SRID=4674;POINT (-39.022029 -3.392873)'))) / (select extract(epoch from '2026-07-02 12:15:37'::timestamp) - extract(epoch from '2026-07-02 12:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021995 -3.392759)'), GeomFromEWKT('SRID=4674;POINT (-39.022029 -3.392873)'))) / (select extract(epoch from '2026-07-02 12:15:37'::timestamp) - extract(epoch from '2026-07-02 12:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.02205 -3.392982)', '2026-07-02 12:15:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022029 -3.392873)'), GeomFromEWKT('SRID=4674;POINT (-39.02205 -3.392982)'))) / (select extract(epoch from '2026-07-02 12:15:43'::timestamp) - extract(epoch from '2026-07-02 12:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022029 -3.392873)'), GeomFromEWKT('SRID=4674;POINT (-39.02205 -3.392982)'))) / (select extract(epoch from '2026-07-02 12:15:43'::timestamp) - extract(epoch from '2026-07-02 12:15: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'), 47416, 'SRID=4674;POINT (-39.022084 -3.393109)', '2026-07-02 12:15:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02205 -3.392982)'), GeomFromEWKT('SRID=4674;POINT (-39.022084 -3.393109)'))) / (select extract(epoch from '2026-07-02 12:15:50'::timestamp) - extract(epoch from '2026-07-02 12:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02205 -3.392982)'), GeomFromEWKT('SRID=4674;POINT (-39.022084 -3.393109)'))) / (select extract(epoch from '2026-07-02 12:15:50'::timestamp) - extract(epoch from '2026-07-02 12:15: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'), 47416, 'SRID=4674;POINT (-39.022124 -3.393223)', '2026-07-02 12:15:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022084 -3.393109)'), GeomFromEWKT('SRID=4674;POINT (-39.022124 -3.393223)'))) / (select extract(epoch from '2026-07-02 12:15:56'::timestamp) - extract(epoch from '2026-07-02 12:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022084 -3.393109)'), GeomFromEWKT('SRID=4674;POINT (-39.022124 -3.393223)'))) / (select extract(epoch from '2026-07-02 12:15:56'::timestamp) - extract(epoch from '2026-07-02 12:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.022174 -3.39333)', '2026-07-02 12:16:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022124 -3.393223)'), GeomFromEWKT('SRID=4674;POINT (-39.022174 -3.39333)'))) / (select extract(epoch from '2026-07-02 12:16:02'::timestamp) - extract(epoch from '2026-07-02 12:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022124 -3.393223)'), GeomFromEWKT('SRID=4674;POINT (-39.022174 -3.39333)'))) / (select extract(epoch from '2026-07-02 12:16:02'::timestamp) - extract(epoch from '2026-07-02 12:15: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'), 47416, 'SRID=4674;POINT (-39.022208 -3.393422)', '2026-07-02 12:16:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022174 -3.39333)'), GeomFromEWKT('SRID=4674;POINT (-39.022208 -3.393422)'))) / (select extract(epoch from '2026-07-02 12:16:07'::timestamp) - extract(epoch from '2026-07-02 12:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022174 -3.39333)'), GeomFromEWKT('SRID=4674;POINT (-39.022208 -3.393422)'))) / (select extract(epoch from '2026-07-02 12:16:07'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.022255 -3.393527)', '2026-07-02 12:16:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022208 -3.393422)'), GeomFromEWKT('SRID=4674;POINT (-39.022255 -3.393527)'))) / (select extract(epoch from '2026-07-02 12:16:13'::timestamp) - extract(epoch from '2026-07-02 12:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022208 -3.393422)'), GeomFromEWKT('SRID=4674;POINT (-39.022255 -3.393527)'))) / (select extract(epoch from '2026-07-02 12:16:13'::timestamp) - extract(epoch from '2026-07-02 12:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.022313 -3.393657)', '2026-07-02 12:16:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022255 -3.393527)'), GeomFromEWKT('SRID=4674;POINT (-39.022313 -3.393657)'))) / (select extract(epoch from '2026-07-02 12:16:20'::timestamp) - extract(epoch from '2026-07-02 12:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022255 -3.393527)'), GeomFromEWKT('SRID=4674;POINT (-39.022313 -3.393657)'))) / (select extract(epoch from '2026-07-02 12:16:20'::timestamp) - extract(epoch from '2026-07-02 12:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.022357 -3.393778)', '2026-07-02 12:16:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022313 -3.393657)'), GeomFromEWKT('SRID=4674;POINT (-39.022357 -3.393778)'))) / (select extract(epoch from '2026-07-02 12:16:27'::timestamp) - extract(epoch from '2026-07-02 12:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022313 -3.393657)'), GeomFromEWKT('SRID=4674;POINT (-39.022357 -3.393778)'))) / (select extract(epoch from '2026-07-02 12:16:27'::timestamp) - extract(epoch from '2026-07-02 12:16: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'), 47416, 'SRID=4674;POINT (-39.022417 -3.393905)', '2026-07-02 12:16:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022357 -3.393778)'), GeomFromEWKT('SRID=4674;POINT (-39.022417 -3.393905)'))) / (select extract(epoch from '2026-07-02 12:16:34'::timestamp) - extract(epoch from '2026-07-02 12:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022357 -3.393778)'), GeomFromEWKT('SRID=4674;POINT (-39.022417 -3.393905)'))) / (select extract(epoch from '2026-07-02 12:16:34'::timestamp) - extract(epoch from '2026-07-02 12:16: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'), 47416, 'SRID=4674;POINT (-39.022471 -3.394034)', '2026-07-02 12:16:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022417 -3.393905)'), GeomFromEWKT('SRID=4674;POINT (-39.022471 -3.394034)'))) / (select extract(epoch from '2026-07-02 12:16:41'::timestamp) - extract(epoch from '2026-07-02 12:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022417 -3.393905)'), GeomFromEWKT('SRID=4674;POINT (-39.022471 -3.394034)'))) / (select extract(epoch from '2026-07-02 12:16:41'::timestamp) - extract(epoch from '2026-07-02 12:16: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'), 47416, 'SRID=4674;POINT (-39.022507 -3.394117)', '2026-07-02 12:16:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022471 -3.394034)'), GeomFromEWKT('SRID=4674;POINT (-39.022507 -3.394117)'))) / (select extract(epoch from '2026-07-02 12:16:46'::timestamp) - extract(epoch from '2026-07-02 12:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022471 -3.394034)'), GeomFromEWKT('SRID=4674;POINT (-39.022507 -3.394117)'))) / (select extract(epoch from '2026-07-02 12:16:46'::timestamp) - extract(epoch from '2026-07-02 12:16: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'), 47416, 'SRID=4674;POINT (-39.022527 -3.394155)', '2026-07-02 12:16:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022507 -3.394117)'), GeomFromEWKT('SRID=4674;POINT (-39.022527 -3.394155)'))) / (select extract(epoch from '2026-07-02 12:16:48'::timestamp) - extract(epoch from '2026-07-02 12:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022507 -3.394117)'), GeomFromEWKT('SRID=4674;POINT (-39.022527 -3.394155)'))) / (select extract(epoch from '2026-07-02 12:16:48'::timestamp) - extract(epoch from '2026-07-02 12:16: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'), 47416, 'SRID=4674;POINT (-39.022572 -3.394302)', '2026-07-02 12:16:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022527 -3.394155)'), GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.394302)'))) / (select extract(epoch from '2026-07-02 12:16:56'::timestamp) - extract(epoch from '2026-07-02 12:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022527 -3.394155)'), GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.394302)'))) / (select extract(epoch from '2026-07-02 12:16:56'::timestamp) - extract(epoch from '2026-07-02 12:16: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'), 47416, 'SRID=4674;POINT (-39.02263 -3.394471)', '2026-07-02 12:17:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.394302)'), GeomFromEWKT('SRID=4674;POINT (-39.02263 -3.394471)'))) / (select extract(epoch from '2026-07-02 12:17:05'::timestamp) - extract(epoch from '2026-07-02 12:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.394302)'), GeomFromEWKT('SRID=4674;POINT (-39.02263 -3.394471)'))) / (select extract(epoch from '2026-07-02 12:17:05'::timestamp) - extract(epoch from '2026-07-02 12:16: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'), 47416, 'SRID=4674;POINT (-39.022678 -3.394596)', '2026-07-02 12:17:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02263 -3.394471)'), GeomFromEWKT('SRID=4674;POINT (-39.022678 -3.394596)'))) / (select extract(epoch from '2026-07-02 12:17:12'::timestamp) - extract(epoch from '2026-07-02 12:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02263 -3.394471)'), GeomFromEWKT('SRID=4674;POINT (-39.022678 -3.394596)'))) / (select extract(epoch from '2026-07-02 12:17:12'::timestamp) - extract(epoch from '2026-07-02 12:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.02274 -3.394711)', '2026-07-02 12:17:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022678 -3.394596)'), GeomFromEWKT('SRID=4674;POINT (-39.02274 -3.394711)'))) / (select extract(epoch from '2026-07-02 12:17:19'::timestamp) - extract(epoch from '2026-07-02 12:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022678 -3.394596)'), GeomFromEWKT('SRID=4674;POINT (-39.02274 -3.394711)'))) / (select extract(epoch from '2026-07-02 12:17:19'::timestamp) - extract(epoch from '2026-07-02 12:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.022824 -3.39487)', '2026-07-02 12:17:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02274 -3.394711)'), GeomFromEWKT('SRID=4674;POINT (-39.022824 -3.39487)'))) / (select extract(epoch from '2026-07-02 12:17:28'::timestamp) - extract(epoch from '2026-07-02 12:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02274 -3.394711)'), GeomFromEWKT('SRID=4674;POINT (-39.022824 -3.39487)'))) / (select extract(epoch from '2026-07-02 12:17:28'::timestamp) - extract(epoch from '2026-07-02 12:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.022881 -3.394967)', '2026-07-02 12:17:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022824 -3.39487)'), GeomFromEWKT('SRID=4674;POINT (-39.022881 -3.394967)'))) / (select extract(epoch from '2026-07-02 12:17:33'::timestamp) - extract(epoch from '2026-07-02 12:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022824 -3.39487)'), GeomFromEWKT('SRID=4674;POINT (-39.022881 -3.394967)'))) / (select extract(epoch from '2026-07-02 12:17:33'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.022957 -3.395104)', '2026-07-02 12:17:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022881 -3.394967)'), GeomFromEWKT('SRID=4674;POINT (-39.022957 -3.395104)'))) / (select extract(epoch from '2026-07-02 12:17:41'::timestamp) - extract(epoch from '2026-07-02 12:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022881 -3.394967)'), GeomFromEWKT('SRID=4674;POINT (-39.022957 -3.395104)'))) / (select extract(epoch from '2026-07-02 12:17:41'::timestamp) - extract(epoch from '2026-07-02 12:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.023022 -3.395244)', '2026-07-02 12:17:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022957 -3.395104)'), GeomFromEWKT('SRID=4674;POINT (-39.023022 -3.395244)'))) / (select extract(epoch from '2026-07-02 12:17:49'::timestamp) - extract(epoch from '2026-07-02 12:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022957 -3.395104)'), GeomFromEWKT('SRID=4674;POINT (-39.023022 -3.395244)'))) / (select extract(epoch from '2026-07-02 12:17:49'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.023055 -3.395347)', '2026-07-02 12:17:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023022 -3.395244)'), GeomFromEWKT('SRID=4674;POINT (-39.023055 -3.395347)'))) / (select extract(epoch from '2026-07-02 12:17:55'::timestamp) - extract(epoch from '2026-07-02 12:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023022 -3.395244)'), GeomFromEWKT('SRID=4674;POINT (-39.023055 -3.395347)'))) / (select extract(epoch from '2026-07-02 12:17:55'::timestamp) - extract(epoch from '2026-07-02 12:17: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'), 47416, 'SRID=4674;POINT (-39.023102 -3.395473)', '2026-07-02 12:18:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023055 -3.395347)'), GeomFromEWKT('SRID=4674;POINT (-39.023102 -3.395473)'))) / (select extract(epoch from '2026-07-02 12:18:02'::timestamp) - extract(epoch from '2026-07-02 12:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023055 -3.395347)'), GeomFromEWKT('SRID=4674;POINT (-39.023102 -3.395473)'))) / (select extract(epoch from '2026-07-02 12:18:02'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.023149 -3.395617)', '2026-07-02 12:18:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023102 -3.395473)'), GeomFromEWKT('SRID=4674;POINT (-39.023149 -3.395617)'))) / (select extract(epoch from '2026-07-02 12:18:10'::timestamp) - extract(epoch from '2026-07-02 12:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023102 -3.395473)'), GeomFromEWKT('SRID=4674;POINT (-39.023149 -3.395617)'))) / (select extract(epoch from '2026-07-02 12:18:10'::timestamp) - extract(epoch from '2026-07-02 12:18: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'), 47416, 'SRID=4674;POINT (-39.023188 -3.395726)', '2026-07-02 12:18:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023149 -3.395617)'), GeomFromEWKT('SRID=4674;POINT (-39.023188 -3.395726)'))) / (select extract(epoch from '2026-07-02 12:18:16'::timestamp) - extract(epoch from '2026-07-02 12:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023149 -3.395617)'), GeomFromEWKT('SRID=4674;POINT (-39.023188 -3.395726)'))) / (select extract(epoch from '2026-07-02 12:18:16'::timestamp) - extract(epoch from '2026-07-02 12:18: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'), 47416, 'SRID=4674;POINT (-39.023235 -3.395833)', '2026-07-02 12:18:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023188 -3.395726)'), GeomFromEWKT('SRID=4674;POINT (-39.023235 -3.395833)'))) / (select extract(epoch from '2026-07-02 12:18:22'::timestamp) - extract(epoch from '2026-07-02 12:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023188 -3.395726)'), GeomFromEWKT('SRID=4674;POINT (-39.023235 -3.395833)'))) / (select extract(epoch from '2026-07-02 12:18:22'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.023293 -3.395923)', '2026-07-02 12:18:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023235 -3.395833)'), GeomFromEWKT('SRID=4674;POINT (-39.023293 -3.395923)'))) / (select extract(epoch from '2026-07-02 12:18:27'::timestamp) - extract(epoch from '2026-07-02 12:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023235 -3.395833)'), GeomFromEWKT('SRID=4674;POINT (-39.023293 -3.395923)'))) / (select extract(epoch from '2026-07-02 12:18:27'::timestamp) - extract(epoch from '2026-07-02 12:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.023381 -3.396059)', '2026-07-02 12:18:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023293 -3.395923)'), GeomFromEWKT('SRID=4674;POINT (-39.023381 -3.396059)'))) / (select extract(epoch from '2026-07-02 12:18:35'::timestamp) - extract(epoch from '2026-07-02 12:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023293 -3.395923)'), GeomFromEWKT('SRID=4674;POINT (-39.023381 -3.396059)'))) / (select extract(epoch from '2026-07-02 12:18:35'::timestamp) - extract(epoch from '2026-07-02 12:18: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'), 47416, 'SRID=4674;POINT (-39.023443 -3.396148)', '2026-07-02 12:18:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023381 -3.396059)'), GeomFromEWKT('SRID=4674;POINT (-39.023443 -3.396148)'))) / (select extract(epoch from '2026-07-02 12:18:41'::timestamp) - extract(epoch from '2026-07-02 12:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023381 -3.396059)'), GeomFromEWKT('SRID=4674;POINT (-39.023443 -3.396148)'))) / (select extract(epoch from '2026-07-02 12:18:41'::timestamp) - extract(epoch from '2026-07-02 12:18: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'), 47416, 'SRID=4674;POINT (-39.023518 -3.396304)', '2026-07-02 12:18:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023443 -3.396148)'), GeomFromEWKT('SRID=4674;POINT (-39.023518 -3.396304)'))) / (select extract(epoch from '2026-07-02 12:18:50'::timestamp) - extract(epoch from '2026-07-02 12:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023443 -3.396148)'), GeomFromEWKT('SRID=4674;POINT (-39.023518 -3.396304)'))) / (select extract(epoch from '2026-07-02 12:18:50'::timestamp) - extract(epoch from '2026-07-02 12:18: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'), 47416, 'SRID=4674;POINT (-39.023568 -3.396429)', '2026-07-02 12:18:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023518 -3.396304)'), GeomFromEWKT('SRID=4674;POINT (-39.023568 -3.396429)'))) / (select extract(epoch from '2026-07-02 12:18:57'::timestamp) - extract(epoch from '2026-07-02 12:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023518 -3.396304)'), GeomFromEWKT('SRID=4674;POINT (-39.023568 -3.396429)'))) / (select extract(epoch from '2026-07-02 12:18:57'::timestamp) - extract(epoch from '2026-07-02 12:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.02362 -3.396577)', '2026-07-02 12:19:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023568 -3.396429)'), GeomFromEWKT('SRID=4674;POINT (-39.02362 -3.396577)'))) / (select extract(epoch from '2026-07-02 12:19:05'::timestamp) - extract(epoch from '2026-07-02 12:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023568 -3.396429)'), GeomFromEWKT('SRID=4674;POINT (-39.02362 -3.396577)'))) / (select extract(epoch from '2026-07-02 12:19:05'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.023655 -3.396659)', '2026-07-02 12:19:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02362 -3.396577)'), GeomFromEWKT('SRID=4674;POINT (-39.023655 -3.396659)'))) / (select extract(epoch from '2026-07-02 12:19:10'::timestamp) - extract(epoch from '2026-07-02 12:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02362 -3.396577)'), GeomFromEWKT('SRID=4674;POINT (-39.023655 -3.396659)'))) / (select extract(epoch from '2026-07-02 12:19:10'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.023709 -3.396805)', '2026-07-02 12:19:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023655 -3.396659)'), GeomFromEWKT('SRID=4674;POINT (-39.023709 -3.396805)'))) / (select extract(epoch from '2026-07-02 12:19:18'::timestamp) - extract(epoch from '2026-07-02 12:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023655 -3.396659)'), GeomFromEWKT('SRID=4674;POINT (-39.023709 -3.396805)'))) / (select extract(epoch from '2026-07-02 12:19:18'::timestamp) - extract(epoch from '2026-07-02 12:19: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'), 47416, 'SRID=4674;POINT (-39.023755 -3.39692)', '2026-07-02 12:19:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023709 -3.396805)'), GeomFromEWKT('SRID=4674;POINT (-39.023755 -3.39692)'))) / (select extract(epoch from '2026-07-02 12:19:25'::timestamp) - extract(epoch from '2026-07-02 12:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023709 -3.396805)'), GeomFromEWKT('SRID=4674;POINT (-39.023755 -3.39692)'))) / (select extract(epoch from '2026-07-02 12:19:25'::timestamp) - extract(epoch from '2026-07-02 12:19: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'), 47416, 'SRID=4674;POINT (-39.023805 -3.397045)', '2026-07-02 12:19:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023755 -3.39692)'), GeomFromEWKT('SRID=4674;POINT (-39.023805 -3.397045)'))) / (select extract(epoch from '2026-07-02 12:19:32'::timestamp) - extract(epoch from '2026-07-02 12:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023755 -3.39692)'), GeomFromEWKT('SRID=4674;POINT (-39.023805 -3.397045)'))) / (select extract(epoch from '2026-07-02 12:19:32'::timestamp) - extract(epoch from '2026-07-02 12:19: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'), 47416, 'SRID=4674;POINT (-39.02385 -3.397148)', '2026-07-02 12:19:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023805 -3.397045)'), GeomFromEWKT('SRID=4674;POINT (-39.02385 -3.397148)'))) / (select extract(epoch from '2026-07-02 12:19:38'::timestamp) - extract(epoch from '2026-07-02 12:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023805 -3.397045)'), GeomFromEWKT('SRID=4674;POINT (-39.02385 -3.397148)'))) / (select extract(epoch from '2026-07-02 12:19:38'::timestamp) - extract(epoch from '2026-07-02 12:19: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'), 47416, 'SRID=4674;POINT (-39.023904 -3.397289)', '2026-07-02 12:19:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02385 -3.397148)'), GeomFromEWKT('SRID=4674;POINT (-39.023904 -3.397289)'))) / (select extract(epoch from '2026-07-02 12:19:46'::timestamp) - extract(epoch from '2026-07-02 12:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02385 -3.397148)'), GeomFromEWKT('SRID=4674;POINT (-39.023904 -3.397289)'))) / (select extract(epoch from '2026-07-02 12:19:46'::timestamp) - extract(epoch from '2026-07-02 12:19: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'), 47416, 'SRID=4674;POINT (-39.023949 -3.397417)', '2026-07-02 12:19:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023904 -3.397289)'), GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.397417)'))) / (select extract(epoch from '2026-07-02 12:19:53'::timestamp) - extract(epoch from '2026-07-02 12:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023904 -3.397289)'), GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.397417)'))) / (select extract(epoch from '2026-07-02 12:19:53'::timestamp) - extract(epoch from '2026-07-02 12:19: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'), 47416, 'SRID=4674;POINT (-39.023977 -3.397541)', '2026-07-02 12:20:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.397417)'), GeomFromEWKT('SRID=4674;POINT (-39.023977 -3.397541)'))) / (select extract(epoch from '2026-07-02 12:20:00'::timestamp) - extract(epoch from '2026-07-02 12:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023949 -3.397417)'), GeomFromEWKT('SRID=4674;POINT (-39.023977 -3.397541)'))) / (select extract(epoch from '2026-07-02 12:20:00'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.023994 -3.397644)', '2026-07-02 12:20:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023977 -3.397541)'), GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.397644)'))) / (select extract(epoch from '2026-07-02 12:20:06'::timestamp) - extract(epoch from '2026-07-02 12:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023977 -3.397541)'), GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.397644)'))) / (select extract(epoch from '2026-07-02 12:20:06'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.024013 -3.39777)', '2026-07-02 12:20:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.397644)'), GeomFromEWKT('SRID=4674;POINT (-39.024013 -3.39777)'))) / (select extract(epoch from '2026-07-02 12:20:13'::timestamp) - extract(epoch from '2026-07-02 12:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.397644)'), GeomFromEWKT('SRID=4674;POINT (-39.024013 -3.39777)'))) / (select extract(epoch from '2026-07-02 12:20:13'::timestamp) - extract(epoch from '2026-07-02 12:20: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'), 47416, 'SRID=4674;POINT (-39.024036 -3.397885)', '2026-07-02 12:20:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024013 -3.39777)'), GeomFromEWKT('SRID=4674;POINT (-39.024036 -3.397885)'))) / (select extract(epoch from '2026-07-02 12:20:19'::timestamp) - extract(epoch from '2026-07-02 12:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024013 -3.39777)'), GeomFromEWKT('SRID=4674;POINT (-39.024036 -3.397885)'))) / (select extract(epoch from '2026-07-02 12:20:19'::timestamp) - extract(epoch from '2026-07-02 12:20: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'), 47416, 'SRID=4674;POINT (-39.024062 -3.39799)', '2026-07-02 12:20:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024036 -3.397885)'), GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.39799)'))) / (select extract(epoch from '2026-07-02 12:20:25'::timestamp) - extract(epoch from '2026-07-02 12:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024036 -3.397885)'), GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.39799)'))) / (select extract(epoch from '2026-07-02 12:20:25'::timestamp) - extract(epoch from '2026-07-02 12:20: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'), 47416, 'SRID=4674;POINT (-39.024112 -3.398181)', '2026-07-02 12:20:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.39799)'), GeomFromEWKT('SRID=4674;POINT (-39.024112 -3.398181)'))) / (select extract(epoch from '2026-07-02 12:20:35'::timestamp) - extract(epoch from '2026-07-02 12:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.39799)'), GeomFromEWKT('SRID=4674;POINT (-39.024112 -3.398181)'))) / (select extract(epoch from '2026-07-02 12:20:35'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.024159 -3.398327)', '2026-07-02 12:20:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024112 -3.398181)'), GeomFromEWKT('SRID=4674;POINT (-39.024159 -3.398327)'))) / (select extract(epoch from '2026-07-02 12:20:43'::timestamp) - extract(epoch from '2026-07-02 12:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024112 -3.398181)'), GeomFromEWKT('SRID=4674;POINT (-39.024159 -3.398327)'))) / (select extract(epoch from '2026-07-02 12:20:43'::timestamp) - extract(epoch from '2026-07-02 12:20: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'), 47416, 'SRID=4674;POINT (-39.024193 -3.398438)', '2026-07-02 12:20:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024159 -3.398327)'), GeomFromEWKT('SRID=4674;POINT (-39.024193 -3.398438)'))) / (select extract(epoch from '2026-07-02 12:20:49'::timestamp) - extract(epoch from '2026-07-02 12:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024159 -3.398327)'), GeomFromEWKT('SRID=4674;POINT (-39.024193 -3.398438)'))) / (select extract(epoch from '2026-07-02 12:20:49'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.024242 -3.398568)', '2026-07-02 12:20:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024193 -3.398438)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.398568)'))) / (select extract(epoch from '2026-07-02 12:20:56'::timestamp) - extract(epoch from '2026-07-02 12:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024193 -3.398438)'), GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.398568)'))) / (select extract(epoch from '2026-07-02 12:20:56'::timestamp) - extract(epoch from '2026-07-02 12:20: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'), 47416, 'SRID=4674;POINT (-39.024269 -3.398647)', '2026-07-02 12:21:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.398568)'), GeomFromEWKT('SRID=4674;POINT (-39.024269 -3.398647)'))) / (select extract(epoch from '2026-07-02 12:21:01'::timestamp) - extract(epoch from '2026-07-02 12:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024242 -3.398568)'), GeomFromEWKT('SRID=4674;POINT (-39.024269 -3.398647)'))) / (select extract(epoch from '2026-07-02 12:21:01'::timestamp) - extract(epoch from '2026-07-02 12:20: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'), 47416, 'SRID=4674;POINT (-39.024331 -3.39877)', '2026-07-02 12:21:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024269 -3.398647)'), GeomFromEWKT('SRID=4674;POINT (-39.024331 -3.39877)'))) / (select extract(epoch from '2026-07-02 12:21:08'::timestamp) - extract(epoch from '2026-07-02 12:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024269 -3.398647)'), GeomFromEWKT('SRID=4674;POINT (-39.024331 -3.39877)'))) / (select extract(epoch from '2026-07-02 12:21:08'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.024378 -3.398906)', '2026-07-02 12:21:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024331 -3.39877)'), GeomFromEWKT('SRID=4674;POINT (-39.024378 -3.398906)'))) / (select extract(epoch from '2026-07-02 12:21:16'::timestamp) - extract(epoch from '2026-07-02 12:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024331 -3.39877)'), GeomFromEWKT('SRID=4674;POINT (-39.024378 -3.398906)'))) / (select extract(epoch from '2026-07-02 12:21:16'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.024433 -3.399)', '2026-07-02 12:21:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024378 -3.398906)'), GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.399)'))) / (select extract(epoch from '2026-07-02 12:21:22'::timestamp) - extract(epoch from '2026-07-02 12:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024378 -3.398906)'), GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.399)'))) / (select extract(epoch from '2026-07-02 12:21:22'::timestamp) - extract(epoch from '2026-07-02 12:21: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'), 47416, 'SRID=4674;POINT (-39.024552 -3.399105)', '2026-07-02 12:21:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.399)'), GeomFromEWKT('SRID=4674;POINT (-39.024552 -3.399105)'))) / (select extract(epoch from '2026-07-02 12:21:30'::timestamp) - extract(epoch from '2026-07-02 12:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.399)'), GeomFromEWKT('SRID=4674;POINT (-39.024552 -3.399105)'))) / (select extract(epoch from '2026-07-02 12:21:30'::timestamp) - extract(epoch from '2026-07-02 12:21: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'), 47416, 'SRID=4674;POINT (-39.024642 -3.399194)', '2026-07-02 12:21:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024552 -3.399105)'), GeomFromEWKT('SRID=4674;POINT (-39.024642 -3.399194)'))) / (select extract(epoch from '2026-07-02 12:21:36'::timestamp) - extract(epoch from '2026-07-02 12:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024552 -3.399105)'), GeomFromEWKT('SRID=4674;POINT (-39.024642 -3.399194)'))) / (select extract(epoch from '2026-07-02 12:21:36'::timestamp) - extract(epoch from '2026-07-02 12:21: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'), 47416, 'SRID=4674;POINT (-39.024748 -3.399311)', '2026-07-02 12:21:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024642 -3.399194)'), GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.399311)'))) / (select extract(epoch from '2026-07-02 12:21:44'::timestamp) - extract(epoch from '2026-07-02 12:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024642 -3.399194)'), GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.399311)'))) / (select extract(epoch from '2026-07-02 12:21:44'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.024836 -3.399434)', '2026-07-02 12:21:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.399311)'), GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.399434)'))) / (select extract(epoch from '2026-07-02 12:21:52'::timestamp) - extract(epoch from '2026-07-02 12:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.399311)'), GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.399434)'))) / (select extract(epoch from '2026-07-02 12:21:52'::timestamp) - extract(epoch from '2026-07-02 12:21: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'), 47416, 'SRID=4674;POINT (-39.024896 -3.399553)', '2026-07-02 12:21:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.399434)'), GeomFromEWKT('SRID=4674;POINT (-39.024896 -3.399553)'))) / (select extract(epoch from '2026-07-02 12:21:59'::timestamp) - extract(epoch from '2026-07-02 12:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.399434)'), GeomFromEWKT('SRID=4674;POINT (-39.024896 -3.399553)'))) / (select extract(epoch from '2026-07-02 12:21:59'::timestamp) - extract(epoch from '2026-07-02 12:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.024942 -3.399671)', '2026-07-02 12:22:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024896 -3.399553)'), GeomFromEWKT('SRID=4674;POINT (-39.024942 -3.399671)'))) / (select extract(epoch from '2026-07-02 12:22:06'::timestamp) - extract(epoch from '2026-07-02 12:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024896 -3.399553)'), GeomFromEWKT('SRID=4674;POINT (-39.024942 -3.399671)'))) / (select extract(epoch from '2026-07-02 12:22:06'::timestamp) - extract(epoch from '2026-07-02 12:21: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'), 47416, 'SRID=4674;POINT (-39.024979 -3.399787)', '2026-07-02 12:22:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024942 -3.399671)'), GeomFromEWKT('SRID=4674;POINT (-39.024979 -3.399787)'))) / (select extract(epoch from '2026-07-02 12:22:13'::timestamp) - extract(epoch from '2026-07-02 12:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024942 -3.399671)'), GeomFromEWKT('SRID=4674;POINT (-39.024979 -3.399787)'))) / (select extract(epoch from '2026-07-02 12:22:13'::timestamp) - extract(epoch from '2026-07-02 12:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.025019 -3.399883)', '2026-07-02 12:22:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024979 -3.399787)'), GeomFromEWKT('SRID=4674;POINT (-39.025019 -3.399883)'))) / (select extract(epoch from '2026-07-02 12:22:19'::timestamp) - extract(epoch from '2026-07-02 12:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024979 -3.399787)'), GeomFromEWKT('SRID=4674;POINT (-39.025019 -3.399883)'))) / (select extract(epoch from '2026-07-02 12:22:19'::timestamp) - extract(epoch from '2026-07-02 12:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.02508 -3.400021)', '2026-07-02 12:22:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025019 -3.399883)'), GeomFromEWKT('SRID=4674;POINT (-39.02508 -3.400021)'))) / (select extract(epoch from '2026-07-02 12:22:27'::timestamp) - extract(epoch from '2026-07-02 12:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025019 -3.399883)'), GeomFromEWKT('SRID=4674;POINT (-39.02508 -3.400021)'))) / (select extract(epoch from '2026-07-02 12:22:27'::timestamp) - extract(epoch from '2026-07-02 12:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.025132 -3.400159)', '2026-07-02 12:22:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02508 -3.400021)'), GeomFromEWKT('SRID=4674;POINT (-39.025132 -3.400159)'))) / (select extract(epoch from '2026-07-02 12:22:35'::timestamp) - extract(epoch from '2026-07-02 12:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02508 -3.400021)'), GeomFromEWKT('SRID=4674;POINT (-39.025132 -3.400159)'))) / (select extract(epoch from '2026-07-02 12:22:35'::timestamp) - extract(epoch from '2026-07-02 12:22: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'), 47416, 'SRID=4674;POINT (-39.025173 -3.400276)', '2026-07-02 12:22:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025132 -3.400159)'), GeomFromEWKT('SRID=4674;POINT (-39.025173 -3.400276)'))) / (select extract(epoch from '2026-07-02 12:22:42'::timestamp) - extract(epoch from '2026-07-02 12:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025132 -3.400159)'), GeomFromEWKT('SRID=4674;POINT (-39.025173 -3.400276)'))) / (select extract(epoch from '2026-07-02 12:22:42'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.02521 -3.400377)', '2026-07-02 12:22:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025173 -3.400276)'), GeomFromEWKT('SRID=4674;POINT (-39.02521 -3.400377)'))) / (select extract(epoch from '2026-07-02 12:22:48'::timestamp) - extract(epoch from '2026-07-02 12:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025173 -3.400276)'), GeomFromEWKT('SRID=4674;POINT (-39.02521 -3.400377)'))) / (select extract(epoch from '2026-07-02 12:22:48'::timestamp) - extract(epoch from '2026-07-02 12:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.025255 -3.400501)', '2026-07-02 12:22:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02521 -3.400377)'), GeomFromEWKT('SRID=4674;POINT (-39.025255 -3.400501)'))) / (select extract(epoch from '2026-07-02 12:22:55'::timestamp) - extract(epoch from '2026-07-02 12:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02521 -3.400377)'), GeomFromEWKT('SRID=4674;POINT (-39.025255 -3.400501)'))) / (select extract(epoch from '2026-07-02 12:22:55'::timestamp) - extract(epoch from '2026-07-02 12:22: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'), 47416, 'SRID=4674;POINT (-39.025286 -3.400622)', '2026-07-02 12:23:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025255 -3.400501)'), GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.400622)'))) / (select extract(epoch from '2026-07-02 12:23:02'::timestamp) - extract(epoch from '2026-07-02 12:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025255 -3.400501)'), GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.400622)'))) / (select extract(epoch from '2026-07-02 12:23:02'::timestamp) - extract(epoch from '2026-07-02 12:22: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'), 47416, 'SRID=4674;POINT (-39.025339 -3.400799)', '2026-07-02 12:23:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.400622)'), GeomFromEWKT('SRID=4674;POINT (-39.025339 -3.400799)'))) / (select extract(epoch from '2026-07-02 12:23:12'::timestamp) - extract(epoch from '2026-07-02 12:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.400622)'), GeomFromEWKT('SRID=4674;POINT (-39.025339 -3.400799)'))) / (select extract(epoch from '2026-07-02 12:23:12'::timestamp) - extract(epoch from '2026-07-02 12:23: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'), 47416, 'SRID=4674;POINT (-39.025391 -3.400943)', '2026-07-02 12:23:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025339 -3.400799)'), GeomFromEWKT('SRID=4674;POINT (-39.025391 -3.400943)'))) / (select extract(epoch from '2026-07-02 12:23:20'::timestamp) - extract(epoch from '2026-07-02 12:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025339 -3.400799)'), GeomFromEWKT('SRID=4674;POINT (-39.025391 -3.400943)'))) / (select extract(epoch from '2026-07-02 12:23:20'::timestamp) - extract(epoch from '2026-07-02 12:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.025432 -3.40107)', '2026-07-02 12:23:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025391 -3.400943)'), GeomFromEWKT('SRID=4674;POINT (-39.025432 -3.40107)'))) / (select extract(epoch from '2026-07-02 12:23:27'::timestamp) - extract(epoch from '2026-07-02 12:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025391 -3.400943)'), GeomFromEWKT('SRID=4674;POINT (-39.025432 -3.40107)'))) / (select extract(epoch from '2026-07-02 12:23:27'::timestamp) - extract(epoch from '2026-07-02 12:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.02548 -3.401193)', '2026-07-02 12:23:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025432 -3.40107)'), GeomFromEWKT('SRID=4674;POINT (-39.02548 -3.401193)'))) / (select extract(epoch from '2026-07-02 12:23:34'::timestamp) - extract(epoch from '2026-07-02 12:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025432 -3.40107)'), GeomFromEWKT('SRID=4674;POINT (-39.02548 -3.401193)'))) / (select extract(epoch from '2026-07-02 12:23:34'::timestamp) - extract(epoch from '2026-07-02 12:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.025513 -3.401271)', '2026-07-02 12:23:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02548 -3.401193)'), GeomFromEWKT('SRID=4674;POINT (-39.025513 -3.401271)'))) / (select extract(epoch from '2026-07-02 12:23:39'::timestamp) - extract(epoch from '2026-07-02 12:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02548 -3.401193)'), GeomFromEWKT('SRID=4674;POINT (-39.025513 -3.401271)'))) / (select extract(epoch from '2026-07-02 12:23:39'::timestamp) - extract(epoch from '2026-07-02 12:23:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.025572 -3.401397)', '2026-07-02 12:23:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025513 -3.401271)'), GeomFromEWKT('SRID=4674;POINT (-39.025572 -3.401397)'))) / (select extract(epoch from '2026-07-02 12:23:46'::timestamp) - extract(epoch from '2026-07-02 12:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025513 -3.401271)'), GeomFromEWKT('SRID=4674;POINT (-39.025572 -3.401397)'))) / (select extract(epoch from '2026-07-02 12:23:46'::timestamp) - extract(epoch from '2026-07-02 12:23: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'), 47416, 'SRID=4674;POINT (-39.025633 -3.401509)', '2026-07-02 12:23:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025572 -3.401397)'), GeomFromEWKT('SRID=4674;POINT (-39.025633 -3.401509)'))) / (select extract(epoch from '2026-07-02 12:23:53'::timestamp) - extract(epoch from '2026-07-02 12:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025572 -3.401397)'), GeomFromEWKT('SRID=4674;POINT (-39.025633 -3.401509)'))) / (select extract(epoch from '2026-07-02 12:23:53'::timestamp) - extract(epoch from '2026-07-02 12:23: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'), 47416, 'SRID=4674;POINT (-39.025704 -3.40159)', '2026-07-02 12:23:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025633 -3.401509)'), GeomFromEWKT('SRID=4674;POINT (-39.025704 -3.40159)'))) / (select extract(epoch from '2026-07-02 12:23:58'::timestamp) - extract(epoch from '2026-07-02 12:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025633 -3.401509)'), GeomFromEWKT('SRID=4674;POINT (-39.025704 -3.40159)'))) / (select extract(epoch from '2026-07-02 12:23:58'::timestamp) - extract(epoch from '2026-07-02 12:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.025786 -3.401658)', '2026-07-02 12:24:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025704 -3.40159)'), GeomFromEWKT('SRID=4674;POINT (-39.025786 -3.401658)'))) / (select extract(epoch from '2026-07-02 12:24:03'::timestamp) - extract(epoch from '2026-07-02 12:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025704 -3.40159)'), GeomFromEWKT('SRID=4674;POINT (-39.025786 -3.401658)'))) / (select extract(epoch from '2026-07-02 12:24:03'::timestamp) - extract(epoch from '2026-07-02 12:23: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'), 47416, 'SRID=4674;POINT (-39.02588 -3.401729)', '2026-07-02 12:24:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025786 -3.401658)'), GeomFromEWKT('SRID=4674;POINT (-39.02588 -3.401729)'))) / (select extract(epoch from '2026-07-02 12:24:09'::timestamp) - extract(epoch from '2026-07-02 12:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025786 -3.401658)'), GeomFromEWKT('SRID=4674;POINT (-39.02588 -3.401729)'))) / (select extract(epoch from '2026-07-02 12:24:09'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.026001 -3.401827)', '2026-07-02 12:24:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02588 -3.401729)'), GeomFromEWKT('SRID=4674;POINT (-39.026001 -3.401827)'))) / (select extract(epoch from '2026-07-02 12:24:17'::timestamp) - extract(epoch from '2026-07-02 12:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02588 -3.401729)'), GeomFromEWKT('SRID=4674;POINT (-39.026001 -3.401827)'))) / (select extract(epoch from '2026-07-02 12:24:17'::timestamp) - extract(epoch from '2026-07-02 12:24: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'), 47416, 'SRID=4674;POINT (-39.026093 -3.401913)', '2026-07-02 12:24:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026001 -3.401827)'), GeomFromEWKT('SRID=4674;POINT (-39.026093 -3.401913)'))) / (select extract(epoch from '2026-07-02 12:24:23'::timestamp) - extract(epoch from '2026-07-02 12:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026001 -3.401827)'), GeomFromEWKT('SRID=4674;POINT (-39.026093 -3.401913)'))) / (select extract(epoch from '2026-07-02 12:24:23'::timestamp) - extract(epoch from '2026-07-02 12:24: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'), 47416, 'SRID=4674;POINT (-39.026193 -3.40204)', '2026-07-02 12:24:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026093 -3.401913)'), GeomFromEWKT('SRID=4674;POINT (-39.026193 -3.40204)'))) / (select extract(epoch from '2026-07-02 12:24:32'::timestamp) - extract(epoch from '2026-07-02 12:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026093 -3.401913)'), GeomFromEWKT('SRID=4674;POINT (-39.026193 -3.40204)'))) / (select extract(epoch from '2026-07-02 12:24:32'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.026247 -3.402125)', '2026-07-02 12:24:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026193 -3.40204)'), GeomFromEWKT('SRID=4674;POINT (-39.026247 -3.402125)'))) / (select extract(epoch from '2026-07-02 12:24:39'::timestamp) - extract(epoch from '2026-07-02 12:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026193 -3.40204)'), GeomFromEWKT('SRID=4674;POINT (-39.026247 -3.402125)'))) / (select extract(epoch from '2026-07-02 12:24:39'::timestamp) - extract(epoch from '2026-07-02 12:24: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'), 47416, 'SRID=4674;POINT (-39.0263 -3.402241)', '2026-07-02 12:24:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026247 -3.402125)'), GeomFromEWKT('SRID=4674;POINT (-39.0263 -3.402241)'))) / (select extract(epoch from '2026-07-02 12:24:47'::timestamp) - extract(epoch from '2026-07-02 12:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026247 -3.402125)'), GeomFromEWKT('SRID=4674;POINT (-39.0263 -3.402241)'))) / (select extract(epoch from '2026-07-02 12:24:47'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.026346 -3.402342)', '2026-07-02 12:24:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0263 -3.402241)'), GeomFromEWKT('SRID=4674;POINT (-39.026346 -3.402342)'))) / (select extract(epoch from '2026-07-02 12:24:54'::timestamp) - extract(epoch from '2026-07-02 12:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0263 -3.402241)'), GeomFromEWKT('SRID=4674;POINT (-39.026346 -3.402342)'))) / (select extract(epoch from '2026-07-02 12:24:54'::timestamp) - extract(epoch from '2026-07-02 12:24: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'), 47416, 'SRID=4674;POINT (-39.026391 -3.402419)', '2026-07-02 12:25:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026346 -3.402342)'), GeomFromEWKT('SRID=4674;POINT (-39.026391 -3.402419)'))) / (select extract(epoch from '2026-07-02 12:25:00'::timestamp) - extract(epoch from '2026-07-02 12:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026346 -3.402342)'), GeomFromEWKT('SRID=4674;POINT (-39.026391 -3.402419)'))) / (select extract(epoch from '2026-07-02 12:25:00'::timestamp) - extract(epoch from '2026-07-02 12:24: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'), 47416, 'SRID=4674;POINT (-39.026427 -3.402489)', '2026-07-02 12:25:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026391 -3.402419)'), GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.402489)'))) / (select extract(epoch from '2026-07-02 12:25:06'::timestamp) - extract(epoch from '2026-07-02 12:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026391 -3.402419)'), GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.402489)'))) / (select extract(epoch from '2026-07-02 12:25:06'::timestamp) - extract(epoch from '2026-07-02 12:25: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'), 47416, 'SRID=4674;POINT (-39.026452 -3.402534)', '2026-07-02 12:25:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.402489)'), GeomFromEWKT('SRID=4674;POINT (-39.026452 -3.402534)'))) / (select extract(epoch from '2026-07-02 12:25:13'::timestamp) - extract(epoch from '2026-07-02 12:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.402489)'), GeomFromEWKT('SRID=4674;POINT (-39.026452 -3.402534)'))) / (select extract(epoch from '2026-07-02 12:25:13'::timestamp) - extract(epoch from '2026-07-02 12:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.026484 -3.402552)', '2026-07-02 12:25:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026452 -3.402534)'), GeomFromEWKT('SRID=4674;POINT (-39.026484 -3.402552)'))) / (select extract(epoch from '2026-07-02 12:25:21'::timestamp) - extract(epoch from '2026-07-02 12:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026452 -3.402534)'), GeomFromEWKT('SRID=4674;POINT (-39.026484 -3.402552)'))) / (select extract(epoch from '2026-07-02 12:25:21'::timestamp) - extract(epoch from '2026-07-02 12:25: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'), 47416, 'SRID=4674;POINT (-39.026523 -3.402556)', '2026-07-02 12:25:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026484 -3.402552)'), GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.402556)'))) / (select extract(epoch from '2026-07-02 12:25:30'::timestamp) - extract(epoch from '2026-07-02 12:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026484 -3.402552)'), GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.402556)'))) / (select extract(epoch from '2026-07-02 12:25:30'::timestamp) - extract(epoch from '2026-07-02 12:25: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'), 47416, 'SRID=4674;POINT (-39.026565 -3.402557)', '2026-07-02 12:25:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.402556)'), GeomFromEWKT('SRID=4674;POINT (-39.026565 -3.402557)'))) / (select extract(epoch from '2026-07-02 12:25:39'::timestamp) - extract(epoch from '2026-07-02 12:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.402556)'), GeomFromEWKT('SRID=4674;POINT (-39.026565 -3.402557)'))) / (select extract(epoch from '2026-07-02 12:25:39'::timestamp) - extract(epoch from '2026-07-02 12:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.026603 -3.402565)', '2026-07-02 12:25:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026565 -3.402557)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402565)'))) / (select extract(epoch from '2026-07-02 12:25:47'::timestamp) - extract(epoch from '2026-07-02 12:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026565 -3.402557)'), GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402565)'))) / (select extract(epoch from '2026-07-02 12:25:47'::timestamp) - extract(epoch from '2026-07-02 12:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.026644 -3.402572)', '2026-07-02 12:25:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402565)'), GeomFromEWKT('SRID=4674;POINT (-39.026644 -3.402572)'))) / (select extract(epoch from '2026-07-02 12:25:56'::timestamp) - extract(epoch from '2026-07-02 12:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026603 -3.402565)'), GeomFromEWKT('SRID=4674;POINT (-39.026644 -3.402572)'))) / (select extract(epoch from '2026-07-02 12:25:56'::timestamp) - extract(epoch from '2026-07-02 12: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'), 47416, 'SRID=4674;POINT (-39.026698 -3.402573)', '2026-07-02 12:26:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026644 -3.402572)'), GeomFromEWKT('SRID=4674;POINT (-39.026698 -3.402573)'))) / (select extract(epoch from '2026-07-02 12:26:07'::timestamp) - extract(epoch from '2026-07-02 12:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026644 -3.402572)'), GeomFromEWKT('SRID=4674;POINT (-39.026698 -3.402573)'))) / (select extract(epoch from '2026-07-02 12:26:07'::timestamp) - extract(epoch from '2026-07-02 12:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.026782 -3.402565)', '2026-07-02 12:26:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026698 -3.402573)'), GeomFromEWKT('SRID=4674;POINT (-39.026782 -3.402565)'))) / (select extract(epoch from '2026-07-02 12:26:21'::timestamp) - extract(epoch from '2026-07-02 12:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026698 -3.402573)'), GeomFromEWKT('SRID=4674;POINT (-39.026782 -3.402565)'))) / (select extract(epoch from '2026-07-02 12:26:21'::timestamp) - extract(epoch from '2026-07-02 12:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.026832 -3.402563)', '2026-07-02 12:26:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026782 -3.402565)'), GeomFromEWKT('SRID=4674;POINT (-39.026832 -3.402563)'))) / (select extract(epoch from '2026-07-02 12:26:30'::timestamp) - extract(epoch from '2026-07-02 12:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026782 -3.402565)'), GeomFromEWKT('SRID=4674;POINT (-39.026832 -3.402563)'))) / (select extract(epoch from '2026-07-02 12:26:30'::timestamp) - extract(epoch from '2026-07-02 12:26: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'), 47416, 'SRID=4674;POINT (-39.026846 -3.402567)', '2026-07-02 12:26:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026832 -3.402563)'), GeomFromEWKT('SRID=4674;POINT (-39.026846 -3.402567)'))) / (select extract(epoch from '2026-07-02 12:26:39'::timestamp) - extract(epoch from '2026-07-02 12:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026832 -3.402563)'), GeomFromEWKT('SRID=4674;POINT (-39.026846 -3.402567)'))) / (select extract(epoch from '2026-07-02 12:26:39'::timestamp) - extract(epoch from '2026-07-02 12:26: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'), 47416, 'SRID=4674;POINT (-39.026841 -3.40254)', '2026-07-02 12:26:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026846 -3.402567)'), GeomFromEWKT('SRID=4674;POINT (-39.026841 -3.40254)'))) / (select extract(epoch from '2026-07-02 12:26:51'::timestamp) - extract(epoch from '2026-07-02 12:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026846 -3.402567)'), GeomFromEWKT('SRID=4674;POINT (-39.026841 -3.40254)'))) / (select extract(epoch from '2026-07-02 12:26:51'::timestamp) - extract(epoch from '2026-07-02 12:26: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'), 47416, 'SRID=4674;POINT (-39.026845 -3.402519)', '2026-07-02 12:27:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026841 -3.40254)'), GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.402519)'))) / (select extract(epoch from '2026-07-02 12:27:07'::timestamp) - extract(epoch from '2026-07-02 12:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026841 -3.40254)'), GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.402519)'))) / (select extract(epoch from '2026-07-02 12:27:07'::timestamp) - extract(epoch from '2026-07-02 12:26: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'), 47416, 'SRID=4674;POINT (-39.026849 -3.40251)', '2026-07-02 12:27:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.402519)'), GeomFromEWKT('SRID=4674;POINT (-39.026849 -3.40251)'))) / (select extract(epoch from '2026-07-02 12:27:17'::timestamp) - extract(epoch from '2026-07-02 12:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.402519)'), GeomFromEWKT('SRID=4674;POINT (-39.026849 -3.40251)'))) / (select extract(epoch from '2026-07-02 12:27:17'::timestamp) - extract(epoch from '2026-07-02 12:27: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'), 47416, 'SRID=4674;POINT (-39.026846 -3.402501)', '2026-07-02 12:27:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026849 -3.40251)'), GeomFromEWKT('SRID=4674;POINT (-39.026846 -3.402501)'))) / (select extract(epoch from '2026-07-02 12:27:26'::timestamp) - extract(epoch from '2026-07-02 12:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026849 -3.40251)'), GeomFromEWKT('SRID=4674;POINT (-39.026846 -3.402501)'))) / (select extract(epoch from '2026-07-02 12:27:26'::timestamp) - extract(epoch from '2026-07-02 12:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.026851 -3.402496)', '2026-07-02 12:27:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026846 -3.402501)'), GeomFromEWKT('SRID=4674;POINT (-39.026851 -3.402496)'))) / (select extract(epoch from '2026-07-02 12:27:39'::timestamp) - extract(epoch from '2026-07-02 12:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026846 -3.402501)'), GeomFromEWKT('SRID=4674;POINT (-39.026851 -3.402496)'))) / (select extract(epoch from '2026-07-02 12:27:39'::timestamp) - extract(epoch from '2026-07-02 12:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47416, 'SRID=4674;POINT (-39.026844 -3.402512)', '2026-07-02 12:27:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026851 -3.402496)'), GeomFromEWKT('SRID=4674;POINT (-39.026844 -3.402512)'))) / (select extract(epoch from '2026-07-02 12:27:49'::timestamp) - extract(epoch from '2026-07-02 12:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026851 -3.402496)'), GeomFromEWKT('SRID=4674;POINT (-39.026844 -3.402512)'))) / (select extract(epoch from '2026-07-02 12:27:49'::timestamp) - extract(epoch from '2026-07-02 12:27: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'), 47416, 'SRID=4674;POINT (-39.026844 -3.402514)', '2026-07-02 12:27:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026844 -3.402512)'), GeomFromEWKT('SRID=4674;POINT (-39.026844 -3.402514)'))) / (select extract(epoch from '2026-07-02 12:27:52'::timestamp) - extract(epoch from '2026-07-02 12:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026844 -3.402512)'), GeomFromEWKT('SRID=4674;POINT (-39.026844 -3.402514)'))) / (select extract(epoch from '2026-07-02 12:27:52'::timestamp) - extract(epoch from '2026-07-02 12:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
