 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037752 -3.370241)', '2026-06-12 17:24:22', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037737 -3.370265)'), GeomFromEWKT('SRID=4674;POINT (-39.037752 -3.370241)'))) / (select extract(epoch from '2026-06-12 17:24:22'::timestamp) - extract(epoch from '2026-06-12 17:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037737 -3.370265)'), GeomFromEWKT('SRID=4674;POINT (-39.037752 -3.370241)'))) / (select extract(epoch from '2026-06-12 17:24:22'::timestamp) - extract(epoch from '2026-06-12 17:24: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'), 46569, 'SRID=4674;POINT (-39.037759 -3.37023)', '2026-06-12 17:24:24', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037752 -3.370241)'), GeomFromEWKT('SRID=4674;POINT (-39.037759 -3.37023)'))) / (select extract(epoch from '2026-06-12 17:24:24'::timestamp) - extract(epoch from '2026-06-12 17:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037752 -3.370241)'), GeomFromEWKT('SRID=4674;POINT (-39.037759 -3.37023)'))) / (select extract(epoch from '2026-06-12 17:24:24'::timestamp) - extract(epoch from '2026-06-12 17:24: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'), 46569, 'SRID=4674;POINT (-39.037768 -3.370208)', '2026-06-12 17:24:28', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037759 -3.37023)'), GeomFromEWKT('SRID=4674;POINT (-39.037768 -3.370208)'))) / (select extract(epoch from '2026-06-12 17:24:28'::timestamp) - extract(epoch from '2026-06-12 17:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037759 -3.37023)'), GeomFromEWKT('SRID=4674;POINT (-39.037768 -3.370208)'))) / (select extract(epoch from '2026-06-12 17:24:28'::timestamp) - extract(epoch from '2026-06-12 17:24: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'), 46569, 'SRID=4674;POINT (-39.037783 -3.370177)', '2026-06-12 17:24:33', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037768 -3.370208)'), GeomFromEWKT('SRID=4674;POINT (-39.037783 -3.370177)'))) / (select extract(epoch from '2026-06-12 17:24:33'::timestamp) - extract(epoch from '2026-06-12 17:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037768 -3.370208)'), GeomFromEWKT('SRID=4674;POINT (-39.037783 -3.370177)'))) / (select extract(epoch from '2026-06-12 17:24:33'::timestamp) - extract(epoch from '2026-06-12 17:24: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'), 46569, 'SRID=4674;POINT (-39.03779 -3.370167)', '2026-06-12 17:24:34', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037783 -3.370177)'), GeomFromEWKT('SRID=4674;POINT (-39.03779 -3.370167)'))) / (select extract(epoch from '2026-06-12 17:24:34'::timestamp) - extract(epoch from '2026-06-12 17:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037783 -3.370177)'), GeomFromEWKT('SRID=4674;POINT (-39.03779 -3.370167)'))) / (select extract(epoch from '2026-06-12 17:24:34'::timestamp) - extract(epoch from '2026-06-12 17:24: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'), 46569, 'SRID=4674;POINT (-39.037816 -3.370133)', '2026-06-12 17:24:39', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03779 -3.370167)'), GeomFromEWKT('SRID=4674;POINT (-39.037816 -3.370133)'))) / (select extract(epoch from '2026-06-12 17:24:39'::timestamp) - extract(epoch from '2026-06-12 17:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03779 -3.370167)'), GeomFromEWKT('SRID=4674;POINT (-39.037816 -3.370133)'))) / (select extract(epoch from '2026-06-12 17:24:39'::timestamp) - extract(epoch from '2026-06-12 17:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037852 -3.370094)', '2026-06-12 17:24:45', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037816 -3.370133)'), GeomFromEWKT('SRID=4674;POINT (-39.037852 -3.370094)'))) / (select extract(epoch from '2026-06-12 17:24:45'::timestamp) - extract(epoch from '2026-06-12 17:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037816 -3.370133)'), GeomFromEWKT('SRID=4674;POINT (-39.037852 -3.370094)'))) / (select extract(epoch from '2026-06-12 17:24:45'::timestamp) - extract(epoch from '2026-06-12 17:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.037864 -3.37007)', '2026-06-12 17:24:50', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037852 -3.370094)'), GeomFromEWKT('SRID=4674;POINT (-39.037864 -3.37007)'))) / (select extract(epoch from '2026-06-12 17:24:50'::timestamp) - extract(epoch from '2026-06-12 17:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037852 -3.370094)'), GeomFromEWKT('SRID=4674;POINT (-39.037864 -3.37007)'))) / (select extract(epoch from '2026-06-12 17:24:50'::timestamp) - extract(epoch from '2026-06-12 17:24: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'), 46569, 'SRID=4674;POINT (-39.037876 -3.370038)', '2026-06-12 17:24:54', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037864 -3.37007)'), GeomFromEWKT('SRID=4674;POINT (-39.037876 -3.370038)'))) / (select extract(epoch from '2026-06-12 17:24:54'::timestamp) - extract(epoch from '2026-06-12 17:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037864 -3.37007)'), GeomFromEWKT('SRID=4674;POINT (-39.037876 -3.370038)'))) / (select extract(epoch from '2026-06-12 17:24:54'::timestamp) - extract(epoch from '2026-06-12 17:24: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'), 46569, 'SRID=4674;POINT (-39.037882 -3.370027)', '2026-06-12 17:24:55', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037876 -3.370038)'), GeomFromEWKT('SRID=4674;POINT (-39.037882 -3.370027)'))) / (select extract(epoch from '2026-06-12 17:24:55'::timestamp) - extract(epoch from '2026-06-12 17:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037876 -3.370038)'), GeomFromEWKT('SRID=4674;POINT (-39.037882 -3.370027)'))) / (select extract(epoch from '2026-06-12 17:24:55'::timestamp) - extract(epoch from '2026-06-12 17: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'), 46569, 'SRID=4674;POINT (-39.03789 -3.369971)', '2026-06-12 17:25:02', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037882 -3.370027)'), GeomFromEWKT('SRID=4674;POINT (-39.03789 -3.369971)'))) / (select extract(epoch from '2026-06-12 17:25:02'::timestamp) - extract(epoch from '2026-06-12 17:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037882 -3.370027)'), GeomFromEWKT('SRID=4674;POINT (-39.03789 -3.369971)'))) / (select extract(epoch from '2026-06-12 17:25:02'::timestamp) - extract(epoch from '2026-06-12 17:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03789 -3.369965)', '2026-06-12 17:25:03', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03789 -3.369971)'), GeomFromEWKT('SRID=4674;POINT (-39.03789 -3.369965)'))) / (select extract(epoch from '2026-06-12 17:25:03'::timestamp) - extract(epoch from '2026-06-12 17:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03789 -3.369971)'), GeomFromEWKT('SRID=4674;POINT (-39.03789 -3.369965)'))) / (select extract(epoch from '2026-06-12 17:25:03'::timestamp) - extract(epoch from '2026-06-12 17:25: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'), 46569, 'SRID=4674;POINT (-39.037904 -3.369949)', '2026-06-12 17:25:06', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03789 -3.369965)'), GeomFromEWKT('SRID=4674;POINT (-39.037904 -3.369949)'))) / (select extract(epoch from '2026-06-12 17:25:06'::timestamp) - extract(epoch from '2026-06-12 17:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03789 -3.369965)'), GeomFromEWKT('SRID=4674;POINT (-39.037904 -3.369949)'))) / (select extract(epoch from '2026-06-12 17:25:06'::timestamp) - extract(epoch from '2026-06-12 17:25: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'), 46569, 'SRID=4674;POINT (-39.03791 -3.369946)', '2026-06-12 17:25:07', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037904 -3.369949)'), GeomFromEWKT('SRID=4674;POINT (-39.03791 -3.369946)'))) / (select extract(epoch from '2026-06-12 17:25:07'::timestamp) - extract(epoch from '2026-06-12 17:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037904 -3.369949)'), GeomFromEWKT('SRID=4674;POINT (-39.03791 -3.369946)'))) / (select extract(epoch from '2026-06-12 17:25:07'::timestamp) - extract(epoch from '2026-06-12 17: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'), 46569, 'SRID=4674;POINT (-39.037931 -3.369931)', '2026-06-12 17:25:13', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03791 -3.369946)'), GeomFromEWKT('SRID=4674;POINT (-39.037931 -3.369931)'))) / (select extract(epoch from '2026-06-12 17:25:13'::timestamp) - extract(epoch from '2026-06-12 17:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03791 -3.369946)'), GeomFromEWKT('SRID=4674;POINT (-39.037931 -3.369931)'))) / (select extract(epoch from '2026-06-12 17:25:13'::timestamp) - extract(epoch from '2026-06-12 17:25: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'), 46569, 'SRID=4674;POINT (-39.037962 -3.369895)', '2026-06-12 17:25:20', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037931 -3.369931)'), GeomFromEWKT('SRID=4674;POINT (-39.037962 -3.369895)'))) / (select extract(epoch from '2026-06-12 17:25:20'::timestamp) - extract(epoch from '2026-06-12 17:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037931 -3.369931)'), GeomFromEWKT('SRID=4674;POINT (-39.037962 -3.369895)'))) / (select extract(epoch from '2026-06-12 17:25:20'::timestamp) - extract(epoch from '2026-06-12 17: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'), 46569, 'SRID=4674;POINT (-39.037979 -3.369867)', '2026-06-12 17:25:25', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037962 -3.369895)'), GeomFromEWKT('SRID=4674;POINT (-39.037979 -3.369867)'))) / (select extract(epoch from '2026-06-12 17:25:25'::timestamp) - extract(epoch from '2026-06-12 17:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037962 -3.369895)'), GeomFromEWKT('SRID=4674;POINT (-39.037979 -3.369867)'))) / (select extract(epoch from '2026-06-12 17:25:25'::timestamp) - extract(epoch from '2026-06-12 17:25: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'), 46569, 'SRID=4674;POINT (-39.037987 -3.369859)', '2026-06-12 17:25:27', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037979 -3.369867)'), GeomFromEWKT('SRID=4674;POINT (-39.037987 -3.369859)'))) / (select extract(epoch from '2026-06-12 17:25:27'::timestamp) - extract(epoch from '2026-06-12 17:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037979 -3.369867)'), GeomFromEWKT('SRID=4674;POINT (-39.037987 -3.369859)'))) / (select extract(epoch from '2026-06-12 17:25:27'::timestamp) - extract(epoch from '2026-06-12 17:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038009 -3.369826)', '2026-06-12 17:25:34', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037987 -3.369859)'), GeomFromEWKT('SRID=4674;POINT (-39.038009 -3.369826)'))) / (select extract(epoch from '2026-06-12 17:25:34'::timestamp) - extract(epoch from '2026-06-12 17:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037987 -3.369859)'), GeomFromEWKT('SRID=4674;POINT (-39.038009 -3.369826)'))) / (select extract(epoch from '2026-06-12 17:25:34'::timestamp) - extract(epoch from '2026-06-12 17:25:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038038 -3.369781)', '2026-06-12 17:25:41', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038009 -3.369826)'), GeomFromEWKT('SRID=4674;POINT (-39.038038 -3.369781)'))) / (select extract(epoch from '2026-06-12 17:25:41'::timestamp) - extract(epoch from '2026-06-12 17:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038009 -3.369826)'), GeomFromEWKT('SRID=4674;POINT (-39.038038 -3.369781)'))) / (select extract(epoch from '2026-06-12 17:25:41'::timestamp) - extract(epoch from '2026-06-12 17:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038057 -3.369745)', '2026-06-12 17:25:47', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038038 -3.369781)'), GeomFromEWKT('SRID=4674;POINT (-39.038057 -3.369745)'))) / (select extract(epoch from '2026-06-12 17:25:47'::timestamp) - extract(epoch from '2026-06-12 17:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038038 -3.369781)'), GeomFromEWKT('SRID=4674;POINT (-39.038057 -3.369745)'))) / (select extract(epoch from '2026-06-12 17:25:47'::timestamp) - extract(epoch from '2026-06-12 17:25: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'), 46569, 'SRID=4674;POINT (-39.038068 -3.369705)', '2026-06-12 17:25:54', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038057 -3.369745)'), GeomFromEWKT('SRID=4674;POINT (-39.038068 -3.369705)'))) / (select extract(epoch from '2026-06-12 17:25:54'::timestamp) - extract(epoch from '2026-06-12 17:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038057 -3.369745)'), GeomFromEWKT('SRID=4674;POINT (-39.038068 -3.369705)'))) / (select extract(epoch from '2026-06-12 17:25:54'::timestamp) - extract(epoch from '2026-06-12 17:25:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038073 -3.369695)', '2026-06-12 17:25:56', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038068 -3.369705)'), GeomFromEWKT('SRID=4674;POINT (-39.038073 -3.369695)'))) / (select extract(epoch from '2026-06-12 17:25:56'::timestamp) - extract(epoch from '2026-06-12 17:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038068 -3.369705)'), GeomFromEWKT('SRID=4674;POINT (-39.038073 -3.369695)'))) / (select extract(epoch from '2026-06-12 17:25:56'::timestamp) - extract(epoch from '2026-06-12 17:25: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'), 46569, 'SRID=4674;POINT (-39.038073 -3.369674)', '2026-06-12 17:26:00', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038073 -3.369695)'), GeomFromEWKT('SRID=4674;POINT (-39.038073 -3.369674)'))) / (select extract(epoch from '2026-06-12 17:26:00'::timestamp) - extract(epoch from '2026-06-12 17:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038073 -3.369695)'), GeomFromEWKT('SRID=4674;POINT (-39.038073 -3.369674)'))) / (select extract(epoch from '2026-06-12 17:26:00'::timestamp) - extract(epoch from '2026-06-12 17: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'), 46569, 'SRID=4674;POINT (-39.038101 -3.36966)', '2026-06-12 17:26:05', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038073 -3.369674)'), GeomFromEWKT('SRID=4674;POINT (-39.038101 -3.36966)'))) / (select extract(epoch from '2026-06-12 17:26:05'::timestamp) - extract(epoch from '2026-06-12 17:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038073 -3.369674)'), GeomFromEWKT('SRID=4674;POINT (-39.038101 -3.36966)'))) / (select extract(epoch from '2026-06-12 17:26:05'::timestamp) - extract(epoch from '2026-06-12 17:26: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'), 46569, 'SRID=4674;POINT (-39.038148 -3.369628)', '2026-06-12 17:26:11', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038101 -3.36966)'), GeomFromEWKT('SRID=4674;POINT (-39.038148 -3.369628)'))) / (select extract(epoch from '2026-06-12 17:26:11'::timestamp) - extract(epoch from '2026-06-12 17:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038101 -3.36966)'), GeomFromEWKT('SRID=4674;POINT (-39.038148 -3.369628)'))) / (select extract(epoch from '2026-06-12 17:26:11'::timestamp) - extract(epoch from '2026-06-12 17:26: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'), 46569, 'SRID=4674;POINT (-39.038186 -3.369594)', '2026-06-12 17:26:18', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038148 -3.369628)'), GeomFromEWKT('SRID=4674;POINT (-39.038186 -3.369594)'))) / (select extract(epoch from '2026-06-12 17:26:18'::timestamp) - extract(epoch from '2026-06-12 17:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038148 -3.369628)'), GeomFromEWKT('SRID=4674;POINT (-39.038186 -3.369594)'))) / (select extract(epoch from '2026-06-12 17:26:18'::timestamp) - extract(epoch from '2026-06-12 17:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038207 -3.369551)', '2026-06-12 17:26:25', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038186 -3.369594)'), GeomFromEWKT('SRID=4674;POINT (-39.038207 -3.369551)'))) / (select extract(epoch from '2026-06-12 17:26:25'::timestamp) - extract(epoch from '2026-06-12 17:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038186 -3.369594)'), GeomFromEWKT('SRID=4674;POINT (-39.038207 -3.369551)'))) / (select extract(epoch from '2026-06-12 17:26:25'::timestamp) - extract(epoch from '2026-06-12 17:26: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'), 46569, 'SRID=4674;POINT (-39.038228 -3.369518)', '2026-06-12 17:26:32', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038207 -3.369551)'), GeomFromEWKT('SRID=4674;POINT (-39.038228 -3.369518)'))) / (select extract(epoch from '2026-06-12 17:26:32'::timestamp) - extract(epoch from '2026-06-12 17:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038207 -3.369551)'), GeomFromEWKT('SRID=4674;POINT (-39.038228 -3.369518)'))) / (select extract(epoch from '2026-06-12 17:26:32'::timestamp) - extract(epoch from '2026-06-12 17:26: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'), 46569, 'SRID=4674;POINT (-39.038266 -3.369472)', '2026-06-12 17:26:40', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038228 -3.369518)'), GeomFromEWKT('SRID=4674;POINT (-39.038266 -3.369472)'))) / (select extract(epoch from '2026-06-12 17:26:40'::timestamp) - extract(epoch from '2026-06-12 17:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038228 -3.369518)'), GeomFromEWKT('SRID=4674;POINT (-39.038266 -3.369472)'))) / (select extract(epoch from '2026-06-12 17:26:40'::timestamp) - extract(epoch from '2026-06-12 17:26: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'), 46569, 'SRID=4674;POINT (-39.038287 -3.369427)', '2026-06-12 17:26:46', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038266 -3.369472)'), GeomFromEWKT('SRID=4674;POINT (-39.038287 -3.369427)'))) / (select extract(epoch from '2026-06-12 17:26:46'::timestamp) - extract(epoch from '2026-06-12 17:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038266 -3.369472)'), GeomFromEWKT('SRID=4674;POINT (-39.038287 -3.369427)'))) / (select extract(epoch from '2026-06-12 17:26:46'::timestamp) - extract(epoch from '2026-06-12 17:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038297 -3.369399)', '2026-06-12 17:26:52', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038287 -3.369427)'), GeomFromEWKT('SRID=4674;POINT (-39.038297 -3.369399)'))) / (select extract(epoch from '2026-06-12 17:26:52'::timestamp) - extract(epoch from '2026-06-12 17:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038287 -3.369427)'), GeomFromEWKT('SRID=4674;POINT (-39.038297 -3.369399)'))) / (select extract(epoch from '2026-06-12 17:26:52'::timestamp) - extract(epoch from '2026-06-12 17:26: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'), 46569, 'SRID=4674;POINT (-39.03832 -3.369385)', '2026-06-12 17:26:59', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038297 -3.369399)'), GeomFromEWKT('SRID=4674;POINT (-39.03832 -3.369385)'))) / (select extract(epoch from '2026-06-12 17:26:59'::timestamp) - extract(epoch from '2026-06-12 17:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038297 -3.369399)'), GeomFromEWKT('SRID=4674;POINT (-39.03832 -3.369385)'))) / (select extract(epoch from '2026-06-12 17:26:59'::timestamp) - extract(epoch from '2026-06-12 17:26: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'), 46569, 'SRID=4674;POINT (-39.038339 -3.369351)', '2026-06-12 17:27:06', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03832 -3.369385)'), GeomFromEWKT('SRID=4674;POINT (-39.038339 -3.369351)'))) / (select extract(epoch from '2026-06-12 17:27:06'::timestamp) - extract(epoch from '2026-06-12 17:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03832 -3.369385)'), GeomFromEWKT('SRID=4674;POINT (-39.038339 -3.369351)'))) / (select extract(epoch from '2026-06-12 17:27:06'::timestamp) - extract(epoch from '2026-06-12 17:26: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'), 46569, 'SRID=4674;POINT (-39.038365 -3.369322)', '2026-06-12 17:27:13', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038339 -3.369351)'), GeomFromEWKT('SRID=4674;POINT (-39.038365 -3.369322)'))) / (select extract(epoch from '2026-06-12 17:27:13'::timestamp) - extract(epoch from '2026-06-12 17:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038339 -3.369351)'), GeomFromEWKT('SRID=4674;POINT (-39.038365 -3.369322)'))) / (select extract(epoch from '2026-06-12 17:27:13'::timestamp) - extract(epoch from '2026-06-12 17:27: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'), 46569, 'SRID=4674;POINT (-39.0384 -3.36928)', '2026-06-12 17:27:21', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038365 -3.369322)'), GeomFromEWKT('SRID=4674;POINT (-39.0384 -3.36928)'))) / (select extract(epoch from '2026-06-12 17:27:21'::timestamp) - extract(epoch from '2026-06-12 17:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038365 -3.369322)'), GeomFromEWKT('SRID=4674;POINT (-39.0384 -3.36928)'))) / (select extract(epoch from '2026-06-12 17:27:21'::timestamp) - extract(epoch from '2026-06-12 17:27: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'), 46569, 'SRID=4674;POINT (-39.038462 -3.369206)', '2026-06-12 17:27:31', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0384 -3.36928)'), GeomFromEWKT('SRID=4674;POINT (-39.038462 -3.369206)'))) / (select extract(epoch from '2026-06-12 17:27:31'::timestamp) - extract(epoch from '2026-06-12 17:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0384 -3.36928)'), GeomFromEWKT('SRID=4674;POINT (-39.038462 -3.369206)'))) / (select extract(epoch from '2026-06-12 17:27:31'::timestamp) - extract(epoch from '2026-06-12 17:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03847 -3.369193)', '2026-06-12 17:27:34', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038462 -3.369206)'), GeomFromEWKT('SRID=4674;POINT (-39.03847 -3.369193)'))) / (select extract(epoch from '2026-06-12 17:27:34'::timestamp) - extract(epoch from '2026-06-12 17:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038462 -3.369206)'), GeomFromEWKT('SRID=4674;POINT (-39.03847 -3.369193)'))) / (select extract(epoch from '2026-06-12 17:27:34'::timestamp) - extract(epoch from '2026-06-12 17:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038481 -3.369178)', '2026-06-12 17:27:37', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03847 -3.369193)'), GeomFromEWKT('SRID=4674;POINT (-39.038481 -3.369178)'))) / (select extract(epoch from '2026-06-12 17:27:37'::timestamp) - extract(epoch from '2026-06-12 17:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03847 -3.369193)'), GeomFromEWKT('SRID=4674;POINT (-39.038481 -3.369178)'))) / (select extract(epoch from '2026-06-12 17:27:37'::timestamp) - extract(epoch from '2026-06-12 17:27: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'), 46569, 'SRID=4674;POINT (-39.038498 -3.369152)', '2026-06-12 17:27:42', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038481 -3.369178)'), GeomFromEWKT('SRID=4674;POINT (-39.038498 -3.369152)'))) / (select extract(epoch from '2026-06-12 17:27:42'::timestamp) - extract(epoch from '2026-06-12 17:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038481 -3.369178)'), GeomFromEWKT('SRID=4674;POINT (-39.038498 -3.369152)'))) / (select extract(epoch from '2026-06-12 17:27:42'::timestamp) - extract(epoch from '2026-06-12 17:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038511 -3.369134)', '2026-06-12 17:27:45', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038498 -3.369152)'), GeomFromEWKT('SRID=4674;POINT (-39.038511 -3.369134)'))) / (select extract(epoch from '2026-06-12 17:27:45'::timestamp) - extract(epoch from '2026-06-12 17:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038498 -3.369152)'), GeomFromEWKT('SRID=4674;POINT (-39.038511 -3.369134)'))) / (select extract(epoch from '2026-06-12 17:27:45'::timestamp) - extract(epoch from '2026-06-12 17:27: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'), 46569, 'SRID=4674;POINT (-39.038529 -3.369112)', '2026-06-12 17:27:50', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038511 -3.369134)'), GeomFromEWKT('SRID=4674;POINT (-39.038529 -3.369112)'))) / (select extract(epoch from '2026-06-12 17:27:50'::timestamp) - extract(epoch from '2026-06-12 17:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038511 -3.369134)'), GeomFromEWKT('SRID=4674;POINT (-39.038529 -3.369112)'))) / (select extract(epoch from '2026-06-12 17:27:50'::timestamp) - extract(epoch from '2026-06-12 17:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038536 -3.369096)', '2026-06-12 17:27:54', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038529 -3.369112)'), GeomFromEWKT('SRID=4674;POINT (-39.038536 -3.369096)'))) / (select extract(epoch from '2026-06-12 17:27:54'::timestamp) - extract(epoch from '2026-06-12 17:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038529 -3.369112)'), GeomFromEWKT('SRID=4674;POINT (-39.038536 -3.369096)'))) / (select extract(epoch from '2026-06-12 17:27:54'::timestamp) - extract(epoch from '2026-06-12 17:27: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'), 46569, 'SRID=4674;POINT (-39.038551 -3.369071)', '2026-06-12 17:27:57', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038536 -3.369096)'), GeomFromEWKT('SRID=4674;POINT (-39.038551 -3.369071)'))) / (select extract(epoch from '2026-06-12 17:27:57'::timestamp) - extract(epoch from '2026-06-12 17:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038536 -3.369096)'), GeomFromEWKT('SRID=4674;POINT (-39.038551 -3.369071)'))) / (select extract(epoch from '2026-06-12 17:27:57'::timestamp) - extract(epoch from '2026-06-12 17:27: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'), 46569, 'SRID=4674;POINT (-39.038582 -3.369033)', '2026-06-12 17:28:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038551 -3.369071)'), GeomFromEWKT('SRID=4674;POINT (-39.038582 -3.369033)'))) / (select extract(epoch from '2026-06-12 17:28:04'::timestamp) - extract(epoch from '2026-06-12 17:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038551 -3.369071)'), GeomFromEWKT('SRID=4674;POINT (-39.038582 -3.369033)'))) / (select extract(epoch from '2026-06-12 17:28:04'::timestamp) - extract(epoch from '2026-06-12 17:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038597 -3.368997)', '2026-06-12 17:28:09', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038582 -3.369033)'), GeomFromEWKT('SRID=4674;POINT (-39.038597 -3.368997)'))) / (select extract(epoch from '2026-06-12 17:28:09'::timestamp) - extract(epoch from '2026-06-12 17:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038582 -3.369033)'), GeomFromEWKT('SRID=4674;POINT (-39.038597 -3.368997)'))) / (select extract(epoch from '2026-06-12 17:28:09'::timestamp) - extract(epoch from '2026-06-12 17:28: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'), 46569, 'SRID=4674;POINT (-39.038625 -3.368951)', '2026-06-12 17:28:17', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038597 -3.368997)'), GeomFromEWKT('SRID=4674;POINT (-39.038625 -3.368951)'))) / (select extract(epoch from '2026-06-12 17:28:17'::timestamp) - extract(epoch from '2026-06-12 17:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038597 -3.368997)'), GeomFromEWKT('SRID=4674;POINT (-39.038625 -3.368951)'))) / (select extract(epoch from '2026-06-12 17:28:17'::timestamp) - extract(epoch from '2026-06-12 17:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038653 -3.368908)', '2026-06-12 17:28:26', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038625 -3.368951)'), GeomFromEWKT('SRID=4674;POINT (-39.038653 -3.368908)'))) / (select extract(epoch from '2026-06-12 17:28:26'::timestamp) - extract(epoch from '2026-06-12 17:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038625 -3.368951)'), GeomFromEWKT('SRID=4674;POINT (-39.038653 -3.368908)'))) / (select extract(epoch from '2026-06-12 17:28:26'::timestamp) - extract(epoch from '2026-06-12 17:28: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'), 46569, 'SRID=4674;POINT (-39.038686 -3.368871)', '2026-06-12 17:28:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038653 -3.368908)'), GeomFromEWKT('SRID=4674;POINT (-39.038686 -3.368871)'))) / (select extract(epoch from '2026-06-12 17:28:34'::timestamp) - extract(epoch from '2026-06-12 17:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038653 -3.368908)'), GeomFromEWKT('SRID=4674;POINT (-39.038686 -3.368871)'))) / (select extract(epoch from '2026-06-12 17:28:34'::timestamp) - extract(epoch from '2026-06-12 17:28: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'), 46569, 'SRID=4674;POINT (-39.038696 -3.368862)', '2026-06-12 17:28:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038686 -3.368871)'), GeomFromEWKT('SRID=4674;POINT (-39.038696 -3.368862)'))) / (select extract(epoch from '2026-06-12 17:28:35'::timestamp) - extract(epoch from '2026-06-12 17:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038686 -3.368871)'), GeomFromEWKT('SRID=4674;POINT (-39.038696 -3.368862)'))) / (select extract(epoch from '2026-06-12 17:28:35'::timestamp) - extract(epoch from '2026-06-12 17:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038738 -3.368827)', '2026-06-12 17:28:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038696 -3.368862)'), GeomFromEWKT('SRID=4674;POINT (-39.038738 -3.368827)'))) / (select extract(epoch from '2026-06-12 17:28:40'::timestamp) - extract(epoch from '2026-06-12 17:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038696 -3.368862)'), GeomFromEWKT('SRID=4674;POINT (-39.038738 -3.368827)'))) / (select extract(epoch from '2026-06-12 17:28:40'::timestamp) - extract(epoch from '2026-06-12 17:28: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'), 46569, 'SRID=4674;POINT (-39.038741 -3.36877)', '2026-06-12 17:28:48', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038738 -3.368827)'), GeomFromEWKT('SRID=4674;POINT (-39.038741 -3.36877)'))) / (select extract(epoch from '2026-06-12 17:28:48'::timestamp) - extract(epoch from '2026-06-12 17:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038738 -3.368827)'), GeomFromEWKT('SRID=4674;POINT (-39.038741 -3.36877)'))) / (select extract(epoch from '2026-06-12 17:28:48'::timestamp) - extract(epoch from '2026-06-12 17:28: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'), 46569, 'SRID=4674;POINT (-39.038756 -3.368746)', '2026-06-12 17:28:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038741 -3.36877)'), GeomFromEWKT('SRID=4674;POINT (-39.038756 -3.368746)'))) / (select extract(epoch from '2026-06-12 17:28:54'::timestamp) - extract(epoch from '2026-06-12 17:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038741 -3.36877)'), GeomFromEWKT('SRID=4674;POINT (-39.038756 -3.368746)'))) / (select extract(epoch from '2026-06-12 17:28:54'::timestamp) - extract(epoch from '2026-06-12 17:28: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'), 46569, 'SRID=4674;POINT (-39.038783 -3.368696)', '2026-06-12 17:29:02', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038756 -3.368746)'), GeomFromEWKT('SRID=4674;POINT (-39.038783 -3.368696)'))) / (select extract(epoch from '2026-06-12 17:29:02'::timestamp) - extract(epoch from '2026-06-12 17:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038756 -3.368746)'), GeomFromEWKT('SRID=4674;POINT (-39.038783 -3.368696)'))) / (select extract(epoch from '2026-06-12 17:29:02'::timestamp) - extract(epoch from '2026-06-12 17:28: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'), 46569, 'SRID=4674;POINT (-39.038788 -3.368682)', '2026-06-12 17:29:05', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038783 -3.368696)'), GeomFromEWKT('SRID=4674;POINT (-39.038788 -3.368682)'))) / (select extract(epoch from '2026-06-12 17:29:05'::timestamp) - extract(epoch from '2026-06-12 17:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038783 -3.368696)'), GeomFromEWKT('SRID=4674;POINT (-39.038788 -3.368682)'))) / (select extract(epoch from '2026-06-12 17:29:05'::timestamp) - extract(epoch from '2026-06-12 17:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038794 -3.368675)', '2026-06-12 17:29:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038788 -3.368682)'), GeomFromEWKT('SRID=4674;POINT (-39.038794 -3.368675)'))) / (select extract(epoch from '2026-06-12 17:29:06'::timestamp) - extract(epoch from '2026-06-12 17:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038788 -3.368682)'), GeomFromEWKT('SRID=4674;POINT (-39.038794 -3.368675)'))) / (select extract(epoch from '2026-06-12 17:29:06'::timestamp) - extract(epoch from '2026-06-12 17:29:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038824 -3.36864)', '2026-06-12 17:29:14', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038794 -3.368675)'), GeomFromEWKT('SRID=4674;POINT (-39.038824 -3.36864)'))) / (select extract(epoch from '2026-06-12 17:29:14'::timestamp) - extract(epoch from '2026-06-12 17:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038794 -3.368675)'), GeomFromEWKT('SRID=4674;POINT (-39.038824 -3.36864)'))) / (select extract(epoch from '2026-06-12 17:29:14'::timestamp) - extract(epoch from '2026-06-12 17:29: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'), 46569, 'SRID=4674;POINT (-39.03884 -3.368613)', '2026-06-12 17:29:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038824 -3.36864)'), GeomFromEWKT('SRID=4674;POINT (-39.03884 -3.368613)'))) / (select extract(epoch from '2026-06-12 17:29:20'::timestamp) - extract(epoch from '2026-06-12 17:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038824 -3.36864)'), GeomFromEWKT('SRID=4674;POINT (-39.03884 -3.368613)'))) / (select extract(epoch from '2026-06-12 17:29:20'::timestamp) - extract(epoch from '2026-06-12 17:29: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'), 46569, 'SRID=4674;POINT (-39.038869 -3.36857)', '2026-06-12 17:29:29', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03884 -3.368613)'), GeomFromEWKT('SRID=4674;POINT (-39.038869 -3.36857)'))) / (select extract(epoch from '2026-06-12 17:29:29'::timestamp) - extract(epoch from '2026-06-12 17:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03884 -3.368613)'), GeomFromEWKT('SRID=4674;POINT (-39.038869 -3.36857)'))) / (select extract(epoch from '2026-06-12 17:29:29'::timestamp) - extract(epoch from '2026-06-12 17:29: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'), 46569, 'SRID=4674;POINT (-39.038935 -3.368506)', '2026-06-12 17:29:41', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038869 -3.36857)'), GeomFromEWKT('SRID=4674;POINT (-39.038935 -3.368506)'))) / (select extract(epoch from '2026-06-12 17:29:41'::timestamp) - extract(epoch from '2026-06-12 17:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038869 -3.36857)'), GeomFromEWKT('SRID=4674;POINT (-39.038935 -3.368506)'))) / (select extract(epoch from '2026-06-12 17:29:41'::timestamp) - extract(epoch from '2026-06-12 17:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038969 -3.368467)', '2026-06-12 17:29:48', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038935 -3.368506)'), GeomFromEWKT('SRID=4674;POINT (-39.038969 -3.368467)'))) / (select extract(epoch from '2026-06-12 17:29:48'::timestamp) - extract(epoch from '2026-06-12 17:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038935 -3.368506)'), GeomFromEWKT('SRID=4674;POINT (-39.038969 -3.368467)'))) / (select extract(epoch from '2026-06-12 17:29:48'::timestamp) - extract(epoch from '2026-06-12 17:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038986 -3.368423)', '2026-06-12 17:29:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038969 -3.368467)'), GeomFromEWKT('SRID=4674;POINT (-39.038986 -3.368423)'))) / (select extract(epoch from '2026-06-12 17:29:54'::timestamp) - extract(epoch from '2026-06-12 17:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038969 -3.368467)'), GeomFromEWKT('SRID=4674;POINT (-39.038986 -3.368423)'))) / (select extract(epoch from '2026-06-12 17:29:54'::timestamp) - extract(epoch from '2026-06-12 17:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.038993 -3.368405)', '2026-06-12 17:29:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038986 -3.368423)'), GeomFromEWKT('SRID=4674;POINT (-39.038993 -3.368405)'))) / (select extract(epoch from '2026-06-12 17:29:56'::timestamp) - extract(epoch from '2026-06-12 17:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038986 -3.368423)'), GeomFromEWKT('SRID=4674;POINT (-39.038993 -3.368405)'))) / (select extract(epoch from '2026-06-12 17:29:56'::timestamp) - extract(epoch from '2026-06-12 17:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039003 -3.368379)', '2026-06-12 17:30:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038993 -3.368405)'), GeomFromEWKT('SRID=4674;POINT (-39.039003 -3.368379)'))) / (select extract(epoch from '2026-06-12 17:30:01'::timestamp) - extract(epoch from '2026-06-12 17:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038993 -3.368405)'), GeomFromEWKT('SRID=4674;POINT (-39.039003 -3.368379)'))) / (select extract(epoch from '2026-06-12 17:30:01'::timestamp) - extract(epoch from '2026-06-12 17:29: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'), 46569, 'SRID=4674;POINT (-39.039023 -3.368341)', '2026-06-12 17:30:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039003 -3.368379)'), GeomFromEWKT('SRID=4674;POINT (-39.039023 -3.368341)'))) / (select extract(epoch from '2026-06-12 17:30:07'::timestamp) - extract(epoch from '2026-06-12 17:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039003 -3.368379)'), GeomFromEWKT('SRID=4674;POINT (-39.039023 -3.368341)'))) / (select extract(epoch from '2026-06-12 17:30:07'::timestamp) - extract(epoch from '2026-06-12 17:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03905 -3.368324)', '2026-06-12 17:30:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039023 -3.368341)'), GeomFromEWKT('SRID=4674;POINT (-39.03905 -3.368324)'))) / (select extract(epoch from '2026-06-12 17:30:14'::timestamp) - extract(epoch from '2026-06-12 17:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039023 -3.368341)'), GeomFromEWKT('SRID=4674;POINT (-39.03905 -3.368324)'))) / (select extract(epoch from '2026-06-12 17:30:14'::timestamp) - extract(epoch from '2026-06-12 17:30: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'), 46569, 'SRID=4674;POINT (-39.039067 -3.368295)', '2026-06-12 17:30:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03905 -3.368324)'), GeomFromEWKT('SRID=4674;POINT (-39.039067 -3.368295)'))) / (select extract(epoch from '2026-06-12 17:30:19'::timestamp) - extract(epoch from '2026-06-12 17:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03905 -3.368324)'), GeomFromEWKT('SRID=4674;POINT (-39.039067 -3.368295)'))) / (select extract(epoch from '2026-06-12 17:30:19'::timestamp) - extract(epoch from '2026-06-12 17:30: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'), 46569, 'SRID=4674;POINT (-39.039078 -3.368272)', '2026-06-12 17:30:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039067 -3.368295)'), GeomFromEWKT('SRID=4674;POINT (-39.039078 -3.368272)'))) / (select extract(epoch from '2026-06-12 17:30:23'::timestamp) - extract(epoch from '2026-06-12 17:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039067 -3.368295)'), GeomFromEWKT('SRID=4674;POINT (-39.039078 -3.368272)'))) / (select extract(epoch from '2026-06-12 17:30:23'::timestamp) - extract(epoch from '2026-06-12 17:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039083 -3.368263)', '2026-06-12 17:30:24', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039078 -3.368272)'), GeomFromEWKT('SRID=4674;POINT (-39.039083 -3.368263)'))) / (select extract(epoch from '2026-06-12 17:30:24'::timestamp) - extract(epoch from '2026-06-12 17:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039078 -3.368272)'), GeomFromEWKT('SRID=4674;POINT (-39.039083 -3.368263)'))) / (select extract(epoch from '2026-06-12 17:30:24'::timestamp) - extract(epoch from '2026-06-12 17:30: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'), 46569, 'SRID=4674;POINT (-39.039112 -3.368225)', '2026-06-12 17:30:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039083 -3.368263)'), GeomFromEWKT('SRID=4674;POINT (-39.039112 -3.368225)'))) / (select extract(epoch from '2026-06-12 17:30:30'::timestamp) - extract(epoch from '2026-06-12 17:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039083 -3.368263)'), GeomFromEWKT('SRID=4674;POINT (-39.039112 -3.368225)'))) / (select extract(epoch from '2026-06-12 17:30:30'::timestamp) - extract(epoch from '2026-06-12 17:30: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'), 46569, 'SRID=4674;POINT (-39.039115 -3.368209)', '2026-06-12 17:30:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039112 -3.368225)'), GeomFromEWKT('SRID=4674;POINT (-39.039115 -3.368209)'))) / (select extract(epoch from '2026-06-12 17:30:32'::timestamp) - extract(epoch from '2026-06-12 17:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039112 -3.368225)'), GeomFromEWKT('SRID=4674;POINT (-39.039115 -3.368209)'))) / (select extract(epoch from '2026-06-12 17:30:32'::timestamp) - extract(epoch from '2026-06-12 17:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039128 -3.368182)', '2026-06-12 17:30:36', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039115 -3.368209)'), GeomFromEWKT('SRID=4674;POINT (-39.039128 -3.368182)'))) / (select extract(epoch from '2026-06-12 17:30:36'::timestamp) - extract(epoch from '2026-06-12 17:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039115 -3.368209)'), GeomFromEWKT('SRID=4674;POINT (-39.039128 -3.368182)'))) / (select extract(epoch from '2026-06-12 17:30:36'::timestamp) - extract(epoch from '2026-06-12 17:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039146 -3.368152)', '2026-06-12 17:30:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039128 -3.368182)'), GeomFromEWKT('SRID=4674;POINT (-39.039146 -3.368152)'))) / (select extract(epoch from '2026-06-12 17:30:43'::timestamp) - extract(epoch from '2026-06-12 17:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039128 -3.368182)'), GeomFromEWKT('SRID=4674;POINT (-39.039146 -3.368152)'))) / (select extract(epoch from '2026-06-12 17:30:43'::timestamp) - extract(epoch from '2026-06-12 17:30: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'), 46569, 'SRID=4674;POINT (-39.039175 -3.36812)', '2026-06-12 17:30:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039146 -3.368152)'), GeomFromEWKT('SRID=4674;POINT (-39.039175 -3.36812)'))) / (select extract(epoch from '2026-06-12 17:30:50'::timestamp) - extract(epoch from '2026-06-12 17:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039146 -3.368152)'), GeomFromEWKT('SRID=4674;POINT (-39.039175 -3.36812)'))) / (select extract(epoch from '2026-06-12 17:30:50'::timestamp) - extract(epoch from '2026-06-12 17:30: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'), 46569, 'SRID=4674;POINT (-39.039198 -3.368088)', '2026-06-12 17:30:55', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039175 -3.36812)'), GeomFromEWKT('SRID=4674;POINT (-39.039198 -3.368088)'))) / (select extract(epoch from '2026-06-12 17:30:55'::timestamp) - extract(epoch from '2026-06-12 17:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039175 -3.36812)'), GeomFromEWKT('SRID=4674;POINT (-39.039198 -3.368088)'))) / (select extract(epoch from '2026-06-12 17:30:55'::timestamp) - extract(epoch from '2026-06-12 17:30: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'), 46569, 'SRID=4674;POINT (-39.039198 -3.368082)', '2026-06-12 17:30:57', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039198 -3.368088)'), GeomFromEWKT('SRID=4674;POINT (-39.039198 -3.368082)'))) / (select extract(epoch from '2026-06-12 17:30:57'::timestamp) - extract(epoch from '2026-06-12 17:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039198 -3.368088)'), GeomFromEWKT('SRID=4674;POINT (-39.039198 -3.368082)'))) / (select extract(epoch from '2026-06-12 17:30:57'::timestamp) - extract(epoch from '2026-06-12 17:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039207 -3.368059)', '2026-06-12 17:31:03', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039198 -3.368082)'), GeomFromEWKT('SRID=4674;POINT (-39.039207 -3.368059)'))) / (select extract(epoch from '2026-06-12 17:31:03'::timestamp) - extract(epoch from '2026-06-12 17:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039198 -3.368082)'), GeomFromEWKT('SRID=4674;POINT (-39.039207 -3.368059)'))) / (select extract(epoch from '2026-06-12 17:31:03'::timestamp) - extract(epoch from '2026-06-12 17:30: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'), 46569, 'SRID=4674;POINT (-39.039231 -3.368023)', '2026-06-12 17:31:10', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039207 -3.368059)'), GeomFromEWKT('SRID=4674;POINT (-39.039231 -3.368023)'))) / (select extract(epoch from '2026-06-12 17:31:10'::timestamp) - extract(epoch from '2026-06-12 17:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039207 -3.368059)'), GeomFromEWKT('SRID=4674;POINT (-39.039231 -3.368023)'))) / (select extract(epoch from '2026-06-12 17:31:10'::timestamp) - extract(epoch from '2026-06-12 17:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039253 -3.367989)', '2026-06-12 17:31:16', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039231 -3.368023)'), GeomFromEWKT('SRID=4674;POINT (-39.039253 -3.367989)'))) / (select extract(epoch from '2026-06-12 17:31:16'::timestamp) - extract(epoch from '2026-06-12 17:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039231 -3.368023)'), GeomFromEWKT('SRID=4674;POINT (-39.039253 -3.367989)'))) / (select extract(epoch from '2026-06-12 17:31:16'::timestamp) - extract(epoch from '2026-06-12 17:31: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'), 46569, 'SRID=4674;POINT (-39.039301 -3.367925)', '2026-06-12 17:31:25', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039253 -3.367989)'), GeomFromEWKT('SRID=4674;POINT (-39.039301 -3.367925)'))) / (select extract(epoch from '2026-06-12 17:31:25'::timestamp) - extract(epoch from '2026-06-12 17:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039253 -3.367989)'), GeomFromEWKT('SRID=4674;POINT (-39.039301 -3.367925)'))) / (select extract(epoch from '2026-06-12 17:31:25'::timestamp) - extract(epoch from '2026-06-12 17:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039338 -3.367873)', '2026-06-12 17:31:33', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039301 -3.367925)'), GeomFromEWKT('SRID=4674;POINT (-39.039338 -3.367873)'))) / (select extract(epoch from '2026-06-12 17:31:33'::timestamp) - extract(epoch from '2026-06-12 17:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039301 -3.367925)'), GeomFromEWKT('SRID=4674;POINT (-39.039338 -3.367873)'))) / (select extract(epoch from '2026-06-12 17:31:33'::timestamp) - extract(epoch from '2026-06-12 17:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039372 -3.367848)', '2026-06-12 17:31:38', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039338 -3.367873)'), GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.367848)'))) / (select extract(epoch from '2026-06-12 17:31:38'::timestamp) - extract(epoch from '2026-06-12 17:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039338 -3.367873)'), GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.367848)'))) / (select extract(epoch from '2026-06-12 17:31:38'::timestamp) - extract(epoch from '2026-06-12 17:31: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'), 46569, 'SRID=4674;POINT (-39.039372 -3.36784)', '2026-06-12 17:31:39', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.367848)'), GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.36784)'))) / (select extract(epoch from '2026-06-12 17:31:39'::timestamp) - extract(epoch from '2026-06-12 17:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.367848)'), GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.36784)'))) / (select extract(epoch from '2026-06-12 17:31:39'::timestamp) - extract(epoch from '2026-06-12 17:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039387 -3.367821)', '2026-06-12 17:31:43', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.36784)'), GeomFromEWKT('SRID=4674;POINT (-39.039387 -3.367821)'))) / (select extract(epoch from '2026-06-12 17:31:43'::timestamp) - extract(epoch from '2026-06-12 17:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039372 -3.36784)'), GeomFromEWKT('SRID=4674;POINT (-39.039387 -3.367821)'))) / (select extract(epoch from '2026-06-12 17:31:43'::timestamp) - extract(epoch from '2026-06-12 17:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039412 -3.367794)', '2026-06-12 17:31:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039387 -3.367821)'), GeomFromEWKT('SRID=4674;POINT (-39.039412 -3.367794)'))) / (select extract(epoch from '2026-06-12 17:31:49'::timestamp) - extract(epoch from '2026-06-12 17:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039387 -3.367821)'), GeomFromEWKT('SRID=4674;POINT (-39.039412 -3.367794)'))) / (select extract(epoch from '2026-06-12 17:31:49'::timestamp) - extract(epoch from '2026-06-12 17:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039453 -3.367773)', '2026-06-12 17:31:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039412 -3.367794)'), GeomFromEWKT('SRID=4674;POINT (-39.039453 -3.367773)'))) / (select extract(epoch from '2026-06-12 17:31:56'::timestamp) - extract(epoch from '2026-06-12 17:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039412 -3.367794)'), GeomFromEWKT('SRID=4674;POINT (-39.039453 -3.367773)'))) / (select extract(epoch from '2026-06-12 17:31:56'::timestamp) - extract(epoch from '2026-06-12 17:31: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'), 46569, 'SRID=4674;POINT (-39.039471 -3.367751)', '2026-06-12 17:32:01', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039453 -3.367773)'), GeomFromEWKT('SRID=4674;POINT (-39.039471 -3.367751)'))) / (select extract(epoch from '2026-06-12 17:32:01'::timestamp) - extract(epoch from '2026-06-12 17:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039453 -3.367773)'), GeomFromEWKT('SRID=4674;POINT (-39.039471 -3.367751)'))) / (select extract(epoch from '2026-06-12 17:32:01'::timestamp) - extract(epoch from '2026-06-12 17:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039493 -3.36773)', '2026-06-12 17:32:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039471 -3.367751)'), GeomFromEWKT('SRID=4674;POINT (-39.039493 -3.36773)'))) / (select extract(epoch from '2026-06-12 17:32:07'::timestamp) - extract(epoch from '2026-06-12 17:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039471 -3.367751)'), GeomFromEWKT('SRID=4674;POINT (-39.039493 -3.36773)'))) / (select extract(epoch from '2026-06-12 17:32:07'::timestamp) - extract(epoch from '2026-06-12 17:32: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'), 46569, 'SRID=4674;POINT (-39.0395 -3.367719)', '2026-06-12 17:32:09', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039493 -3.36773)'), GeomFromEWKT('SRID=4674;POINT (-39.0395 -3.367719)'))) / (select extract(epoch from '2026-06-12 17:32:09'::timestamp) - extract(epoch from '2026-06-12 17:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039493 -3.36773)'), GeomFromEWKT('SRID=4674;POINT (-39.0395 -3.367719)'))) / (select extract(epoch from '2026-06-12 17:32:09'::timestamp) - extract(epoch from '2026-06-12 17:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039502 -3.367705)', '2026-06-12 17:32:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0395 -3.367719)'), GeomFromEWKT('SRID=4674;POINT (-39.039502 -3.367705)'))) / (select extract(epoch from '2026-06-12 17:32:12'::timestamp) - extract(epoch from '2026-06-12 17:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0395 -3.367719)'), GeomFromEWKT('SRID=4674;POINT (-39.039502 -3.367705)'))) / (select extract(epoch from '2026-06-12 17:32:12'::timestamp) - extract(epoch from '2026-06-12 17:32:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039523 -3.367668)', '2026-06-12 17:32:18', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039502 -3.367705)'), GeomFromEWKT('SRID=4674;POINT (-39.039523 -3.367668)'))) / (select extract(epoch from '2026-06-12 17:32:18'::timestamp) - extract(epoch from '2026-06-12 17:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039502 -3.367705)'), GeomFromEWKT('SRID=4674;POINT (-39.039523 -3.367668)'))) / (select extract(epoch from '2026-06-12 17:32:18'::timestamp) - extract(epoch from '2026-06-12 17:32: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'), 46569, 'SRID=4674;POINT (-39.03953 -3.367641)', '2026-06-12 17:32:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039523 -3.367668)'), GeomFromEWKT('SRID=4674;POINT (-39.03953 -3.367641)'))) / (select extract(epoch from '2026-06-12 17:32:24'::timestamp) - extract(epoch from '2026-06-12 17:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039523 -3.367668)'), GeomFromEWKT('SRID=4674;POINT (-39.03953 -3.367641)'))) / (select extract(epoch from '2026-06-12 17:32:24'::timestamp) - extract(epoch from '2026-06-12 17:32: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'), 46569, 'SRID=4674;POINT (-39.03956 -3.367595)', '2026-06-12 17:32:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03953 -3.367641)'), GeomFromEWKT('SRID=4674;POINT (-39.03956 -3.367595)'))) / (select extract(epoch from '2026-06-12 17:32:31'::timestamp) - extract(epoch from '2026-06-12 17:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03953 -3.367641)'), GeomFromEWKT('SRID=4674;POINT (-39.03956 -3.367595)'))) / (select extract(epoch from '2026-06-12 17:32:31'::timestamp) - extract(epoch from '2026-06-12 17:32: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'), 46569, 'SRID=4674;POINT (-39.039581 -3.367566)', '2026-06-12 17:32:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03956 -3.367595)'), GeomFromEWKT('SRID=4674;POINT (-39.039581 -3.367566)'))) / (select extract(epoch from '2026-06-12 17:32:36'::timestamp) - extract(epoch from '2026-06-12 17:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03956 -3.367595)'), GeomFromEWKT('SRID=4674;POINT (-39.039581 -3.367566)'))) / (select extract(epoch from '2026-06-12 17:32:36'::timestamp) - extract(epoch from '2026-06-12 17:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039587 -3.367562)', '2026-06-12 17:32:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039581 -3.367566)'), GeomFromEWKT('SRID=4674;POINT (-39.039587 -3.367562)'))) / (select extract(epoch from '2026-06-12 17:32:38'::timestamp) - extract(epoch from '2026-06-12 17:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039581 -3.367566)'), GeomFromEWKT('SRID=4674;POINT (-39.039587 -3.367562)'))) / (select extract(epoch from '2026-06-12 17:32:38'::timestamp) - extract(epoch from '2026-06-12 17:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039618 -3.367528)', '2026-06-12 17:32:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039587 -3.367562)'), GeomFromEWKT('SRID=4674;POINT (-39.039618 -3.367528)'))) / (select extract(epoch from '2026-06-12 17:32:44'::timestamp) - extract(epoch from '2026-06-12 17:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039587 -3.367562)'), GeomFromEWKT('SRID=4674;POINT (-39.039618 -3.367528)'))) / (select extract(epoch from '2026-06-12 17:32:44'::timestamp) - extract(epoch from '2026-06-12 17:32: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'), 46569, 'SRID=4674;POINT (-39.039628 -3.36752)', '2026-06-12 17:32:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039618 -3.367528)'), GeomFromEWKT('SRID=4674;POINT (-39.039628 -3.36752)'))) / (select extract(epoch from '2026-06-12 17:32:45'::timestamp) - extract(epoch from '2026-06-12 17:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039618 -3.367528)'), GeomFromEWKT('SRID=4674;POINT (-39.039628 -3.36752)'))) / (select extract(epoch from '2026-06-12 17:32:45'::timestamp) - extract(epoch from '2026-06-12 17:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039652 -3.367471)', '2026-06-12 17:32:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039628 -3.36752)'), GeomFromEWKT('SRID=4674;POINT (-39.039652 -3.367471)'))) / (select extract(epoch from '2026-06-12 17:32:52'::timestamp) - extract(epoch from '2026-06-12 17:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039628 -3.36752)'), GeomFromEWKT('SRID=4674;POINT (-39.039652 -3.367471)'))) / (select extract(epoch from '2026-06-12 17:32:52'::timestamp) - extract(epoch from '2026-06-12 17:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039673 -3.367443)', '2026-06-12 17:33:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039652 -3.367471)'), GeomFromEWKT('SRID=4674;POINT (-39.039673 -3.367443)'))) / (select extract(epoch from '2026-06-12 17:33:00'::timestamp) - extract(epoch from '2026-06-12 17:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039652 -3.367471)'), GeomFromEWKT('SRID=4674;POINT (-39.039673 -3.367443)'))) / (select extract(epoch from '2026-06-12 17:33:00'::timestamp) - extract(epoch from '2026-06-12 17:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039693 -3.367416)', '2026-06-12 17:33:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039673 -3.367443)'), GeomFromEWKT('SRID=4674;POINT (-39.039693 -3.367416)'))) / (select extract(epoch from '2026-06-12 17:33:06'::timestamp) - extract(epoch from '2026-06-12 17:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039673 -3.367443)'), GeomFromEWKT('SRID=4674;POINT (-39.039693 -3.367416)'))) / (select extract(epoch from '2026-06-12 17:33:06'::timestamp) - extract(epoch from '2026-06-12 17:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039702 -3.367385)', '2026-06-12 17:33:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039693 -3.367416)'), GeomFromEWKT('SRID=4674;POINT (-39.039702 -3.367385)'))) / (select extract(epoch from '2026-06-12 17:33:11'::timestamp) - extract(epoch from '2026-06-12 17:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039693 -3.367416)'), GeomFromEWKT('SRID=4674;POINT (-39.039702 -3.367385)'))) / (select extract(epoch from '2026-06-12 17:33:11'::timestamp) - extract(epoch from '2026-06-12 17:33: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'), 46569, 'SRID=4674;POINT (-39.039717 -3.367364)', '2026-06-12 17:33:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039702 -3.367385)'), GeomFromEWKT('SRID=4674;POINT (-39.039717 -3.367364)'))) / (select extract(epoch from '2026-06-12 17:33:16'::timestamp) - extract(epoch from '2026-06-12 17:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039702 -3.367385)'), GeomFromEWKT('SRID=4674;POINT (-39.039717 -3.367364)'))) / (select extract(epoch from '2026-06-12 17:33:16'::timestamp) - extract(epoch from '2026-06-12 17:33: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'), 46569, 'SRID=4674;POINT (-39.039722 -3.367359)', '2026-06-12 17:33:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039717 -3.367364)'), GeomFromEWKT('SRID=4674;POINT (-39.039722 -3.367359)'))) / (select extract(epoch from '2026-06-12 17:33:17'::timestamp) - extract(epoch from '2026-06-12 17:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039717 -3.367364)'), GeomFromEWKT('SRID=4674;POINT (-39.039722 -3.367359)'))) / (select extract(epoch from '2026-06-12 17:33:17'::timestamp) - extract(epoch from '2026-06-12 17:33: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'), 46569, 'SRID=4674;POINT (-39.039755 -3.367337)', '2026-06-12 17:33:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039722 -3.367359)'), GeomFromEWKT('SRID=4674;POINT (-39.039755 -3.367337)'))) / (select extract(epoch from '2026-06-12 17:33:24'::timestamp) - extract(epoch from '2026-06-12 17:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039722 -3.367359)'), GeomFromEWKT('SRID=4674;POINT (-39.039755 -3.367337)'))) / (select extract(epoch from '2026-06-12 17:33:24'::timestamp) - extract(epoch from '2026-06-12 17:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039772 -3.367317)', '2026-06-12 17:33:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039755 -3.367337)'), GeomFromEWKT('SRID=4674;POINT (-39.039772 -3.367317)'))) / (select extract(epoch from '2026-06-12 17:33:30'::timestamp) - extract(epoch from '2026-06-12 17:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039755 -3.367337)'), GeomFromEWKT('SRID=4674;POINT (-39.039772 -3.367317)'))) / (select extract(epoch from '2026-06-12 17:33:30'::timestamp) - extract(epoch from '2026-06-12 17:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039788 -3.367292)', '2026-06-12 17:33:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039772 -3.367317)'), GeomFromEWKT('SRID=4674;POINT (-39.039788 -3.367292)'))) / (select extract(epoch from '2026-06-12 17:33:35'::timestamp) - extract(epoch from '2026-06-12 17:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039772 -3.367317)'), GeomFromEWKT('SRID=4674;POINT (-39.039788 -3.367292)'))) / (select extract(epoch from '2026-06-12 17:33:35'::timestamp) - extract(epoch from '2026-06-12 17:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039799 -3.367272)', '2026-06-12 17:33:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039788 -3.367292)'), GeomFromEWKT('SRID=4674;POINT (-39.039799 -3.367272)'))) / (select extract(epoch from '2026-06-12 17:33:39'::timestamp) - extract(epoch from '2026-06-12 17:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039788 -3.367292)'), GeomFromEWKT('SRID=4674;POINT (-39.039799 -3.367272)'))) / (select extract(epoch from '2026-06-12 17:33:39'::timestamp) - extract(epoch from '2026-06-12 17:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039803 -3.367258)', '2026-06-12 17:33:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039799 -3.367272)'), GeomFromEWKT('SRID=4674;POINT (-39.039803 -3.367258)'))) / (select extract(epoch from '2026-06-12 17:33:41'::timestamp) - extract(epoch from '2026-06-12 17:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039799 -3.367272)'), GeomFromEWKT('SRID=4674;POINT (-39.039803 -3.367258)'))) / (select extract(epoch from '2026-06-12 17:33:41'::timestamp) - extract(epoch from '2026-06-12 17:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039841 -3.367236)', '2026-06-12 17:33:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039803 -3.367258)'), GeomFromEWKT('SRID=4674;POINT (-39.039841 -3.367236)'))) / (select extract(epoch from '2026-06-12 17:33:48'::timestamp) - extract(epoch from '2026-06-12 17:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039803 -3.367258)'), GeomFromEWKT('SRID=4674;POINT (-39.039841 -3.367236)'))) / (select extract(epoch from '2026-06-12 17:33:48'::timestamp) - extract(epoch from '2026-06-12 17:33: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'), 46569, 'SRID=4674;POINT (-39.039859 -3.367229)', '2026-06-12 17:33:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039841 -3.367236)'), GeomFromEWKT('SRID=4674;POINT (-39.039859 -3.367229)'))) / (select extract(epoch from '2026-06-12 17:33:54'::timestamp) - extract(epoch from '2026-06-12 17:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039841 -3.367236)'), GeomFromEWKT('SRID=4674;POINT (-39.039859 -3.367229)'))) / (select extract(epoch from '2026-06-12 17:33:54'::timestamp) - extract(epoch from '2026-06-12 17:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039889 -3.367193)', '2026-06-12 17:34:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039859 -3.367229)'), GeomFromEWKT('SRID=4674;POINT (-39.039889 -3.367193)'))) / (select extract(epoch from '2026-06-12 17:34:02'::timestamp) - extract(epoch from '2026-06-12 17:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039859 -3.367229)'), GeomFromEWKT('SRID=4674;POINT (-39.039889 -3.367193)'))) / (select extract(epoch from '2026-06-12 17:34:02'::timestamp) - extract(epoch from '2026-06-12 17:33: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'), 46569, 'SRID=4674;POINT (-39.039903 -3.367171)', '2026-06-12 17:34:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039889 -3.367193)'), GeomFromEWKT('SRID=4674;POINT (-39.039903 -3.367171)'))) / (select extract(epoch from '2026-06-12 17:34:08'::timestamp) - extract(epoch from '2026-06-12 17:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039889 -3.367193)'), GeomFromEWKT('SRID=4674;POINT (-39.039903 -3.367171)'))) / (select extract(epoch from '2026-06-12 17:34:08'::timestamp) - extract(epoch from '2026-06-12 17:34: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'), 46569, 'SRID=4674;POINT (-39.039918 -3.36713)', '2026-06-12 17:34:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039903 -3.367171)'), GeomFromEWKT('SRID=4674;POINT (-39.039918 -3.36713)'))) / (select extract(epoch from '2026-06-12 17:34:14'::timestamp) - extract(epoch from '2026-06-12 17:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039903 -3.367171)'), GeomFromEWKT('SRID=4674;POINT (-39.039918 -3.36713)'))) / (select extract(epoch from '2026-06-12 17:34:14'::timestamp) - extract(epoch from '2026-06-12 17:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039937 -3.367114)', '2026-06-12 17:34:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039918 -3.36713)'), GeomFromEWKT('SRID=4674;POINT (-39.039937 -3.367114)'))) / (select extract(epoch from '2026-06-12 17:34:20'::timestamp) - extract(epoch from '2026-06-12 17:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039918 -3.36713)'), GeomFromEWKT('SRID=4674;POINT (-39.039937 -3.367114)'))) / (select extract(epoch from '2026-06-12 17:34:20'::timestamp) - extract(epoch from '2026-06-12 17:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.03996 -3.367087)', '2026-06-12 17:34:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039937 -3.367114)'), GeomFromEWKT('SRID=4674;POINT (-39.03996 -3.367087)'))) / (select extract(epoch from '2026-06-12 17:34:26'::timestamp) - extract(epoch from '2026-06-12 17:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039937 -3.367114)'), GeomFromEWKT('SRID=4674;POINT (-39.03996 -3.367087)'))) / (select extract(epoch from '2026-06-12 17:34:26'::timestamp) - extract(epoch from '2026-06-12 17:34:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.039986 -3.367058)', '2026-06-12 17:34:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03996 -3.367087)'), GeomFromEWKT('SRID=4674;POINT (-39.039986 -3.367058)'))) / (select extract(epoch from '2026-06-12 17:34:32'::timestamp) - extract(epoch from '2026-06-12 17:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03996 -3.367087)'), GeomFromEWKT('SRID=4674;POINT (-39.039986 -3.367058)'))) / (select extract(epoch from '2026-06-12 17:34:32'::timestamp) - extract(epoch from '2026-06-12 17:34: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'), 46569, 'SRID=4674;POINT (-39.040006 -3.367031)', '2026-06-12 17:34:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039986 -3.367058)'), GeomFromEWKT('SRID=4674;POINT (-39.040006 -3.367031)'))) / (select extract(epoch from '2026-06-12 17:34:38'::timestamp) - extract(epoch from '2026-06-12 17:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039986 -3.367058)'), GeomFromEWKT('SRID=4674;POINT (-39.040006 -3.367031)'))) / (select extract(epoch from '2026-06-12 17:34:38'::timestamp) - extract(epoch from '2026-06-12 17:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040018 -3.367015)', '2026-06-12 17:34:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040006 -3.367031)'), GeomFromEWKT('SRID=4674;POINT (-39.040018 -3.367015)'))) / (select extract(epoch from '2026-06-12 17:34:41'::timestamp) - extract(epoch from '2026-06-12 17:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040006 -3.367031)'), GeomFromEWKT('SRID=4674;POINT (-39.040018 -3.367015)'))) / (select extract(epoch from '2026-06-12 17:34:41'::timestamp) - extract(epoch from '2026-06-12 17:34: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'), 46569, 'SRID=4674;POINT (-39.040028 -3.367)', '2026-06-12 17:34:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040018 -3.367015)'), GeomFromEWKT('SRID=4674;POINT (-39.040028 -3.367)'))) / (select extract(epoch from '2026-06-12 17:34:44'::timestamp) - extract(epoch from '2026-06-12 17:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040018 -3.367015)'), GeomFromEWKT('SRID=4674;POINT (-39.040028 -3.367)'))) / (select extract(epoch from '2026-06-12 17:34:44'::timestamp) - extract(epoch from '2026-06-12 17:34: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'), 46569, 'SRID=4674;POINT (-39.040051 -3.366963)', '2026-06-12 17:34:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040028 -3.367)'), GeomFromEWKT('SRID=4674;POINT (-39.040051 -3.366963)'))) / (select extract(epoch from '2026-06-12 17:34:51'::timestamp) - extract(epoch from '2026-06-12 17:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040028 -3.367)'), GeomFromEWKT('SRID=4674;POINT (-39.040051 -3.366963)'))) / (select extract(epoch from '2026-06-12 17:34:51'::timestamp) - extract(epoch from '2026-06-12 17:34: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'), 46569, 'SRID=4674;POINT (-39.040073 -3.366914)', '2026-06-12 17:34:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040051 -3.366963)'), GeomFromEWKT('SRID=4674;POINT (-39.040073 -3.366914)'))) / (select extract(epoch from '2026-06-12 17:34:58'::timestamp) - extract(epoch from '2026-06-12 17:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040051 -3.366963)'), GeomFromEWKT('SRID=4674;POINT (-39.040073 -3.366914)'))) / (select extract(epoch from '2026-06-12 17:34:58'::timestamp) - extract(epoch from '2026-06-12 17:34: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'), 46569, 'SRID=4674;POINT (-39.040091 -3.366876)', '2026-06-12 17:35:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040073 -3.366914)'), GeomFromEWKT('SRID=4674;POINT (-39.040091 -3.366876)'))) / (select extract(epoch from '2026-06-12 17:35:05'::timestamp) - extract(epoch from '2026-06-12 17:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040073 -3.366914)'), GeomFromEWKT('SRID=4674;POINT (-39.040091 -3.366876)'))) / (select extract(epoch from '2026-06-12 17:35:05'::timestamp) - extract(epoch from '2026-06-12 17:34: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'), 46569, 'SRID=4674;POINT (-39.040112 -3.366853)', '2026-06-12 17:35:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040091 -3.366876)'), GeomFromEWKT('SRID=4674;POINT (-39.040112 -3.366853)'))) / (select extract(epoch from '2026-06-12 17:35:11'::timestamp) - extract(epoch from '2026-06-12 17:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040091 -3.366876)'), GeomFromEWKT('SRID=4674;POINT (-39.040112 -3.366853)'))) / (select extract(epoch from '2026-06-12 17:35:11'::timestamp) - extract(epoch from '2026-06-12 17:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040131 -3.36682)', '2026-06-12 17:35:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040112 -3.366853)'), GeomFromEWKT('SRID=4674;POINT (-39.040131 -3.36682)'))) / (select extract(epoch from '2026-06-12 17:35:17'::timestamp) - extract(epoch from '2026-06-12 17:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040112 -3.366853)'), GeomFromEWKT('SRID=4674;POINT (-39.040131 -3.36682)'))) / (select extract(epoch from '2026-06-12 17:35:17'::timestamp) - extract(epoch from '2026-06-12 17:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040172 -3.366779)', '2026-06-12 17:35:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040131 -3.36682)'), GeomFromEWKT('SRID=4674;POINT (-39.040172 -3.366779)'))) / (select extract(epoch from '2026-06-12 17:35:25'::timestamp) - extract(epoch from '2026-06-12 17:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040131 -3.36682)'), GeomFromEWKT('SRID=4674;POINT (-39.040172 -3.366779)'))) / (select extract(epoch from '2026-06-12 17:35:25'::timestamp) - extract(epoch from '2026-06-12 17:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040177 -3.366757)', '2026-06-12 17:35:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040172 -3.366779)'), GeomFromEWKT('SRID=4674;POINT (-39.040177 -3.366757)'))) / (select extract(epoch from '2026-06-12 17:35:31'::timestamp) - extract(epoch from '2026-06-12 17:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040172 -3.366779)'), GeomFromEWKT('SRID=4674;POINT (-39.040177 -3.366757)'))) / (select extract(epoch from '2026-06-12 17:35:31'::timestamp) - extract(epoch from '2026-06-12 17:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040208 -3.366734)', '2026-06-12 17:35:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040177 -3.366757)'), GeomFromEWKT('SRID=4674;POINT (-39.040208 -3.366734)'))) / (select extract(epoch from '2026-06-12 17:35:39'::timestamp) - extract(epoch from '2026-06-12 17:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040177 -3.366757)'), GeomFromEWKT('SRID=4674;POINT (-39.040208 -3.366734)'))) / (select extract(epoch from '2026-06-12 17:35:39'::timestamp) - extract(epoch from '2026-06-12 17:35: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'), 46569, 'SRID=4674;POINT (-39.040239 -3.36671)', '2026-06-12 17:35:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040208 -3.366734)'), GeomFromEWKT('SRID=4674;POINT (-39.040239 -3.36671)'))) / (select extract(epoch from '2026-06-12 17:35:49'::timestamp) - extract(epoch from '2026-06-12 17:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040208 -3.366734)'), GeomFromEWKT('SRID=4674;POINT (-39.040239 -3.36671)'))) / (select extract(epoch from '2026-06-12 17:35:49'::timestamp) - extract(epoch from '2026-06-12 17:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040289 -3.366661)', '2026-06-12 17:36:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040239 -3.36671)'), GeomFromEWKT('SRID=4674;POINT (-39.040289 -3.366661)'))) / (select extract(epoch from '2026-06-12 17:36:00'::timestamp) - extract(epoch from '2026-06-12 17:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040239 -3.36671)'), GeomFromEWKT('SRID=4674;POINT (-39.040289 -3.366661)'))) / (select extract(epoch from '2026-06-12 17:36:00'::timestamp) - extract(epoch from '2026-06-12 17:35: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'), 46569, 'SRID=4674;POINT (-39.040312 -3.36663)', '2026-06-12 17:36:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040289 -3.366661)'), GeomFromEWKT('SRID=4674;POINT (-39.040312 -3.36663)'))) / (select extract(epoch from '2026-06-12 17:36:07'::timestamp) - extract(epoch from '2026-06-12 17:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040289 -3.366661)'), GeomFromEWKT('SRID=4674;POINT (-39.040312 -3.36663)'))) / (select extract(epoch from '2026-06-12 17:36:07'::timestamp) - extract(epoch from '2026-06-12 17:36: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'), 46569, 'SRID=4674;POINT (-39.040344 -3.366595)', '2026-06-12 17:36:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040312 -3.36663)'), GeomFromEWKT('SRID=4674;POINT (-39.040344 -3.366595)'))) / (select extract(epoch from '2026-06-12 17:36:16'::timestamp) - extract(epoch from '2026-06-12 17:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040312 -3.36663)'), GeomFromEWKT('SRID=4674;POINT (-39.040344 -3.366595)'))) / (select extract(epoch from '2026-06-12 17:36:16'::timestamp) - extract(epoch from '2026-06-12 17:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040376 -3.366559)', '2026-06-12 17:36:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040344 -3.366595)'), GeomFromEWKT('SRID=4674;POINT (-39.040376 -3.366559)'))) / (select extract(epoch from '2026-06-12 17:36:23'::timestamp) - extract(epoch from '2026-06-12 17:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040344 -3.366595)'), GeomFromEWKT('SRID=4674;POINT (-39.040376 -3.366559)'))) / (select extract(epoch from '2026-06-12 17:36:23'::timestamp) - extract(epoch from '2026-06-12 17:36: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'), 46569, 'SRID=4674;POINT (-39.040397 -3.366519)', '2026-06-12 17:36:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040376 -3.366559)'), GeomFromEWKT('SRID=4674;POINT (-39.040397 -3.366519)'))) / (select extract(epoch from '2026-06-12 17:36:30'::timestamp) - extract(epoch from '2026-06-12 17:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040376 -3.366559)'), GeomFromEWKT('SRID=4674;POINT (-39.040397 -3.366519)'))) / (select extract(epoch from '2026-06-12 17:36:30'::timestamp) - extract(epoch from '2026-06-12 17:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040421 -3.366478)', '2026-06-12 17:36:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040397 -3.366519)'), GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.366478)'))) / (select extract(epoch from '2026-06-12 17:36:36'::timestamp) - extract(epoch from '2026-06-12 17:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040397 -3.366519)'), GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.366478)'))) / (select extract(epoch from '2026-06-12 17:36:36'::timestamp) - extract(epoch from '2026-06-12 17:36: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'), 46569, 'SRID=4674;POINT (-39.040436 -3.366458)', '2026-06-12 17:36:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.366478)'), GeomFromEWKT('SRID=4674;POINT (-39.040436 -3.366458)'))) / (select extract(epoch from '2026-06-12 17:36:39'::timestamp) - extract(epoch from '2026-06-12 17:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.366478)'), GeomFromEWKT('SRID=4674;POINT (-39.040436 -3.366458)'))) / (select extract(epoch from '2026-06-12 17:36:39'::timestamp) - extract(epoch from '2026-06-12 17:36: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'), 46569, 'SRID=4674;POINT (-39.040459 -3.366407)', '2026-06-12 17:36:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040436 -3.366458)'), GeomFromEWKT('SRID=4674;POINT (-39.040459 -3.366407)'))) / (select extract(epoch from '2026-06-12 17:36:47'::timestamp) - extract(epoch from '2026-06-12 17:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040436 -3.366458)'), GeomFromEWKT('SRID=4674;POINT (-39.040459 -3.366407)'))) / (select extract(epoch from '2026-06-12 17:36:47'::timestamp) - extract(epoch from '2026-06-12 17:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04051 -3.36636)', '2026-06-12 17:36:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040459 -3.366407)'), GeomFromEWKT('SRID=4674;POINT (-39.04051 -3.36636)'))) / (select extract(epoch from '2026-06-12 17:36:59'::timestamp) - extract(epoch from '2026-06-12 17:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040459 -3.366407)'), GeomFromEWKT('SRID=4674;POINT (-39.04051 -3.36636)'))) / (select extract(epoch from '2026-06-12 17:36:59'::timestamp) - extract(epoch from '2026-06-12 17:36: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'), 46569, 'SRID=4674;POINT (-39.040566 -3.366307)', '2026-06-12 17:37:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04051 -3.36636)'), GeomFromEWKT('SRID=4674;POINT (-39.040566 -3.366307)'))) / (select extract(epoch from '2026-06-12 17:37:09'::timestamp) - extract(epoch from '2026-06-12 17:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04051 -3.36636)'), GeomFromEWKT('SRID=4674;POINT (-39.040566 -3.366307)'))) / (select extract(epoch from '2026-06-12 17:37:09'::timestamp) - extract(epoch from '2026-06-12 17:36: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'), 46569, 'SRID=4674;POINT (-39.040592 -3.366287)', '2026-06-12 17:37:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040566 -3.366307)'), GeomFromEWKT('SRID=4674;POINT (-39.040592 -3.366287)'))) / (select extract(epoch from '2026-06-12 17:37:14'::timestamp) - extract(epoch from '2026-06-12 17:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040566 -3.366307)'), GeomFromEWKT('SRID=4674;POINT (-39.040592 -3.366287)'))) / (select extract(epoch from '2026-06-12 17:37:14'::timestamp) - extract(epoch from '2026-06-12 17:37: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'), 46569, 'SRID=4674;POINT (-39.04063 -3.366254)', '2026-06-12 17:37:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040592 -3.366287)'), GeomFromEWKT('SRID=4674;POINT (-39.04063 -3.366254)'))) / (select extract(epoch from '2026-06-12 17:37:20'::timestamp) - extract(epoch from '2026-06-12 17:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040592 -3.366287)'), GeomFromEWKT('SRID=4674;POINT (-39.04063 -3.366254)'))) / (select extract(epoch from '2026-06-12 17:37:20'::timestamp) - extract(epoch from '2026-06-12 17:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040639 -3.366222)', '2026-06-12 17:37:27', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04063 -3.366254)'), GeomFromEWKT('SRID=4674;POINT (-39.040639 -3.366222)'))) / (select extract(epoch from '2026-06-12 17:37:27'::timestamp) - extract(epoch from '2026-06-12 17:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04063 -3.366254)'), GeomFromEWKT('SRID=4674;POINT (-39.040639 -3.366222)'))) / (select extract(epoch from '2026-06-12 17:37:27'::timestamp) - extract(epoch from '2026-06-12 17:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040665 -3.366192)', '2026-06-12 17:37:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040639 -3.366222)'), GeomFromEWKT('SRID=4674;POINT (-39.040665 -3.366192)'))) / (select extract(epoch from '2026-06-12 17:37:34'::timestamp) - extract(epoch from '2026-06-12 17:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040639 -3.366222)'), GeomFromEWKT('SRID=4674;POINT (-39.040665 -3.366192)'))) / (select extract(epoch from '2026-06-12 17:37:34'::timestamp) - extract(epoch from '2026-06-12 17:37: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'), 46569, 'SRID=4674;POINT (-39.040697 -3.366175)', '2026-06-12 17:37:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040665 -3.366192)'), GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.366175)'))) / (select extract(epoch from '2026-06-12 17:37:41'::timestamp) - extract(epoch from '2026-06-12 17:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040665 -3.366192)'), GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.366175)'))) / (select extract(epoch from '2026-06-12 17:37:41'::timestamp) - extract(epoch from '2026-06-12 17:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040721 -3.366151)', '2026-06-12 17:37:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.366175)'), GeomFromEWKT('SRID=4674;POINT (-39.040721 -3.366151)'))) / (select extract(epoch from '2026-06-12 17:37:48'::timestamp) - extract(epoch from '2026-06-12 17:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040697 -3.366175)'), GeomFromEWKT('SRID=4674;POINT (-39.040721 -3.366151)'))) / (select extract(epoch from '2026-06-12 17:37:48'::timestamp) - extract(epoch from '2026-06-12 17:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040727 -3.366115)', '2026-06-12 17:37:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040721 -3.366151)'), GeomFromEWKT('SRID=4674;POINT (-39.040727 -3.366115)'))) / (select extract(epoch from '2026-06-12 17:37:54'::timestamp) - extract(epoch from '2026-06-12 17:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040721 -3.366151)'), GeomFromEWKT('SRID=4674;POINT (-39.040727 -3.366115)'))) / (select extract(epoch from '2026-06-12 17:37:54'::timestamp) - extract(epoch from '2026-06-12 17:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040743 -3.366085)', '2026-06-12 17:38:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040727 -3.366115)'), GeomFromEWKT('SRID=4674;POINT (-39.040743 -3.366085)'))) / (select extract(epoch from '2026-06-12 17:38:00'::timestamp) - extract(epoch from '2026-06-12 17:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040727 -3.366115)'), GeomFromEWKT('SRID=4674;POINT (-39.040743 -3.366085)'))) / (select extract(epoch from '2026-06-12 17:38:00'::timestamp) - extract(epoch from '2026-06-12 17:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040763 -3.366062)', '2026-06-12 17:38:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040743 -3.366085)'), GeomFromEWKT('SRID=4674;POINT (-39.040763 -3.366062)'))) / (select extract(epoch from '2026-06-12 17:38:07'::timestamp) - extract(epoch from '2026-06-12 17:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040743 -3.366085)'), GeomFromEWKT('SRID=4674;POINT (-39.040763 -3.366062)'))) / (select extract(epoch from '2026-06-12 17:38:07'::timestamp) - extract(epoch from '2026-06-12 17:38: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'), 46569, 'SRID=4674;POINT (-39.040818 -3.366046)', '2026-06-12 17:38:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040763 -3.366062)'), GeomFromEWKT('SRID=4674;POINT (-39.040818 -3.366046)'))) / (select extract(epoch from '2026-06-12 17:38:17'::timestamp) - extract(epoch from '2026-06-12 17:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040763 -3.366062)'), GeomFromEWKT('SRID=4674;POINT (-39.040818 -3.366046)'))) / (select extract(epoch from '2026-06-12 17:38:17'::timestamp) - extract(epoch from '2026-06-12 17:38: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'), 46569, 'SRID=4674;POINT (-39.040872 -3.36598)', '2026-06-12 17:38:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040818 -3.366046)'), GeomFromEWKT('SRID=4674;POINT (-39.040872 -3.36598)'))) / (select extract(epoch from '2026-06-12 17:38:30'::timestamp) - extract(epoch from '2026-06-12 17:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040818 -3.366046)'), GeomFromEWKT('SRID=4674;POINT (-39.040872 -3.36598)'))) / (select extract(epoch from '2026-06-12 17:38:30'::timestamp) - extract(epoch from '2026-06-12 17:38: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'), 46569, 'SRID=4674;POINT (-39.040913 -3.365942)', '2026-06-12 17:38:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040872 -3.36598)'), GeomFromEWKT('SRID=4674;POINT (-39.040913 -3.365942)'))) / (select extract(epoch from '2026-06-12 17:38:37'::timestamp) - extract(epoch from '2026-06-12 17:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040872 -3.36598)'), GeomFromEWKT('SRID=4674;POINT (-39.040913 -3.365942)'))) / (select extract(epoch from '2026-06-12 17:38:37'::timestamp) - extract(epoch from '2026-06-12 17:38: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'), 46569, 'SRID=4674;POINT (-39.040936 -3.365937)', '2026-06-12 17:38:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040913 -3.365942)'), GeomFromEWKT('SRID=4674;POINT (-39.040936 -3.365937)'))) / (select extract(epoch from '2026-06-12 17:38:43'::timestamp) - extract(epoch from '2026-06-12 17:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040913 -3.365942)'), GeomFromEWKT('SRID=4674;POINT (-39.040936 -3.365937)'))) / (select extract(epoch from '2026-06-12 17:38:43'::timestamp) - extract(epoch from '2026-06-12 17:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.040949 -3.365911)', '2026-06-12 17:38:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040936 -3.365937)'), GeomFromEWKT('SRID=4674;POINT (-39.040949 -3.365911)'))) / (select extract(epoch from '2026-06-12 17:38:50'::timestamp) - extract(epoch from '2026-06-12 17:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040936 -3.365937)'), GeomFromEWKT('SRID=4674;POINT (-39.040949 -3.365911)'))) / (select extract(epoch from '2026-06-12 17:38:50'::timestamp) - extract(epoch from '2026-06-12 17:38: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'), 46569, 'SRID=4674;POINT (-39.04097 -3.365877)', '2026-06-12 17:38:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040949 -3.365911)'), GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.365877)'))) / (select extract(epoch from '2026-06-12 17:38:56'::timestamp) - extract(epoch from '2026-06-12 17:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040949 -3.365911)'), GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.365877)'))) / (select extract(epoch from '2026-06-12 17:38:56'::timestamp) - extract(epoch from '2026-06-12 17:38: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'), 46569, 'SRID=4674;POINT (-39.041004 -3.365827)', '2026-06-12 17:39:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.365877)'), GeomFromEWKT('SRID=4674;POINT (-39.041004 -3.365827)'))) / (select extract(epoch from '2026-06-12 17:39:03'::timestamp) - extract(epoch from '2026-06-12 17:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.365877)'), GeomFromEWKT('SRID=4674;POINT (-39.041004 -3.365827)'))) / (select extract(epoch from '2026-06-12 17:39:03'::timestamp) - extract(epoch from '2026-06-12 17:38: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'), 46569, 'SRID=4674;POINT (-39.041052 -3.365775)', '2026-06-12 17:39:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041004 -3.365827)'), GeomFromEWKT('SRID=4674;POINT (-39.041052 -3.365775)'))) / (select extract(epoch from '2026-06-12 17:39:14'::timestamp) - extract(epoch from '2026-06-12 17:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041004 -3.365827)'), GeomFromEWKT('SRID=4674;POINT (-39.041052 -3.365775)'))) / (select extract(epoch from '2026-06-12 17:39:14'::timestamp) - extract(epoch from '2026-06-12 17:39: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'), 46569, 'SRID=4674;POINT (-39.041115 -3.365726)', '2026-06-12 17:39:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041052 -3.365775)'), GeomFromEWKT('SRID=4674;POINT (-39.041115 -3.365726)'))) / (select extract(epoch from '2026-06-12 17:39:26'::timestamp) - extract(epoch from '2026-06-12 17:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041052 -3.365775)'), GeomFromEWKT('SRID=4674;POINT (-39.041115 -3.365726)'))) / (select extract(epoch from '2026-06-12 17:39:26'::timestamp) - extract(epoch from '2026-06-12 17:39: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'), 46569, 'SRID=4674;POINT (-39.041151 -3.365687)', '2026-06-12 17:39:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041115 -3.365726)'), GeomFromEWKT('SRID=4674;POINT (-39.041151 -3.365687)'))) / (select extract(epoch from '2026-06-12 17:39:34'::timestamp) - extract(epoch from '2026-06-12 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041115 -3.365726)'), GeomFromEWKT('SRID=4674;POINT (-39.041151 -3.365687)'))) / (select extract(epoch from '2026-06-12 17:39:34'::timestamp) - extract(epoch from '2026-06-12 17:39: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'), 46569, 'SRID=4674;POINT (-39.041158 -3.365683)', '2026-06-12 17:39:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041151 -3.365687)'), GeomFromEWKT('SRID=4674;POINT (-39.041158 -3.365683)'))) / (select extract(epoch from '2026-06-12 17:39:35'::timestamp) - extract(epoch from '2026-06-12 17:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041151 -3.365687)'), GeomFromEWKT('SRID=4674;POINT (-39.041158 -3.365683)'))) / (select extract(epoch from '2026-06-12 17:39:35'::timestamp) - extract(epoch from '2026-06-12 17:39: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'), 46569, 'SRID=4674;POINT (-39.041173 -3.365659)', '2026-06-12 17:39:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041158 -3.365683)'), GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.365659)'))) / (select extract(epoch from '2026-06-12 17:39:40'::timestamp) - extract(epoch from '2026-06-12 17:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041158 -3.365683)'), GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.365659)'))) / (select extract(epoch from '2026-06-12 17:39:40'::timestamp) - extract(epoch from '2026-06-12 17:39: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'), 46569, 'SRID=4674;POINT (-39.041206 -3.365615)', '2026-06-12 17:39:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.365659)'), GeomFromEWKT('SRID=4674;POINT (-39.041206 -3.365615)'))) / (select extract(epoch from '2026-06-12 17:39:46'::timestamp) - extract(epoch from '2026-06-12 17:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.365659)'), GeomFromEWKT('SRID=4674;POINT (-39.041206 -3.365615)'))) / (select extract(epoch from '2026-06-12 17:39:46'::timestamp) - extract(epoch from '2026-06-12 17:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041247 -3.365577)', '2026-06-12 17:39:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041206 -3.365615)'), GeomFromEWKT('SRID=4674;POINT (-39.041247 -3.365577)'))) / (select extract(epoch from '2026-06-12 17:39:53'::timestamp) - extract(epoch from '2026-06-12 17:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041206 -3.365615)'), GeomFromEWKT('SRID=4674;POINT (-39.041247 -3.365577)'))) / (select extract(epoch from '2026-06-12 17:39:53'::timestamp) - extract(epoch from '2026-06-12 17:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041284 -3.365562)', '2026-06-12 17:39:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041247 -3.365577)'), GeomFromEWKT('SRID=4674;POINT (-39.041284 -3.365562)'))) / (select extract(epoch from '2026-06-12 17:39:59'::timestamp) - extract(epoch from '2026-06-12 17:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041247 -3.365577)'), GeomFromEWKT('SRID=4674;POINT (-39.041284 -3.365562)'))) / (select extract(epoch from '2026-06-12 17:39:59'::timestamp) - extract(epoch from '2026-06-12 17:39: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'), 46569, 'SRID=4674;POINT (-39.041297 -3.365528)', '2026-06-12 17:40:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041284 -3.365562)'), GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.365528)'))) / (select extract(epoch from '2026-06-12 17:40:06'::timestamp) - extract(epoch from '2026-06-12 17:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041284 -3.365562)'), GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.365528)'))) / (select extract(epoch from '2026-06-12 17:40:06'::timestamp) - extract(epoch from '2026-06-12 17:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041336 -3.365497)', '2026-06-12 17:40:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.365528)'), GeomFromEWKT('SRID=4674;POINT (-39.041336 -3.365497)'))) / (select extract(epoch from '2026-06-12 17:40:12'::timestamp) - extract(epoch from '2026-06-12 17:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041297 -3.365528)'), GeomFromEWKT('SRID=4674;POINT (-39.041336 -3.365497)'))) / (select extract(epoch from '2026-06-12 17:40:12'::timestamp) - extract(epoch from '2026-06-12 17:40: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'), 46569, 'SRID=4674;POINT (-39.041358 -3.365485)', '2026-06-12 17:40:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041336 -3.365497)'), GeomFromEWKT('SRID=4674;POINT (-39.041358 -3.365485)'))) / (select extract(epoch from '2026-06-12 17:40:18'::timestamp) - extract(epoch from '2026-06-12 17:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041336 -3.365497)'), GeomFromEWKT('SRID=4674;POINT (-39.041358 -3.365485)'))) / (select extract(epoch from '2026-06-12 17:40:18'::timestamp) - extract(epoch from '2026-06-12 17:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041378 -3.365464)', '2026-06-12 17:40:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041358 -3.365485)'), GeomFromEWKT('SRID=4674;POINT (-39.041378 -3.365464)'))) / (select extract(epoch from '2026-06-12 17:40:24'::timestamp) - extract(epoch from '2026-06-12 17:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041358 -3.365485)'), GeomFromEWKT('SRID=4674;POINT (-39.041378 -3.365464)'))) / (select extract(epoch from '2026-06-12 17:40:24'::timestamp) - extract(epoch from '2026-06-12 17:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041393 -3.365434)', '2026-06-12 17:40:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041378 -3.365464)'), GeomFromEWKT('SRID=4674;POINT (-39.041393 -3.365434)'))) / (select extract(epoch from '2026-06-12 17:40:29'::timestamp) - extract(epoch from '2026-06-12 17:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041378 -3.365464)'), GeomFromEWKT('SRID=4674;POINT (-39.041393 -3.365434)'))) / (select extract(epoch from '2026-06-12 17:40:29'::timestamp) - extract(epoch from '2026-06-12 17:40: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'), 46569, 'SRID=4674;POINT (-39.0414 -3.365427)', '2026-06-12 17:40:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041393 -3.365434)'), GeomFromEWKT('SRID=4674;POINT (-39.0414 -3.365427)'))) / (select extract(epoch from '2026-06-12 17:40:31'::timestamp) - extract(epoch from '2026-06-12 17:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041393 -3.365434)'), GeomFromEWKT('SRID=4674;POINT (-39.0414 -3.365427)'))) / (select extract(epoch from '2026-06-12 17:40:31'::timestamp) - extract(epoch from '2026-06-12 17:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041398 -3.3654)', '2026-06-12 17:40:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0414 -3.365427)'), GeomFromEWKT('SRID=4674;POINT (-39.041398 -3.3654)'))) / (select extract(epoch from '2026-06-12 17:40:37'::timestamp) - extract(epoch from '2026-06-12 17:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0414 -3.365427)'), GeomFromEWKT('SRID=4674;POINT (-39.041398 -3.3654)'))) / (select extract(epoch from '2026-06-12 17:40:37'::timestamp) - extract(epoch from '2026-06-12 17:40:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041419 -3.365387)', '2026-06-12 17:40:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041398 -3.3654)'), GeomFromEWKT('SRID=4674;POINT (-39.041419 -3.365387)'))) / (select extract(epoch from '2026-06-12 17:40:43'::timestamp) - extract(epoch from '2026-06-12 17:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041398 -3.3654)'), GeomFromEWKT('SRID=4674;POINT (-39.041419 -3.365387)'))) / (select extract(epoch from '2026-06-12 17:40:43'::timestamp) - extract(epoch from '2026-06-12 17:40: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'), 46569, 'SRID=4674;POINT (-39.041445 -3.365372)', '2026-06-12 17:40:50', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041419 -3.365387)'), GeomFromEWKT('SRID=4674;POINT (-39.041445 -3.365372)'))) / (select extract(epoch from '2026-06-12 17:40:50'::timestamp) - extract(epoch from '2026-06-12 17:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041419 -3.365387)'), GeomFromEWKT('SRID=4674;POINT (-39.041445 -3.365372)'))) / (select extract(epoch from '2026-06-12 17:40:50'::timestamp) - extract(epoch from '2026-06-12 17:40: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'), 46569, 'SRID=4674;POINT (-39.04147 -3.365349)', '2026-06-12 17:40:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041445 -3.365372)'), GeomFromEWKT('SRID=4674;POINT (-39.04147 -3.365349)'))) / (select extract(epoch from '2026-06-12 17:40:57'::timestamp) - extract(epoch from '2026-06-12 17:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041445 -3.365372)'), GeomFromEWKT('SRID=4674;POINT (-39.04147 -3.365349)'))) / (select extract(epoch from '2026-06-12 17:40:57'::timestamp) - extract(epoch from '2026-06-12 17:40: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'), 46569, 'SRID=4674;POINT (-39.041498 -3.365322)', '2026-06-12 17:41:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04147 -3.365349)'), GeomFromEWKT('SRID=4674;POINT (-39.041498 -3.365322)'))) / (select extract(epoch from '2026-06-12 17:41:02'::timestamp) - extract(epoch from '2026-06-12 17:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04147 -3.365349)'), GeomFromEWKT('SRID=4674;POINT (-39.041498 -3.365322)'))) / (select extract(epoch from '2026-06-12 17:41:02'::timestamp) - extract(epoch from '2026-06-12 17:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041524 -3.365296)', '2026-06-12 17:41:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041498 -3.365322)'), GeomFromEWKT('SRID=4674;POINT (-39.041524 -3.365296)'))) / (select extract(epoch from '2026-06-12 17:41:07'::timestamp) - extract(epoch from '2026-06-12 17:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041498 -3.365322)'), GeomFromEWKT('SRID=4674;POINT (-39.041524 -3.365296)'))) / (select extract(epoch from '2026-06-12 17:41:07'::timestamp) - extract(epoch from '2026-06-12 17:41: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'), 46569, 'SRID=4674;POINT (-39.041556 -3.365263)', '2026-06-12 17:41:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041524 -3.365296)'), GeomFromEWKT('SRID=4674;POINT (-39.041556 -3.365263)'))) / (select extract(epoch from '2026-06-12 17:41:16'::timestamp) - extract(epoch from '2026-06-12 17:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041524 -3.365296)'), GeomFromEWKT('SRID=4674;POINT (-39.041556 -3.365263)'))) / (select extract(epoch from '2026-06-12 17:41:16'::timestamp) - extract(epoch from '2026-06-12 17:41: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'), 46569, 'SRID=4674;POINT (-39.041577 -3.365246)', '2026-06-12 17:41:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041556 -3.365263)'), GeomFromEWKT('SRID=4674;POINT (-39.041577 -3.365246)'))) / (select extract(epoch from '2026-06-12 17:41:20'::timestamp) - extract(epoch from '2026-06-12 17:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041556 -3.365263)'), GeomFromEWKT('SRID=4674;POINT (-39.041577 -3.365246)'))) / (select extract(epoch from '2026-06-12 17:41:20'::timestamp) - extract(epoch from '2026-06-12 17:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041579 -3.36524)', '2026-06-12 17:41:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041577 -3.365246)'), GeomFromEWKT('SRID=4674;POINT (-39.041579 -3.36524)'))) / (select extract(epoch from '2026-06-12 17:41:21'::timestamp) - extract(epoch from '2026-06-12 17:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041577 -3.365246)'), GeomFromEWKT('SRID=4674;POINT (-39.041579 -3.36524)'))) / (select extract(epoch from '2026-06-12 17:41:21'::timestamp) - extract(epoch from '2026-06-12 17:41: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'), 46569, 'SRID=4674;POINT (-39.041611 -3.365209)', '2026-06-12 17:41:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041579 -3.36524)'), GeomFromEWKT('SRID=4674;POINT (-39.041611 -3.365209)'))) / (select extract(epoch from '2026-06-12 17:41:27'::timestamp) - extract(epoch from '2026-06-12 17:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041579 -3.36524)'), GeomFromEWKT('SRID=4674;POINT (-39.041611 -3.365209)'))) / (select extract(epoch from '2026-06-12 17:41:27'::timestamp) - extract(epoch from '2026-06-12 17:41: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'), 46569, 'SRID=4674;POINT (-39.041621 -3.365161)', '2026-06-12 17:41:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041611 -3.365209)'), GeomFromEWKT('SRID=4674;POINT (-39.041621 -3.365161)'))) / (select extract(epoch from '2026-06-12 17:41:37'::timestamp) - extract(epoch from '2026-06-12 17:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041611 -3.365209)'), GeomFromEWKT('SRID=4674;POINT (-39.041621 -3.365161)'))) / (select extract(epoch from '2026-06-12 17:41:37'::timestamp) - extract(epoch from '2026-06-12 17:41: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'), 46569, 'SRID=4674;POINT (-39.04164 -3.365125)', '2026-06-12 17:41:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041621 -3.365161)'), GeomFromEWKT('SRID=4674;POINT (-39.04164 -3.365125)'))) / (select extract(epoch from '2026-06-12 17:41:43'::timestamp) - extract(epoch from '2026-06-12 17:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041621 -3.365161)'), GeomFromEWKT('SRID=4674;POINT (-39.04164 -3.365125)'))) / (select extract(epoch from '2026-06-12 17:41:43'::timestamp) - extract(epoch from '2026-06-12 17:41: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'), 46569, 'SRID=4674;POINT (-39.041654 -3.365089)', '2026-06-12 17:41:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04164 -3.365125)'), GeomFromEWKT('SRID=4674;POINT (-39.041654 -3.365089)'))) / (select extract(epoch from '2026-06-12 17:41:50'::timestamp) - extract(epoch from '2026-06-12 17:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04164 -3.365125)'), GeomFromEWKT('SRID=4674;POINT (-39.041654 -3.365089)'))) / (select extract(epoch from '2026-06-12 17:41:50'::timestamp) - extract(epoch from '2026-06-12 17:41: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'), 46569, 'SRID=4674;POINT (-39.041691 -3.365038)', '2026-06-12 17:41:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041654 -3.365089)'), GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.365038)'))) / (select extract(epoch from '2026-06-12 17:41:59'::timestamp) - extract(epoch from '2026-06-12 17:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041654 -3.365089)'), GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.365038)'))) / (select extract(epoch from '2026-06-12 17:41:59'::timestamp) - extract(epoch from '2026-06-12 17:41: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'), 46569, 'SRID=4674;POINT (-39.041719 -3.365022)', '2026-06-12 17:42:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.365038)'), GeomFromEWKT('SRID=4674;POINT (-39.041719 -3.365022)'))) / (select extract(epoch from '2026-06-12 17:42:07'::timestamp) - extract(epoch from '2026-06-12 17:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041691 -3.365038)'), GeomFromEWKT('SRID=4674;POINT (-39.041719 -3.365022)'))) / (select extract(epoch from '2026-06-12 17:42:07'::timestamp) - extract(epoch from '2026-06-12 17:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.0418 -3.364983)', '2026-06-12 17:42:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041719 -3.365022)'), GeomFromEWKT('SRID=4674;POINT (-39.0418 -3.364983)'))) / (select extract(epoch from '2026-06-12 17:42:20'::timestamp) - extract(epoch from '2026-06-12 17:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041719 -3.365022)'), GeomFromEWKT('SRID=4674;POINT (-39.0418 -3.364983)'))) / (select extract(epoch from '2026-06-12 17:42:20'::timestamp) - extract(epoch from '2026-06-12 17:42: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'), 46569, 'SRID=4674;POINT (-39.041839 -3.364959)', '2026-06-12 17:42:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0418 -3.364983)'), GeomFromEWKT('SRID=4674;POINT (-39.041839 -3.364959)'))) / (select extract(epoch from '2026-06-12 17:42:26'::timestamp) - extract(epoch from '2026-06-12 17:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0418 -3.364983)'), GeomFromEWKT('SRID=4674;POINT (-39.041839 -3.364959)'))) / (select extract(epoch from '2026-06-12 17:42:26'::timestamp) - extract(epoch from '2026-06-12 17:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041884 -3.364938)', '2026-06-12 17:42:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041839 -3.364959)'), GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.364938)'))) / (select extract(epoch from '2026-06-12 17:42:31'::timestamp) - extract(epoch from '2026-06-12 17:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041839 -3.364959)'), GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.364938)'))) / (select extract(epoch from '2026-06-12 17:42:31'::timestamp) - extract(epoch from '2026-06-12 17:42: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'), 46569, 'SRID=4674;POINT (-39.041918 -3.364911)', '2026-06-12 17:42:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.364938)'), GeomFromEWKT('SRID=4674;POINT (-39.041918 -3.364911)'))) / (select extract(epoch from '2026-06-12 17:42:37'::timestamp) - extract(epoch from '2026-06-12 17:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.364938)'), GeomFromEWKT('SRID=4674;POINT (-39.041918 -3.364911)'))) / (select extract(epoch from '2026-06-12 17:42:37'::timestamp) - extract(epoch from '2026-06-12 17:42: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'), 46569, 'SRID=4674;POINT (-39.041955 -3.364891)', '2026-06-12 17:42:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041918 -3.364911)'), GeomFromEWKT('SRID=4674;POINT (-39.041955 -3.364891)'))) / (select extract(epoch from '2026-06-12 17:42:42'::timestamp) - extract(epoch from '2026-06-12 17:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041918 -3.364911)'), GeomFromEWKT('SRID=4674;POINT (-39.041955 -3.364891)'))) / (select extract(epoch from '2026-06-12 17:42:42'::timestamp) - extract(epoch from '2026-06-12 17:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.041981 -3.364876)', '2026-06-12 17:42:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041955 -3.364891)'), GeomFromEWKT('SRID=4674;POINT (-39.041981 -3.364876)'))) / (select extract(epoch from '2026-06-12 17:42:50'::timestamp) - extract(epoch from '2026-06-12 17:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041955 -3.364891)'), GeomFromEWKT('SRID=4674;POINT (-39.041981 -3.364876)'))) / (select extract(epoch from '2026-06-12 17:42:50'::timestamp) - extract(epoch from '2026-06-12 17:42: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'), 46569, 'SRID=4674;POINT (-39.042033 -3.364843)', '2026-06-12 17:42:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041981 -3.364876)'), GeomFromEWKT('SRID=4674;POINT (-39.042033 -3.364843)'))) / (select extract(epoch from '2026-06-12 17:42:59'::timestamp) - extract(epoch from '2026-06-12 17:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041981 -3.364876)'), GeomFromEWKT('SRID=4674;POINT (-39.042033 -3.364843)'))) / (select extract(epoch from '2026-06-12 17:42:59'::timestamp) - extract(epoch from '2026-06-12 17:42: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'), 46569, 'SRID=4674;POINT (-39.042069 -3.364806)', '2026-06-12 17:43:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042033 -3.364843)'), GeomFromEWKT('SRID=4674;POINT (-39.042069 -3.364806)'))) / (select extract(epoch from '2026-06-12 17:43:05'::timestamp) - extract(epoch from '2026-06-12 17:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042033 -3.364843)'), GeomFromEWKT('SRID=4674;POINT (-39.042069 -3.364806)'))) / (select extract(epoch from '2026-06-12 17:43:05'::timestamp) - extract(epoch from '2026-06-12 17:42: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'), 46569, 'SRID=4674;POINT (-39.042087 -3.364783)', '2026-06-12 17:43:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042069 -3.364806)'), GeomFromEWKT('SRID=4674;POINT (-39.042087 -3.364783)'))) / (select extract(epoch from '2026-06-12 17:43:12'::timestamp) - extract(epoch from '2026-06-12 17:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042069 -3.364806)'), GeomFromEWKT('SRID=4674;POINT (-39.042087 -3.364783)'))) / (select extract(epoch from '2026-06-12 17:43:12'::timestamp) - extract(epoch from '2026-06-12 17:43: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'), 46569, 'SRID=4674;POINT (-39.042143 -3.364762)', '2026-06-12 17:43:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042087 -3.364783)'), GeomFromEWKT('SRID=4674;POINT (-39.042143 -3.364762)'))) / (select extract(epoch from '2026-06-12 17:43:20'::timestamp) - extract(epoch from '2026-06-12 17:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042087 -3.364783)'), GeomFromEWKT('SRID=4674;POINT (-39.042143 -3.364762)'))) / (select extract(epoch from '2026-06-12 17:43:20'::timestamp) - extract(epoch from '2026-06-12 17:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042162 -3.364752)', '2026-06-12 17:43:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042143 -3.364762)'), GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.364752)'))) / (select extract(epoch from '2026-06-12 17:43:24'::timestamp) - extract(epoch from '2026-06-12 17:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042143 -3.364762)'), GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.364752)'))) / (select extract(epoch from '2026-06-12 17:43:24'::timestamp) - extract(epoch from '2026-06-12 17:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042168 -3.364749)', '2026-06-12 17:43:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.364752)'), GeomFromEWKT('SRID=4674;POINT (-39.042168 -3.364749)'))) / (select extract(epoch from '2026-06-12 17:43:25'::timestamp) - extract(epoch from '2026-06-12 17:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042162 -3.364752)'), GeomFromEWKT('SRID=4674;POINT (-39.042168 -3.364749)'))) / (select extract(epoch from '2026-06-12 17:43:25'::timestamp) - extract(epoch from '2026-06-12 17:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042203 -3.364722)', '2026-06-12 17:43:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042168 -3.364749)'), GeomFromEWKT('SRID=4674;POINT (-39.042203 -3.364722)'))) / (select extract(epoch from '2026-06-12 17:43:32'::timestamp) - extract(epoch from '2026-06-12 17:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042168 -3.364749)'), GeomFromEWKT('SRID=4674;POINT (-39.042203 -3.364722)'))) / (select extract(epoch from '2026-06-12 17:43:32'::timestamp) - extract(epoch from '2026-06-12 17:43: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'), 46569, 'SRID=4674;POINT (-39.042231 -3.364703)', '2026-06-12 17:43:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042203 -3.364722)'), GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.364703)'))) / (select extract(epoch from '2026-06-12 17:43:40'::timestamp) - extract(epoch from '2026-06-12 17:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042203 -3.364722)'), GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.364703)'))) / (select extract(epoch from '2026-06-12 17:43:40'::timestamp) - extract(epoch from '2026-06-12 17:43: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'), 46569, 'SRID=4674;POINT (-39.042287 -3.36467)', '2026-06-12 17:43:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.364703)'), GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.36467)'))) / (select extract(epoch from '2026-06-12 17:43:50'::timestamp) - extract(epoch from '2026-06-12 17:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042231 -3.364703)'), GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.36467)'))) / (select extract(epoch from '2026-06-12 17:43:50'::timestamp) - extract(epoch from '2026-06-12 17:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042334 -3.364624)', '2026-06-12 17:44:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.36467)'), GeomFromEWKT('SRID=4674;POINT (-39.042334 -3.364624)'))) / (select extract(epoch from '2026-06-12 17:44:03'::timestamp) - extract(epoch from '2026-06-12 17:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.36467)'), GeomFromEWKT('SRID=4674;POINT (-39.042334 -3.364624)'))) / (select extract(epoch from '2026-06-12 17:44:03'::timestamp) - extract(epoch from '2026-06-12 17:43: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'), 46569, 'SRID=4674;POINT (-39.042364 -3.364597)', '2026-06-12 17:44:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042334 -3.364624)'), GeomFromEWKT('SRID=4674;POINT (-39.042364 -3.364597)'))) / (select extract(epoch from '2026-06-12 17:44:14'::timestamp) - extract(epoch from '2026-06-12 17:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042334 -3.364624)'), GeomFromEWKT('SRID=4674;POINT (-39.042364 -3.364597)'))) / (select extract(epoch from '2026-06-12 17:44:14'::timestamp) - extract(epoch from '2026-06-12 17:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042416 -3.364568)', '2026-06-12 17:44:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042364 -3.364597)'), GeomFromEWKT('SRID=4674;POINT (-39.042416 -3.364568)'))) / (select extract(epoch from '2026-06-12 17:44:22'::timestamp) - extract(epoch from '2026-06-12 17:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042364 -3.364597)'), GeomFromEWKT('SRID=4674;POINT (-39.042416 -3.364568)'))) / (select extract(epoch from '2026-06-12 17:44:22'::timestamp) - extract(epoch from '2026-06-12 17:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042463 -3.364549)', '2026-06-12 17:44:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042416 -3.364568)'), GeomFromEWKT('SRID=4674;POINT (-39.042463 -3.364549)'))) / (select extract(epoch from '2026-06-12 17:44:29'::timestamp) - extract(epoch from '2026-06-12 17:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042416 -3.364568)'), GeomFromEWKT('SRID=4674;POINT (-39.042463 -3.364549)'))) / (select extract(epoch from '2026-06-12 17:44:29'::timestamp) - extract(epoch from '2026-06-12 17:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042504 -3.364527)', '2026-06-12 17:44:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042463 -3.364549)'), GeomFromEWKT('SRID=4674;POINT (-39.042504 -3.364527)'))) / (select extract(epoch from '2026-06-12 17:44:38'::timestamp) - extract(epoch from '2026-06-12 17:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042463 -3.364549)'), GeomFromEWKT('SRID=4674;POINT (-39.042504 -3.364527)'))) / (select extract(epoch from '2026-06-12 17:44:38'::timestamp) - extract(epoch from '2026-06-12 17:44:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04257 -3.364506)', '2026-06-12 17:44:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042504 -3.364527)'), GeomFromEWKT('SRID=4674;POINT (-39.04257 -3.364506)'))) / (select extract(epoch from '2026-06-12 17:44:48'::timestamp) - extract(epoch from '2026-06-12 17:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042504 -3.364527)'), GeomFromEWKT('SRID=4674;POINT (-39.04257 -3.364506)'))) / (select extract(epoch from '2026-06-12 17:44:48'::timestamp) - extract(epoch from '2026-06-12 17:44: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'), 46569, 'SRID=4674;POINT (-39.042613 -3.364458)', '2026-06-12 17:44:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04257 -3.364506)'), GeomFromEWKT('SRID=4674;POINT (-39.042613 -3.364458)'))) / (select extract(epoch from '2026-06-12 17:44:57'::timestamp) - extract(epoch from '2026-06-12 17:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04257 -3.364506)'), GeomFromEWKT('SRID=4674;POINT (-39.042613 -3.364458)'))) / (select extract(epoch from '2026-06-12 17:44:57'::timestamp) - extract(epoch from '2026-06-12 17:44: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'), 46569, 'SRID=4674;POINT (-39.042655 -3.364412)', '2026-06-12 17:45:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042613 -3.364458)'), GeomFromEWKT('SRID=4674;POINT (-39.042655 -3.364412)'))) / (select extract(epoch from '2026-06-12 17:45:04'::timestamp) - extract(epoch from '2026-06-12 17:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042613 -3.364458)'), GeomFromEWKT('SRID=4674;POINT (-39.042655 -3.364412)'))) / (select extract(epoch from '2026-06-12 17:45:04'::timestamp) - extract(epoch from '2026-06-12 17:44: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'), 46569, 'SRID=4674;POINT (-39.042704 -3.364371)', '2026-06-12 17:45:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042655 -3.364412)'), GeomFromEWKT('SRID=4674;POINT (-39.042704 -3.364371)'))) / (select extract(epoch from '2026-06-12 17:45:16'::timestamp) - extract(epoch from '2026-06-12 17:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042655 -3.364412)'), GeomFromEWKT('SRID=4674;POINT (-39.042704 -3.364371)'))) / (select extract(epoch from '2026-06-12 17:45:16'::timestamp) - extract(epoch from '2026-06-12 17:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042773 -3.36432)', '2026-06-12 17:45:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042704 -3.364371)'), GeomFromEWKT('SRID=4674;POINT (-39.042773 -3.36432)'))) / (select extract(epoch from '2026-06-12 17:45:26'::timestamp) - extract(epoch from '2026-06-12 17:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042704 -3.364371)'), GeomFromEWKT('SRID=4674;POINT (-39.042773 -3.36432)'))) / (select extract(epoch from '2026-06-12 17:45:26'::timestamp) - extract(epoch from '2026-06-12 17:45: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'), 46569, 'SRID=4674;POINT (-39.042838 -3.364285)', '2026-06-12 17:45:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042773 -3.36432)'), GeomFromEWKT('SRID=4674;POINT (-39.042838 -3.364285)'))) / (select extract(epoch from '2026-06-12 17:45:36'::timestamp) - extract(epoch from '2026-06-12 17:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042773 -3.36432)'), GeomFromEWKT('SRID=4674;POINT (-39.042838 -3.364285)'))) / (select extract(epoch from '2026-06-12 17:45:36'::timestamp) - extract(epoch from '2026-06-12 17:45:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042891 -3.364265)', '2026-06-12 17:45:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042838 -3.364285)'), GeomFromEWKT('SRID=4674;POINT (-39.042891 -3.364265)'))) / (select extract(epoch from '2026-06-12 17:45:49'::timestamp) - extract(epoch from '2026-06-12 17:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042838 -3.364285)'), GeomFromEWKT('SRID=4674;POINT (-39.042891 -3.364265)'))) / (select extract(epoch from '2026-06-12 17:45:49'::timestamp) - extract(epoch from '2026-06-12 17:45: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'), 46569, 'SRID=4674;POINT (-39.042924 -3.364248)', '2026-06-12 17:46:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042891 -3.364265)'), GeomFromEWKT('SRID=4674;POINT (-39.042924 -3.364248)'))) / (select extract(epoch from '2026-06-12 17:46:00'::timestamp) - extract(epoch from '2026-06-12 17:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042891 -3.364265)'), GeomFromEWKT('SRID=4674;POINT (-39.042924 -3.364248)'))) / (select extract(epoch from '2026-06-12 17:46:00'::timestamp) - extract(epoch from '2026-06-12 17:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042947 -3.364227)', '2026-06-12 17:46:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042924 -3.364248)'), GeomFromEWKT('SRID=4674;POINT (-39.042947 -3.364227)'))) / (select extract(epoch from '2026-06-12 17:46:11'::timestamp) - extract(epoch from '2026-06-12 17:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042924 -3.364248)'), GeomFromEWKT('SRID=4674;POINT (-39.042947 -3.364227)'))) / (select extract(epoch from '2026-06-12 17:46:11'::timestamp) - extract(epoch from '2026-06-12 17:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043016 -3.364195)', '2026-06-12 17:46:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042947 -3.364227)'), GeomFromEWKT('SRID=4674;POINT (-39.043016 -3.364195)'))) / (select extract(epoch from '2026-06-12 17:46:23'::timestamp) - extract(epoch from '2026-06-12 17:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042947 -3.364227)'), GeomFromEWKT('SRID=4674;POINT (-39.043016 -3.364195)'))) / (select extract(epoch from '2026-06-12 17:46:23'::timestamp) - extract(epoch from '2026-06-12 17:46: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'), 46569, 'SRID=4674;POINT (-39.043057 -3.364177)', '2026-06-12 17:46:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043016 -3.364195)'), GeomFromEWKT('SRID=4674;POINT (-39.043057 -3.364177)'))) / (select extract(epoch from '2026-06-12 17:46:32'::timestamp) - extract(epoch from '2026-06-12 17:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043016 -3.364195)'), GeomFromEWKT('SRID=4674;POINT (-39.043057 -3.364177)'))) / (select extract(epoch from '2026-06-12 17:46:32'::timestamp) - extract(epoch from '2026-06-12 17:46: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'), 46569, 'SRID=4674;POINT (-39.043118 -3.364126)', '2026-06-12 17:46:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043057 -3.364177)'), GeomFromEWKT('SRID=4674;POINT (-39.043118 -3.364126)'))) / (select extract(epoch from '2026-06-12 17:46:44'::timestamp) - extract(epoch from '2026-06-12 17:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043057 -3.364177)'), GeomFromEWKT('SRID=4674;POINT (-39.043118 -3.364126)'))) / (select extract(epoch from '2026-06-12 17:46:44'::timestamp) - extract(epoch from '2026-06-12 17:46: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'), 46569, 'SRID=4674;POINT (-39.043164 -3.3641)', '2026-06-12 17:46:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043118 -3.364126)'), GeomFromEWKT('SRID=4674;POINT (-39.043164 -3.3641)'))) / (select extract(epoch from '2026-06-12 17:46:54'::timestamp) - extract(epoch from '2026-06-12 17:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043118 -3.364126)'), GeomFromEWKT('SRID=4674;POINT (-39.043164 -3.3641)'))) / (select extract(epoch from '2026-06-12 17:46:54'::timestamp) - extract(epoch from '2026-06-12 17:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043169 -3.364097)', '2026-06-12 17:46:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043164 -3.3641)'), GeomFromEWKT('SRID=4674;POINT (-39.043169 -3.364097)'))) / (select extract(epoch from '2026-06-12 17:46:55'::timestamp) - extract(epoch from '2026-06-12 17:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043164 -3.3641)'), GeomFromEWKT('SRID=4674;POINT (-39.043169 -3.364097)'))) / (select extract(epoch from '2026-06-12 17:46:55'::timestamp) - extract(epoch from '2026-06-12 17:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043184 -3.364085)', '2026-06-12 17:47:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043169 -3.364097)'), GeomFromEWKT('SRID=4674;POINT (-39.043184 -3.364085)'))) / (select extract(epoch from '2026-06-12 17:47:02'::timestamp) - extract(epoch from '2026-06-12 17:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043169 -3.364097)'), GeomFromEWKT('SRID=4674;POINT (-39.043184 -3.364085)'))) / (select extract(epoch from '2026-06-12 17:47:02'::timestamp) - extract(epoch from '2026-06-12 17:46: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'), 46569, 'SRID=4674;POINT (-39.04321 -3.364068)', '2026-06-12 17:47:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043184 -3.364085)'), GeomFromEWKT('SRID=4674;POINT (-39.04321 -3.364068)'))) / (select extract(epoch from '2026-06-12 17:47:08'::timestamp) - extract(epoch from '2026-06-12 17:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043184 -3.364085)'), GeomFromEWKT('SRID=4674;POINT (-39.04321 -3.364068)'))) / (select extract(epoch from '2026-06-12 17:47:08'::timestamp) - extract(epoch from '2026-06-12 17:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043243 -3.364038)', '2026-06-12 17:47:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04321 -3.364068)'), GeomFromEWKT('SRID=4674;POINT (-39.043243 -3.364038)'))) / (select extract(epoch from '2026-06-12 17:47:18'::timestamp) - extract(epoch from '2026-06-12 17:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04321 -3.364068)'), GeomFromEWKT('SRID=4674;POINT (-39.043243 -3.364038)'))) / (select extract(epoch from '2026-06-12 17:47:18'::timestamp) - extract(epoch from '2026-06-12 17:47: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'), 46569, 'SRID=4674;POINT (-39.043275 -3.364009)', '2026-06-12 17:47:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043243 -3.364038)'), GeomFromEWKT('SRID=4674;POINT (-39.043275 -3.364009)'))) / (select extract(epoch from '2026-06-12 17:47:23'::timestamp) - extract(epoch from '2026-06-12 17:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043243 -3.364038)'), GeomFromEWKT('SRID=4674;POINT (-39.043275 -3.364009)'))) / (select extract(epoch from '2026-06-12 17:47:23'::timestamp) - extract(epoch from '2026-06-12 17:47: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'), 46569, 'SRID=4674;POINT (-39.043322 -3.363996)', '2026-06-12 17:47:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043275 -3.364009)'), GeomFromEWKT('SRID=4674;POINT (-39.043322 -3.363996)'))) / (select extract(epoch from '2026-06-12 17:47:29'::timestamp) - extract(epoch from '2026-06-12 17:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043275 -3.364009)'), GeomFromEWKT('SRID=4674;POINT (-39.043322 -3.363996)'))) / (select extract(epoch from '2026-06-12 17:47:29'::timestamp) - extract(epoch from '2026-06-12 17:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04336 -3.363998)', '2026-06-12 17:47:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043322 -3.363996)'), GeomFromEWKT('SRID=4674;POINT (-39.04336 -3.363998)'))) / (select extract(epoch from '2026-06-12 17:47:36'::timestamp) - extract(epoch from '2026-06-12 17:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043322 -3.363996)'), GeomFromEWKT('SRID=4674;POINT (-39.04336 -3.363998)'))) / (select extract(epoch from '2026-06-12 17:47:36'::timestamp) - extract(epoch from '2026-06-12 17:47:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043391 -3.363975)', '2026-06-12 17:47:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04336 -3.363998)'), GeomFromEWKT('SRID=4674;POINT (-39.043391 -3.363975)'))) / (select extract(epoch from '2026-06-12 17:47:42'::timestamp) - extract(epoch from '2026-06-12 17:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04336 -3.363998)'), GeomFromEWKT('SRID=4674;POINT (-39.043391 -3.363975)'))) / (select extract(epoch from '2026-06-12 17:47:42'::timestamp) - extract(epoch from '2026-06-12 17:47: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'), 46569, 'SRID=4674;POINT (-39.043428 -3.363949)', '2026-06-12 17:47:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043391 -3.363975)'), GeomFromEWKT('SRID=4674;POINT (-39.043428 -3.363949)'))) / (select extract(epoch from '2026-06-12 17:47:48'::timestamp) - extract(epoch from '2026-06-12 17:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043391 -3.363975)'), GeomFromEWKT('SRID=4674;POINT (-39.043428 -3.363949)'))) / (select extract(epoch from '2026-06-12 17:47:48'::timestamp) - extract(epoch from '2026-06-12 17:47:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04344 -3.363932)', '2026-06-12 17:47:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043428 -3.363949)'), GeomFromEWKT('SRID=4674;POINT (-39.04344 -3.363932)'))) / (select extract(epoch from '2026-06-12 17:47:52'::timestamp) - extract(epoch from '2026-06-12 17:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043428 -3.363949)'), GeomFromEWKT('SRID=4674;POINT (-39.04344 -3.363932)'))) / (select extract(epoch from '2026-06-12 17:47:52'::timestamp) - extract(epoch from '2026-06-12 17:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043461 -3.363914)', '2026-06-12 17:47:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04344 -3.363932)'), GeomFromEWKT('SRID=4674;POINT (-39.043461 -3.363914)'))) / (select extract(epoch from '2026-06-12 17:47:59'::timestamp) - extract(epoch from '2026-06-12 17:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04344 -3.363932)'), GeomFromEWKT('SRID=4674;POINT (-39.043461 -3.363914)'))) / (select extract(epoch from '2026-06-12 17:47:59'::timestamp) - extract(epoch from '2026-06-12 17:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043492 -3.363881)', '2026-06-12 17:48:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043461 -3.363914)'), GeomFromEWKT('SRID=4674;POINT (-39.043492 -3.363881)'))) / (select extract(epoch from '2026-06-12 17:48:11'::timestamp) - extract(epoch from '2026-06-12 17:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043461 -3.363914)'), GeomFromEWKT('SRID=4674;POINT (-39.043492 -3.363881)'))) / (select extract(epoch from '2026-06-12 17:48:11'::timestamp) - extract(epoch from '2026-06-12 17:47: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'), 46569, 'SRID=4674;POINT (-39.043517 -3.363862)', '2026-06-12 17:48:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043492 -3.363881)'), GeomFromEWKT('SRID=4674;POINT (-39.043517 -3.363862)'))) / (select extract(epoch from '2026-06-12 17:48:16'::timestamp) - extract(epoch from '2026-06-12 17:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043492 -3.363881)'), GeomFromEWKT('SRID=4674;POINT (-39.043517 -3.363862)'))) / (select extract(epoch from '2026-06-12 17:48:16'::timestamp) - extract(epoch from '2026-06-12 17:48: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'), 46569, 'SRID=4674;POINT (-39.043544 -3.363842)', '2026-06-12 17:48:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043517 -3.363862)'), GeomFromEWKT('SRID=4674;POINT (-39.043544 -3.363842)'))) / (select extract(epoch from '2026-06-12 17:48:23'::timestamp) - extract(epoch from '2026-06-12 17:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043517 -3.363862)'), GeomFromEWKT('SRID=4674;POINT (-39.043544 -3.363842)'))) / (select extract(epoch from '2026-06-12 17:48:23'::timestamp) - extract(epoch from '2026-06-12 17:48: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'), 46569, 'SRID=4674;POINT (-39.043613 -3.363792)', '2026-06-12 17:48:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043544 -3.363842)'), GeomFromEWKT('SRID=4674;POINT (-39.043613 -3.363792)'))) / (select extract(epoch from '2026-06-12 17:48:38'::timestamp) - extract(epoch from '2026-06-12 17:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043544 -3.363842)'), GeomFromEWKT('SRID=4674;POINT (-39.043613 -3.363792)'))) / (select extract(epoch from '2026-06-12 17:48:38'::timestamp) - extract(epoch from '2026-06-12 17:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043654 -3.363763)', '2026-06-12 17:48:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043613 -3.363792)'), GeomFromEWKT('SRID=4674;POINT (-39.043654 -3.363763)'))) / (select extract(epoch from '2026-06-12 17:48:47'::timestamp) - extract(epoch from '2026-06-12 17:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043613 -3.363792)'), GeomFromEWKT('SRID=4674;POINT (-39.043654 -3.363763)'))) / (select extract(epoch from '2026-06-12 17:48:47'::timestamp) - extract(epoch from '2026-06-12 17:48: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'), 46569, 'SRID=4674;POINT (-39.043688 -3.363744)', '2026-06-12 17:48:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043654 -3.363763)'), GeomFromEWKT('SRID=4674;POINT (-39.043688 -3.363744)'))) / (select extract(epoch from '2026-06-12 17:48:53'::timestamp) - extract(epoch from '2026-06-12 17:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043654 -3.363763)'), GeomFromEWKT('SRID=4674;POINT (-39.043688 -3.363744)'))) / (select extract(epoch from '2026-06-12 17:48:53'::timestamp) - extract(epoch from '2026-06-12 17:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043717 -3.363715)', '2026-06-12 17:49:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043688 -3.363744)'), GeomFromEWKT('SRID=4674;POINT (-39.043717 -3.363715)'))) / (select extract(epoch from '2026-06-12 17:49:00'::timestamp) - extract(epoch from '2026-06-12 17:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043688 -3.363744)'), GeomFromEWKT('SRID=4674;POINT (-39.043717 -3.363715)'))) / (select extract(epoch from '2026-06-12 17:49:00'::timestamp) - extract(epoch from '2026-06-12 17:48:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043758 -3.363697)', '2026-06-12 17:49:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043717 -3.363715)'), GeomFromEWKT('SRID=4674;POINT (-39.043758 -3.363697)'))) / (select extract(epoch from '2026-06-12 17:49:06'::timestamp) - extract(epoch from '2026-06-12 17:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043717 -3.363715)'), GeomFromEWKT('SRID=4674;POINT (-39.043758 -3.363697)'))) / (select extract(epoch from '2026-06-12 17:49:06'::timestamp) - extract(epoch from '2026-06-12 17:49: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'), 46569, 'SRID=4674;POINT (-39.043766 -3.363691)', '2026-06-12 17:49:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043758 -3.363697)'), GeomFromEWKT('SRID=4674;POINT (-39.043766 -3.363691)'))) / (select extract(epoch from '2026-06-12 17:49:08'::timestamp) - extract(epoch from '2026-06-12 17:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043758 -3.363697)'), GeomFromEWKT('SRID=4674;POINT (-39.043766 -3.363691)'))) / (select extract(epoch from '2026-06-12 17:49:08'::timestamp) - extract(epoch from '2026-06-12 17:49: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'), 46569, 'SRID=4674;POINT (-39.043775 -3.363683)', '2026-06-12 17:49:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043766 -3.363691)'), GeomFromEWKT('SRID=4674;POINT (-39.043775 -3.363683)'))) / (select extract(epoch from '2026-06-12 17:49:11'::timestamp) - extract(epoch from '2026-06-12 17:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043766 -3.363691)'), GeomFromEWKT('SRID=4674;POINT (-39.043775 -3.363683)'))) / (select extract(epoch from '2026-06-12 17:49:11'::timestamp) - extract(epoch from '2026-06-12 17:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043808 -3.363663)', '2026-06-12 17:49:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043775 -3.363683)'), GeomFromEWKT('SRID=4674;POINT (-39.043808 -3.363663)'))) / (select extract(epoch from '2026-06-12 17:49:18'::timestamp) - extract(epoch from '2026-06-12 17:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043775 -3.363683)'), GeomFromEWKT('SRID=4674;POINT (-39.043808 -3.363663)'))) / (select extract(epoch from '2026-06-12 17:49:18'::timestamp) - extract(epoch from '2026-06-12 17:49: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'), 46569, 'SRID=4674;POINT (-39.043878 -3.363612)', '2026-06-12 17:49:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043808 -3.363663)'), GeomFromEWKT('SRID=4674;POINT (-39.043878 -3.363612)'))) / (select extract(epoch from '2026-06-12 17:49:31'::timestamp) - extract(epoch from '2026-06-12 17:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043808 -3.363663)'), GeomFromEWKT('SRID=4674;POINT (-39.043878 -3.363612)'))) / (select extract(epoch from '2026-06-12 17:49:31'::timestamp) - extract(epoch from '2026-06-12 17:49: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'), 46569, 'SRID=4674;POINT (-39.043911 -3.363589)', '2026-06-12 17:49:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043878 -3.363612)'), GeomFromEWKT('SRID=4674;POINT (-39.043911 -3.363589)'))) / (select extract(epoch from '2026-06-12 17:49:40'::timestamp) - extract(epoch from '2026-06-12 17:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043878 -3.363612)'), GeomFromEWKT('SRID=4674;POINT (-39.043911 -3.363589)'))) / (select extract(epoch from '2026-06-12 17:49:40'::timestamp) - extract(epoch from '2026-06-12 17:49: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'), 46569, 'SRID=4674;POINT (-39.043937 -3.363571)', '2026-06-12 17:49:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043911 -3.363589)'), GeomFromEWKT('SRID=4674;POINT (-39.043937 -3.363571)'))) / (select extract(epoch from '2026-06-12 17:49:47'::timestamp) - extract(epoch from '2026-06-12 17:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043911 -3.363589)'), GeomFromEWKT('SRID=4674;POINT (-39.043937 -3.363571)'))) / (select extract(epoch from '2026-06-12 17:49:47'::timestamp) - extract(epoch from '2026-06-12 17:49: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'), 46569, 'SRID=4674;POINT (-39.043978 -3.363546)', '2026-06-12 17:49:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043937 -3.363571)'), GeomFromEWKT('SRID=4674;POINT (-39.043978 -3.363546)'))) / (select extract(epoch from '2026-06-12 17:49:55'::timestamp) - extract(epoch from '2026-06-12 17:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043937 -3.363571)'), GeomFromEWKT('SRID=4674;POINT (-39.043978 -3.363546)'))) / (select extract(epoch from '2026-06-12 17:49:55'::timestamp) - extract(epoch from '2026-06-12 17:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044045 -3.363525)', '2026-06-12 17:50:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043978 -3.363546)'), GeomFromEWKT('SRID=4674;POINT (-39.044045 -3.363525)'))) / (select extract(epoch from '2026-06-12 17:50:03'::timestamp) - extract(epoch from '2026-06-12 17:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043978 -3.363546)'), GeomFromEWKT('SRID=4674;POINT (-39.044045 -3.363525)'))) / (select extract(epoch from '2026-06-12 17:50:03'::timestamp) - extract(epoch from '2026-06-12 17:49: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'), 46569, 'SRID=4674;POINT (-39.044091 -3.36351)', '2026-06-12 17:50:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044045 -3.363525)'), GeomFromEWKT('SRID=4674;POINT (-39.044091 -3.36351)'))) / (select extract(epoch from '2026-06-12 17:50:14'::timestamp) - extract(epoch from '2026-06-12 17:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044045 -3.363525)'), GeomFromEWKT('SRID=4674;POINT (-39.044091 -3.36351)'))) / (select extract(epoch from '2026-06-12 17:50:14'::timestamp) - extract(epoch from '2026-06-12 17:50:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044126 -3.363455)', '2026-06-12 17:50:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044091 -3.36351)'), GeomFromEWKT('SRID=4674;POINT (-39.044126 -3.363455)'))) / (select extract(epoch from '2026-06-12 17:50:26'::timestamp) - extract(epoch from '2026-06-12 17:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044091 -3.36351)'), GeomFromEWKT('SRID=4674;POINT (-39.044126 -3.363455)'))) / (select extract(epoch from '2026-06-12 17:50:26'::timestamp) - extract(epoch from '2026-06-12 17:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044165 -3.363407)', '2026-06-12 17:50:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044126 -3.363455)'), GeomFromEWKT('SRID=4674;POINT (-39.044165 -3.363407)'))) / (select extract(epoch from '2026-06-12 17:50:36'::timestamp) - extract(epoch from '2026-06-12 17:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044126 -3.363455)'), GeomFromEWKT('SRID=4674;POINT (-39.044165 -3.363407)'))) / (select extract(epoch from '2026-06-12 17:50:36'::timestamp) - extract(epoch from '2026-06-12 17:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044204 -3.363386)', '2026-06-12 17:50:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044165 -3.363407)'), GeomFromEWKT('SRID=4674;POINT (-39.044204 -3.363386)'))) / (select extract(epoch from '2026-06-12 17:50:44'::timestamp) - extract(epoch from '2026-06-12 17:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044165 -3.363407)'), GeomFromEWKT('SRID=4674;POINT (-39.044204 -3.363386)'))) / (select extract(epoch from '2026-06-12 17:50:44'::timestamp) - extract(epoch from '2026-06-12 17:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044206 -3.363376)', '2026-06-12 17:50:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044204 -3.363386)'), GeomFromEWKT('SRID=4674;POINT (-39.044206 -3.363376)'))) / (select extract(epoch from '2026-06-12 17:50:50'::timestamp) - extract(epoch from '2026-06-12 17:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044204 -3.363386)'), GeomFromEWKT('SRID=4674;POINT (-39.044206 -3.363376)'))) / (select extract(epoch from '2026-06-12 17:50:50'::timestamp) - extract(epoch from '2026-06-12 17:50: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'), 46569, 'SRID=4674;POINT (-39.044219 -3.363363)', '2026-06-12 17:50:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044206 -3.363376)'), GeomFromEWKT('SRID=4674;POINT (-39.044219 -3.363363)'))) / (select extract(epoch from '2026-06-12 17:50:55'::timestamp) - extract(epoch from '2026-06-12 17:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044206 -3.363376)'), GeomFromEWKT('SRID=4674;POINT (-39.044219 -3.363363)'))) / (select extract(epoch from '2026-06-12 17:50:55'::timestamp) - extract(epoch from '2026-06-12 17:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044227 -3.363363)', '2026-06-12 17:50:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044219 -3.363363)'), GeomFromEWKT('SRID=4674;POINT (-39.044227 -3.363363)'))) / (select extract(epoch from '2026-06-12 17:50:56'::timestamp) - extract(epoch from '2026-06-12 17:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044219 -3.363363)'), GeomFromEWKT('SRID=4674;POINT (-39.044227 -3.363363)'))) / (select extract(epoch from '2026-06-12 17:50:56'::timestamp) - extract(epoch from '2026-06-12 17:50: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'), 46569, 'SRID=4674;POINT (-39.04424 -3.363362)', '2026-06-12 17:51:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044227 -3.363363)'), GeomFromEWKT('SRID=4674;POINT (-39.04424 -3.363362)'))) / (select extract(epoch from '2026-06-12 17:51:00'::timestamp) - extract(epoch from '2026-06-12 17:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044227 -3.363363)'), GeomFromEWKT('SRID=4674;POINT (-39.04424 -3.363362)'))) / (select extract(epoch from '2026-06-12 17:51:00'::timestamp) - extract(epoch from '2026-06-12 17:50: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'), 46569, 'SRID=4674;POINT (-39.044285 -3.363348)', '2026-06-12 17:51:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04424 -3.363362)'), GeomFromEWKT('SRID=4674;POINT (-39.044285 -3.363348)'))) / (select extract(epoch from '2026-06-12 17:51:08'::timestamp) - extract(epoch from '2026-06-12 17:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04424 -3.363362)'), GeomFromEWKT('SRID=4674;POINT (-39.044285 -3.363348)'))) / (select extract(epoch from '2026-06-12 17:51:08'::timestamp) - extract(epoch from '2026-06-12 17:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.0443 -3.363324)', '2026-06-12 17:51:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044285 -3.363348)'), GeomFromEWKT('SRID=4674;POINT (-39.0443 -3.363324)'))) / (select extract(epoch from '2026-06-12 17:51:14'::timestamp) - extract(epoch from '2026-06-12 17:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044285 -3.363348)'), GeomFromEWKT('SRID=4674;POINT (-39.0443 -3.363324)'))) / (select extract(epoch from '2026-06-12 17:51:14'::timestamp) - extract(epoch from '2026-06-12 17:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044335 -3.363317)', '2026-06-12 17:51:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0443 -3.363324)'), GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.363317)'))) / (select extract(epoch from '2026-06-12 17:51:20'::timestamp) - extract(epoch from '2026-06-12 17:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0443 -3.363324)'), GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.363317)'))) / (select extract(epoch from '2026-06-12 17:51:20'::timestamp) - extract(epoch from '2026-06-12 17:51: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'), 46569, 'SRID=4674;POINT (-39.044343 -3.363302)', '2026-06-12 17:51:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.363317)'), GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363302)'))) / (select extract(epoch from '2026-06-12 17:51:27'::timestamp) - extract(epoch from '2026-06-12 17:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.363317)'), GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363302)'))) / (select extract(epoch from '2026-06-12 17:51:27'::timestamp) - extract(epoch from '2026-06-12 17:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044343 -3.363306)', '2026-06-12 17:51:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363302)'), GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363306)'))) / (select extract(epoch from '2026-06-12 17:51:36'::timestamp) - extract(epoch from '2026-06-12 17:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363302)'), GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363306)'))) / (select extract(epoch from '2026-06-12 17:51:36'::timestamp) - extract(epoch from '2026-06-12 17:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044337 -3.363309)', '2026-06-12 17:51:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363306)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363309)'))) / (select extract(epoch from '2026-06-12 17:51:44'::timestamp) - extract(epoch from '2026-06-12 17:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363306)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363309)'))) / (select extract(epoch from '2026-06-12 17:51:44'::timestamp) - extract(epoch from '2026-06-12 17:51: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'), 46569, 'SRID=4674;POINT (-39.044337 -3.363321)', '2026-06-12 17:51:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363309)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363321)'))) / (select extract(epoch from '2026-06-12 17:51:50'::timestamp) - extract(epoch from '2026-06-12 17:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363309)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363321)'))) / (select extract(epoch from '2026-06-12 17:51:50'::timestamp) - extract(epoch from '2026-06-12 17:51: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'), 46569, 'SRID=4674;POINT (-39.044331 -3.363324)', '2026-06-12 17:51:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363321)'), GeomFromEWKT('SRID=4674;POINT (-39.044331 -3.363324)'))) / (select extract(epoch from '2026-06-12 17:51:58'::timestamp) - extract(epoch from '2026-06-12 17:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363321)'), GeomFromEWKT('SRID=4674;POINT (-39.044331 -3.363324)'))) / (select extract(epoch from '2026-06-12 17:51:58'::timestamp) - extract(epoch from '2026-06-12 17:51: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'), 46569, 'SRID=4674;POINT (-39.044337 -3.363325)', '2026-06-12 17:52:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044331 -3.363324)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363325)'))) / (select extract(epoch from '2026-06-12 17:52:11'::timestamp) - extract(epoch from '2026-06-12 17:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044331 -3.363324)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363325)'))) / (select extract(epoch from '2026-06-12 17:52:11'::timestamp) - extract(epoch from '2026-06-12 17:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044337 -3.363333)', '2026-06-12 17:52:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363325)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363333)'))) / (select extract(epoch from '2026-06-12 17:52:18'::timestamp) - extract(epoch from '2026-06-12 17:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363325)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363333)'))) / (select extract(epoch from '2026-06-12 17:52:18'::timestamp) - extract(epoch from '2026-06-12 17:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044338 -3.363328)', '2026-06-12 17:52:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363333)'), GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.363328)'))) / (select extract(epoch from '2026-06-12 17:52:26'::timestamp) - extract(epoch from '2026-06-12 17:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363333)'), GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.363328)'))) / (select extract(epoch from '2026-06-12 17:52:26'::timestamp) - extract(epoch from '2026-06-12 17:52: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'), 46569, 'SRID=4674;POINT (-39.044329 -3.363335)', '2026-06-12 17:52:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.363328)'), GeomFromEWKT('SRID=4674;POINT (-39.044329 -3.363335)'))) / (select extract(epoch from '2026-06-12 17:52:33'::timestamp) - extract(epoch from '2026-06-12 17:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.363328)'), GeomFromEWKT('SRID=4674;POINT (-39.044329 -3.363335)'))) / (select extract(epoch from '2026-06-12 17:52:33'::timestamp) - extract(epoch from '2026-06-12 17:52: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'), 46569, 'SRID=4674;POINT (-39.044354 -3.363335)', '2026-06-12 17:52:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044329 -3.363335)'), GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.363335)'))) / (select extract(epoch from '2026-06-12 17:52:42'::timestamp) - extract(epoch from '2026-06-12 17:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044329 -3.363335)'), GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.363335)'))) / (select extract(epoch from '2026-06-12 17:52:42'::timestamp) - extract(epoch from '2026-06-12 17:52: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'), 46569, 'SRID=4674;POINT (-39.04438 -3.363336)', '2026-06-12 17:52:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.363335)'), GeomFromEWKT('SRID=4674;POINT (-39.04438 -3.363336)'))) / (select extract(epoch from '2026-06-12 17:52:52'::timestamp) - extract(epoch from '2026-06-12 17:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.363335)'), GeomFromEWKT('SRID=4674;POINT (-39.04438 -3.363336)'))) / (select extract(epoch from '2026-06-12 17:52:52'::timestamp) - extract(epoch from '2026-06-12 17:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044378 -3.363337)', '2026-06-12 17:53:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04438 -3.363336)'), GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.363337)'))) / (select extract(epoch from '2026-06-12 17:53:00'::timestamp) - extract(epoch from '2026-06-12 17:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04438 -3.363336)'), GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.363337)'))) / (select extract(epoch from '2026-06-12 17:53:00'::timestamp) - extract(epoch from '2026-06-12 17:52: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'), 46569, 'SRID=4674;POINT (-39.044379 -3.363346)', '2026-06-12 17:53:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.363337)'), GeomFromEWKT('SRID=4674;POINT (-39.044379 -3.363346)'))) / (select extract(epoch from '2026-06-12 17:53:08'::timestamp) - extract(epoch from '2026-06-12 17:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.363337)'), GeomFromEWKT('SRID=4674;POINT (-39.044379 -3.363346)'))) / (select extract(epoch from '2026-06-12 17:53:08'::timestamp) - extract(epoch from '2026-06-12 17:53: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'), 46569, 'SRID=4674;POINT (-39.044378 -3.363352)', '2026-06-12 17:53:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044379 -3.363346)'), GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.363352)'))) / (select extract(epoch from '2026-06-12 17:53:16'::timestamp) - extract(epoch from '2026-06-12 17:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044379 -3.363346)'), GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.363352)'))) / (select extract(epoch from '2026-06-12 17:53:16'::timestamp) - extract(epoch from '2026-06-12 17:53: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'), 46569, 'SRID=4674;POINT (-39.044368 -3.363359)', '2026-06-12 17:53:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.363352)'), GeomFromEWKT('SRID=4674;POINT (-39.044368 -3.363359)'))) / (select extract(epoch from '2026-06-12 17:53:25'::timestamp) - extract(epoch from '2026-06-12 17:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044378 -3.363352)'), GeomFromEWKT('SRID=4674;POINT (-39.044368 -3.363359)'))) / (select extract(epoch from '2026-06-12 17:53:25'::timestamp) - extract(epoch from '2026-06-12 17:53: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'), 46569, 'SRID=4674;POINT (-39.044367 -3.363364)', '2026-06-12 17:53:34', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044368 -3.363359)'), GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363364)'))) / (select extract(epoch from '2026-06-12 17:53:34'::timestamp) - extract(epoch from '2026-06-12 17:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044368 -3.363359)'), GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363364)'))) / (select extract(epoch from '2026-06-12 17:53:34'::timestamp) - extract(epoch from '2026-06-12 17:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044369 -3.363376)', '2026-06-12 17:53:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363364)'), GeomFromEWKT('SRID=4674;POINT (-39.044369 -3.363376)'))) / (select extract(epoch from '2026-06-12 17:53:42'::timestamp) - extract(epoch from '2026-06-12 17:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363364)'), GeomFromEWKT('SRID=4674;POINT (-39.044369 -3.363376)'))) / (select extract(epoch from '2026-06-12 17:53:42'::timestamp) - extract(epoch from '2026-06-12 17:53:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044362 -3.363384)', '2026-06-12 17:53:53', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044369 -3.363376)'), GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.363384)'))) / (select extract(epoch from '2026-06-12 17:53:53'::timestamp) - extract(epoch from '2026-06-12 17:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044369 -3.363376)'), GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.363384)'))) / (select extract(epoch from '2026-06-12 17:53:53'::timestamp) - extract(epoch from '2026-06-12 17:53: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'), 46569, 'SRID=4674;POINT (-39.044365 -3.363385)', '2026-06-12 17:53:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.363384)'), GeomFromEWKT('SRID=4674;POINT (-39.044365 -3.363385)'))) / (select extract(epoch from '2026-06-12 17:53:59'::timestamp) - extract(epoch from '2026-06-12 17:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.363384)'), GeomFromEWKT('SRID=4674;POINT (-39.044365 -3.363385)'))) / (select extract(epoch from '2026-06-12 17:53:59'::timestamp) - extract(epoch from '2026-06-12 17:53: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'), 46569, 'SRID=4674;POINT (-39.044362 -3.36339)', '2026-06-12 17:54:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044365 -3.363385)'), GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.36339)'))) / (select extract(epoch from '2026-06-12 17:54:07'::timestamp) - extract(epoch from '2026-06-12 17:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044365 -3.363385)'), GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.36339)'))) / (select extract(epoch from '2026-06-12 17:54:07'::timestamp) - extract(epoch from '2026-06-12 17:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04437 -3.363375)', '2026-06-12 17:54:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.363375)'))) / (select extract(epoch from '2026-06-12 17:54:16'::timestamp) - extract(epoch from '2026-06-12 17:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.363375)'))) / (select extract(epoch from '2026-06-12 17:54:16'::timestamp) - extract(epoch from '2026-06-12 17:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044373 -3.363374)', '2026-06-12 17:54:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.363375)'), GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.363374)'))) / (select extract(epoch from '2026-06-12 17:54:22'::timestamp) - extract(epoch from '2026-06-12 17:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.363375)'), GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.363374)'))) / (select extract(epoch from '2026-06-12 17:54:22'::timestamp) - extract(epoch from '2026-06-12 17:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044383 -3.363381)', '2026-06-12 17:54:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.363374)'), GeomFromEWKT('SRID=4674;POINT (-39.044383 -3.363381)'))) / (select extract(epoch from '2026-06-12 17:54:30'::timestamp) - extract(epoch from '2026-06-12 17:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.363374)'), GeomFromEWKT('SRID=4674;POINT (-39.044383 -3.363381)'))) / (select extract(epoch from '2026-06-12 17:54:30'::timestamp) - extract(epoch from '2026-06-12 17:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044381 -3.363391)', '2026-06-12 17:54:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044383 -3.363381)'), GeomFromEWKT('SRID=4674;POINT (-39.044381 -3.363391)'))) / (select extract(epoch from '2026-06-12 17:54:38'::timestamp) - extract(epoch from '2026-06-12 17:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044383 -3.363381)'), GeomFromEWKT('SRID=4674;POINT (-39.044381 -3.363391)'))) / (select extract(epoch from '2026-06-12 17:54:38'::timestamp) - extract(epoch from '2026-06-12 17:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044401 -3.363396)', '2026-06-12 17:54:47', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044381 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.044401 -3.363396)'))) / (select extract(epoch from '2026-06-12 17:54:47'::timestamp) - extract(epoch from '2026-06-12 17:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044381 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.044401 -3.363396)'))) / (select extract(epoch from '2026-06-12 17:54:47'::timestamp) - extract(epoch from '2026-06-12 17:54: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'), 46569, 'SRID=4674;POINT (-39.0444 -3.363397)', '2026-06-12 17:54:54', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044401 -3.363396)'), GeomFromEWKT('SRID=4674;POINT (-39.0444 -3.363397)'))) / (select extract(epoch from '2026-06-12 17:54:54'::timestamp) - extract(epoch from '2026-06-12 17:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044401 -3.363396)'), GeomFromEWKT('SRID=4674;POINT (-39.0444 -3.363397)'))) / (select extract(epoch from '2026-06-12 17:54:54'::timestamp) - extract(epoch from '2026-06-12 17:54: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'), 46569, 'SRID=4674;POINT (-39.044399 -3.363389)', '2026-06-12 17:55:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0444 -3.363397)'), GeomFromEWKT('SRID=4674;POINT (-39.044399 -3.363389)'))) / (select extract(epoch from '2026-06-12 17:55:04'::timestamp) - extract(epoch from '2026-06-12 17:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0444 -3.363397)'), GeomFromEWKT('SRID=4674;POINT (-39.044399 -3.363389)'))) / (select extract(epoch from '2026-06-12 17:55:04'::timestamp) - extract(epoch from '2026-06-12 17:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044388 -3.363377)', '2026-06-12 17:55:12', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044399 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044388 -3.363377)'))) / (select extract(epoch from '2026-06-12 17:55:12'::timestamp) - extract(epoch from '2026-06-12 17:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044399 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044388 -3.363377)'))) / (select extract(epoch from '2026-06-12 17:55:12'::timestamp) - extract(epoch from '2026-06-12 17:55: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'), 46569, 'SRID=4674;POINT (-39.044381 -3.363361)', '2026-06-12 17:55:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044388 -3.363377)'), GeomFromEWKT('SRID=4674;POINT (-39.044381 -3.363361)'))) / (select extract(epoch from '2026-06-12 17:55:20'::timestamp) - extract(epoch from '2026-06-12 17:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044388 -3.363377)'), GeomFromEWKT('SRID=4674;POINT (-39.044381 -3.363361)'))) / (select extract(epoch from '2026-06-12 17:55:20'::timestamp) - extract(epoch from '2026-06-12 17:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044367 -3.363367)', '2026-06-12 17:55:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044381 -3.363361)'), GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363367)'))) / (select extract(epoch from '2026-06-12 17:55:26'::timestamp) - extract(epoch from '2026-06-12 17:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044381 -3.363361)'), GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363367)'))) / (select extract(epoch from '2026-06-12 17:55:26'::timestamp) - extract(epoch from '2026-06-12 17:55: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'), 46569, 'SRID=4674;POINT (-39.044366 -3.363364)', '2026-06-12 17:55:35', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363367)'), GeomFromEWKT('SRID=4674;POINT (-39.044366 -3.363364)'))) / (select extract(epoch from '2026-06-12 17:55:35'::timestamp) - extract(epoch from '2026-06-12 17:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363367)'), GeomFromEWKT('SRID=4674;POINT (-39.044366 -3.363364)'))) / (select extract(epoch from '2026-06-12 17:55:35'::timestamp) - extract(epoch from '2026-06-12 17:55: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'), 46569, 'SRID=4674;POINT (-39.044377 -3.363368)', '2026-06-12 17:55:40', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044366 -3.363364)'), GeomFromEWKT('SRID=4674;POINT (-39.044377 -3.363368)'))) / (select extract(epoch from '2026-06-12 17:55:40'::timestamp) - extract(epoch from '2026-06-12 17:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044366 -3.363364)'), GeomFromEWKT('SRID=4674;POINT (-39.044377 -3.363368)'))) / (select extract(epoch from '2026-06-12 17:55:40'::timestamp) - extract(epoch from '2026-06-12 17:55: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'), 46569, 'SRID=4674;POINT (-39.04437 -3.363372)', '2026-06-12 17:55:46', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044377 -3.363368)'), GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.363372)'))) / (select extract(epoch from '2026-06-12 17:55:46'::timestamp) - extract(epoch from '2026-06-12 17:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044377 -3.363368)'), GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.363372)'))) / (select extract(epoch from '2026-06-12 17:55:46'::timestamp) - extract(epoch from '2026-06-12 17:55: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'), 46569, 'SRID=4674;POINT (-39.044373 -3.36337)', '2026-06-12 17:55:56', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.363372)'), GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.36337)'))) / (select extract(epoch from '2026-06-12 17:55:56'::timestamp) - extract(epoch from '2026-06-12 17:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.363372)'), GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.36337)'))) / (select extract(epoch from '2026-06-12 17:55:56'::timestamp) - extract(epoch from '2026-06-12 17:55: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'), 46569, 'SRID=4674;POINT (-39.044371 -3.363372)', '2026-06-12 17:56:06', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.36337)'), GeomFromEWKT('SRID=4674;POINT (-39.044371 -3.363372)'))) / (select extract(epoch from '2026-06-12 17:56:06'::timestamp) - extract(epoch from '2026-06-12 17:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044373 -3.36337)'), GeomFromEWKT('SRID=4674;POINT (-39.044371 -3.363372)'))) / (select extract(epoch from '2026-06-12 17:56:06'::timestamp) - extract(epoch from '2026-06-12 17:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04437 -3.36337)', '2026-06-12 17:56:14', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044371 -3.363372)'), GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.36337)'))) / (select extract(epoch from '2026-06-12 17:56:14'::timestamp) - extract(epoch from '2026-06-12 17:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044371 -3.363372)'), GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.36337)'))) / (select extract(epoch from '2026-06-12 17:56:14'::timestamp) - extract(epoch from '2026-06-12 17:56: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'), 46569, 'SRID=4674;POINT (-39.044367 -3.363375)', '2026-06-12 17:56:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.36337)'), GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363375)'))) / (select extract(epoch from '2026-06-12 17:56:20'::timestamp) - extract(epoch from '2026-06-12 17:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04437 -3.36337)'), GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363375)'))) / (select extract(epoch from '2026-06-12 17:56:20'::timestamp) - extract(epoch from '2026-06-12 17:56: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'), 46569, 'SRID=4674;POINT (-39.044362 -3.363376)', '2026-06-12 17:56:27', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363375)'), GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.363376)'))) / (select extract(epoch from '2026-06-12 17:56:27'::timestamp) - extract(epoch from '2026-06-12 17:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363375)'), GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.363376)'))) / (select extract(epoch from '2026-06-12 17:56:27'::timestamp) - extract(epoch from '2026-06-12 17:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044368 -3.363373)', '2026-06-12 17:56:38', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.363376)'), GeomFromEWKT('SRID=4674;POINT (-39.044368 -3.363373)'))) / (select extract(epoch from '2026-06-12 17:56:38'::timestamp) - extract(epoch from '2026-06-12 17:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.363376)'), GeomFromEWKT('SRID=4674;POINT (-39.044368 -3.363373)'))) / (select extract(epoch from '2026-06-12 17:56:38'::timestamp) - extract(epoch from '2026-06-12 17:56: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'), 46569, 'SRID=4674;POINT (-39.044362 -3.36337)', '2026-06-12 17:56:52', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044368 -3.363373)'), GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.36337)'))) / (select extract(epoch from '2026-06-12 17:56:52'::timestamp) - extract(epoch from '2026-06-12 17:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044368 -3.363373)'), GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.36337)'))) / (select extract(epoch from '2026-06-12 17:56:52'::timestamp) - extract(epoch from '2026-06-12 17:56: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'), 46569, 'SRID=4674;POINT (-39.044348 -3.36337)', '2026-06-12 17:57:04', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.36337)'), GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.36337)'))) / (select extract(epoch from '2026-06-12 17:57:04'::timestamp) - extract(epoch from '2026-06-12 17:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044362 -3.36337)'), GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.36337)'))) / (select extract(epoch from '2026-06-12 17:57:04'::timestamp) - extract(epoch from '2026-06-12 17:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04435 -3.363367)', '2026-06-12 17:57:15', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.36337)'), GeomFromEWKT('SRID=4674;POINT (-39.04435 -3.363367)'))) / (select extract(epoch from '2026-06-12 17:57:15'::timestamp) - extract(epoch from '2026-06-12 17:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.36337)'), GeomFromEWKT('SRID=4674;POINT (-39.04435 -3.363367)'))) / (select extract(epoch from '2026-06-12 17:57:15'::timestamp) - extract(epoch from '2026-06-12 17:57: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'), 46569, 'SRID=4674;POINT (-39.044354 -3.363364)', '2026-06-12 17:57:23', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04435 -3.363367)'), GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.363364)'))) / (select extract(epoch from '2026-06-12 17:57:23'::timestamp) - extract(epoch from '2026-06-12 17:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04435 -3.363367)'), GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.363364)'))) / (select extract(epoch from '2026-06-12 17:57:23'::timestamp) - extract(epoch from '2026-06-12 17:57: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'), 46569, 'SRID=4674;POINT (-39.044353 -3.363362)', '2026-06-12 17:57:33', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.363364)'), GeomFromEWKT('SRID=4674;POINT (-39.044353 -3.363362)'))) / (select extract(epoch from '2026-06-12 17:57:33'::timestamp) - extract(epoch from '2026-06-12 17:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044354 -3.363364)'), GeomFromEWKT('SRID=4674;POINT (-39.044353 -3.363362)'))) / (select extract(epoch from '2026-06-12 17:57:33'::timestamp) - extract(epoch from '2026-06-12 17:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044346 -3.363355)', '2026-06-12 17:57:46', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044353 -3.363362)'), GeomFromEWKT('SRID=4674;POINT (-39.044346 -3.363355)'))) / (select extract(epoch from '2026-06-12 17:57:46'::timestamp) - extract(epoch from '2026-06-12 17:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044353 -3.363362)'), GeomFromEWKT('SRID=4674;POINT (-39.044346 -3.363355)'))) / (select extract(epoch from '2026-06-12 17:57:46'::timestamp) - extract(epoch from '2026-06-12 17:57: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'), 46569, 'SRID=4674;POINT (-39.044343 -3.36336)', '2026-06-12 17:58:00', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044346 -3.363355)'), GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.36336)'))) / (select extract(epoch from '2026-06-12 17:58:00'::timestamp) - extract(epoch from '2026-06-12 17:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044346 -3.363355)'), GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.36336)'))) / (select extract(epoch from '2026-06-12 17:58:00'::timestamp) - extract(epoch from '2026-06-12 17:57: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'), 46569, 'SRID=4674;POINT (-39.044333 -3.363354)', '2026-06-12 17:58:11', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.36336)'), GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363354)'))) / (select extract(epoch from '2026-06-12 17:58:11'::timestamp) - extract(epoch from '2026-06-12 17:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.36336)'), GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363354)'))) / (select extract(epoch from '2026-06-12 17:58:11'::timestamp) - extract(epoch from '2026-06-12 17:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044312 -3.363368)', '2026-06-12 17:58:21', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363354)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363368)'))) / (select extract(epoch from '2026-06-12 17:58:21'::timestamp) - extract(epoch from '2026-06-12 17:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363354)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363368)'))) / (select extract(epoch from '2026-06-12 17:58:21'::timestamp) - extract(epoch from '2026-06-12 17:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044312 -3.363368)', '2026-06-12 17:58:30', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363368)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363368)'))) / (select extract(epoch from '2026-06-12 17:58:30'::timestamp) - extract(epoch from '2026-06-12 17:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363368)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363368)'))) / (select extract(epoch from '2026-06-12 17:58:30'::timestamp) - extract(epoch from '2026-06-12 17:58: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'), 46569, 'SRID=4674;POINT (-39.04431 -3.363366)', '2026-06-12 17:58:42', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363368)'), GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.363366)'))) / (select extract(epoch from '2026-06-12 17:58:42'::timestamp) - extract(epoch from '2026-06-12 17:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363368)'), GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.363366)'))) / (select extract(epoch from '2026-06-12 17:58:42'::timestamp) - extract(epoch from '2026-06-12 17:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044316 -3.363367)', '2026-06-12 17:58:50', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.363366)'), GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.363367)'))) / (select extract(epoch from '2026-06-12 17:58:50'::timestamp) - extract(epoch from '2026-06-12 17:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.363366)'), GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.363367)'))) / (select extract(epoch from '2026-06-12 17:58:50'::timestamp) - extract(epoch from '2026-06-12 17:58: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'), 46569, 'SRID=4674;POINT (-39.044296 -3.363378)', '2026-06-12 17:58:58', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.363367)'), GeomFromEWKT('SRID=4674;POINT (-39.044296 -3.363378)'))) / (select extract(epoch from '2026-06-12 17:58:58'::timestamp) - extract(epoch from '2026-06-12 17:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.363367)'), GeomFromEWKT('SRID=4674;POINT (-39.044296 -3.363378)'))) / (select extract(epoch from '2026-06-12 17:58:58'::timestamp) - extract(epoch from '2026-06-12 17:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044299 -3.363388)', '2026-06-12 17:59:07', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044296 -3.363378)'), GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.363388)'))) / (select extract(epoch from '2026-06-12 17:59:07'::timestamp) - extract(epoch from '2026-06-12 17:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044296 -3.363378)'), GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.363388)'))) / (select extract(epoch from '2026-06-12 17:59:07'::timestamp) - extract(epoch from '2026-06-12 17:58: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'), 46569, 'SRID=4674;POINT (-39.044298 -3.363384)', '2026-06-12 17:59:20', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.363388)'), GeomFromEWKT('SRID=4674;POINT (-39.044298 -3.363384)'))) / (select extract(epoch from '2026-06-12 17:59:20'::timestamp) - extract(epoch from '2026-06-12 17:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.363388)'), GeomFromEWKT('SRID=4674;POINT (-39.044298 -3.363384)'))) / (select extract(epoch from '2026-06-12 17:59:20'::timestamp) - extract(epoch from '2026-06-12 17:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044295 -3.363381)', '2026-06-12 17:59:29', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044298 -3.363384)'), GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.363381)'))) / (select extract(epoch from '2026-06-12 17:59:29'::timestamp) - extract(epoch from '2026-06-12 17:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044298 -3.363384)'), GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.363381)'))) / (select extract(epoch from '2026-06-12 17:59:29'::timestamp) - extract(epoch from '2026-06-12 17:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044306 -3.363384)', '2026-06-12 17:59:39', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.363381)'), GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.363384)'))) / (select extract(epoch from '2026-06-12 17:59:39'::timestamp) - extract(epoch from '2026-06-12 17:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.363381)'), GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.363384)'))) / (select extract(epoch from '2026-06-12 17:59:39'::timestamp) - extract(epoch from '2026-06-12 17:59:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044315 -3.363386)', '2026-06-12 17:59:50', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.363384)'), GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363386)'))) / (select extract(epoch from '2026-06-12 17:59:50'::timestamp) - extract(epoch from '2026-06-12 17:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.363384)'), GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363386)'))) / (select extract(epoch from '2026-06-12 17:59:50'::timestamp) - extract(epoch from '2026-06-12 17:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044322 -3.363393)', '2026-06-12 18:00:01', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363386)'), GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363393)'))) / (select extract(epoch from '2026-06-12 18:00:01'::timestamp) - extract(epoch from '2026-06-12 17:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363386)'), GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363393)'))) / (select extract(epoch from '2026-06-12 18:00:01'::timestamp) - extract(epoch from '2026-06-12 17:59: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'), 46569, 'SRID=4674;POINT (-39.044315 -3.363393)', '2026-06-12 18:00:10', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363393)'), GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363393)'))) / (select extract(epoch from '2026-06-12 18:00:10'::timestamp) - extract(epoch from '2026-06-12 18:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363393)'), GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363393)'))) / (select extract(epoch from '2026-06-12 18:00:10'::timestamp) - extract(epoch from '2026-06-12 18:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044319 -3.363391)', '2026-06-12 18:00:23', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363393)'), GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363391)'))) / (select extract(epoch from '2026-06-12 18:00:23'::timestamp) - extract(epoch from '2026-06-12 18:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363393)'), GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363391)'))) / (select extract(epoch from '2026-06-12 18:00:23'::timestamp) - extract(epoch from '2026-06-12 18:00:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044317 -3.363391)', '2026-06-12 18:00:29', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.044317 -3.363391)'))) / (select extract(epoch from '2026-06-12 18:00:29'::timestamp) - extract(epoch from '2026-06-12 18:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.044317 -3.363391)'))) / (select extract(epoch from '2026-06-12 18:00:29'::timestamp) - extract(epoch from '2026-06-12 18:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044303 -3.363392)', '2026-06-12 18:00:36', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044317 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363392)'))) / (select extract(epoch from '2026-06-12 18:00:36'::timestamp) - extract(epoch from '2026-06-12 18:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044317 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363392)'))) / (select extract(epoch from '2026-06-12 18:00:36'::timestamp) - extract(epoch from '2026-06-12 18:00:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044297 -3.363404)', '2026-06-12 18:00:44', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363392)'), GeomFromEWKT('SRID=4674;POINT (-39.044297 -3.363404)'))) / (select extract(epoch from '2026-06-12 18:00:44'::timestamp) - extract(epoch from '2026-06-12 18:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363392)'), GeomFromEWKT('SRID=4674;POINT (-39.044297 -3.363404)'))) / (select extract(epoch from '2026-06-12 18:00:44'::timestamp) - extract(epoch from '2026-06-12 18:00: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'), 46569, 'SRID=4674;POINT (-39.044306 -3.363396)', '2026-06-12 18:00:54', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044297 -3.363404)'), GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.363396)'))) / (select extract(epoch from '2026-06-12 18:00:54'::timestamp) - extract(epoch from '2026-06-12 18:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044297 -3.363404)'), GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.363396)'))) / (select extract(epoch from '2026-06-12 18:00:54'::timestamp) - extract(epoch from '2026-06-12 18:00: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'), 46569, 'SRID=4674;POINT (-39.044301 -3.363391)', '2026-06-12 18:01:03', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.363396)'), GeomFromEWKT('SRID=4674;POINT (-39.044301 -3.363391)'))) / (select extract(epoch from '2026-06-12 18:01:03'::timestamp) - extract(epoch from '2026-06-12 18:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.363396)'), GeomFromEWKT('SRID=4674;POINT (-39.044301 -3.363391)'))) / (select extract(epoch from '2026-06-12 18:01:03'::timestamp) - extract(epoch from '2026-06-12 18:00: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'), 46569, 'SRID=4674;POINT (-39.0443 -3.363388)', '2026-06-12 18:01:11', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044301 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.0443 -3.363388)'))) / (select extract(epoch from '2026-06-12 18:01:11'::timestamp) - extract(epoch from '2026-06-12 18:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044301 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.0443 -3.363388)'))) / (select extract(epoch from '2026-06-12 18:01:11'::timestamp) - extract(epoch from '2026-06-12 18:01: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'), 46569, 'SRID=4674;POINT (-39.044292 -3.363379)', '2026-06-12 18:01:20', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0443 -3.363388)'), GeomFromEWKT('SRID=4674;POINT (-39.044292 -3.363379)'))) / (select extract(epoch from '2026-06-12 18:01:20'::timestamp) - extract(epoch from '2026-06-12 18:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0443 -3.363388)'), GeomFromEWKT('SRID=4674;POINT (-39.044292 -3.363379)'))) / (select extract(epoch from '2026-06-12 18:01:20'::timestamp) - extract(epoch from '2026-06-12 18:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044306 -3.36338)', '2026-06-12 18:01:28', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044292 -3.363379)'), GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.36338)'))) / (select extract(epoch from '2026-06-12 18:01:28'::timestamp) - extract(epoch from '2026-06-12 18:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044292 -3.363379)'), GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.36338)'))) / (select extract(epoch from '2026-06-12 18:01:28'::timestamp) - extract(epoch from '2026-06-12 18:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044335 -3.363379)', '2026-06-12 18:01:36', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.36338)'), GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.363379)'))) / (select extract(epoch from '2026-06-12 18:01:36'::timestamp) - extract(epoch from '2026-06-12 18:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044306 -3.36338)'), GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.363379)'))) / (select extract(epoch from '2026-06-12 18:01:36'::timestamp) - extract(epoch from '2026-06-12 18:01: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'), 46569, 'SRID=4674;POINT (-39.044343 -3.363377)', '2026-06-12 18:01:44', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.363379)'), GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363377)'))) / (select extract(epoch from '2026-06-12 18:01:44'::timestamp) - extract(epoch from '2026-06-12 18:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.363379)'), GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363377)'))) / (select extract(epoch from '2026-06-12 18:01:44'::timestamp) - extract(epoch from '2026-06-12 18:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044337 -3.36337)', '2026-06-12 18:01:55', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363377)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.36337)'))) / (select extract(epoch from '2026-06-12 18:01:55'::timestamp) - extract(epoch from '2026-06-12 18:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044343 -3.363377)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.36337)'))) / (select extract(epoch from '2026-06-12 18:01:55'::timestamp) - extract(epoch from '2026-06-12 18:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044326 -3.363372)', '2026-06-12 18:02:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.36337)'), GeomFromEWKT('SRID=4674;POINT (-39.044326 -3.363372)'))) / (select extract(epoch from '2026-06-12 18:02:04'::timestamp) - extract(epoch from '2026-06-12 18:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.36337)'), GeomFromEWKT('SRID=4674;POINT (-39.044326 -3.363372)'))) / (select extract(epoch from '2026-06-12 18:02:04'::timestamp) - extract(epoch from '2026-06-12 18:01: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'), 46569, 'SRID=4674;POINT (-39.044333 -3.363374)', '2026-06-12 18:02:12', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044326 -3.363372)'), GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363374)'))) / (select extract(epoch from '2026-06-12 18:02:12'::timestamp) - extract(epoch from '2026-06-12 18:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044326 -3.363372)'), GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363374)'))) / (select extract(epoch from '2026-06-12 18:02:12'::timestamp) - extract(epoch from '2026-06-12 18:02: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'), 46569, 'SRID=4674;POINT (-39.044331 -3.363365)', '2026-06-12 18:02:20', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363374)'), GeomFromEWKT('SRID=4674;POINT (-39.044331 -3.363365)'))) / (select extract(epoch from '2026-06-12 18:02:20'::timestamp) - extract(epoch from '2026-06-12 18:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363374)'), GeomFromEWKT('SRID=4674;POINT (-39.044331 -3.363365)'))) / (select extract(epoch from '2026-06-12 18:02:20'::timestamp) - extract(epoch from '2026-06-12 18:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044326 -3.363363)', '2026-06-12 18:02:27', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044331 -3.363365)'), GeomFromEWKT('SRID=4674;POINT (-39.044326 -3.363363)'))) / (select extract(epoch from '2026-06-12 18:02:27'::timestamp) - extract(epoch from '2026-06-12 18:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044331 -3.363365)'), GeomFromEWKT('SRID=4674;POINT (-39.044326 -3.363363)'))) / (select extract(epoch from '2026-06-12 18:02:27'::timestamp) - extract(epoch from '2026-06-12 18:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044337 -3.363379)', '2026-06-12 18:02:33', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044326 -3.363363)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363379)'))) / (select extract(epoch from '2026-06-12 18:02:33'::timestamp) - extract(epoch from '2026-06-12 18:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044326 -3.363363)'), GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363379)'))) / (select extract(epoch from '2026-06-12 18:02:33'::timestamp) - extract(epoch from '2026-06-12 18:02: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'), 46569, 'SRID=4674;POINT (-39.044345 -3.363387)', '2026-06-12 18:02:40', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363379)'), GeomFromEWKT('SRID=4674;POINT (-39.044345 -3.363387)'))) / (select extract(epoch from '2026-06-12 18:02:40'::timestamp) - extract(epoch from '2026-06-12 18:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044337 -3.363379)'), GeomFromEWKT('SRID=4674;POINT (-39.044345 -3.363387)'))) / (select extract(epoch from '2026-06-12 18:02:40'::timestamp) - extract(epoch from '2026-06-12 18:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044348 -3.363382)', '2026-06-12 18:02:46', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044345 -3.363387)'), GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363382)'))) / (select extract(epoch from '2026-06-12 18:02:46'::timestamp) - extract(epoch from '2026-06-12 18:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044345 -3.363387)'), GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363382)'))) / (select extract(epoch from '2026-06-12 18:02:46'::timestamp) - extract(epoch from '2026-06-12 18:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044342 -3.363372)', '2026-06-12 18:02:54', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363382)'), GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363372)'))) / (select extract(epoch from '2026-06-12 18:02:54'::timestamp) - extract(epoch from '2026-06-12 18:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363382)'), GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363372)'))) / (select extract(epoch from '2026-06-12 18:02:54'::timestamp) - extract(epoch from '2026-06-12 18:02: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'), 46569, 'SRID=4674;POINT (-39.044338 -3.363371)', '2026-06-12 18:03:05', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363372)'), GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.363371)'))) / (select extract(epoch from '2026-06-12 18:03:05'::timestamp) - extract(epoch from '2026-06-12 18:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363372)'), GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.363371)'))) / (select extract(epoch from '2026-06-12 18:03:05'::timestamp) - extract(epoch from '2026-06-12 18:02: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'), 46569, 'SRID=4674;POINT (-39.044342 -3.363377)', '2026-06-12 18:03:11', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.363371)'), GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363377)'))) / (select extract(epoch from '2026-06-12 18:03:11'::timestamp) - extract(epoch from '2026-06-12 18:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.363371)'), GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363377)'))) / (select extract(epoch from '2026-06-12 18:03:11'::timestamp) - extract(epoch from '2026-06-12 18:03: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'), 46569, 'SRID=4674;POINT (-39.044347 -3.36339)', '2026-06-12 18:03:21', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363377)'), GeomFromEWKT('SRID=4674;POINT (-39.044347 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:03:21'::timestamp) - extract(epoch from '2026-06-12 18:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363377)'), GeomFromEWKT('SRID=4674;POINT (-39.044347 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:03:21'::timestamp) - extract(epoch from '2026-06-12 18:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044353 -3.36339)', '2026-06-12 18:03:33', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044347 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044353 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:03:33'::timestamp) - extract(epoch from '2026-06-12 18:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044347 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044353 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:03:33'::timestamp) - extract(epoch from '2026-06-12 18:03: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'), 46569, 'SRID=4674;POINT (-39.044342 -3.363392)', '2026-06-12 18:03:48', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044353 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363392)'))) / (select extract(epoch from '2026-06-12 18:03:48'::timestamp) - extract(epoch from '2026-06-12 18:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044353 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363392)'))) / (select extract(epoch from '2026-06-12 18:03:48'::timestamp) - extract(epoch from '2026-06-12 18:03: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'), 46569, 'SRID=4674;POINT (-39.044348 -3.363388)', '2026-06-12 18:03:58', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363392)'), GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363388)'))) / (select extract(epoch from '2026-06-12 18:03:58'::timestamp) - extract(epoch from '2026-06-12 18:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044342 -3.363392)'), GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363388)'))) / (select extract(epoch from '2026-06-12 18:03:58'::timestamp) - extract(epoch from '2026-06-12 18:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044344 -3.363389)', '2026-06-12 18:04:06', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363388)'), GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:04:06'::timestamp) - extract(epoch from '2026-06-12 18:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363388)'), GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:04:06'::timestamp) - extract(epoch from '2026-06-12 18:03: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'), 46569, 'SRID=4674;POINT (-39.04434 -3.363393)', '2026-06-12 18:04:13', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.363393)'))) / (select extract(epoch from '2026-06-12 18:04:13'::timestamp) - extract(epoch from '2026-06-12 18:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.363393)'))) / (select extract(epoch from '2026-06-12 18:04:13'::timestamp) - extract(epoch from '2026-06-12 18:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04434 -3.3634)', '2026-06-12 18:04:21', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.363393)'), GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.3634)'))) / (select extract(epoch from '2026-06-12 18:04:21'::timestamp) - extract(epoch from '2026-06-12 18:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.363393)'), GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.3634)'))) / (select extract(epoch from '2026-06-12 18:04:21'::timestamp) - extract(epoch from '2026-06-12 18:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044347 -3.363402)', '2026-06-12 18:04:34', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.3634)'), GeomFromEWKT('SRID=4674;POINT (-39.044347 -3.363402)'))) / (select extract(epoch from '2026-06-12 18:04:34'::timestamp) - extract(epoch from '2026-06-12 18:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.3634)'), GeomFromEWKT('SRID=4674;POINT (-39.044347 -3.363402)'))) / (select extract(epoch from '2026-06-12 18:04:34'::timestamp) - extract(epoch from '2026-06-12 18:04: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'), 46569, 'SRID=4674;POINT (-39.044341 -3.363398)', '2026-06-12 18:04:40', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044347 -3.363402)'), GeomFromEWKT('SRID=4674;POINT (-39.044341 -3.363398)'))) / (select extract(epoch from '2026-06-12 18:04:40'::timestamp) - extract(epoch from '2026-06-12 18:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044347 -3.363402)'), GeomFromEWKT('SRID=4674;POINT (-39.044341 -3.363398)'))) / (select extract(epoch from '2026-06-12 18:04:40'::timestamp) - extract(epoch from '2026-06-12 18:04: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'), 46569, 'SRID=4674;POINT (-39.044344 -3.363389)', '2026-06-12 18:04:49', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044341 -3.363398)'), GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:04:49'::timestamp) - extract(epoch from '2026-06-12 18:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044341 -3.363398)'), GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:04:49'::timestamp) - extract(epoch from '2026-06-12 18:04: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'), 46569, 'SRID=4674;POINT (-39.044359 -3.3634)', '2026-06-12 18:05:00', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.3634)'))) / (select extract(epoch from '2026-06-12 18:05:00'::timestamp) - extract(epoch from '2026-06-12 18:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.3634)'))) / (select extract(epoch from '2026-06-12 18:05:00'::timestamp) - extract(epoch from '2026-06-12 18:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044351 -3.363403)', '2026-06-12 18:05:10', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.3634)'), GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363403)'))) / (select extract(epoch from '2026-06-12 18:05:10'::timestamp) - extract(epoch from '2026-06-12 18:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.3634)'), GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363403)'))) / (select extract(epoch from '2026-06-12 18:05:10'::timestamp) - extract(epoch from '2026-06-12 18:05: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'), 46569, 'SRID=4674;POINT (-39.044333 -3.363402)', '2026-06-12 18:05:22', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363403)'), GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363402)'))) / (select extract(epoch from '2026-06-12 18:05:22'::timestamp) - extract(epoch from '2026-06-12 18:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363403)'), GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363402)'))) / (select extract(epoch from '2026-06-12 18:05:22'::timestamp) - extract(epoch from '2026-06-12 18:05: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'), 46569, 'SRID=4674;POINT (-39.044352 -3.36339)', '2026-06-12 18:05:29', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363402)'), GeomFromEWKT('SRID=4674;POINT (-39.044352 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:05:29'::timestamp) - extract(epoch from '2026-06-12 18:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363402)'), GeomFromEWKT('SRID=4674;POINT (-39.044352 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:05:29'::timestamp) - extract(epoch from '2026-06-12 18:05: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'), 46569, 'SRID=4674;POINT (-39.044367 -3.363391)', '2026-06-12 18:05:36', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044352 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363391)'))) / (select extract(epoch from '2026-06-12 18:05:36'::timestamp) - extract(epoch from '2026-06-12 18:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044352 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363391)'))) / (select extract(epoch from '2026-06-12 18:05:36'::timestamp) - extract(epoch from '2026-06-12 18:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04436 -3.363381)', '2026-06-12 18:05:48', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.04436 -3.363381)'))) / (select extract(epoch from '2026-06-12 18:05:48'::timestamp) - extract(epoch from '2026-06-12 18:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044367 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.04436 -3.363381)'))) / (select extract(epoch from '2026-06-12 18:05:48'::timestamp) - extract(epoch from '2026-06-12 18:05: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'), 46569, 'SRID=4674;POINT (-39.044359 -3.363378)', '2026-06-12 18:06:00', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04436 -3.363381)'), GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.363378)'))) / (select extract(epoch from '2026-06-12 18:06:00'::timestamp) - extract(epoch from '2026-06-12 18:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04436 -3.363381)'), GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.363378)'))) / (select extract(epoch from '2026-06-12 18:06:00'::timestamp) - extract(epoch from '2026-06-12 18:05: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'), 46569, 'SRID=4674;POINT (-39.044348 -3.363389)', '2026-06-12 18:06:09', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.363378)'), GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:06:09'::timestamp) - extract(epoch from '2026-06-12 18:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.363378)'), GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:06:09'::timestamp) - extract(epoch from '2026-06-12 18:06: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'), 46569, 'SRID=4674;POINT (-39.044349 -3.363399)', '2026-06-12 18:06:21', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044349 -3.363399)'))) / (select extract(epoch from '2026-06-12 18:06:21'::timestamp) - extract(epoch from '2026-06-12 18:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044348 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044349 -3.363399)'))) / (select extract(epoch from '2026-06-12 18:06:21'::timestamp) - extract(epoch from '2026-06-12 18:06: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'), 46569, 'SRID=4674;POINT (-39.044328 -3.363404)', '2026-06-12 18:06:31', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044349 -3.363399)'), GeomFromEWKT('SRID=4674;POINT (-39.044328 -3.363404)'))) / (select extract(epoch from '2026-06-12 18:06:31'::timestamp) - extract(epoch from '2026-06-12 18:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044349 -3.363399)'), GeomFromEWKT('SRID=4674;POINT (-39.044328 -3.363404)'))) / (select extract(epoch from '2026-06-12 18:06:31'::timestamp) - extract(epoch from '2026-06-12 18:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044333 -3.363413)', '2026-06-12 18:06:43', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044328 -3.363404)'), GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363413)'))) / (select extract(epoch from '2026-06-12 18:06:43'::timestamp) - extract(epoch from '2026-06-12 18:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044328 -3.363404)'), GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363413)'))) / (select extract(epoch from '2026-06-12 18:06:43'::timestamp) - extract(epoch from '2026-06-12 18:06: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'), 46569, 'SRID=4674;POINT (-39.044323 -3.363411)', '2026-06-12 18:06:51', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363413)'), GeomFromEWKT('SRID=4674;POINT (-39.044323 -3.363411)'))) / (select extract(epoch from '2026-06-12 18:06:51'::timestamp) - extract(epoch from '2026-06-12 18:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044333 -3.363413)'), GeomFromEWKT('SRID=4674;POINT (-39.044323 -3.363411)'))) / (select extract(epoch from '2026-06-12 18:06:51'::timestamp) - extract(epoch from '2026-06-12 18:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044303 -3.363411)', '2026-06-12 18:06:59', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044323 -3.363411)'), GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363411)'))) / (select extract(epoch from '2026-06-12 18:06:59'::timestamp) - extract(epoch from '2026-06-12 18:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044323 -3.363411)'), GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363411)'))) / (select extract(epoch from '2026-06-12 18:06:59'::timestamp) - extract(epoch from '2026-06-12 18:06: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'), 46569, 'SRID=4674;POINT (-39.044299 -3.363405)', '2026-06-12 18:07:10', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363411)'), GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.363405)'))) / (select extract(epoch from '2026-06-12 18:07:10'::timestamp) - extract(epoch from '2026-06-12 18:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363411)'), GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.363405)'))) / (select extract(epoch from '2026-06-12 18:07:10'::timestamp) - extract(epoch from '2026-06-12 18:06: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'), 46569, 'SRID=4674;POINT (-39.044303 -3.363399)', '2026-06-12 18:07:20', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.363405)'), GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363399)'))) / (select extract(epoch from '2026-06-12 18:07:20'::timestamp) - extract(epoch from '2026-06-12 18:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.363405)'), GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363399)'))) / (select extract(epoch from '2026-06-12 18:07:20'::timestamp) - extract(epoch from '2026-06-12 18:07: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'), 46569, 'SRID=4674;POINT (-39.044319 -3.363398)', '2026-06-12 18:07:27', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363399)'), GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363398)'))) / (select extract(epoch from '2026-06-12 18:07:27'::timestamp) - extract(epoch from '2026-06-12 18:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044303 -3.363399)'), GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363398)'))) / (select extract(epoch from '2026-06-12 18:07:27'::timestamp) - extract(epoch from '2026-06-12 18:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044327 -3.363387)', '2026-06-12 18:07:35', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363398)'), GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.363387)'))) / (select extract(epoch from '2026-06-12 18:07:35'::timestamp) - extract(epoch from '2026-06-12 18:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363398)'), GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.363387)'))) / (select extract(epoch from '2026-06-12 18:07:35'::timestamp) - extract(epoch from '2026-06-12 18:07: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'), 46569, 'SRID=4674;POINT (-39.044319 -3.363386)', '2026-06-12 18:07:44', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.363387)'), GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363386)'))) / (select extract(epoch from '2026-06-12 18:07:44'::timestamp) - extract(epoch from '2026-06-12 18:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.363387)'), GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363386)'))) / (select extract(epoch from '2026-06-12 18:07:44'::timestamp) - extract(epoch from '2026-06-12 18:07: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'), 46569, 'SRID=4674;POINT (-39.044322 -3.363386)', '2026-06-12 18:07:56', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363386)'), GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363386)'))) / (select extract(epoch from '2026-06-12 18:07:56'::timestamp) - extract(epoch from '2026-06-12 18:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044319 -3.363386)'), GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363386)'))) / (select extract(epoch from '2026-06-12 18:07:56'::timestamp) - extract(epoch from '2026-06-12 18:07:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044315 -3.363389)', '2026-06-12 18:08:07', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363386)'), GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:08:07'::timestamp) - extract(epoch from '2026-06-12 18:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363386)'), GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:08:07'::timestamp) - extract(epoch from '2026-06-12 18:07: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'), 46569, 'SRID=4674;POINT (-39.044312 -3.363382)', '2026-06-12 18:08:16', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363382)'))) / (select extract(epoch from '2026-06-12 18:08:16'::timestamp) - extract(epoch from '2026-06-12 18:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044315 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363382)'))) / (select extract(epoch from '2026-06-12 18:08:16'::timestamp) - extract(epoch from '2026-06-12 18:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044308 -3.363377)', '2026-06-12 18:08:29', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363382)'), GeomFromEWKT('SRID=4674;POINT (-39.044308 -3.363377)'))) / (select extract(epoch from '2026-06-12 18:08:29'::timestamp) - extract(epoch from '2026-06-12 18:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363382)'), GeomFromEWKT('SRID=4674;POINT (-39.044308 -3.363377)'))) / (select extract(epoch from '2026-06-12 18:08:29'::timestamp) - extract(epoch from '2026-06-12 18:08: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'), 46569, 'SRID=4674;POINT (-39.044305 -3.363383)', '2026-06-12 18:08:40', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044308 -3.363377)'), GeomFromEWKT('SRID=4674;POINT (-39.044305 -3.363383)'))) / (select extract(epoch from '2026-06-12 18:08:40'::timestamp) - extract(epoch from '2026-06-12 18:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044308 -3.363377)'), GeomFromEWKT('SRID=4674;POINT (-39.044305 -3.363383)'))) / (select extract(epoch from '2026-06-12 18:08:40'::timestamp) - extract(epoch from '2026-06-12 18:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044312 -3.363394)', '2026-06-12 18:08:50', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044305 -3.363383)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363394)'))) / (select extract(epoch from '2026-06-12 18:08:50'::timestamp) - extract(epoch from '2026-06-12 18:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044305 -3.363383)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363394)'))) / (select extract(epoch from '2026-06-12 18:08:50'::timestamp) - extract(epoch from '2026-06-12 18:08: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'), 46569, 'SRID=4674;POINT (-39.044317 -3.363391)', '2026-06-12 18:08:59', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363394)'), GeomFromEWKT('SRID=4674;POINT (-39.044317 -3.363391)'))) / (select extract(epoch from '2026-06-12 18:08:59'::timestamp) - extract(epoch from '2026-06-12 18:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363394)'), GeomFromEWKT('SRID=4674;POINT (-39.044317 -3.363391)'))) / (select extract(epoch from '2026-06-12 18:08:59'::timestamp) - extract(epoch from '2026-06-12 18:08: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'), 46569, 'SRID=4674;POINT (-39.044321 -3.363396)', '2026-06-12 18:09:09', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044317 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.044321 -3.363396)'))) / (select extract(epoch from '2026-06-12 18:09:09'::timestamp) - extract(epoch from '2026-06-12 18:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044317 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-39.044321 -3.363396)'))) / (select extract(epoch from '2026-06-12 18:09:09'::timestamp) - extract(epoch from '2026-06-12 18:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04433 -3.363396)', '2026-06-12 18:09:16', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044321 -3.363396)'), GeomFromEWKT('SRID=4674;POINT (-39.04433 -3.363396)'))) / (select extract(epoch from '2026-06-12 18:09:16'::timestamp) - extract(epoch from '2026-06-12 18:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044321 -3.363396)'), GeomFromEWKT('SRID=4674;POINT (-39.04433 -3.363396)'))) / (select extract(epoch from '2026-06-12 18:09:16'::timestamp) - extract(epoch from '2026-06-12 18:09: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'), 46569, 'SRID=4674;POINT (-39.044329 -3.36339)', '2026-06-12 18:09:25', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04433 -3.363396)'), GeomFromEWKT('SRID=4674;POINT (-39.044329 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:09:25'::timestamp) - extract(epoch from '2026-06-12 18:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04433 -3.363396)'), GeomFromEWKT('SRID=4674;POINT (-39.044329 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:09:25'::timestamp) - extract(epoch from '2026-06-12 18:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044327 -3.36339)', '2026-06-12 18:09:37', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044329 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:09:37'::timestamp) - extract(epoch from '2026-06-12 18:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044329 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:09:37'::timestamp) - extract(epoch from '2026-06-12 18:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044324 -3.36339)', '2026-06-12 18:09:50', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044324 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:09:50'::timestamp) - extract(epoch from '2026-06-12 18:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044327 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044324 -3.36339)'))) / (select extract(epoch from '2026-06-12 18:09:50'::timestamp) - extract(epoch from '2026-06-12 18:09: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'), 46569, 'SRID=4674;POINT (-39.044322 -3.363389)', '2026-06-12 18:10:00', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044324 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:10:00'::timestamp) - extract(epoch from '2026-06-12 18:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044324 -3.36339)'), GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:10:00'::timestamp) - extract(epoch from '2026-06-12 18:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044316 -3.363389)', '2026-06-12 18:10:06', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:10:06'::timestamp) - extract(epoch from '2026-06-12 18:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.363389)'))) / (select extract(epoch from '2026-06-12 18:10:06'::timestamp) - extract(epoch from '2026-06-12 18:10: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'), 46569, 'SRID=4674;POINT (-39.044313 -3.363404)', '2026-06-12 18:10:15', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044313 -3.363404)'))) / (select extract(epoch from '2026-06-12 18:10:15'::timestamp) - extract(epoch from '2026-06-12 18:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.363389)'), GeomFromEWKT('SRID=4674;POINT (-39.044313 -3.363404)'))) / (select extract(epoch from '2026-06-12 18:10:15'::timestamp) - extract(epoch from '2026-06-12 18:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04431 -3.363414)', '2026-06-12 18:10:29', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044313 -3.363404)'), GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.363414)'))) / (select extract(epoch from '2026-06-12 18:10:29'::timestamp) - extract(epoch from '2026-06-12 18:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044313 -3.363404)'), GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.363414)'))) / (select extract(epoch from '2026-06-12 18:10:29'::timestamp) - extract(epoch from '2026-06-12 18:10: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'), 46569, 'SRID=4674;POINT (-39.044312 -3.363414)', '2026-06-12 18:10:41', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.363414)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363414)'))) / (select extract(epoch from '2026-06-12 18:10:41'::timestamp) - extract(epoch from '2026-06-12 18:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04431 -3.363414)'), GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363414)'))) / (select extract(epoch from '2026-06-12 18:10:41'::timestamp) - extract(epoch from '2026-06-12 18:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044302 -3.36342)', '2026-06-12 18:10:48', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363414)'), GeomFromEWKT('SRID=4674;POINT (-39.044302 -3.36342)'))) / (select extract(epoch from '2026-06-12 18:10:48'::timestamp) - extract(epoch from '2026-06-12 18:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044312 -3.363414)'), GeomFromEWKT('SRID=4674;POINT (-39.044302 -3.36342)'))) / (select extract(epoch from '2026-06-12 18:10:48'::timestamp) - extract(epoch from '2026-06-12 18:10: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'), 46569, 'SRID=4674;POINT (-39.044293 -3.363423)', '2026-06-12 18:10:58', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044302 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.044293 -3.363423)'))) / (select extract(epoch from '2026-06-12 18:10:58'::timestamp) - extract(epoch from '2026-06-12 18:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044302 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.044293 -3.363423)'))) / (select extract(epoch from '2026-06-12 18:10:58'::timestamp) - extract(epoch from '2026-06-12 18:10: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'), 46569, 'SRID=4674;POINT (-39.044292 -3.363422)', '2026-06-12 18:11:07', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044293 -3.363423)'), GeomFromEWKT('SRID=4674;POINT (-39.044292 -3.363422)'))) / (select extract(epoch from '2026-06-12 18:11:07'::timestamp) - extract(epoch from '2026-06-12 18:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044293 -3.363423)'), GeomFromEWKT('SRID=4674;POINT (-39.044292 -3.363422)'))) / (select extract(epoch from '2026-06-12 18:11:07'::timestamp) - extract(epoch from '2026-06-12 18:10: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'), 46569, 'SRID=4674;POINT (-39.044307 -3.36343)', '2026-06-12 18:11:14', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044292 -3.363422)'), GeomFromEWKT('SRID=4674;POINT (-39.044307 -3.36343)'))) / (select extract(epoch from '2026-06-12 18:11:14'::timestamp) - extract(epoch from '2026-06-12 18:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044292 -3.363422)'), GeomFromEWKT('SRID=4674;POINT (-39.044307 -3.36343)'))) / (select extract(epoch from '2026-06-12 18:11:14'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.044322 -3.36342)', '2026-06-12 18:11:25', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044307 -3.36343)'), GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.36342)'))) / (select extract(epoch from '2026-06-12 18:11:25'::timestamp) - extract(epoch from '2026-06-12 18:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044307 -3.36343)'), GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.36342)'))) / (select extract(epoch from '2026-06-12 18:11:25'::timestamp) - extract(epoch from '2026-06-12 18:11: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'), 46569, 'SRID=4674;POINT (-39.044323 -3.363416)', '2026-06-12 18:11:36', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.044323 -3.363416)'))) / (select extract(epoch from '2026-06-12 18:11:36'::timestamp) - extract(epoch from '2026-06-12 18:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044322 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.044323 -3.363416)'))) / (select extract(epoch from '2026-06-12 18:11:36'::timestamp) - extract(epoch from '2026-06-12 18:11: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'), 46569, 'SRID=4674;POINT (-39.044346 -3.363423)', '2026-06-12 18:11:46', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044323 -3.363416)'), GeomFromEWKT('SRID=4674;POINT (-39.044346 -3.363423)'))) / (select extract(epoch from '2026-06-12 18:11:46'::timestamp) - extract(epoch from '2026-06-12 18:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044323 -3.363416)'), GeomFromEWKT('SRID=4674;POINT (-39.044346 -3.363423)'))) / (select extract(epoch from '2026-06-12 18:11:46'::timestamp) - extract(epoch from '2026-06-12 18:11: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'), 46569, 'SRID=4674;POINT (-39.044351 -3.363417)', '2026-06-12 18:11:53', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044346 -3.363423)'), GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363417)'))) / (select extract(epoch from '2026-06-12 18:11:53'::timestamp) - extract(epoch from '2026-06-12 18:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044346 -3.363423)'), GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363417)'))) / (select extract(epoch from '2026-06-12 18:11:53'::timestamp) - extract(epoch from '2026-06-12 18:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044351 -3.363418)', '2026-06-12 18:12:04', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363417)'), GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363418)'))) / (select extract(epoch from '2026-06-12 18:12:04'::timestamp) - extract(epoch from '2026-06-12 18:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363417)'), GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363418)'))) / (select extract(epoch from '2026-06-12 18:12:04'::timestamp) - extract(epoch from '2026-06-12 18:11:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044344 -3.363417)', '2026-06-12 18:12:15', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363418)'), GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363417)'))) / (select extract(epoch from '2026-06-12 18:12:15'::timestamp) - extract(epoch from '2026-06-12 18:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044351 -3.363418)'), GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363417)'))) / (select extract(epoch from '2026-06-12 18:12:15'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.044338 -3.36342)', '2026-06-12 18:12:28', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363417)'), GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.36342)'))) / (select extract(epoch from '2026-06-12 18:12:28'::timestamp) - extract(epoch from '2026-06-12 18:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044344 -3.363417)'), GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.36342)'))) / (select extract(epoch from '2026-06-12 18:12:28'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.04432 -3.36342)', '2026-06-12 18:12:38', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.04432 -3.36342)'))) / (select extract(epoch from '2026-06-12 18:12:38'::timestamp) - extract(epoch from '2026-06-12 18:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044338 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.04432 -3.36342)'))) / (select extract(epoch from '2026-06-12 18:12:38'::timestamp) - extract(epoch from '2026-06-12 18:12: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'), 46569, 'SRID=4674;POINT (-39.044294 -3.36342)', '2026-06-12 18:12:50', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04432 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.044294 -3.36342)'))) / (select extract(epoch from '2026-06-12 18:12:50'::timestamp) - extract(epoch from '2026-06-12 18:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04432 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.044294 -3.36342)'))) / (select extract(epoch from '2026-06-12 18:12:50'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.04428 -3.363425)', '2026-06-12 18:13:02', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044294 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.04428 -3.363425)'))) / (select extract(epoch from '2026-06-12 18:13:02'::timestamp) - extract(epoch from '2026-06-12 18:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044294 -3.36342)'), GeomFromEWKT('SRID=4674;POINT (-39.04428 -3.363425)'))) / (select extract(epoch from '2026-06-12 18:13:02'::timestamp) - extract(epoch from '2026-06-12 18:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044251 -3.363428)', '2026-06-12 18:13:10', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04428 -3.363425)'), GeomFromEWKT('SRID=4674;POINT (-39.044251 -3.363428)'))) / (select extract(epoch from '2026-06-12 18:13:10'::timestamp) - extract(epoch from '2026-06-12 18:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04428 -3.363425)'), GeomFromEWKT('SRID=4674;POINT (-39.044251 -3.363428)'))) / (select extract(epoch from '2026-06-12 18:13:10'::timestamp) - extract(epoch from '2026-06-12 18:13: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'), 46569, 'SRID=4674;POINT (-39.044229 -3.36344)', '2026-06-12 18:13:19', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044251 -3.363428)'), GeomFromEWKT('SRID=4674;POINT (-39.044229 -3.36344)'))) / (select extract(epoch from '2026-06-12 18:13:19'::timestamp) - extract(epoch from '2026-06-12 18:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044251 -3.363428)'), GeomFromEWKT('SRID=4674;POINT (-39.044229 -3.36344)'))) / (select extract(epoch from '2026-06-12 18:13:19'::timestamp) - extract(epoch from '2026-06-12 18:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044188 -3.363476)', '2026-06-12 18:13:30', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044229 -3.36344)'), GeomFromEWKT('SRID=4674;POINT (-39.044188 -3.363476)'))) / (select extract(epoch from '2026-06-12 18:13:30'::timestamp) - extract(epoch from '2026-06-12 18:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044229 -3.36344)'), GeomFromEWKT('SRID=4674;POINT (-39.044188 -3.363476)'))) / (select extract(epoch from '2026-06-12 18:13:30'::timestamp) - extract(epoch from '2026-06-12 18:13: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'), 46569, 'SRID=4674;POINT (-39.044122 -3.363516)', '2026-06-12 18:13:44', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044188 -3.363476)'), GeomFromEWKT('SRID=4674;POINT (-39.044122 -3.363516)'))) / (select extract(epoch from '2026-06-12 18:13:44'::timestamp) - extract(epoch from '2026-06-12 18:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044188 -3.363476)'), GeomFromEWKT('SRID=4674;POINT (-39.044122 -3.363516)'))) / (select extract(epoch from '2026-06-12 18:13:44'::timestamp) - extract(epoch from '2026-06-12 18:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044098 -3.363537)', '2026-06-12 18:13:57', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044122 -3.363516)'), GeomFromEWKT('SRID=4674;POINT (-39.044098 -3.363537)'))) / (select extract(epoch from '2026-06-12 18:13:57'::timestamp) - extract(epoch from '2026-06-12 18:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044122 -3.363516)'), GeomFromEWKT('SRID=4674;POINT (-39.044098 -3.363537)'))) / (select extract(epoch from '2026-06-12 18:13:57'::timestamp) - extract(epoch from '2026-06-12 18:13: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'), 46569, 'SRID=4674;POINT (-39.044077 -3.363538)', '2026-06-12 18:14:05', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044098 -3.363537)'), GeomFromEWKT('SRID=4674;POINT (-39.044077 -3.363538)'))) / (select extract(epoch from '2026-06-12 18:14:05'::timestamp) - extract(epoch from '2026-06-12 18:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044098 -3.363537)'), GeomFromEWKT('SRID=4674;POINT (-39.044077 -3.363538)'))) / (select extract(epoch from '2026-06-12 18:14:05'::timestamp) - extract(epoch from '2026-06-12 18:13: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'), 46569, 'SRID=4674;POINT (-39.044073 -3.363549)', '2026-06-12 18:14:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044077 -3.363538)'), GeomFromEWKT('SRID=4674;POINT (-39.044073 -3.363549)'))) / (select extract(epoch from '2026-06-12 18:14:15'::timestamp) - extract(epoch from '2026-06-12 18:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044077 -3.363538)'), GeomFromEWKT('SRID=4674;POINT (-39.044073 -3.363549)'))) / (select extract(epoch from '2026-06-12 18:14:15'::timestamp) - extract(epoch from '2026-06-12 18:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044081 -3.363553)', '2026-06-12 18:14:25', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044073 -3.363549)'), GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.363553)'))) / (select extract(epoch from '2026-06-12 18:14:25'::timestamp) - extract(epoch from '2026-06-12 18:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044073 -3.363549)'), GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.363553)'))) / (select extract(epoch from '2026-06-12 18:14:25'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.044078 -3.363551)', '2026-06-12 18:14:36', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.363553)'), GeomFromEWKT('SRID=4674;POINT (-39.044078 -3.363551)'))) / (select extract(epoch from '2026-06-12 18:14:36'::timestamp) - extract(epoch from '2026-06-12 18:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.363553)'), GeomFromEWKT('SRID=4674;POINT (-39.044078 -3.363551)'))) / (select extract(epoch from '2026-06-12 18:14:36'::timestamp) - extract(epoch from '2026-06-12 18:14: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'), 46569, 'SRID=4674;POINT (-39.044077 -3.36355)', '2026-06-12 18:14:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044078 -3.363551)'), GeomFromEWKT('SRID=4674;POINT (-39.044077 -3.36355)'))) / (select extract(epoch from '2026-06-12 18:14:45'::timestamp) - extract(epoch from '2026-06-12 18:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044078 -3.363551)'), GeomFromEWKT('SRID=4674;POINT (-39.044077 -3.36355)'))) / (select extract(epoch from '2026-06-12 18:14:45'::timestamp) - extract(epoch from '2026-06-12 18:14: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'), 46569, 'SRID=4674;POINT (-39.044083 -3.363542)', '2026-06-12 18:14:56', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044077 -3.36355)'), GeomFromEWKT('SRID=4674;POINT (-39.044083 -3.363542)'))) / (select extract(epoch from '2026-06-12 18:14:56'::timestamp) - extract(epoch from '2026-06-12 18:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044077 -3.36355)'), GeomFromEWKT('SRID=4674;POINT (-39.044083 -3.363542)'))) / (select extract(epoch from '2026-06-12 18:14:56'::timestamp) - extract(epoch from '2026-06-12 18:14: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'), 46569, 'SRID=4674;POINT (-39.044107 -3.363533)', '2026-06-12 18:15:05', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044083 -3.363542)'), GeomFromEWKT('SRID=4674;POINT (-39.044107 -3.363533)'))) / (select extract(epoch from '2026-06-12 18:15:05'::timestamp) - extract(epoch from '2026-06-12 18:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044083 -3.363542)'), GeomFromEWKT('SRID=4674;POINT (-39.044107 -3.363533)'))) / (select extract(epoch from '2026-06-12 18:15:05'::timestamp) - extract(epoch from '2026-06-12 18:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044102 -3.363538)', '2026-06-12 18:15:13', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044107 -3.363533)'), GeomFromEWKT('SRID=4674;POINT (-39.044102 -3.363538)'))) / (select extract(epoch from '2026-06-12 18:15:13'::timestamp) - extract(epoch from '2026-06-12 18:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044107 -3.363533)'), GeomFromEWKT('SRID=4674;POINT (-39.044102 -3.363538)'))) / (select extract(epoch from '2026-06-12 18:15:13'::timestamp) - extract(epoch from '2026-06-12 18:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044104 -3.363549)', '2026-06-12 18:15:24', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044102 -3.363538)'), GeomFromEWKT('SRID=4674;POINT (-39.044104 -3.363549)'))) / (select extract(epoch from '2026-06-12 18:15:24'::timestamp) - extract(epoch from '2026-06-12 18:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044102 -3.363538)'), GeomFromEWKT('SRID=4674;POINT (-39.044104 -3.363549)'))) / (select extract(epoch from '2026-06-12 18:15:24'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.044105 -3.363553)', '2026-06-12 18:15:32', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044104 -3.363549)'), GeomFromEWKT('SRID=4674;POINT (-39.044105 -3.363553)'))) / (select extract(epoch from '2026-06-12 18:15:32'::timestamp) - extract(epoch from '2026-06-12 18:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044104 -3.363549)'), GeomFromEWKT('SRID=4674;POINT (-39.044105 -3.363553)'))) / (select extract(epoch from '2026-06-12 18:15:32'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.044099 -3.363556)', '2026-06-12 18:15:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044105 -3.363553)'), GeomFromEWKT('SRID=4674;POINT (-39.044099 -3.363556)'))) / (select extract(epoch from '2026-06-12 18:15:40'::timestamp) - extract(epoch from '2026-06-12 18:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044105 -3.363553)'), GeomFromEWKT('SRID=4674;POINT (-39.044099 -3.363556)'))) / (select extract(epoch from '2026-06-12 18:15:40'::timestamp) - extract(epoch from '2026-06-12 18:15: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'), 46569, 'SRID=4674;POINT (-39.044064 -3.363572)', '2026-06-12 18:15:47', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044099 -3.363556)'), GeomFromEWKT('SRID=4674;POINT (-39.044064 -3.363572)'))) / (select extract(epoch from '2026-06-12 18:15:47'::timestamp) - extract(epoch from '2026-06-12 18:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044099 -3.363556)'), GeomFromEWKT('SRID=4674;POINT (-39.044064 -3.363572)'))) / (select extract(epoch from '2026-06-12 18:15:47'::timestamp) - extract(epoch from '2026-06-12 18:15: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'), 46569, 'SRID=4674;POINT (-39.044008 -3.363599)', '2026-06-12 18:16:00', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044064 -3.363572)'), GeomFromEWKT('SRID=4674;POINT (-39.044008 -3.363599)'))) / (select extract(epoch from '2026-06-12 18:16:00'::timestamp) - extract(epoch from '2026-06-12 18:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044064 -3.363572)'), GeomFromEWKT('SRID=4674;POINT (-39.044008 -3.363599)'))) / (select extract(epoch from '2026-06-12 18:16:00'::timestamp) - extract(epoch from '2026-06-12 18:15: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'), 46569, 'SRID=4674;POINT (-39.044041 -3.363626)', '2026-06-12 18:16:06', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044008 -3.363599)'), GeomFromEWKT('SRID=4674;POINT (-39.044041 -3.363626)'))) / (select extract(epoch from '2026-06-12 18:16:06'::timestamp) - extract(epoch from '2026-06-12 18:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044008 -3.363599)'), GeomFromEWKT('SRID=4674;POINT (-39.044041 -3.363626)'))) / (select extract(epoch from '2026-06-12 18:16:06'::timestamp) - extract(epoch from '2026-06-12 18:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044045 -3.363634)', '2026-06-12 18:16:10', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044041 -3.363626)'), GeomFromEWKT('SRID=4674;POINT (-39.044045 -3.363634)'))) / (select extract(epoch from '2026-06-12 18:16:10'::timestamp) - extract(epoch from '2026-06-12 18:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044041 -3.363626)'), GeomFromEWKT('SRID=4674;POINT (-39.044045 -3.363634)'))) / (select extract(epoch from '2026-06-12 18:16:10'::timestamp) - extract(epoch from '2026-06-12 18:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.044015 -3.363614)', '2026-06-12 18:16:19', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044045 -3.363634)'), GeomFromEWKT('SRID=4674;POINT (-39.044015 -3.363614)'))) / (select extract(epoch from '2026-06-12 18:16:19'::timestamp) - extract(epoch from '2026-06-12 18:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044045 -3.363634)'), GeomFromEWKT('SRID=4674;POINT (-39.044015 -3.363614)'))) / (select extract(epoch from '2026-06-12 18:16:19'::timestamp) - extract(epoch from '2026-06-12 18:16: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'), 46569, 'SRID=4674;POINT (-39.043979 -3.363626)', '2026-06-12 18:16:30', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044015 -3.363614)'), GeomFromEWKT('SRID=4674;POINT (-39.043979 -3.363626)'))) / (select extract(epoch from '2026-06-12 18:16:30'::timestamp) - extract(epoch from '2026-06-12 18:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044015 -3.363614)'), GeomFromEWKT('SRID=4674;POINT (-39.043979 -3.363626)'))) / (select extract(epoch from '2026-06-12 18:16:30'::timestamp) - extract(epoch from '2026-06-12 18:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04396 -3.363637)', '2026-06-12 18:16:36', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043979 -3.363626)'), GeomFromEWKT('SRID=4674;POINT (-39.04396 -3.363637)'))) / (select extract(epoch from '2026-06-12 18:16:36'::timestamp) - extract(epoch from '2026-06-12 18:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043979 -3.363626)'), GeomFromEWKT('SRID=4674;POINT (-39.04396 -3.363637)'))) / (select extract(epoch from '2026-06-12 18:16:36'::timestamp) - extract(epoch from '2026-06-12 18:16: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'), 46569, 'SRID=4674;POINT (-39.043898 -3.363677)', '2026-06-12 18:16:50', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04396 -3.363637)'), GeomFromEWKT('SRID=4674;POINT (-39.043898 -3.363677)'))) / (select extract(epoch from '2026-06-12 18:16:50'::timestamp) - extract(epoch from '2026-06-12 18:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04396 -3.363637)'), GeomFromEWKT('SRID=4674;POINT (-39.043898 -3.363677)'))) / (select extract(epoch from '2026-06-12 18:16:50'::timestamp) - extract(epoch from '2026-06-12 18:16: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'), 46569, 'SRID=4674;POINT (-39.043875 -3.363684)', '2026-06-12 18:17:02', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043898 -3.363677)'), GeomFromEWKT('SRID=4674;POINT (-39.043875 -3.363684)'))) / (select extract(epoch from '2026-06-12 18:17:02'::timestamp) - extract(epoch from '2026-06-12 18:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043898 -3.363677)'), GeomFromEWKT('SRID=4674;POINT (-39.043875 -3.363684)'))) / (select extract(epoch from '2026-06-12 18:17:02'::timestamp) - extract(epoch from '2026-06-12 18:16: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'), 46569, 'SRID=4674;POINT (-39.04387 -3.363691)', '2026-06-12 18:17:10', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043875 -3.363684)'), GeomFromEWKT('SRID=4674;POINT (-39.04387 -3.363691)'))) / (select extract(epoch from '2026-06-12 18:17:10'::timestamp) - extract(epoch from '2026-06-12 18:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043875 -3.363684)'), GeomFromEWKT('SRID=4674;POINT (-39.04387 -3.363691)'))) / (select extract(epoch from '2026-06-12 18:17:10'::timestamp) - extract(epoch from '2026-06-12 18:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043834 -3.363719)', '2026-06-12 18:17:23', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04387 -3.363691)'), GeomFromEWKT('SRID=4674;POINT (-39.043834 -3.363719)'))) / (select extract(epoch from '2026-06-12 18:17:23'::timestamp) - extract(epoch from '2026-06-12 18:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04387 -3.363691)'), GeomFromEWKT('SRID=4674;POINT (-39.043834 -3.363719)'))) / (select extract(epoch from '2026-06-12 18:17:23'::timestamp) - extract(epoch from '2026-06-12 18:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043801 -3.363735)', '2026-06-12 18:17:33', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043834 -3.363719)'), GeomFromEWKT('SRID=4674;POINT (-39.043801 -3.363735)'))) / (select extract(epoch from '2026-06-12 18:17:33'::timestamp) - extract(epoch from '2026-06-12 18:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043834 -3.363719)'), GeomFromEWKT('SRID=4674;POINT (-39.043801 -3.363735)'))) / (select extract(epoch from '2026-06-12 18:17:33'::timestamp) - extract(epoch from '2026-06-12 18:17: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'), 46569, 'SRID=4674;POINT (-39.043785 -3.363756)', '2026-06-12 18:17:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043801 -3.363735)'), GeomFromEWKT('SRID=4674;POINT (-39.043785 -3.363756)'))) / (select extract(epoch from '2026-06-12 18:17:39'::timestamp) - extract(epoch from '2026-06-12 18:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043801 -3.363735)'), GeomFromEWKT('SRID=4674;POINT (-39.043785 -3.363756)'))) / (select extract(epoch from '2026-06-12 18:17:39'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.043751 -3.36378)', '2026-06-12 18:17:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043785 -3.363756)'), GeomFromEWKT('SRID=4674;POINT (-39.043751 -3.36378)'))) / (select extract(epoch from '2026-06-12 18:17:50'::timestamp) - extract(epoch from '2026-06-12 18:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043785 -3.363756)'), GeomFromEWKT('SRID=4674;POINT (-39.043751 -3.36378)'))) / (select extract(epoch from '2026-06-12 18:17:50'::timestamp) - extract(epoch from '2026-06-12 18:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043735 -3.363799)', '2026-06-12 18:18:02', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043751 -3.36378)'), GeomFromEWKT('SRID=4674;POINT (-39.043735 -3.363799)'))) / (select extract(epoch from '2026-06-12 18:18:02'::timestamp) - extract(epoch from '2026-06-12 18:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043751 -3.36378)'), GeomFromEWKT('SRID=4674;POINT (-39.043735 -3.363799)'))) / (select extract(epoch from '2026-06-12 18:18:02'::timestamp) - extract(epoch from '2026-06-12 18:17: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'), 46569, 'SRID=4674;POINT (-39.043683 -3.363824)', '2026-06-12 18:18:17', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043735 -3.363799)'), GeomFromEWKT('SRID=4674;POINT (-39.043683 -3.363824)'))) / (select extract(epoch from '2026-06-12 18:18:17'::timestamp) - extract(epoch from '2026-06-12 18:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043735 -3.363799)'), GeomFromEWKT('SRID=4674;POINT (-39.043683 -3.363824)'))) / (select extract(epoch from '2026-06-12 18:18:17'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.043673 -3.363823)', '2026-06-12 18:18:27', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043683 -3.363824)'), GeomFromEWKT('SRID=4674;POINT (-39.043673 -3.363823)'))) / (select extract(epoch from '2026-06-12 18:18:27'::timestamp) - extract(epoch from '2026-06-12 18:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043683 -3.363824)'), GeomFromEWKT('SRID=4674;POINT (-39.043673 -3.363823)'))) / (select extract(epoch from '2026-06-12 18:18:27'::timestamp) - extract(epoch from '2026-06-12 18:18: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'), 46569, 'SRID=4674;POINT (-39.043645 -3.363835)', '2026-06-12 18:18:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043673 -3.363823)'), GeomFromEWKT('SRID=4674;POINT (-39.043645 -3.363835)'))) / (select extract(epoch from '2026-06-12 18:18:38'::timestamp) - extract(epoch from '2026-06-12 18:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043673 -3.363823)'), GeomFromEWKT('SRID=4674;POINT (-39.043645 -3.363835)'))) / (select extract(epoch from '2026-06-12 18:18:38'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.043623 -3.363862)', '2026-06-12 18:18:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043645 -3.363835)'), GeomFromEWKT('SRID=4674;POINT (-39.043623 -3.363862)'))) / (select extract(epoch from '2026-06-12 18:18:48'::timestamp) - extract(epoch from '2026-06-12 18:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043645 -3.363835)'), GeomFromEWKT('SRID=4674;POINT (-39.043623 -3.363862)'))) / (select extract(epoch from '2026-06-12 18:18:48'::timestamp) - extract(epoch from '2026-06-12 18:18: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'), 46569, 'SRID=4674;POINT (-39.043617 -3.363879)', '2026-06-12 18:19:00', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043623 -3.363862)'), GeomFromEWKT('SRID=4674;POINT (-39.043617 -3.363879)'))) / (select extract(epoch from '2026-06-12 18:19:00'::timestamp) - extract(epoch from '2026-06-12 18:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043623 -3.363862)'), GeomFromEWKT('SRID=4674;POINT (-39.043617 -3.363879)'))) / (select extract(epoch from '2026-06-12 18:19:00'::timestamp) - extract(epoch from '2026-06-12 18:18: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'), 46569, 'SRID=4674;POINT (-39.043588 -3.363887)', '2026-06-12 18:19:09', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043617 -3.363879)'), GeomFromEWKT('SRID=4674;POINT (-39.043588 -3.363887)'))) / (select extract(epoch from '2026-06-12 18:19:09'::timestamp) - extract(epoch from '2026-06-12 18:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043617 -3.363879)'), GeomFromEWKT('SRID=4674;POINT (-39.043588 -3.363887)'))) / (select extract(epoch from '2026-06-12 18:19:09'::timestamp) - extract(epoch from '2026-06-12 18:19: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'), 46569, 'SRID=4674;POINT (-39.043563 -3.363904)', '2026-06-12 18:19:16', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043588 -3.363887)'), GeomFromEWKT('SRID=4674;POINT (-39.043563 -3.363904)'))) / (select extract(epoch from '2026-06-12 18:19:16'::timestamp) - extract(epoch from '2026-06-12 18:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043588 -3.363887)'), GeomFromEWKT('SRID=4674;POINT (-39.043563 -3.363904)'))) / (select extract(epoch from '2026-06-12 18:19:16'::timestamp) - extract(epoch from '2026-06-12 18:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043516 -3.36394)', '2026-06-12 18:19:27', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043563 -3.363904)'), GeomFromEWKT('SRID=4674;POINT (-39.043516 -3.36394)'))) / (select extract(epoch from '2026-06-12 18:19:27'::timestamp) - extract(epoch from '2026-06-12 18:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043563 -3.363904)'), GeomFromEWKT('SRID=4674;POINT (-39.043516 -3.36394)'))) / (select extract(epoch from '2026-06-12 18:19:27'::timestamp) - extract(epoch from '2026-06-12 18:19: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'), 46569, 'SRID=4674;POINT (-39.043477 -3.363968)', '2026-06-12 18:19:39', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043516 -3.36394)'), GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.363968)'))) / (select extract(epoch from '2026-06-12 18:19:39'::timestamp) - extract(epoch from '2026-06-12 18:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043516 -3.36394)'), GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.363968)'))) / (select extract(epoch from '2026-06-12 18:19:39'::timestamp) - extract(epoch from '2026-06-12 18:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04347 -3.363976)', '2026-06-12 18:19:49', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.363968)'), GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.363976)'))) / (select extract(epoch from '2026-06-12 18:19:49'::timestamp) - extract(epoch from '2026-06-12 18:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043477 -3.363968)'), GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.363976)'))) / (select extract(epoch from '2026-06-12 18:19:49'::timestamp) - extract(epoch from '2026-06-12 18:19: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'), 46569, 'SRID=4674;POINT (-39.043436 -3.363991)', '2026-06-12 18:20:00', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.363976)'), GeomFromEWKT('SRID=4674;POINT (-39.043436 -3.363991)'))) / (select extract(epoch from '2026-06-12 18:20:00'::timestamp) - extract(epoch from '2026-06-12 18:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04347 -3.363976)'), GeomFromEWKT('SRID=4674;POINT (-39.043436 -3.363991)'))) / (select extract(epoch from '2026-06-12 18:20:00'::timestamp) - extract(epoch from '2026-06-12 18:19:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.043405 -3.36402)', '2026-06-12 18:20:10', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043436 -3.363991)'), GeomFromEWKT('SRID=4674;POINT (-39.043405 -3.36402)'))) / (select extract(epoch from '2026-06-12 18:20:10'::timestamp) - extract(epoch from '2026-06-12 18:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043436 -3.363991)'), GeomFromEWKT('SRID=4674;POINT (-39.043405 -3.36402)'))) / (select extract(epoch from '2026-06-12 18:20:10'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.043342 -3.364054)', '2026-06-12 18:20:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043405 -3.36402)'), GeomFromEWKT('SRID=4674;POINT (-39.043342 -3.364054)'))) / (select extract(epoch from '2026-06-12 18:20:24'::timestamp) - extract(epoch from '2026-06-12 18:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043405 -3.36402)'), GeomFromEWKT('SRID=4674;POINT (-39.043342 -3.364054)'))) / (select extract(epoch from '2026-06-12 18:20:24'::timestamp) - extract(epoch from '2026-06-12 18:20: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'), 46569, 'SRID=4674;POINT (-39.043286 -3.3641)', '2026-06-12 18:20:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043342 -3.364054)'), GeomFromEWKT('SRID=4674;POINT (-39.043286 -3.3641)'))) / (select extract(epoch from '2026-06-12 18:20:37'::timestamp) - extract(epoch from '2026-06-12 18:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043342 -3.364054)'), GeomFromEWKT('SRID=4674;POINT (-39.043286 -3.3641)'))) / (select extract(epoch from '2026-06-12 18:20:37'::timestamp) - extract(epoch from '2026-06-12 18:20: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'), 46569, 'SRID=4674;POINT (-39.043251 -3.364136)', '2026-06-12 18:20:50', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043286 -3.3641)'), GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.364136)'))) / (select extract(epoch from '2026-06-12 18:20:50'::timestamp) - extract(epoch from '2026-06-12 18:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043286 -3.3641)'), GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.364136)'))) / (select extract(epoch from '2026-06-12 18:20:50'::timestamp) - extract(epoch from '2026-06-12 18:20: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'), 46569, 'SRID=4674;POINT (-39.043207 -3.364174)', '2026-06-12 18:21:02', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.364136)'), GeomFromEWKT('SRID=4674;POINT (-39.043207 -3.364174)'))) / (select extract(epoch from '2026-06-12 18:21:02'::timestamp) - extract(epoch from '2026-06-12 18:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.364136)'), GeomFromEWKT('SRID=4674;POINT (-39.043207 -3.364174)'))) / (select extract(epoch from '2026-06-12 18:21:02'::timestamp) - extract(epoch from '2026-06-12 18:20: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'), 46569, 'SRID=4674;POINT (-39.043165 -3.364178)', '2026-06-12 18:21:17', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043207 -3.364174)'), GeomFromEWKT('SRID=4674;POINT (-39.043165 -3.364178)'))) / (select extract(epoch from '2026-06-12 18:21:17'::timestamp) - extract(epoch from '2026-06-12 18:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043207 -3.364174)'), GeomFromEWKT('SRID=4674;POINT (-39.043165 -3.364178)'))) / (select extract(epoch from '2026-06-12 18:21:17'::timestamp) - extract(epoch from '2026-06-12 18:21: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'), 46569, 'SRID=4674;POINT (-39.043136 -3.364195)', '2026-06-12 18:21:27', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043165 -3.364178)'), GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.364195)'))) / (select extract(epoch from '2026-06-12 18:21:27'::timestamp) - extract(epoch from '2026-06-12 18:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043165 -3.364178)'), GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.364195)'))) / (select extract(epoch from '2026-06-12 18:21:27'::timestamp) - extract(epoch from '2026-06-12 18:21: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'), 46569, 'SRID=4674;POINT (-39.043126 -3.364212)', '2026-06-12 18:21:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.364195)'), GeomFromEWKT('SRID=4674;POINT (-39.043126 -3.364212)'))) / (select extract(epoch from '2026-06-12 18:21:33'::timestamp) - extract(epoch from '2026-06-12 18:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043136 -3.364195)'), GeomFromEWKT('SRID=4674;POINT (-39.043126 -3.364212)'))) / (select extract(epoch from '2026-06-12 18:21:33'::timestamp) - extract(epoch from '2026-06-12 18:21: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'), 46569, 'SRID=4674;POINT (-39.043119 -3.364219)', '2026-06-12 18:21:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043126 -3.364212)'), GeomFromEWKT('SRID=4674;POINT (-39.043119 -3.364219)'))) / (select extract(epoch from '2026-06-12 18:21:40'::timestamp) - extract(epoch from '2026-06-12 18:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043126 -3.364212)'), GeomFromEWKT('SRID=4674;POINT (-39.043119 -3.364219)'))) / (select extract(epoch from '2026-06-12 18:21:40'::timestamp) - extract(epoch from '2026-06-12 18:21: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'), 46569, 'SRID=4674;POINT (-39.043118 -3.364225)', '2026-06-12 18:21:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043119 -3.364219)'), GeomFromEWKT('SRID=4674;POINT (-39.043118 -3.364225)'))) / (select extract(epoch from '2026-06-12 18:21:46'::timestamp) - extract(epoch from '2026-06-12 18:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043119 -3.364219)'), GeomFromEWKT('SRID=4674;POINT (-39.043118 -3.364225)'))) / (select extract(epoch from '2026-06-12 18:21:46'::timestamp) - extract(epoch from '2026-06-12 18:21: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'), 46569, 'SRID=4674;POINT (-39.043105 -3.364242)', '2026-06-12 18:21:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043118 -3.364225)'), GeomFromEWKT('SRID=4674;POINT (-39.043105 -3.364242)'))) / (select extract(epoch from '2026-06-12 18:21:53'::timestamp) - extract(epoch from '2026-06-12 18:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043118 -3.364225)'), GeomFromEWKT('SRID=4674;POINT (-39.043105 -3.364242)'))) / (select extract(epoch from '2026-06-12 18:21:53'::timestamp) - extract(epoch from '2026-06-12 18:21: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'), 46569, 'SRID=4674;POINT (-39.04305 -3.36427)', '2026-06-12 18:22:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043105 -3.364242)'), GeomFromEWKT('SRID=4674;POINT (-39.04305 -3.36427)'))) / (select extract(epoch from '2026-06-12 18:22:06'::timestamp) - extract(epoch from '2026-06-12 18:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043105 -3.364242)'), GeomFromEWKT('SRID=4674;POINT (-39.04305 -3.36427)'))) / (select extract(epoch from '2026-06-12 18:22:06'::timestamp) - extract(epoch from '2026-06-12 18:21: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'), 46569, 'SRID=4674;POINT (-39.043012 -3.364326)', '2026-06-12 18:22:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04305 -3.36427)'), GeomFromEWKT('SRID=4674;POINT (-39.043012 -3.364326)'))) / (select extract(epoch from '2026-06-12 18:22:20'::timestamp) - extract(epoch from '2026-06-12 18:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04305 -3.36427)'), GeomFromEWKT('SRID=4674;POINT (-39.043012 -3.364326)'))) / (select extract(epoch from '2026-06-12 18:22:20'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.042995 -3.364339)', '2026-06-12 18:22:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043012 -3.364326)'), GeomFromEWKT('SRID=4674;POINT (-39.042995 -3.364339)'))) / (select extract(epoch from '2026-06-12 18:22:30'::timestamp) - extract(epoch from '2026-06-12 18:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043012 -3.364326)'), GeomFromEWKT('SRID=4674;POINT (-39.042995 -3.364339)'))) / (select extract(epoch from '2026-06-12 18:22:30'::timestamp) - extract(epoch from '2026-06-12 18:22: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'), 46569, 'SRID=4674;POINT (-39.042951 -3.364365)', '2026-06-12 18:22:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042995 -3.364339)'), GeomFromEWKT('SRID=4674;POINT (-39.042951 -3.364365)'))) / (select extract(epoch from '2026-06-12 18:22:38'::timestamp) - extract(epoch from '2026-06-12 18:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042995 -3.364339)'), GeomFromEWKT('SRID=4674;POINT (-39.042951 -3.364365)'))) / (select extract(epoch from '2026-06-12 18:22:38'::timestamp) - extract(epoch from '2026-06-12 18:22: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'), 46569, 'SRID=4674;POINT (-39.042917 -3.364381)', '2026-06-12 18:22:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042951 -3.364365)'), GeomFromEWKT('SRID=4674;POINT (-39.042917 -3.364381)'))) / (select extract(epoch from '2026-06-12 18:22:45'::timestamp) - extract(epoch from '2026-06-12 18:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042951 -3.364365)'), GeomFromEWKT('SRID=4674;POINT (-39.042917 -3.364381)'))) / (select extract(epoch from '2026-06-12 18:22:45'::timestamp) - extract(epoch from '2026-06-12 18:22: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'), 46569, 'SRID=4674;POINT (-39.042867 -3.364414)', '2026-06-12 18:22:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042917 -3.364381)'), GeomFromEWKT('SRID=4674;POINT (-39.042867 -3.364414)'))) / (select extract(epoch from '2026-06-12 18:22:57'::timestamp) - extract(epoch from '2026-06-12 18:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042917 -3.364381)'), GeomFromEWKT('SRID=4674;POINT (-39.042867 -3.364414)'))) / (select extract(epoch from '2026-06-12 18:22:57'::timestamp) - extract(epoch from '2026-06-12 18:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042852 -3.364437)', '2026-06-12 18:23:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042867 -3.364414)'), GeomFromEWKT('SRID=4674;POINT (-39.042852 -3.364437)'))) / (select extract(epoch from '2026-06-12 18:23:09'::timestamp) - extract(epoch from '2026-06-12 18:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042867 -3.364414)'), GeomFromEWKT('SRID=4674;POINT (-39.042852 -3.364437)'))) / (select extract(epoch from '2026-06-12 18:23:09'::timestamp) - extract(epoch from '2026-06-12 18:22: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'), 46569, 'SRID=4674;POINT (-39.042815 -3.364487)', '2026-06-12 18:23:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042852 -3.364437)'), GeomFromEWKT('SRID=4674;POINT (-39.042815 -3.364487)'))) / (select extract(epoch from '2026-06-12 18:23:23'::timestamp) - extract(epoch from '2026-06-12 18:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042852 -3.364437)'), GeomFromEWKT('SRID=4674;POINT (-39.042815 -3.364487)'))) / (select extract(epoch from '2026-06-12 18:23:23'::timestamp) - extract(epoch from '2026-06-12 18:23: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'), 46569, 'SRID=4674;POINT (-39.042768 -3.364501)', '2026-06-12 18:23:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042815 -3.364487)'), GeomFromEWKT('SRID=4674;POINT (-39.042768 -3.364501)'))) / (select extract(epoch from '2026-06-12 18:23:35'::timestamp) - extract(epoch from '2026-06-12 18:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042815 -3.364487)'), GeomFromEWKT('SRID=4674;POINT (-39.042768 -3.364501)'))) / (select extract(epoch from '2026-06-12 18:23:35'::timestamp) - extract(epoch from '2026-06-12 18:23: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'), 46569, 'SRID=4674;POINT (-39.042747 -3.364543)', '2026-06-12 18:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042768 -3.364501)'), GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.364543)'))) / (select extract(epoch from '2026-06-12 18:23:50'::timestamp) - extract(epoch from '2026-06-12 18:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042768 -3.364501)'), GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.364543)'))) / (select extract(epoch from '2026-06-12 18:23:50'::timestamp) - extract(epoch from '2026-06-12 18:23: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'), 46569, 'SRID=4674;POINT (-39.042724 -3.364568)', '2026-06-12 18:24:00', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.364543)'), GeomFromEWKT('SRID=4674;POINT (-39.042724 -3.364568)'))) / (select extract(epoch from '2026-06-12 18:24:00'::timestamp) - extract(epoch from '2026-06-12 18:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042747 -3.364543)'), GeomFromEWKT('SRID=4674;POINT (-39.042724 -3.364568)'))) / (select extract(epoch from '2026-06-12 18:24:00'::timestamp) - extract(epoch from '2026-06-12 18:23: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'), 46569, 'SRID=4674;POINT (-39.042688 -3.364592)', '2026-06-12 18:24:12', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042724 -3.364568)'), GeomFromEWKT('SRID=4674;POINT (-39.042688 -3.364592)'))) / (select extract(epoch from '2026-06-12 18:24:12'::timestamp) - extract(epoch from '2026-06-12 18:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042724 -3.364568)'), GeomFromEWKT('SRID=4674;POINT (-39.042688 -3.364592)'))) / (select extract(epoch from '2026-06-12 18:24:12'::timestamp) - extract(epoch from '2026-06-12 18:24: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'), 46569, 'SRID=4674;POINT (-39.042646 -3.364643)', '2026-06-12 18:24:27', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042688 -3.364592)'), GeomFromEWKT('SRID=4674;POINT (-39.042646 -3.364643)'))) / (select extract(epoch from '2026-06-12 18:24:27'::timestamp) - extract(epoch from '2026-06-12 18:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042688 -3.364592)'), GeomFromEWKT('SRID=4674;POINT (-39.042646 -3.364643)'))) / (select extract(epoch from '2026-06-12 18:24:27'::timestamp) - extract(epoch from '2026-06-12 18:24: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'), 46569, 'SRID=4674;POINT (-39.042613 -3.364648)', '2026-06-12 18:24:37', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042646 -3.364643)'), GeomFromEWKT('SRID=4674;POINT (-39.042613 -3.364648)'))) / (select extract(epoch from '2026-06-12 18:24:37'::timestamp) - extract(epoch from '2026-06-12 18:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042646 -3.364643)'), GeomFromEWKT('SRID=4674;POINT (-39.042613 -3.364648)'))) / (select extract(epoch from '2026-06-12 18:24:37'::timestamp) - extract(epoch from '2026-06-12 18:24: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'), 46569, 'SRID=4674;POINT (-39.042611 -3.364652)', '2026-06-12 18:24:47', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042613 -3.364648)'), GeomFromEWKT('SRID=4674;POINT (-39.042611 -3.364652)'))) / (select extract(epoch from '2026-06-12 18:24:47'::timestamp) - extract(epoch from '2026-06-12 18:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042613 -3.364648)'), GeomFromEWKT('SRID=4674;POINT (-39.042611 -3.364652)'))) / (select extract(epoch from '2026-06-12 18:24:47'::timestamp) - extract(epoch from '2026-06-12 18:24: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'), 46569, 'SRID=4674;POINT (-39.0426 -3.364656)', '2026-06-12 18:24:55', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042611 -3.364652)'), GeomFromEWKT('SRID=4674;POINT (-39.0426 -3.364656)'))) / (select extract(epoch from '2026-06-12 18:24:55'::timestamp) - extract(epoch from '2026-06-12 18:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042611 -3.364652)'), GeomFromEWKT('SRID=4674;POINT (-39.0426 -3.364656)'))) / (select extract(epoch from '2026-06-12 18:24:55'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.04257 -3.36467)', '2026-06-12 18:25:05', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0426 -3.364656)'), GeomFromEWKT('SRID=4674;POINT (-39.04257 -3.36467)'))) / (select extract(epoch from '2026-06-12 18:25:05'::timestamp) - extract(epoch from '2026-06-12 18:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0426 -3.364656)'), GeomFromEWKT('SRID=4674;POINT (-39.04257 -3.36467)'))) / (select extract(epoch from '2026-06-12 18:25:05'::timestamp) - extract(epoch from '2026-06-12 18:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.042509 -3.364705)', '2026-06-12 18:25:18', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04257 -3.36467)'), GeomFromEWKT('SRID=4674;POINT (-39.042509 -3.364705)'))) / (select extract(epoch from '2026-06-12 18:25:18'::timestamp) - extract(epoch from '2026-06-12 18:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04257 -3.36467)'), GeomFromEWKT('SRID=4674;POINT (-39.042509 -3.364705)'))) / (select extract(epoch from '2026-06-12 18:25:18'::timestamp) - extract(epoch from '2026-06-12 18:25: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'), 46569, 'SRID=4674;POINT (-39.04249 -3.364737)', '2026-06-12 18:25:32', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042509 -3.364705)'), GeomFromEWKT('SRID=4674;POINT (-39.04249 -3.364737)'))) / (select extract(epoch from '2026-06-12 18:25:32'::timestamp) - extract(epoch from '2026-06-12 18:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042509 -3.364705)'), GeomFromEWKT('SRID=4674;POINT (-39.04249 -3.364737)'))) / (select extract(epoch from '2026-06-12 18:25:32'::timestamp) - extract(epoch from '2026-06-12 18:25: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'), 46569, 'SRID=4674;POINT (-39.042471 -3.364752)', '2026-06-12 18:25:39', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04249 -3.364737)'), GeomFromEWKT('SRID=4674;POINT (-39.042471 -3.364752)'))) / (select extract(epoch from '2026-06-12 18:25:39'::timestamp) - extract(epoch from '2026-06-12 18:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04249 -3.364737)'), GeomFromEWKT('SRID=4674;POINT (-39.042471 -3.364752)'))) / (select extract(epoch from '2026-06-12 18:25:39'::timestamp) - extract(epoch from '2026-06-12 18:25: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'), 46569, 'SRID=4674;POINT (-39.04243 -3.364777)', '2026-06-12 18:25:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042471 -3.364752)'), GeomFromEWKT('SRID=4674;POINT (-39.04243 -3.364777)'))) / (select extract(epoch from '2026-06-12 18:25:51'::timestamp) - extract(epoch from '2026-06-12 18:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042471 -3.364752)'), GeomFromEWKT('SRID=4674;POINT (-39.04243 -3.364777)'))) / (select extract(epoch from '2026-06-12 18:25:51'::timestamp) - extract(epoch from '2026-06-12 18: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'), 46569, 'SRID=4674;POINT (-39.04238 -3.364795)', '2026-06-12 18:26:05', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04243 -3.364777)'), GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.364795)'))) / (select extract(epoch from '2026-06-12 18:26:05'::timestamp) - extract(epoch from '2026-06-12 18:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04243 -3.364777)'), GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.364795)'))) / (select extract(epoch from '2026-06-12 18:26:05'::timestamp) - extract(epoch from '2026-06-12 18:25: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'), 46569, 'SRID=4674;POINT (-39.042337 -3.36482)', '2026-06-12 18:26:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.364795)'), GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.36482)'))) / (select extract(epoch from '2026-06-12 18:26:17'::timestamp) - extract(epoch from '2026-06-12 18:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04238 -3.364795)'), GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.36482)'))) / (select extract(epoch from '2026-06-12 18:26:17'::timestamp) - extract(epoch from '2026-06-12 18:26: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'), 46569, 'SRID=4674;POINT (-39.042313 -3.364845)', '2026-06-12 18:26:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.36482)'), GeomFromEWKT('SRID=4674;POINT (-39.042313 -3.364845)'))) / (select extract(epoch from '2026-06-12 18:26:23'::timestamp) - extract(epoch from '2026-06-12 18:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042337 -3.36482)'), GeomFromEWKT('SRID=4674;POINT (-39.042313 -3.364845)'))) / (select extract(epoch from '2026-06-12 18:26:23'::timestamp) - extract(epoch from '2026-06-12 18:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46569, 'SRID=4674;POINT (-39.04229 -3.364865)', '2026-06-12 18:26:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042313 -3.364845)'), GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.364865)'))) / (select extract(epoch from '2026-06-12 18:26:33'::timestamp) - extract(epoch from '2026-06-12 18:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042313 -3.364845)'), GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.364865)'))) / (select extract(epoch from '2026-06-12 18:26:33'::timestamp) - extract(epoch from '2026-06-12 18:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
