 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.371501 -3.147734)', '2026-07-10 15:49:54', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371482 -3.147569)'), GeomFromEWKT('SRID=4674;POINT (-39.371501 -3.147734)'))) / (select extract(epoch from '2026-07-10 15:49:54'::timestamp) - extract(epoch from '2026-07-10 15:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371482 -3.147569)'), GeomFromEWKT('SRID=4674;POINT (-39.371501 -3.147734)'))) / (select extract(epoch from '2026-07-10 15:49:54'::timestamp) - extract(epoch from '2026-07-10 15:49: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'), 47507, 'SRID=4674;POINT (-39.371531 -3.147855)', '2026-07-10 15:50:00', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371501 -3.147734)'), GeomFromEWKT('SRID=4674;POINT (-39.371531 -3.147855)'))) / (select extract(epoch from '2026-07-10 15:50:00'::timestamp) - extract(epoch from '2026-07-10 15:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371501 -3.147734)'), GeomFromEWKT('SRID=4674;POINT (-39.371531 -3.147855)'))) / (select extract(epoch from '2026-07-10 15:50:00'::timestamp) - extract(epoch from '2026-07-10 15:49: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'), 47507, 'SRID=4674;POINT (-39.37155 -3.148035)', '2026-07-10 15:50:10', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371531 -3.147855)'), GeomFromEWKT('SRID=4674;POINT (-39.37155 -3.148035)'))) / (select extract(epoch from '2026-07-10 15:50:10'::timestamp) - extract(epoch from '2026-07-10 15:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371531 -3.147855)'), GeomFromEWKT('SRID=4674;POINT (-39.37155 -3.148035)'))) / (select extract(epoch from '2026-07-10 15:50:10'::timestamp) - extract(epoch from '2026-07-10 15:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.371581 -3.148159)', '2026-07-10 15:50:17', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37155 -3.148035)'), GeomFromEWKT('SRID=4674;POINT (-39.371581 -3.148159)'))) / (select extract(epoch from '2026-07-10 15:50:17'::timestamp) - extract(epoch from '2026-07-10 15:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37155 -3.148035)'), GeomFromEWKT('SRID=4674;POINT (-39.371581 -3.148159)'))) / (select extract(epoch from '2026-07-10 15:50:17'::timestamp) - extract(epoch from '2026-07-10 15:50:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.371604 -3.148273)', '2026-07-10 15:50:24', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371581 -3.148159)'), GeomFromEWKT('SRID=4674;POINT (-39.371604 -3.148273)'))) / (select extract(epoch from '2026-07-10 15:50:24'::timestamp) - extract(epoch from '2026-07-10 15:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371581 -3.148159)'), GeomFromEWKT('SRID=4674;POINT (-39.371604 -3.148273)'))) / (select extract(epoch from '2026-07-10 15:50:24'::timestamp) - extract(epoch from '2026-07-10 15:50:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.371618 -3.148378)', '2026-07-10 15:50:31', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371604 -3.148273)'), GeomFromEWKT('SRID=4674;POINT (-39.371618 -3.148378)'))) / (select extract(epoch from '2026-07-10 15:50:31'::timestamp) - extract(epoch from '2026-07-10 15:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371604 -3.148273)'), GeomFromEWKT('SRID=4674;POINT (-39.371618 -3.148378)'))) / (select extract(epoch from '2026-07-10 15:50:31'::timestamp) - extract(epoch from '2026-07-10 15:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.37163 -3.148487)', '2026-07-10 15:50:39', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371618 -3.148378)'), GeomFromEWKT('SRID=4674;POINT (-39.37163 -3.148487)'))) / (select extract(epoch from '2026-07-10 15:50:39'::timestamp) - extract(epoch from '2026-07-10 15:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371618 -3.148378)'), GeomFromEWKT('SRID=4674;POINT (-39.37163 -3.148487)'))) / (select extract(epoch from '2026-07-10 15:50:39'::timestamp) - extract(epoch from '2026-07-10 15:50: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'), 47507, 'SRID=4674;POINT (-39.371667 -3.148629)', '2026-07-10 15:50:45', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37163 -3.148487)'), GeomFromEWKT('SRID=4674;POINT (-39.371667 -3.148629)'))) / (select extract(epoch from '2026-07-10 15:50:45'::timestamp) - extract(epoch from '2026-07-10 15:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37163 -3.148487)'), GeomFromEWKT('SRID=4674;POINT (-39.371667 -3.148629)'))) / (select extract(epoch from '2026-07-10 15:50:45'::timestamp) - extract(epoch from '2026-07-10 15:50:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.371724 -3.148842)', '2026-07-10 15:50:54', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371667 -3.148629)'), GeomFromEWKT('SRID=4674;POINT (-39.371724 -3.148842)'))) / (select extract(epoch from '2026-07-10 15:50:54'::timestamp) - extract(epoch from '2026-07-10 15:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371667 -3.148629)'), GeomFromEWKT('SRID=4674;POINT (-39.371724 -3.148842)'))) / (select extract(epoch from '2026-07-10 15:50:54'::timestamp) - extract(epoch from '2026-07-10 15:50: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'), 47507, 'SRID=4674;POINT (-39.371739 -3.14903)', '2026-07-10 15:51:03', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371724 -3.148842)'), GeomFromEWKT('SRID=4674;POINT (-39.371739 -3.14903)'))) / (select extract(epoch from '2026-07-10 15:51:03'::timestamp) - extract(epoch from '2026-07-10 15:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371724 -3.148842)'), GeomFromEWKT('SRID=4674;POINT (-39.371739 -3.14903)'))) / (select extract(epoch from '2026-07-10 15:51:03'::timestamp) - extract(epoch from '2026-07-10 15:50: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'), 47507, 'SRID=4674;POINT (-39.371768 -3.149177)', '2026-07-10 15:51:11', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371739 -3.14903)'), GeomFromEWKT('SRID=4674;POINT (-39.371768 -3.149177)'))) / (select extract(epoch from '2026-07-10 15:51:11'::timestamp) - extract(epoch from '2026-07-10 15:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371739 -3.14903)'), GeomFromEWKT('SRID=4674;POINT (-39.371768 -3.149177)'))) / (select extract(epoch from '2026-07-10 15:51:11'::timestamp) - extract(epoch from '2026-07-10 15:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.371785 -3.149286)', '2026-07-10 15:51:19', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371768 -3.149177)'), GeomFromEWKT('SRID=4674;POINT (-39.371785 -3.149286)'))) / (select extract(epoch from '2026-07-10 15:51:19'::timestamp) - extract(epoch from '2026-07-10 15:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371768 -3.149177)'), GeomFromEWKT('SRID=4674;POINT (-39.371785 -3.149286)'))) / (select extract(epoch from '2026-07-10 15:51:19'::timestamp) - extract(epoch from '2026-07-10 15:51: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'), 47507, 'SRID=4674;POINT (-39.371835 -3.149417)', '2026-07-10 15:51:27', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371785 -3.149286)'), GeomFromEWKT('SRID=4674;POINT (-39.371835 -3.149417)'))) / (select extract(epoch from '2026-07-10 15:51:27'::timestamp) - extract(epoch from '2026-07-10 15:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371785 -3.149286)'), GeomFromEWKT('SRID=4674;POINT (-39.371835 -3.149417)'))) / (select extract(epoch from '2026-07-10 15:51:27'::timestamp) - extract(epoch from '2026-07-10 15:51: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'), 47507, 'SRID=4674;POINT (-39.37188 -3.149561)', '2026-07-10 15:51:34', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371835 -3.149417)'), GeomFromEWKT('SRID=4674;POINT (-39.37188 -3.149561)'))) / (select extract(epoch from '2026-07-10 15:51:34'::timestamp) - extract(epoch from '2026-07-10 15:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371835 -3.149417)'), GeomFromEWKT('SRID=4674;POINT (-39.37188 -3.149561)'))) / (select extract(epoch from '2026-07-10 15:51:34'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.371897 -3.149671)', '2026-07-10 15:51:41', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37188 -3.149561)'), GeomFromEWKT('SRID=4674;POINT (-39.371897 -3.149671)'))) / (select extract(epoch from '2026-07-10 15:51:41'::timestamp) - extract(epoch from '2026-07-10 15:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37188 -3.149561)'), GeomFromEWKT('SRID=4674;POINT (-39.371897 -3.149671)'))) / (select extract(epoch from '2026-07-10 15:51:41'::timestamp) - extract(epoch from '2026-07-10 15:51: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'), 47507, 'SRID=4674;POINT (-39.371888 -3.149784)', '2026-07-10 15:51:49', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371897 -3.149671)'), GeomFromEWKT('SRID=4674;POINT (-39.371888 -3.149784)'))) / (select extract(epoch from '2026-07-10 15:51:49'::timestamp) - extract(epoch from '2026-07-10 15:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371897 -3.149671)'), GeomFromEWKT('SRID=4674;POINT (-39.371888 -3.149784)'))) / (select extract(epoch from '2026-07-10 15:51:49'::timestamp) - extract(epoch from '2026-07-10 15:51: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'), 47507, 'SRID=4674;POINT (-39.371891 -3.14995)', '2026-07-10 15:51:57', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371888 -3.149784)'), GeomFromEWKT('SRID=4674;POINT (-39.371891 -3.14995)'))) / (select extract(epoch from '2026-07-10 15:51:57'::timestamp) - extract(epoch from '2026-07-10 15:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371888 -3.149784)'), GeomFromEWKT('SRID=4674;POINT (-39.371891 -3.14995)'))) / (select extract(epoch from '2026-07-10 15:51:57'::timestamp) - extract(epoch from '2026-07-10 15:51: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'), 47507, 'SRID=4674;POINT (-39.371903 -3.150081)', '2026-07-10 15:52:05', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371891 -3.14995)'), GeomFromEWKT('SRID=4674;POINT (-39.371903 -3.150081)'))) / (select extract(epoch from '2026-07-10 15:52:05'::timestamp) - extract(epoch from '2026-07-10 15:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371891 -3.14995)'), GeomFromEWKT('SRID=4674;POINT (-39.371903 -3.150081)'))) / (select extract(epoch from '2026-07-10 15:52:05'::timestamp) - extract(epoch from '2026-07-10 15:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.371902 -3.15017)', '2026-07-10 15:52:11', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371903 -3.150081)'), GeomFromEWKT('SRID=4674;POINT (-39.371902 -3.15017)'))) / (select extract(epoch from '2026-07-10 15:52:11'::timestamp) - extract(epoch from '2026-07-10 15:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371903 -3.150081)'), GeomFromEWKT('SRID=4674;POINT (-39.371902 -3.15017)'))) / (select extract(epoch from '2026-07-10 15:52:11'::timestamp) - extract(epoch from '2026-07-10 15:52: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'), 47507, 'SRID=4674;POINT (-39.371909 -3.150284)', '2026-07-10 15:52:18', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371902 -3.15017)'), GeomFromEWKT('SRID=4674;POINT (-39.371909 -3.150284)'))) / (select extract(epoch from '2026-07-10 15:52:18'::timestamp) - extract(epoch from '2026-07-10 15:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371902 -3.15017)'), GeomFromEWKT('SRID=4674;POINT (-39.371909 -3.150284)'))) / (select extract(epoch from '2026-07-10 15:52:18'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.371936 -3.150442)', '2026-07-10 15:52:26', 33, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371909 -3.150284)'), GeomFromEWKT('SRID=4674;POINT (-39.371936 -3.150442)'))) / (select extract(epoch from '2026-07-10 15:52:26'::timestamp) - extract(epoch from '2026-07-10 15:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371909 -3.150284)'), GeomFromEWKT('SRID=4674;POINT (-39.371936 -3.150442)'))) / (select extract(epoch from '2026-07-10 15:52:26'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.371966 -3.150537)', '2026-07-10 15:52:32', 33.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371936 -3.150442)'), GeomFromEWKT('SRID=4674;POINT (-39.371966 -3.150537)'))) / (select extract(epoch from '2026-07-10 15:52:32'::timestamp) - extract(epoch from '2026-07-10 15:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371936 -3.150442)'), GeomFromEWKT('SRID=4674;POINT (-39.371966 -3.150537)'))) / (select extract(epoch from '2026-07-10 15:52:32'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.372033 -3.15067)', '2026-07-10 15:52:40', 34.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371966 -3.150537)'), GeomFromEWKT('SRID=4674;POINT (-39.372033 -3.15067)'))) / (select extract(epoch from '2026-07-10 15:52:40'::timestamp) - extract(epoch from '2026-07-10 15:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371966 -3.150537)'), GeomFromEWKT('SRID=4674;POINT (-39.372033 -3.15067)'))) / (select extract(epoch from '2026-07-10 15:52:40'::timestamp) - extract(epoch from '2026-07-10 15:52: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'), 47507, 'SRID=4674;POINT (-39.372059 -3.15083)', '2026-07-10 15:52:49', 35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372033 -3.15067)'), GeomFromEWKT('SRID=4674;POINT (-39.372059 -3.15083)'))) / (select extract(epoch from '2026-07-10 15:52:49'::timestamp) - extract(epoch from '2026-07-10 15:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372033 -3.15067)'), GeomFromEWKT('SRID=4674;POINT (-39.372059 -3.15083)'))) / (select extract(epoch from '2026-07-10 15:52:49'::timestamp) - extract(epoch from '2026-07-10 15:52: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'), 47507, 'SRID=4674;POINT (-39.372093 -3.150983)', '2026-07-10 15:52:58', 35.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372059 -3.15083)'), GeomFromEWKT('SRID=4674;POINT (-39.372093 -3.150983)'))) / (select extract(epoch from '2026-07-10 15:52:58'::timestamp) - extract(epoch from '2026-07-10 15:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372059 -3.15083)'), GeomFromEWKT('SRID=4674;POINT (-39.372093 -3.150983)'))) / (select extract(epoch from '2026-07-10 15:52:58'::timestamp) - extract(epoch from '2026-07-10 15:52:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.372114 -3.151147)', '2026-07-10 15:53:05', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372093 -3.150983)'), GeomFromEWKT('SRID=4674;POINT (-39.372114 -3.151147)'))) / (select extract(epoch from '2026-07-10 15:53:05'::timestamp) - extract(epoch from '2026-07-10 15:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372093 -3.150983)'), GeomFromEWKT('SRID=4674;POINT (-39.372114 -3.151147)'))) / (select extract(epoch from '2026-07-10 15:53:05'::timestamp) - extract(epoch from '2026-07-10 15:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.372168 -3.15129)', '2026-07-10 15:53:12', 36.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372114 -3.151147)'), GeomFromEWKT('SRID=4674;POINT (-39.372168 -3.15129)'))) / (select extract(epoch from '2026-07-10 15:53:12'::timestamp) - extract(epoch from '2026-07-10 15:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372114 -3.151147)'), GeomFromEWKT('SRID=4674;POINT (-39.372168 -3.15129)'))) / (select extract(epoch from '2026-07-10 15:53:12'::timestamp) - extract(epoch from '2026-07-10 15:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.372218 -3.15146)', '2026-07-10 15:53:20', 36.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372168 -3.15129)'), GeomFromEWKT('SRID=4674;POINT (-39.372218 -3.15146)'))) / (select extract(epoch from '2026-07-10 15:53:20'::timestamp) - extract(epoch from '2026-07-10 15:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372168 -3.15129)'), GeomFromEWKT('SRID=4674;POINT (-39.372218 -3.15146)'))) / (select extract(epoch from '2026-07-10 15:53:20'::timestamp) - extract(epoch from '2026-07-10 15:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.372261 -3.151601)', '2026-07-10 15:53:28', 36.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372218 -3.15146)'), GeomFromEWKT('SRID=4674;POINT (-39.372261 -3.151601)'))) / (select extract(epoch from '2026-07-10 15:53:28'::timestamp) - extract(epoch from '2026-07-10 15:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372218 -3.15146)'), GeomFromEWKT('SRID=4674;POINT (-39.372261 -3.151601)'))) / (select extract(epoch from '2026-07-10 15:53:28'::timestamp) - extract(epoch from '2026-07-10 15:53: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'), 47507, 'SRID=4674;POINT (-39.372272 -3.151717)', '2026-07-10 15:53:34', 36.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372261 -3.151601)'), GeomFromEWKT('SRID=4674;POINT (-39.372272 -3.151717)'))) / (select extract(epoch from '2026-07-10 15:53:34'::timestamp) - extract(epoch from '2026-07-10 15:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372261 -3.151601)'), GeomFromEWKT('SRID=4674;POINT (-39.372272 -3.151717)'))) / (select extract(epoch from '2026-07-10 15:53:34'::timestamp) - extract(epoch from '2026-07-10 15:53: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'), 47507, 'SRID=4674;POINT (-39.372299 -3.151817)', '2026-07-10 15:53:40', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372272 -3.151717)'), GeomFromEWKT('SRID=4674;POINT (-39.372299 -3.151817)'))) / (select extract(epoch from '2026-07-10 15:53:40'::timestamp) - extract(epoch from '2026-07-10 15:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372272 -3.151717)'), GeomFromEWKT('SRID=4674;POINT (-39.372299 -3.151817)'))) / (select extract(epoch from '2026-07-10 15:53:40'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.372388 -3.151976)', '2026-07-10 15:53:49', 35.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372299 -3.151817)'), GeomFromEWKT('SRID=4674;POINT (-39.372388 -3.151976)'))) / (select extract(epoch from '2026-07-10 15:53:49'::timestamp) - extract(epoch from '2026-07-10 15:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372299 -3.151817)'), GeomFromEWKT('SRID=4674;POINT (-39.372388 -3.151976)'))) / (select extract(epoch from '2026-07-10 15:53:49'::timestamp) - extract(epoch from '2026-07-10 15:53:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.372433 -3.152082)', '2026-07-10 15:53:56', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372388 -3.151976)'), GeomFromEWKT('SRID=4674;POINT (-39.372433 -3.152082)'))) / (select extract(epoch from '2026-07-10 15:53:56'::timestamp) - extract(epoch from '2026-07-10 15:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372388 -3.151976)'), GeomFromEWKT('SRID=4674;POINT (-39.372433 -3.152082)'))) / (select extract(epoch from '2026-07-10 15:53:56'::timestamp) - extract(epoch from '2026-07-10 15:53: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'), 47507, 'SRID=4674;POINT (-39.372456 -3.152122)', '2026-07-10 15:53:59', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372433 -3.152082)'), GeomFromEWKT('SRID=4674;POINT (-39.372456 -3.152122)'))) / (select extract(epoch from '2026-07-10 15:53:59'::timestamp) - extract(epoch from '2026-07-10 15:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372433 -3.152082)'), GeomFromEWKT('SRID=4674;POINT (-39.372456 -3.152122)'))) / (select extract(epoch from '2026-07-10 15:53:59'::timestamp) - extract(epoch from '2026-07-10 15:53: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'), 47507, 'SRID=4674;POINT (-39.372474 -3.152162)', '2026-07-10 15:54:01', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372456 -3.152122)'), GeomFromEWKT('SRID=4674;POINT (-39.372474 -3.152162)'))) / (select extract(epoch from '2026-07-10 15:54:01'::timestamp) - extract(epoch from '2026-07-10 15:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372456 -3.152122)'), GeomFromEWKT('SRID=4674;POINT (-39.372474 -3.152162)'))) / (select extract(epoch from '2026-07-10 15:54:01'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.372496 -3.152259)', '2026-07-10 15:54:06', 35.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372474 -3.152162)'), GeomFromEWKT('SRID=4674;POINT (-39.372496 -3.152259)'))) / (select extract(epoch from '2026-07-10 15:54:06'::timestamp) - extract(epoch from '2026-07-10 15:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372474 -3.152162)'), GeomFromEWKT('SRID=4674;POINT (-39.372496 -3.152259)'))) / (select extract(epoch from '2026-07-10 15:54:06'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47507, 'SRID=4674;POINT (-39.372553 -3.152436)', '2026-07-10 15:54:15', 35.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372496 -3.152259)'), GeomFromEWKT('SRID=4674;POINT (-39.372553 -3.152436)'))) / (select extract(epoch from '2026-07-10 15:54:15'::timestamp) - extract(epoch from '2026-07-10 15:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372496 -3.152259)'), GeomFromEWKT('SRID=4674;POINT (-39.372553 -3.152436)'))) / (select extract(epoch from '2026-07-10 15:54:15'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47507, 'SRID=4674;POINT (-39.372581 -3.152551)', '2026-07-10 15:54:21', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372553 -3.152436)'), GeomFromEWKT('SRID=4674;POINT (-39.372581 -3.152551)'))) / (select extract(epoch from '2026-07-10 15:54:21'::timestamp) - extract(epoch from '2026-07-10 15:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372553 -3.152436)'), GeomFromEWKT('SRID=4674;POINT (-39.372581 -3.152551)'))) / (select extract(epoch from '2026-07-10 15:54:21'::timestamp) - extract(epoch from '2026-07-10 15:54:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.372591 -3.152666)', '2026-07-10 15:54:27', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372581 -3.152551)'), GeomFromEWKT('SRID=4674;POINT (-39.372591 -3.152666)'))) / (select extract(epoch from '2026-07-10 15:54:27'::timestamp) - extract(epoch from '2026-07-10 15:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372581 -3.152551)'), GeomFromEWKT('SRID=4674;POINT (-39.372591 -3.152666)'))) / (select extract(epoch from '2026-07-10 15:54:27'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47507, 'SRID=4674;POINT (-39.372573 -3.152732)', '2026-07-10 15:54:34', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372591 -3.152666)'), GeomFromEWKT('SRID=4674;POINT (-39.372573 -3.152732)'))) / (select extract(epoch from '2026-07-10 15:54:34'::timestamp) - extract(epoch from '2026-07-10 15:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372591 -3.152666)'), GeomFromEWKT('SRID=4674;POINT (-39.372573 -3.152732)'))) / (select extract(epoch from '2026-07-10 15:54:34'::timestamp) - extract(epoch from '2026-07-10 15:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.372619 -3.152898)', '2026-07-10 15:54:42', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372573 -3.152732)'), GeomFromEWKT('SRID=4674;POINT (-39.372619 -3.152898)'))) / (select extract(epoch from '2026-07-10 15:54:42'::timestamp) - extract(epoch from '2026-07-10 15:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372573 -3.152732)'), GeomFromEWKT('SRID=4674;POINT (-39.372619 -3.152898)'))) / (select extract(epoch from '2026-07-10 15:54:42'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47507, 'SRID=4674;POINT (-39.372674 -3.153029)', '2026-07-10 15:54:49', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372619 -3.152898)'), GeomFromEWKT('SRID=4674;POINT (-39.372674 -3.153029)'))) / (select extract(epoch from '2026-07-10 15:54:49'::timestamp) - extract(epoch from '2026-07-10 15:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372619 -3.152898)'), GeomFromEWKT('SRID=4674;POINT (-39.372674 -3.153029)'))) / (select extract(epoch from '2026-07-10 15:54:49'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47507, 'SRID=4674;POINT (-39.372721 -3.153146)', '2026-07-10 15:54:55', 35.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372674 -3.153029)'), GeomFromEWKT('SRID=4674;POINT (-39.372721 -3.153146)'))) / (select extract(epoch from '2026-07-10 15:54:55'::timestamp) - extract(epoch from '2026-07-10 15:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372674 -3.153029)'), GeomFromEWKT('SRID=4674;POINT (-39.372721 -3.153146)'))) / (select extract(epoch from '2026-07-10 15:54:55'::timestamp) - extract(epoch from '2026-07-10 15:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.372757 -3.153286)', '2026-07-10 15:55:02', 35.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372721 -3.153146)'), GeomFromEWKT('SRID=4674;POINT (-39.372757 -3.153286)'))) / (select extract(epoch from '2026-07-10 15:55:02'::timestamp) - extract(epoch from '2026-07-10 15:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372721 -3.153146)'), GeomFromEWKT('SRID=4674;POINT (-39.372757 -3.153286)'))) / (select extract(epoch from '2026-07-10 15:55:02'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47507, 'SRID=4674;POINT (-39.372809 -3.153411)', '2026-07-10 15:55:09', 35.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372757 -3.153286)'), GeomFromEWKT('SRID=4674;POINT (-39.372809 -3.153411)'))) / (select extract(epoch from '2026-07-10 15:55:09'::timestamp) - extract(epoch from '2026-07-10 15:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372757 -3.153286)'), GeomFromEWKT('SRID=4674;POINT (-39.372809 -3.153411)'))) / (select extract(epoch from '2026-07-10 15:55:09'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47507, 'SRID=4674;POINT (-39.372839 -3.15355)', '2026-07-10 15:55:17', 35.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372809 -3.153411)'), GeomFromEWKT('SRID=4674;POINT (-39.372839 -3.15355)'))) / (select extract(epoch from '2026-07-10 15:55:17'::timestamp) - extract(epoch from '2026-07-10 15:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372809 -3.153411)'), GeomFromEWKT('SRID=4674;POINT (-39.372839 -3.15355)'))) / (select extract(epoch from '2026-07-10 15:55:17'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47507, 'SRID=4674;POINT (-39.372874 -3.153683)', '2026-07-10 15:55:24', 35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372839 -3.15355)'), GeomFromEWKT('SRID=4674;POINT (-39.372874 -3.153683)'))) / (select extract(epoch from '2026-07-10 15:55:24'::timestamp) - extract(epoch from '2026-07-10 15:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372839 -3.15355)'), GeomFromEWKT('SRID=4674;POINT (-39.372874 -3.153683)'))) / (select extract(epoch from '2026-07-10 15:55:24'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47507, 'SRID=4674;POINT (-39.372926 -3.153849)', '2026-07-10 15:55:33', 35.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372874 -3.153683)'), GeomFromEWKT('SRID=4674;POINT (-39.372926 -3.153849)'))) / (select extract(epoch from '2026-07-10 15:55:33'::timestamp) - extract(epoch from '2026-07-10 15:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372874 -3.153683)'), GeomFromEWKT('SRID=4674;POINT (-39.372926 -3.153849)'))) / (select extract(epoch from '2026-07-10 15:55:33'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47507, 'SRID=4674;POINT (-39.372984 -3.153992)', '2026-07-10 15:55:41', 35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372926 -3.153849)'), GeomFromEWKT('SRID=4674;POINT (-39.372984 -3.153992)'))) / (select extract(epoch from '2026-07-10 15:55:41'::timestamp) - extract(epoch from '2026-07-10 15:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372926 -3.153849)'), GeomFromEWKT('SRID=4674;POINT (-39.372984 -3.153992)'))) / (select extract(epoch from '2026-07-10 15:55:41'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47507, 'SRID=4674;POINT (-39.373032 -3.154146)', '2026-07-10 15:55:49', 34.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372984 -3.153992)'), GeomFromEWKT('SRID=4674;POINT (-39.373032 -3.154146)'))) / (select extract(epoch from '2026-07-10 15:55:49'::timestamp) - extract(epoch from '2026-07-10 15:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372984 -3.153992)'), GeomFromEWKT('SRID=4674;POINT (-39.373032 -3.154146)'))) / (select extract(epoch from '2026-07-10 15:55:49'::timestamp) - extract(epoch from '2026-07-10 15:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.373078 -3.154323)', '2026-07-10 15:55:57', 33.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373032 -3.154146)'), GeomFromEWKT('SRID=4674;POINT (-39.373078 -3.154323)'))) / (select extract(epoch from '2026-07-10 15:55:57'::timestamp) - extract(epoch from '2026-07-10 15:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373032 -3.154146)'), GeomFromEWKT('SRID=4674;POINT (-39.373078 -3.154323)'))) / (select extract(epoch from '2026-07-10 15:55:57'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47507, 'SRID=4674;POINT (-39.373127 -3.154503)', '2026-07-10 15:56:05', 32.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373078 -3.154323)'), GeomFromEWKT('SRID=4674;POINT (-39.373127 -3.154503)'))) / (select extract(epoch from '2026-07-10 15:56:05'::timestamp) - extract(epoch from '2026-07-10 15:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373078 -3.154323)'), GeomFromEWKT('SRID=4674;POINT (-39.373127 -3.154503)'))) / (select extract(epoch from '2026-07-10 15:56:05'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47507, 'SRID=4674;POINT (-39.373173 -3.154658)', '2026-07-10 15:56:12', 32, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373127 -3.154503)'), GeomFromEWKT('SRID=4674;POINT (-39.373173 -3.154658)'))) / (select extract(epoch from '2026-07-10 15:56:12'::timestamp) - extract(epoch from '2026-07-10 15:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373127 -3.154503)'), GeomFromEWKT('SRID=4674;POINT (-39.373173 -3.154658)'))) / (select extract(epoch from '2026-07-10 15:56:12'::timestamp) - extract(epoch from '2026-07-10 15:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.373226 -3.154825)', '2026-07-10 15:56:19', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373173 -3.154658)'), GeomFromEWKT('SRID=4674;POINT (-39.373226 -3.154825)'))) / (select extract(epoch from '2026-07-10 15:56:19'::timestamp) - extract(epoch from '2026-07-10 15:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373173 -3.154658)'), GeomFromEWKT('SRID=4674;POINT (-39.373226 -3.154825)'))) / (select extract(epoch from '2026-07-10 15:56:19'::timestamp) - extract(epoch from '2026-07-10 15:56: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'), 47507, 'SRID=4674;POINT (-39.373263 -3.155006)', '2026-07-10 15:56:28', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373226 -3.154825)'), GeomFromEWKT('SRID=4674;POINT (-39.373263 -3.155006)'))) / (select extract(epoch from '2026-07-10 15:56:28'::timestamp) - extract(epoch from '2026-07-10 15:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373226 -3.154825)'), GeomFromEWKT('SRID=4674;POINT (-39.373263 -3.155006)'))) / (select extract(epoch from '2026-07-10 15:56:28'::timestamp) - extract(epoch from '2026-07-10 15:56: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'), 47507, 'SRID=4674;POINT (-39.37327 -3.155132)', '2026-07-10 15:56:35', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373263 -3.155006)'), GeomFromEWKT('SRID=4674;POINT (-39.37327 -3.155132)'))) / (select extract(epoch from '2026-07-10 15:56:35'::timestamp) - extract(epoch from '2026-07-10 15:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373263 -3.155006)'), GeomFromEWKT('SRID=4674;POINT (-39.37327 -3.155132)'))) / (select extract(epoch from '2026-07-10 15:56:35'::timestamp) - extract(epoch from '2026-07-10 15:56: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'), 47507, 'SRID=4674;POINT (-39.373295 -3.155272)', '2026-07-10 15:56:44', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37327 -3.155132)'), GeomFromEWKT('SRID=4674;POINT (-39.373295 -3.155272)'))) / (select extract(epoch from '2026-07-10 15:56:44'::timestamp) - extract(epoch from '2026-07-10 15:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37327 -3.155132)'), GeomFromEWKT('SRID=4674;POINT (-39.373295 -3.155272)'))) / (select extract(epoch from '2026-07-10 15:56:44'::timestamp) - extract(epoch from '2026-07-10 15:56: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'), 47507, 'SRID=4674;POINT (-39.373312 -3.155393)', '2026-07-10 15:56:52', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373295 -3.155272)'), GeomFromEWKT('SRID=4674;POINT (-39.373312 -3.155393)'))) / (select extract(epoch from '2026-07-10 15:56:52'::timestamp) - extract(epoch from '2026-07-10 15:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373295 -3.155272)'), GeomFromEWKT('SRID=4674;POINT (-39.373312 -3.155393)'))) / (select extract(epoch from '2026-07-10 15:56:52'::timestamp) - extract(epoch from '2026-07-10 15:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.373374 -3.15555)', '2026-07-10 15:57:00', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373312 -3.155393)'), GeomFromEWKT('SRID=4674;POINT (-39.373374 -3.15555)'))) / (select extract(epoch from '2026-07-10 15:57:00'::timestamp) - extract(epoch from '2026-07-10 15:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373312 -3.155393)'), GeomFromEWKT('SRID=4674;POINT (-39.373374 -3.15555)'))) / (select extract(epoch from '2026-07-10 15:57:00'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.373412 -3.155691)', '2026-07-10 15:57:08', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373374 -3.15555)'), GeomFromEWKT('SRID=4674;POINT (-39.373412 -3.155691)'))) / (select extract(epoch from '2026-07-10 15:57:08'::timestamp) - extract(epoch from '2026-07-10 15:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373374 -3.15555)'), GeomFromEWKT('SRID=4674;POINT (-39.373412 -3.155691)'))) / (select extract(epoch from '2026-07-10 15:57:08'::timestamp) - extract(epoch from '2026-07-10 15:57: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'), 47507, 'SRID=4674;POINT (-39.373458 -3.155788)', '2026-07-10 15:57:15', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373412 -3.155691)'), GeomFromEWKT('SRID=4674;POINT (-39.373458 -3.155788)'))) / (select extract(epoch from '2026-07-10 15:57:15'::timestamp) - extract(epoch from '2026-07-10 15:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373412 -3.155691)'), GeomFromEWKT('SRID=4674;POINT (-39.373458 -3.155788)'))) / (select extract(epoch from '2026-07-10 15:57:15'::timestamp) - extract(epoch from '2026-07-10 15:57: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'), 47507, 'SRID=4674;POINT (-39.37349 -3.155928)', '2026-07-10 15:57:23', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373458 -3.155788)'), GeomFromEWKT('SRID=4674;POINT (-39.37349 -3.155928)'))) / (select extract(epoch from '2026-07-10 15:57:23'::timestamp) - extract(epoch from '2026-07-10 15:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373458 -3.155788)'), GeomFromEWKT('SRID=4674;POINT (-39.37349 -3.155928)'))) / (select extract(epoch from '2026-07-10 15:57:23'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.373529 -3.156083)', '2026-07-10 15:57:32', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37349 -3.155928)'), GeomFromEWKT('SRID=4674;POINT (-39.373529 -3.156083)'))) / (select extract(epoch from '2026-07-10 15:57:32'::timestamp) - extract(epoch from '2026-07-10 15:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37349 -3.155928)'), GeomFromEWKT('SRID=4674;POINT (-39.373529 -3.156083)'))) / (select extract(epoch from '2026-07-10 15:57:32'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.373582 -3.156217)', '2026-07-10 15:57:42', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373529 -3.156083)'), GeomFromEWKT('SRID=4674;POINT (-39.373582 -3.156217)'))) / (select extract(epoch from '2026-07-10 15:57:42'::timestamp) - extract(epoch from '2026-07-10 15:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373529 -3.156083)'), GeomFromEWKT('SRID=4674;POINT (-39.373582 -3.156217)'))) / (select extract(epoch from '2026-07-10 15:57:42'::timestamp) - extract(epoch from '2026-07-10 15:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.373636 -3.156354)', '2026-07-10 15:57:49', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373582 -3.156217)'), GeomFromEWKT('SRID=4674;POINT (-39.373636 -3.156354)'))) / (select extract(epoch from '2026-07-10 15:57:49'::timestamp) - extract(epoch from '2026-07-10 15:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373582 -3.156217)'), GeomFromEWKT('SRID=4674;POINT (-39.373636 -3.156354)'))) / (select extract(epoch from '2026-07-10 15:57:49'::timestamp) - extract(epoch from '2026-07-10 15:57: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'), 47507, 'SRID=4674;POINT (-39.373658 -3.156486)', '2026-07-10 15:57:56', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373636 -3.156354)'), GeomFromEWKT('SRID=4674;POINT (-39.373658 -3.156486)'))) / (select extract(epoch from '2026-07-10 15:57:56'::timestamp) - extract(epoch from '2026-07-10 15:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373636 -3.156354)'), GeomFromEWKT('SRID=4674;POINT (-39.373658 -3.156486)'))) / (select extract(epoch from '2026-07-10 15:57:56'::timestamp) - extract(epoch from '2026-07-10 15:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.373697 -3.156637)', '2026-07-10 15:58:05', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373658 -3.156486)'), GeomFromEWKT('SRID=4674;POINT (-39.373697 -3.156637)'))) / (select extract(epoch from '2026-07-10 15:58:05'::timestamp) - extract(epoch from '2026-07-10 15:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373658 -3.156486)'), GeomFromEWKT('SRID=4674;POINT (-39.373697 -3.156637)'))) / (select extract(epoch from '2026-07-10 15:58:05'::timestamp) - extract(epoch from '2026-07-10 15:57: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'), 47507, 'SRID=4674;POINT (-39.373771 -3.156788)', '2026-07-10 15:58:13', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373697 -3.156637)'), GeomFromEWKT('SRID=4674;POINT (-39.373771 -3.156788)'))) / (select extract(epoch from '2026-07-10 15:58:13'::timestamp) - extract(epoch from '2026-07-10 15:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373697 -3.156637)'), GeomFromEWKT('SRID=4674;POINT (-39.373771 -3.156788)'))) / (select extract(epoch from '2026-07-10 15:58:13'::timestamp) - extract(epoch from '2026-07-10 15:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.37382 -3.156948)', '2026-07-10 15:58:22', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373771 -3.156788)'), GeomFromEWKT('SRID=4674;POINT (-39.37382 -3.156948)'))) / (select extract(epoch from '2026-07-10 15:58:22'::timestamp) - extract(epoch from '2026-07-10 15:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373771 -3.156788)'), GeomFromEWKT('SRID=4674;POINT (-39.37382 -3.156948)'))) / (select extract(epoch from '2026-07-10 15:58:22'::timestamp) - extract(epoch from '2026-07-10 15:58: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'), 47507, 'SRID=4674;POINT (-39.373859 -3.157061)', '2026-07-10 15:58:29', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37382 -3.156948)'), GeomFromEWKT('SRID=4674;POINT (-39.373859 -3.157061)'))) / (select extract(epoch from '2026-07-10 15:58:29'::timestamp) - extract(epoch from '2026-07-10 15:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37382 -3.156948)'), GeomFromEWKT('SRID=4674;POINT (-39.373859 -3.157061)'))) / (select extract(epoch from '2026-07-10 15:58:29'::timestamp) - extract(epoch from '2026-07-10 15:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.373897 -3.157229)', '2026-07-10 15:58:37', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373859 -3.157061)'), GeomFromEWKT('SRID=4674;POINT (-39.373897 -3.157229)'))) / (select extract(epoch from '2026-07-10 15:58:37'::timestamp) - extract(epoch from '2026-07-10 15:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373859 -3.157061)'), GeomFromEWKT('SRID=4674;POINT (-39.373897 -3.157229)'))) / (select extract(epoch from '2026-07-10 15:58:37'::timestamp) - extract(epoch from '2026-07-10 15:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.373952 -3.157363)', '2026-07-10 15:58:45', 28.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373897 -3.157229)'), GeomFromEWKT('SRID=4674;POINT (-39.373952 -3.157363)'))) / (select extract(epoch from '2026-07-10 15:58:45'::timestamp) - extract(epoch from '2026-07-10 15:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373897 -3.157229)'), GeomFromEWKT('SRID=4674;POINT (-39.373952 -3.157363)'))) / (select extract(epoch from '2026-07-10 15:58:45'::timestamp) - extract(epoch from '2026-07-10 15:58: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'), 47507, 'SRID=4674;POINT (-39.374017 -3.157473)', '2026-07-10 15:58:51', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373952 -3.157363)'), GeomFromEWKT('SRID=4674;POINT (-39.374017 -3.157473)'))) / (select extract(epoch from '2026-07-10 15:58:51'::timestamp) - extract(epoch from '2026-07-10 15:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373952 -3.157363)'), GeomFromEWKT('SRID=4674;POINT (-39.374017 -3.157473)'))) / (select extract(epoch from '2026-07-10 15:58:51'::timestamp) - extract(epoch from '2026-07-10 15:58: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'), 47507, 'SRID=4674;POINT (-39.374084 -3.157628)', '2026-07-10 15:58:59', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374017 -3.157473)'), GeomFromEWKT('SRID=4674;POINT (-39.374084 -3.157628)'))) / (select extract(epoch from '2026-07-10 15:58:59'::timestamp) - extract(epoch from '2026-07-10 15:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374017 -3.157473)'), GeomFromEWKT('SRID=4674;POINT (-39.374084 -3.157628)'))) / (select extract(epoch from '2026-07-10 15:58:59'::timestamp) - extract(epoch from '2026-07-10 15:58: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'), 47507, 'SRID=4674;POINT (-39.374077 -3.157676)', '2026-07-10 15:59:06', 29.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374084 -3.157628)'), GeomFromEWKT('SRID=4674;POINT (-39.374077 -3.157676)'))) / (select extract(epoch from '2026-07-10 15:59:06'::timestamp) - extract(epoch from '2026-07-10 15:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374084 -3.157628)'), GeomFromEWKT('SRID=4674;POINT (-39.374077 -3.157676)'))) / (select extract(epoch from '2026-07-10 15:59:06'::timestamp) - extract(epoch from '2026-07-10 15:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.374079 -3.157805)', '2026-07-10 15:59:13', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374077 -3.157676)'), GeomFromEWKT('SRID=4674;POINT (-39.374079 -3.157805)'))) / (select extract(epoch from '2026-07-10 15:59:13'::timestamp) - extract(epoch from '2026-07-10 15:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374077 -3.157676)'), GeomFromEWKT('SRID=4674;POINT (-39.374079 -3.157805)'))) / (select extract(epoch from '2026-07-10 15:59:13'::timestamp) - extract(epoch from '2026-07-10 15:59: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'), 47507, 'SRID=4674;POINT (-39.374107 -3.157912)', '2026-07-10 15:59:19', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374079 -3.157805)'), GeomFromEWKT('SRID=4674;POINT (-39.374107 -3.157912)'))) / (select extract(epoch from '2026-07-10 15:59:19'::timestamp) - extract(epoch from '2026-07-10 15:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374079 -3.157805)'), GeomFromEWKT('SRID=4674;POINT (-39.374107 -3.157912)'))) / (select extract(epoch from '2026-07-10 15:59:19'::timestamp) - extract(epoch from '2026-07-10 15:59: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'), 47507, 'SRID=4674;POINT (-39.374165 -3.158075)', '2026-07-10 15:59:29', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374107 -3.157912)'), GeomFromEWKT('SRID=4674;POINT (-39.374165 -3.158075)'))) / (select extract(epoch from '2026-07-10 15:59:29'::timestamp) - extract(epoch from '2026-07-10 15:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374107 -3.157912)'), GeomFromEWKT('SRID=4674;POINT (-39.374165 -3.158075)'))) / (select extract(epoch from '2026-07-10 15:59:29'::timestamp) - extract(epoch from '2026-07-10 15:59: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'), 47507, 'SRID=4674;POINT (-39.374207 -3.158186)', '2026-07-10 15:59:35', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374165 -3.158075)'), GeomFromEWKT('SRID=4674;POINT (-39.374207 -3.158186)'))) / (select extract(epoch from '2026-07-10 15:59:35'::timestamp) - extract(epoch from '2026-07-10 15:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374165 -3.158075)'), GeomFromEWKT('SRID=4674;POINT (-39.374207 -3.158186)'))) / (select extract(epoch from '2026-07-10 15:59:35'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.374269 -3.158347)', '2026-07-10 15:59:43', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374207 -3.158186)'), GeomFromEWKT('SRID=4674;POINT (-39.374269 -3.158347)'))) / (select extract(epoch from '2026-07-10 15:59:43'::timestamp) - extract(epoch from '2026-07-10 15:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374207 -3.158186)'), GeomFromEWKT('SRID=4674;POINT (-39.374269 -3.158347)'))) / (select extract(epoch from '2026-07-10 15:59:43'::timestamp) - extract(epoch from '2026-07-10 15:59: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'), 47507, 'SRID=4674;POINT (-39.374275 -3.158457)', '2026-07-10 15:59:50', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374269 -3.158347)'), GeomFromEWKT('SRID=4674;POINT (-39.374275 -3.158457)'))) / (select extract(epoch from '2026-07-10 15:59:50'::timestamp) - extract(epoch from '2026-07-10 15:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374269 -3.158347)'), GeomFromEWKT('SRID=4674;POINT (-39.374275 -3.158457)'))) / (select extract(epoch from '2026-07-10 15:59:50'::timestamp) - extract(epoch from '2026-07-10 15:59: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'), 47507, 'SRID=4674;POINT (-39.374311 -3.158587)', '2026-07-10 15:59:57', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374275 -3.158457)'), GeomFromEWKT('SRID=4674;POINT (-39.374311 -3.158587)'))) / (select extract(epoch from '2026-07-10 15:59:57'::timestamp) - extract(epoch from '2026-07-10 15:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374275 -3.158457)'), GeomFromEWKT('SRID=4674;POINT (-39.374311 -3.158587)'))) / (select extract(epoch from '2026-07-10 15:59:57'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47507, 'SRID=4674;POINT (-39.374365 -3.15873)', '2026-07-10 16:00:05', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374311 -3.158587)'), GeomFromEWKT('SRID=4674;POINT (-39.374365 -3.15873)'))) / (select extract(epoch from '2026-07-10 16:00:05'::timestamp) - extract(epoch from '2026-07-10 15:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374311 -3.158587)'), GeomFromEWKT('SRID=4674;POINT (-39.374365 -3.15873)'))) / (select extract(epoch from '2026-07-10 16:00:05'::timestamp) - extract(epoch from '2026-07-10 15:59: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'), 47507, 'SRID=4674;POINT (-39.374409 -3.158853)', '2026-07-10 16:00:11', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374365 -3.15873)'), GeomFromEWKT('SRID=4674;POINT (-39.374409 -3.158853)'))) / (select extract(epoch from '2026-07-10 16:00:11'::timestamp) - extract(epoch from '2026-07-10 16:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374365 -3.15873)'), GeomFromEWKT('SRID=4674;POINT (-39.374409 -3.158853)'))) / (select extract(epoch from '2026-07-10 16:00:11'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47507, 'SRID=4674;POINT (-39.374471 -3.158991)', '2026-07-10 16:00:18', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374409 -3.158853)'), GeomFromEWKT('SRID=4674;POINT (-39.374471 -3.158991)'))) / (select extract(epoch from '2026-07-10 16:00:18'::timestamp) - extract(epoch from '2026-07-10 16:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374409 -3.158853)'), GeomFromEWKT('SRID=4674;POINT (-39.374471 -3.158991)'))) / (select extract(epoch from '2026-07-10 16:00:18'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47507, 'SRID=4674;POINT (-39.374527 -3.159149)', '2026-07-10 16:00:25', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374471 -3.158991)'), GeomFromEWKT('SRID=4674;POINT (-39.374527 -3.159149)'))) / (select extract(epoch from '2026-07-10 16:00:25'::timestamp) - extract(epoch from '2026-07-10 16:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374471 -3.158991)'), GeomFromEWKT('SRID=4674;POINT (-39.374527 -3.159149)'))) / (select extract(epoch from '2026-07-10 16:00:25'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47507, 'SRID=4674;POINT (-39.374564 -3.159273)', '2026-07-10 16:00:34', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374527 -3.159149)'), GeomFromEWKT('SRID=4674;POINT (-39.374564 -3.159273)'))) / (select extract(epoch from '2026-07-10 16:00:34'::timestamp) - extract(epoch from '2026-07-10 16:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374527 -3.159149)'), GeomFromEWKT('SRID=4674;POINT (-39.374564 -3.159273)'))) / (select extract(epoch from '2026-07-10 16:00:34'::timestamp) - extract(epoch from '2026-07-10 16:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.374608 -3.1594)', '2026-07-10 16:00:41', 31.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374564 -3.159273)'), GeomFromEWKT('SRID=4674;POINT (-39.374608 -3.1594)'))) / (select extract(epoch from '2026-07-10 16:00:41'::timestamp) - extract(epoch from '2026-07-10 16:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374564 -3.159273)'), GeomFromEWKT('SRID=4674;POINT (-39.374608 -3.1594)'))) / (select extract(epoch from '2026-07-10 16:00:41'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47507, 'SRID=4674;POINT (-39.374681 -3.159551)', '2026-07-10 16:00:49', 31.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374608 -3.1594)'), GeomFromEWKT('SRID=4674;POINT (-39.374681 -3.159551)'))) / (select extract(epoch from '2026-07-10 16:00:49'::timestamp) - extract(epoch from '2026-07-10 16:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374608 -3.1594)'), GeomFromEWKT('SRID=4674;POINT (-39.374681 -3.159551)'))) / (select extract(epoch from '2026-07-10 16:00:49'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47507, 'SRID=4674;POINT (-39.374762 -3.159741)', '2026-07-10 16:00:59', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374681 -3.159551)'), GeomFromEWKT('SRID=4674;POINT (-39.374762 -3.159741)'))) / (select extract(epoch from '2026-07-10 16:00:59'::timestamp) - extract(epoch from '2026-07-10 16:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374681 -3.159551)'), GeomFromEWKT('SRID=4674;POINT (-39.374762 -3.159741)'))) / (select extract(epoch from '2026-07-10 16:00:59'::timestamp) - extract(epoch from '2026-07-10 16:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.374814 -3.15994)', '2026-07-10 16:01:09', 33, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374762 -3.159741)'), GeomFromEWKT('SRID=4674;POINT (-39.374814 -3.15994)'))) / (select extract(epoch from '2026-07-10 16:01:09'::timestamp) - extract(epoch from '2026-07-10 16:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374762 -3.159741)'), GeomFromEWKT('SRID=4674;POINT (-39.374814 -3.15994)'))) / (select extract(epoch from '2026-07-10 16:01:09'::timestamp) - extract(epoch from '2026-07-10 16:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.374876 -3.160059)', '2026-07-10 16:01:15', 34, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374814 -3.15994)'), GeomFromEWKT('SRID=4674;POINT (-39.374876 -3.160059)'))) / (select extract(epoch from '2026-07-10 16:01:15'::timestamp) - extract(epoch from '2026-07-10 16:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374814 -3.15994)'), GeomFromEWKT('SRID=4674;POINT (-39.374876 -3.160059)'))) / (select extract(epoch from '2026-07-10 16:01:15'::timestamp) - extract(epoch from '2026-07-10 16:01: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'), 47507, 'SRID=4674;POINT (-39.374952 -3.160227)', '2026-07-10 16:01:25', 33.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374876 -3.160059)'), GeomFromEWKT('SRID=4674;POINT (-39.374952 -3.160227)'))) / (select extract(epoch from '2026-07-10 16:01:25'::timestamp) - extract(epoch from '2026-07-10 16:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374876 -3.160059)'), GeomFromEWKT('SRID=4674;POINT (-39.374952 -3.160227)'))) / (select extract(epoch from '2026-07-10 16:01:25'::timestamp) - extract(epoch from '2026-07-10 16:01: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'), 47507, 'SRID=4674;POINT (-39.37501 -3.16036)', '2026-07-10 16:01:32', 31.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374952 -3.160227)'), GeomFromEWKT('SRID=4674;POINT (-39.37501 -3.16036)'))) / (select extract(epoch from '2026-07-10 16:01:32'::timestamp) - extract(epoch from '2026-07-10 16:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374952 -3.160227)'), GeomFromEWKT('SRID=4674;POINT (-39.37501 -3.16036)'))) / (select extract(epoch from '2026-07-10 16:01:32'::timestamp) - extract(epoch from '2026-07-10 16:01: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'), 47507, 'SRID=4674;POINT (-39.375021 -3.160475)', '2026-07-10 16:01:39', 31.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37501 -3.16036)'), GeomFromEWKT('SRID=4674;POINT (-39.375021 -3.160475)'))) / (select extract(epoch from '2026-07-10 16:01:39'::timestamp) - extract(epoch from '2026-07-10 16:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37501 -3.16036)'), GeomFromEWKT('SRID=4674;POINT (-39.375021 -3.160475)'))) / (select extract(epoch from '2026-07-10 16:01:39'::timestamp) - extract(epoch from '2026-07-10 16:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.37505 -3.160596)', '2026-07-10 16:01:46', 31.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375021 -3.160475)'), GeomFromEWKT('SRID=4674;POINT (-39.37505 -3.160596)'))) / (select extract(epoch from '2026-07-10 16:01:46'::timestamp) - extract(epoch from '2026-07-10 16:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375021 -3.160475)'), GeomFromEWKT('SRID=4674;POINT (-39.37505 -3.160596)'))) / (select extract(epoch from '2026-07-10 16:01:46'::timestamp) - extract(epoch from '2026-07-10 16:01: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'), 47507, 'SRID=4674;POINT (-39.37508 -3.160708)', '2026-07-10 16:01:53', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37505 -3.160596)'), GeomFromEWKT('SRID=4674;POINT (-39.37508 -3.160708)'))) / (select extract(epoch from '2026-07-10 16:01:53'::timestamp) - extract(epoch from '2026-07-10 16:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37505 -3.160596)'), GeomFromEWKT('SRID=4674;POINT (-39.37508 -3.160708)'))) / (select extract(epoch from '2026-07-10 16:01:53'::timestamp) - extract(epoch from '2026-07-10 16:01: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'), 47507, 'SRID=4674;POINT (-39.375125 -3.160812)', '2026-07-10 16:02:00', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37508 -3.160708)'), GeomFromEWKT('SRID=4674;POINT (-39.375125 -3.160812)'))) / (select extract(epoch from '2026-07-10 16:02:00'::timestamp) - extract(epoch from '2026-07-10 16:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37508 -3.160708)'), GeomFromEWKT('SRID=4674;POINT (-39.375125 -3.160812)'))) / (select extract(epoch from '2026-07-10 16:02:00'::timestamp) - extract(epoch from '2026-07-10 16:01: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'), 47507, 'SRID=4674;POINT (-39.375162 -3.160942)', '2026-07-10 16:02:06', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375125 -3.160812)'), GeomFromEWKT('SRID=4674;POINT (-39.375162 -3.160942)'))) / (select extract(epoch from '2026-07-10 16:02:06'::timestamp) - extract(epoch from '2026-07-10 16:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375125 -3.160812)'), GeomFromEWKT('SRID=4674;POINT (-39.375162 -3.160942)'))) / (select extract(epoch from '2026-07-10 16:02:06'::timestamp) - extract(epoch from '2026-07-10 16:02: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'), 47507, 'SRID=4674;POINT (-39.375209 -3.16112)', '2026-07-10 16:02:15', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375162 -3.160942)'), GeomFromEWKT('SRID=4674;POINT (-39.375209 -3.16112)'))) / (select extract(epoch from '2026-07-10 16:02:15'::timestamp) - extract(epoch from '2026-07-10 16:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375162 -3.160942)'), GeomFromEWKT('SRID=4674;POINT (-39.375209 -3.16112)'))) / (select extract(epoch from '2026-07-10 16:02:15'::timestamp) - extract(epoch from '2026-07-10 16:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.375251 -3.161249)', '2026-07-10 16:02:22', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375209 -3.16112)'), GeomFromEWKT('SRID=4674;POINT (-39.375251 -3.161249)'))) / (select extract(epoch from '2026-07-10 16:02:22'::timestamp) - extract(epoch from '2026-07-10 16:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375209 -3.16112)'), GeomFromEWKT('SRID=4674;POINT (-39.375251 -3.161249)'))) / (select extract(epoch from '2026-07-10 16:02:22'::timestamp) - extract(epoch from '2026-07-10 16:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.375283 -3.161377)', '2026-07-10 16:02:30', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375251 -3.161249)'), GeomFromEWKT('SRID=4674;POINT (-39.375283 -3.161377)'))) / (select extract(epoch from '2026-07-10 16:02:30'::timestamp) - extract(epoch from '2026-07-10 16:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375251 -3.161249)'), GeomFromEWKT('SRID=4674;POINT (-39.375283 -3.161377)'))) / (select extract(epoch from '2026-07-10 16:02:30'::timestamp) - extract(epoch from '2026-07-10 16:02: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'), 47507, 'SRID=4674;POINT (-39.375286 -3.161392)', '2026-07-10 16:02:31', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375283 -3.161377)'), GeomFromEWKT('SRID=4674;POINT (-39.375286 -3.161392)'))) / (select extract(epoch from '2026-07-10 16:02:31'::timestamp) - extract(epoch from '2026-07-10 16:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375283 -3.161377)'), GeomFromEWKT('SRID=4674;POINT (-39.375286 -3.161392)'))) / (select extract(epoch from '2026-07-10 16:02:31'::timestamp) - extract(epoch from '2026-07-10 16:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.375313 -3.161473)', '2026-07-10 16:02:35', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375286 -3.161392)'), GeomFromEWKT('SRID=4674;POINT (-39.375313 -3.161473)'))) / (select extract(epoch from '2026-07-10 16:02:35'::timestamp) - extract(epoch from '2026-07-10 16:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375286 -3.161392)'), GeomFromEWKT('SRID=4674;POINT (-39.375313 -3.161473)'))) / (select extract(epoch from '2026-07-10 16:02:35'::timestamp) - extract(epoch from '2026-07-10 16:02: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'), 47507, 'SRID=4674;POINT (-39.375355 -3.161589)', '2026-07-10 16:02:42', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375313 -3.161473)'), GeomFromEWKT('SRID=4674;POINT (-39.375355 -3.161589)'))) / (select extract(epoch from '2026-07-10 16:02:42'::timestamp) - extract(epoch from '2026-07-10 16:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375313 -3.161473)'), GeomFromEWKT('SRID=4674;POINT (-39.375355 -3.161589)'))) / (select extract(epoch from '2026-07-10 16:02:42'::timestamp) - extract(epoch from '2026-07-10 16:02: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'), 47507, 'SRID=4674;POINT (-39.375402 -3.161713)', '2026-07-10 16:02:49', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375355 -3.161589)'), GeomFromEWKT('SRID=4674;POINT (-39.375402 -3.161713)'))) / (select extract(epoch from '2026-07-10 16:02:49'::timestamp) - extract(epoch from '2026-07-10 16:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375355 -3.161589)'), GeomFromEWKT('SRID=4674;POINT (-39.375402 -3.161713)'))) / (select extract(epoch from '2026-07-10 16:02:49'::timestamp) - extract(epoch from '2026-07-10 16:02: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'), 47507, 'SRID=4674;POINT (-39.375463 -3.161831)', '2026-07-10 16:02:57', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375402 -3.161713)'), GeomFromEWKT('SRID=4674;POINT (-39.375463 -3.161831)'))) / (select extract(epoch from '2026-07-10 16:02:57'::timestamp) - extract(epoch from '2026-07-10 16:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375402 -3.161713)'), GeomFromEWKT('SRID=4674;POINT (-39.375463 -3.161831)'))) / (select extract(epoch from '2026-07-10 16:02:57'::timestamp) - extract(epoch from '2026-07-10 16:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.375534 -3.161972)', '2026-07-10 16:03:03', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375463 -3.161831)'), GeomFromEWKT('SRID=4674;POINT (-39.375534 -3.161972)'))) / (select extract(epoch from '2026-07-10 16:03:03'::timestamp) - extract(epoch from '2026-07-10 16:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375463 -3.161831)'), GeomFromEWKT('SRID=4674;POINT (-39.375534 -3.161972)'))) / (select extract(epoch from '2026-07-10 16:03:03'::timestamp) - extract(epoch from '2026-07-10 16:02: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'), 47507, 'SRID=4674;POINT (-39.37561 -3.162102)', '2026-07-10 16:03:10', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375534 -3.161972)'), GeomFromEWKT('SRID=4674;POINT (-39.37561 -3.162102)'))) / (select extract(epoch from '2026-07-10 16:03:10'::timestamp) - extract(epoch from '2026-07-10 16:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375534 -3.161972)'), GeomFromEWKT('SRID=4674;POINT (-39.37561 -3.162102)'))) / (select extract(epoch from '2026-07-10 16:03:10'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47507, 'SRID=4674;POINT (-39.375657 -3.162232)', '2026-07-10 16:03:16', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37561 -3.162102)'), GeomFromEWKT('SRID=4674;POINT (-39.375657 -3.162232)'))) / (select extract(epoch from '2026-07-10 16:03:16'::timestamp) - extract(epoch from '2026-07-10 16:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37561 -3.162102)'), GeomFromEWKT('SRID=4674;POINT (-39.375657 -3.162232)'))) / (select extract(epoch from '2026-07-10 16:03:16'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47507, 'SRID=4674;POINT (-39.375716 -3.162407)', '2026-07-10 16:03:24', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375657 -3.162232)'), GeomFromEWKT('SRID=4674;POINT (-39.375716 -3.162407)'))) / (select extract(epoch from '2026-07-10 16:03:24'::timestamp) - extract(epoch from '2026-07-10 16:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375657 -3.162232)'), GeomFromEWKT('SRID=4674;POINT (-39.375716 -3.162407)'))) / (select extract(epoch from '2026-07-10 16:03:24'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47507, 'SRID=4674;POINT (-39.375774 -3.162562)', '2026-07-10 16:03:32', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375716 -3.162407)'), GeomFromEWKT('SRID=4674;POINT (-39.375774 -3.162562)'))) / (select extract(epoch from '2026-07-10 16:03:32'::timestamp) - extract(epoch from '2026-07-10 16:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375716 -3.162407)'), GeomFromEWKT('SRID=4674;POINT (-39.375774 -3.162562)'))) / (select extract(epoch from '2026-07-10 16:03:32'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47507, 'SRID=4674;POINT (-39.375795 -3.162659)', '2026-07-10 16:03:39', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375774 -3.162562)'), GeomFromEWKT('SRID=4674;POINT (-39.375795 -3.162659)'))) / (select extract(epoch from '2026-07-10 16:03:39'::timestamp) - extract(epoch from '2026-07-10 16:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375774 -3.162562)'), GeomFromEWKT('SRID=4674;POINT (-39.375795 -3.162659)'))) / (select extract(epoch from '2026-07-10 16:03:39'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47507, 'SRID=4674;POINT (-39.37579 -3.162789)', '2026-07-10 16:03:47', 29.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375795 -3.162659)'), GeomFromEWKT('SRID=4674;POINT (-39.37579 -3.162789)'))) / (select extract(epoch from '2026-07-10 16:03:47'::timestamp) - extract(epoch from '2026-07-10 16:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375795 -3.162659)'), GeomFromEWKT('SRID=4674;POINT (-39.37579 -3.162789)'))) / (select extract(epoch from '2026-07-10 16:03:47'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47507, 'SRID=4674;POINT (-39.375802 -3.162899)', '2026-07-10 16:03:53', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37579 -3.162789)'), GeomFromEWKT('SRID=4674;POINT (-39.375802 -3.162899)'))) / (select extract(epoch from '2026-07-10 16:03:53'::timestamp) - extract(epoch from '2026-07-10 16:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37579 -3.162789)'), GeomFromEWKT('SRID=4674;POINT (-39.375802 -3.162899)'))) / (select extract(epoch from '2026-07-10 16:03:53'::timestamp) - extract(epoch from '2026-07-10 16:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.375836 -3.163068)', '2026-07-10 16:04:01', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375802 -3.162899)'), GeomFromEWKT('SRID=4674;POINT (-39.375836 -3.163068)'))) / (select extract(epoch from '2026-07-10 16:04:01'::timestamp) - extract(epoch from '2026-07-10 16:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375802 -3.162899)'), GeomFromEWKT('SRID=4674;POINT (-39.375836 -3.163068)'))) / (select extract(epoch from '2026-07-10 16:04:01'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47507, 'SRID=4674;POINT (-39.37584 -3.163166)', '2026-07-10 16:04:08', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375836 -3.163068)'), GeomFromEWKT('SRID=4674;POINT (-39.37584 -3.163166)'))) / (select extract(epoch from '2026-07-10 16:04:08'::timestamp) - extract(epoch from '2026-07-10 16:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375836 -3.163068)'), GeomFromEWKT('SRID=4674;POINT (-39.37584 -3.163166)'))) / (select extract(epoch from '2026-07-10 16:04:08'::timestamp) - extract(epoch from '2026-07-10 16:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.375859 -3.163273)', '2026-07-10 16:04:15', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37584 -3.163166)'), GeomFromEWKT('SRID=4674;POINT (-39.375859 -3.163273)'))) / (select extract(epoch from '2026-07-10 16:04:15'::timestamp) - extract(epoch from '2026-07-10 16:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37584 -3.163166)'), GeomFromEWKT('SRID=4674;POINT (-39.375859 -3.163273)'))) / (select extract(epoch from '2026-07-10 16:04:15'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47507, 'SRID=4674;POINT (-39.375873 -3.163366)', '2026-07-10 16:04:21', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375859 -3.163273)'), GeomFromEWKT('SRID=4674;POINT (-39.375873 -3.163366)'))) / (select extract(epoch from '2026-07-10 16:04:21'::timestamp) - extract(epoch from '2026-07-10 16:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375859 -3.163273)'), GeomFromEWKT('SRID=4674;POINT (-39.375873 -3.163366)'))) / (select extract(epoch from '2026-07-10 16:04:21'::timestamp) - extract(epoch from '2026-07-10 16:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.375882 -3.163484)', '2026-07-10 16:04:27', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375873 -3.163366)'), GeomFromEWKT('SRID=4674;POINT (-39.375882 -3.163484)'))) / (select extract(epoch from '2026-07-10 16:04:27'::timestamp) - extract(epoch from '2026-07-10 16:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375873 -3.163366)'), GeomFromEWKT('SRID=4674;POINT (-39.375882 -3.163484)'))) / (select extract(epoch from '2026-07-10 16:04:27'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.375904 -3.163577)', '2026-07-10 16:04:33', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375882 -3.163484)'), GeomFromEWKT('SRID=4674;POINT (-39.375904 -3.163577)'))) / (select extract(epoch from '2026-07-10 16:04:33'::timestamp) - extract(epoch from '2026-07-10 16:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375882 -3.163484)'), GeomFromEWKT('SRID=4674;POINT (-39.375904 -3.163577)'))) / (select extract(epoch from '2026-07-10 16:04:33'::timestamp) - extract(epoch from '2026-07-10 16:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.375955 -3.163696)', '2026-07-10 16:04:39', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375904 -3.163577)'), GeomFromEWKT('SRID=4674;POINT (-39.375955 -3.163696)'))) / (select extract(epoch from '2026-07-10 16:04:39'::timestamp) - extract(epoch from '2026-07-10 16:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375904 -3.163577)'), GeomFromEWKT('SRID=4674;POINT (-39.375955 -3.163696)'))) / (select extract(epoch from '2026-07-10 16:04:39'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47507, 'SRID=4674;POINT (-39.376035 -3.163856)', '2026-07-10 16:04:46', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375955 -3.163696)'), GeomFromEWKT('SRID=4674;POINT (-39.376035 -3.163856)'))) / (select extract(epoch from '2026-07-10 16:04:46'::timestamp) - extract(epoch from '2026-07-10 16:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375955 -3.163696)'), GeomFromEWKT('SRID=4674;POINT (-39.376035 -3.163856)'))) / (select extract(epoch from '2026-07-10 16:04:46'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47507, 'SRID=4674;POINT (-39.376095 -3.16398)', '2026-07-10 16:04:52', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376035 -3.163856)'), GeomFromEWKT('SRID=4674;POINT (-39.376095 -3.16398)'))) / (select extract(epoch from '2026-07-10 16:04:52'::timestamp) - extract(epoch from '2026-07-10 16:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376035 -3.163856)'), GeomFromEWKT('SRID=4674;POINT (-39.376095 -3.16398)'))) / (select extract(epoch from '2026-07-10 16:04:52'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47507, 'SRID=4674;POINT (-39.376142 -3.164122)', '2026-07-10 16:05:00', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376095 -3.16398)'), GeomFromEWKT('SRID=4674;POINT (-39.376142 -3.164122)'))) / (select extract(epoch from '2026-07-10 16:05:00'::timestamp) - extract(epoch from '2026-07-10 16:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376095 -3.16398)'), GeomFromEWKT('SRID=4674;POINT (-39.376142 -3.164122)'))) / (select extract(epoch from '2026-07-10 16:05:00'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47507, 'SRID=4674;POINT (-39.376219 -3.164278)', '2026-07-10 16:05:09', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376142 -3.164122)'), GeomFromEWKT('SRID=4674;POINT (-39.376219 -3.164278)'))) / (select extract(epoch from '2026-07-10 16:05:09'::timestamp) - extract(epoch from '2026-07-10 16:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376142 -3.164122)'), GeomFromEWKT('SRID=4674;POINT (-39.376219 -3.164278)'))) / (select extract(epoch from '2026-07-10 16:05:09'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.376239 -3.164423)', '2026-07-10 16:05:17', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376219 -3.164278)'), GeomFromEWKT('SRID=4674;POINT (-39.376239 -3.164423)'))) / (select extract(epoch from '2026-07-10 16:05:17'::timestamp) - extract(epoch from '2026-07-10 16:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376219 -3.164278)'), GeomFromEWKT('SRID=4674;POINT (-39.376239 -3.164423)'))) / (select extract(epoch from '2026-07-10 16:05:17'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47507, 'SRID=4674;POINT (-39.376276 -3.164597)', '2026-07-10 16:05:25', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376239 -3.164423)'), GeomFromEWKT('SRID=4674;POINT (-39.376276 -3.164597)'))) / (select extract(epoch from '2026-07-10 16:05:25'::timestamp) - extract(epoch from '2026-07-10 16:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376239 -3.164423)'), GeomFromEWKT('SRID=4674;POINT (-39.376276 -3.164597)'))) / (select extract(epoch from '2026-07-10 16:05:25'::timestamp) - extract(epoch from '2026-07-10 16:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.376336 -3.164716)', '2026-07-10 16:05:31', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376276 -3.164597)'), GeomFromEWKT('SRID=4674;POINT (-39.376336 -3.164716)'))) / (select extract(epoch from '2026-07-10 16:05:31'::timestamp) - extract(epoch from '2026-07-10 16:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376276 -3.164597)'), GeomFromEWKT('SRID=4674;POINT (-39.376336 -3.164716)'))) / (select extract(epoch from '2026-07-10 16:05:31'::timestamp) - extract(epoch from '2026-07-10 16:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.37635 -3.164822)', '2026-07-10 16:05:37', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376336 -3.164716)'), GeomFromEWKT('SRID=4674;POINT (-39.37635 -3.164822)'))) / (select extract(epoch from '2026-07-10 16:05:37'::timestamp) - extract(epoch from '2026-07-10 16:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376336 -3.164716)'), GeomFromEWKT('SRID=4674;POINT (-39.37635 -3.164822)'))) / (select extract(epoch from '2026-07-10 16:05:37'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47507, 'SRID=4674;POINT (-39.376361 -3.165028)', '2026-07-10 16:05:46', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37635 -3.164822)'), GeomFromEWKT('SRID=4674;POINT (-39.376361 -3.165028)'))) / (select extract(epoch from '2026-07-10 16:05:46'::timestamp) - extract(epoch from '2026-07-10 16:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37635 -3.164822)'), GeomFromEWKT('SRID=4674;POINT (-39.376361 -3.165028)'))) / (select extract(epoch from '2026-07-10 16:05:46'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47507, 'SRID=4674;POINT (-39.376382 -3.165133)', '2026-07-10 16:05:52', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376361 -3.165028)'), GeomFromEWKT('SRID=4674;POINT (-39.376382 -3.165133)'))) / (select extract(epoch from '2026-07-10 16:05:52'::timestamp) - extract(epoch from '2026-07-10 16:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376361 -3.165028)'), GeomFromEWKT('SRID=4674;POINT (-39.376382 -3.165133)'))) / (select extract(epoch from '2026-07-10 16:05:52'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47507, 'SRID=4674;POINT (-39.376434 -3.165286)', '2026-07-10 16:06:00', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376382 -3.165133)'), GeomFromEWKT('SRID=4674;POINT (-39.376434 -3.165286)'))) / (select extract(epoch from '2026-07-10 16:06:00'::timestamp) - extract(epoch from '2026-07-10 16:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376382 -3.165133)'), GeomFromEWKT('SRID=4674;POINT (-39.376434 -3.165286)'))) / (select extract(epoch from '2026-07-10 16:06:00'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47507, 'SRID=4674;POINT (-39.376514 -3.165417)', '2026-07-10 16:06:07', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376434 -3.165286)'), GeomFromEWKT('SRID=4674;POINT (-39.376514 -3.165417)'))) / (select extract(epoch from '2026-07-10 16:06:07'::timestamp) - extract(epoch from '2026-07-10 16:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376434 -3.165286)'), GeomFromEWKT('SRID=4674;POINT (-39.376514 -3.165417)'))) / (select extract(epoch from '2026-07-10 16:06:07'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.376583 -3.165601)', '2026-07-10 16:06:15', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376514 -3.165417)'), GeomFromEWKT('SRID=4674;POINT (-39.376583 -3.165601)'))) / (select extract(epoch from '2026-07-10 16:06:15'::timestamp) - extract(epoch from '2026-07-10 16:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376514 -3.165417)'), GeomFromEWKT('SRID=4674;POINT (-39.376583 -3.165601)'))) / (select extract(epoch from '2026-07-10 16:06:15'::timestamp) - extract(epoch from '2026-07-10 16:06: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'), 47507, 'SRID=4674;POINT (-39.376624 -3.165754)', '2026-07-10 16:06:23', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376583 -3.165601)'), GeomFromEWKT('SRID=4674;POINT (-39.376624 -3.165754)'))) / (select extract(epoch from '2026-07-10 16:06:23'::timestamp) - extract(epoch from '2026-07-10 16:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376583 -3.165601)'), GeomFromEWKT('SRID=4674;POINT (-39.376624 -3.165754)'))) / (select extract(epoch from '2026-07-10 16:06:23'::timestamp) - extract(epoch from '2026-07-10 16:06: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'), 47507, 'SRID=4674;POINT (-39.376663 -3.165945)', '2026-07-10 16:06:32', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376624 -3.165754)'), GeomFromEWKT('SRID=4674;POINT (-39.376663 -3.165945)'))) / (select extract(epoch from '2026-07-10 16:06:32'::timestamp) - extract(epoch from '2026-07-10 16:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376624 -3.165754)'), GeomFromEWKT('SRID=4674;POINT (-39.376663 -3.165945)'))) / (select extract(epoch from '2026-07-10 16:06:32'::timestamp) - extract(epoch from '2026-07-10 16:06: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'), 47507, 'SRID=4674;POINT (-39.376686 -3.166112)', '2026-07-10 16:06:39', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376663 -3.165945)'), GeomFromEWKT('SRID=4674;POINT (-39.376686 -3.166112)'))) / (select extract(epoch from '2026-07-10 16:06:39'::timestamp) - extract(epoch from '2026-07-10 16:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376663 -3.165945)'), GeomFromEWKT('SRID=4674;POINT (-39.376686 -3.166112)'))) / (select extract(epoch from '2026-07-10 16:06:39'::timestamp) - extract(epoch from '2026-07-10 16:06:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.376738 -3.166254)', '2026-07-10 16:06:46', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376686 -3.166112)'), GeomFromEWKT('SRID=4674;POINT (-39.376738 -3.166254)'))) / (select extract(epoch from '2026-07-10 16:06:46'::timestamp) - extract(epoch from '2026-07-10 16:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376686 -3.166112)'), GeomFromEWKT('SRID=4674;POINT (-39.376738 -3.166254)'))) / (select extract(epoch from '2026-07-10 16:06:46'::timestamp) - extract(epoch from '2026-07-10 16:06: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'), 47507, 'SRID=4674;POINT (-39.37678 -3.166374)', '2026-07-10 16:06:52', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376738 -3.166254)'), GeomFromEWKT('SRID=4674;POINT (-39.37678 -3.166374)'))) / (select extract(epoch from '2026-07-10 16:06:52'::timestamp) - extract(epoch from '2026-07-10 16:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376738 -3.166254)'), GeomFromEWKT('SRID=4674;POINT (-39.37678 -3.166374)'))) / (select extract(epoch from '2026-07-10 16:06:52'::timestamp) - extract(epoch from '2026-07-10 16:06: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'), 47507, 'SRID=4674;POINT (-39.376806 -3.166525)', '2026-07-10 16:07:01', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37678 -3.166374)'), GeomFromEWKT('SRID=4674;POINT (-39.376806 -3.166525)'))) / (select extract(epoch from '2026-07-10 16:07:01'::timestamp) - extract(epoch from '2026-07-10 16:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37678 -3.166374)'), GeomFromEWKT('SRID=4674;POINT (-39.376806 -3.166525)'))) / (select extract(epoch from '2026-07-10 16:07:01'::timestamp) - extract(epoch from '2026-07-10 16:06: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'), 47507, 'SRID=4674;POINT (-39.376837 -3.166648)', '2026-07-10 16:07:08', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376806 -3.166525)'), GeomFromEWKT('SRID=4674;POINT (-39.376837 -3.166648)'))) / (select extract(epoch from '2026-07-10 16:07:08'::timestamp) - extract(epoch from '2026-07-10 16:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376806 -3.166525)'), GeomFromEWKT('SRID=4674;POINT (-39.376837 -3.166648)'))) / (select extract(epoch from '2026-07-10 16:07:08'::timestamp) - extract(epoch from '2026-07-10 16:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.376869 -3.16678)', '2026-07-10 16:07:16', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376837 -3.166648)'), GeomFromEWKT('SRID=4674;POINT (-39.376869 -3.16678)'))) / (select extract(epoch from '2026-07-10 16:07:16'::timestamp) - extract(epoch from '2026-07-10 16:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376837 -3.166648)'), GeomFromEWKT('SRID=4674;POINT (-39.376869 -3.16678)'))) / (select extract(epoch from '2026-07-10 16:07:16'::timestamp) - extract(epoch from '2026-07-10 16:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.376893 -3.16689)', '2026-07-10 16:07:22', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376869 -3.16678)'), GeomFromEWKT('SRID=4674;POINT (-39.376893 -3.16689)'))) / (select extract(epoch from '2026-07-10 16:07:22'::timestamp) - extract(epoch from '2026-07-10 16:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376869 -3.16678)'), GeomFromEWKT('SRID=4674;POINT (-39.376893 -3.16689)'))) / (select extract(epoch from '2026-07-10 16:07:22'::timestamp) - extract(epoch from '2026-07-10 16:07: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'), 47507, 'SRID=4674;POINT (-39.376936 -3.167028)', '2026-07-10 16:07:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376893 -3.16689)'), GeomFromEWKT('SRID=4674;POINT (-39.376936 -3.167028)'))) / (select extract(epoch from '2026-07-10 16:07:30'::timestamp) - extract(epoch from '2026-07-10 16:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376893 -3.16689)'), GeomFromEWKT('SRID=4674;POINT (-39.376936 -3.167028)'))) / (select extract(epoch from '2026-07-10 16:07:30'::timestamp) - extract(epoch from '2026-07-10 16:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.376977 -3.167145)', '2026-07-10 16:07:36', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376936 -3.167028)'), GeomFromEWKT('SRID=4674;POINT (-39.376977 -3.167145)'))) / (select extract(epoch from '2026-07-10 16:07:36'::timestamp) - extract(epoch from '2026-07-10 16:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376936 -3.167028)'), GeomFromEWKT('SRID=4674;POINT (-39.376977 -3.167145)'))) / (select extract(epoch from '2026-07-10 16:07:36'::timestamp) - extract(epoch from '2026-07-10 16:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.37702 -3.167301)', '2026-07-10 16:07:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376977 -3.167145)'), GeomFromEWKT('SRID=4674;POINT (-39.37702 -3.167301)'))) / (select extract(epoch from '2026-07-10 16:07:43'::timestamp) - extract(epoch from '2026-07-10 16:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376977 -3.167145)'), GeomFromEWKT('SRID=4674;POINT (-39.37702 -3.167301)'))) / (select extract(epoch from '2026-07-10 16:07:43'::timestamp) - extract(epoch from '2026-07-10 16:07: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'), 47507, 'SRID=4674;POINT (-39.377042 -3.167418)', '2026-07-10 16:07:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37702 -3.167301)'), GeomFromEWKT('SRID=4674;POINT (-39.377042 -3.167418)'))) / (select extract(epoch from '2026-07-10 16:07:49'::timestamp) - extract(epoch from '2026-07-10 16:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37702 -3.167301)'), GeomFromEWKT('SRID=4674;POINT (-39.377042 -3.167418)'))) / (select extract(epoch from '2026-07-10 16:07:49'::timestamp) - extract(epoch from '2026-07-10 16:07: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'), 47507, 'SRID=4674;POINT (-39.377112 -3.167578)', '2026-07-10 16:07:57', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377042 -3.167418)'), GeomFromEWKT('SRID=4674;POINT (-39.377112 -3.167578)'))) / (select extract(epoch from '2026-07-10 16:07:57'::timestamp) - extract(epoch from '2026-07-10 16:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377042 -3.167418)'), GeomFromEWKT('SRID=4674;POINT (-39.377112 -3.167578)'))) / (select extract(epoch from '2026-07-10 16:07:57'::timestamp) - extract(epoch from '2026-07-10 16:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377166 -3.167726)', '2026-07-10 16:08:05', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377112 -3.167578)'), GeomFromEWKT('SRID=4674;POINT (-39.377166 -3.167726)'))) / (select extract(epoch from '2026-07-10 16:08:05'::timestamp) - extract(epoch from '2026-07-10 16:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377112 -3.167578)'), GeomFromEWKT('SRID=4674;POINT (-39.377166 -3.167726)'))) / (select extract(epoch from '2026-07-10 16:08:05'::timestamp) - extract(epoch from '2026-07-10 16:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377203 -3.167854)', '2026-07-10 16:08:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377166 -3.167726)'), GeomFromEWKT('SRID=4674;POINT (-39.377203 -3.167854)'))) / (select extract(epoch from '2026-07-10 16:08:12'::timestamp) - extract(epoch from '2026-07-10 16:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377166 -3.167726)'), GeomFromEWKT('SRID=4674;POINT (-39.377203 -3.167854)'))) / (select extract(epoch from '2026-07-10 16:08:12'::timestamp) - extract(epoch from '2026-07-10 16:08: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'), 47507, 'SRID=4674;POINT (-39.377244 -3.167994)', '2026-07-10 16:08:19', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377203 -3.167854)'), GeomFromEWKT('SRID=4674;POINT (-39.377244 -3.167994)'))) / (select extract(epoch from '2026-07-10 16:08:19'::timestamp) - extract(epoch from '2026-07-10 16:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377203 -3.167854)'), GeomFromEWKT('SRID=4674;POINT (-39.377244 -3.167994)'))) / (select extract(epoch from '2026-07-10 16:08:19'::timestamp) - extract(epoch from '2026-07-10 16:08:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377281 -3.168129)', '2026-07-10 16:08:27', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377244 -3.167994)'), GeomFromEWKT('SRID=4674;POINT (-39.377281 -3.168129)'))) / (select extract(epoch from '2026-07-10 16:08:27'::timestamp) - extract(epoch from '2026-07-10 16:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377244 -3.167994)'), GeomFromEWKT('SRID=4674;POINT (-39.377281 -3.168129)'))) / (select extract(epoch from '2026-07-10 16:08:27'::timestamp) - extract(epoch from '2026-07-10 16:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377283 -3.168241)', '2026-07-10 16:08:34', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377281 -3.168129)'), GeomFromEWKT('SRID=4674;POINT (-39.377283 -3.168241)'))) / (select extract(epoch from '2026-07-10 16:08:34'::timestamp) - extract(epoch from '2026-07-10 16:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377281 -3.168129)'), GeomFromEWKT('SRID=4674;POINT (-39.377283 -3.168241)'))) / (select extract(epoch from '2026-07-10 16:08:34'::timestamp) - extract(epoch from '2026-07-10 16:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377274 -3.168339)', '2026-07-10 16:08:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377283 -3.168241)'), GeomFromEWKT('SRID=4674;POINT (-39.377274 -3.168339)'))) / (select extract(epoch from '2026-07-10 16:08:39'::timestamp) - extract(epoch from '2026-07-10 16:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377283 -3.168241)'), GeomFromEWKT('SRID=4674;POINT (-39.377274 -3.168339)'))) / (select extract(epoch from '2026-07-10 16:08:39'::timestamp) - extract(epoch from '2026-07-10 16:08: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'), 47507, 'SRID=4674;POINT (-39.377302 -3.168424)', '2026-07-10 16:08:45', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377274 -3.168339)'), GeomFromEWKT('SRID=4674;POINT (-39.377302 -3.168424)'))) / (select extract(epoch from '2026-07-10 16:08:45'::timestamp) - extract(epoch from '2026-07-10 16:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377274 -3.168339)'), GeomFromEWKT('SRID=4674;POINT (-39.377302 -3.168424)'))) / (select extract(epoch from '2026-07-10 16:08:45'::timestamp) - extract(epoch from '2026-07-10 16:08: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'), 47507, 'SRID=4674;POINT (-39.377339 -3.168521)', '2026-07-10 16:08:51', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377302 -3.168424)'), GeomFromEWKT('SRID=4674;POINT (-39.377339 -3.168521)'))) / (select extract(epoch from '2026-07-10 16:08:51'::timestamp) - extract(epoch from '2026-07-10 16:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377302 -3.168424)'), GeomFromEWKT('SRID=4674;POINT (-39.377339 -3.168521)'))) / (select extract(epoch from '2026-07-10 16:08:51'::timestamp) - extract(epoch from '2026-07-10 16:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377397 -3.168626)', '2026-07-10 16:08:58', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377339 -3.168521)'), GeomFromEWKT('SRID=4674;POINT (-39.377397 -3.168626)'))) / (select extract(epoch from '2026-07-10 16:08:58'::timestamp) - extract(epoch from '2026-07-10 16:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377339 -3.168521)'), GeomFromEWKT('SRID=4674;POINT (-39.377397 -3.168626)'))) / (select extract(epoch from '2026-07-10 16:08:58'::timestamp) - extract(epoch from '2026-07-10 16:08: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'), 47507, 'SRID=4674;POINT (-39.377432 -3.168762)', '2026-07-10 16:09:05', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377397 -3.168626)'), GeomFromEWKT('SRID=4674;POINT (-39.377432 -3.168762)'))) / (select extract(epoch from '2026-07-10 16:09:05'::timestamp) - extract(epoch from '2026-07-10 16:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377397 -3.168626)'), GeomFromEWKT('SRID=4674;POINT (-39.377432 -3.168762)'))) / (select extract(epoch from '2026-07-10 16:09:05'::timestamp) - extract(epoch from '2026-07-10 16:08: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'), 47507, 'SRID=4674;POINT (-39.377446 -3.168876)', '2026-07-10 16:09:13', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377432 -3.168762)'), GeomFromEWKT('SRID=4674;POINT (-39.377446 -3.168876)'))) / (select extract(epoch from '2026-07-10 16:09:13'::timestamp) - extract(epoch from '2026-07-10 16:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377432 -3.168762)'), GeomFromEWKT('SRID=4674;POINT (-39.377446 -3.168876)'))) / (select extract(epoch from '2026-07-10 16:09:13'::timestamp) - extract(epoch from '2026-07-10 16:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377514 -3.169042)', '2026-07-10 16:09:21', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377446 -3.168876)'), GeomFromEWKT('SRID=4674;POINT (-39.377514 -3.169042)'))) / (select extract(epoch from '2026-07-10 16:09:21'::timestamp) - extract(epoch from '2026-07-10 16:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377446 -3.168876)'), GeomFromEWKT('SRID=4674;POINT (-39.377514 -3.169042)'))) / (select extract(epoch from '2026-07-10 16:09:21'::timestamp) - extract(epoch from '2026-07-10 16:09: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'), 47507, 'SRID=4674;POINT (-39.377602 -3.169171)', '2026-07-10 16:09:27', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377514 -3.169042)'), GeomFromEWKT('SRID=4674;POINT (-39.377602 -3.169171)'))) / (select extract(epoch from '2026-07-10 16:09:27'::timestamp) - extract(epoch from '2026-07-10 16:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377514 -3.169042)'), GeomFromEWKT('SRID=4674;POINT (-39.377602 -3.169171)'))) / (select extract(epoch from '2026-07-10 16:09:27'::timestamp) - extract(epoch from '2026-07-10 16:09: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'), 47507, 'SRID=4674;POINT (-39.377641 -3.169269)', '2026-07-10 16:09:33', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377602 -3.169171)'), GeomFromEWKT('SRID=4674;POINT (-39.377641 -3.169269)'))) / (select extract(epoch from '2026-07-10 16:09:33'::timestamp) - extract(epoch from '2026-07-10 16:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377602 -3.169171)'), GeomFromEWKT('SRID=4674;POINT (-39.377641 -3.169269)'))) / (select extract(epoch from '2026-07-10 16:09:33'::timestamp) - extract(epoch from '2026-07-10 16:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377654 -3.169365)', '2026-07-10 16:09:39', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377641 -3.169269)'), GeomFromEWKT('SRID=4674;POINT (-39.377654 -3.169365)'))) / (select extract(epoch from '2026-07-10 16:09:39'::timestamp) - extract(epoch from '2026-07-10 16:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377641 -3.169269)'), GeomFromEWKT('SRID=4674;POINT (-39.377654 -3.169365)'))) / (select extract(epoch from '2026-07-10 16:09:39'::timestamp) - extract(epoch from '2026-07-10 16:09: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'), 47507, 'SRID=4674;POINT (-39.377685 -3.169546)', '2026-07-10 16:09:48', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377654 -3.169365)'), GeomFromEWKT('SRID=4674;POINT (-39.377685 -3.169546)'))) / (select extract(epoch from '2026-07-10 16:09:48'::timestamp) - extract(epoch from '2026-07-10 16:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377654 -3.169365)'), GeomFromEWKT('SRID=4674;POINT (-39.377685 -3.169546)'))) / (select extract(epoch from '2026-07-10 16:09:48'::timestamp) - extract(epoch from '2026-07-10 16:09: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'), 47507, 'SRID=4674;POINT (-39.377728 -3.169662)', '2026-07-10 16:09:56', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377685 -3.169546)'), GeomFromEWKT('SRID=4674;POINT (-39.377728 -3.169662)'))) / (select extract(epoch from '2026-07-10 16:09:56'::timestamp) - extract(epoch from '2026-07-10 16:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377685 -3.169546)'), GeomFromEWKT('SRID=4674;POINT (-39.377728 -3.169662)'))) / (select extract(epoch from '2026-07-10 16:09:56'::timestamp) - extract(epoch from '2026-07-10 16:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.37776 -3.169795)', '2026-07-10 16:10:03', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377728 -3.169662)'), GeomFromEWKT('SRID=4674;POINT (-39.37776 -3.169795)'))) / (select extract(epoch from '2026-07-10 16:10:03'::timestamp) - extract(epoch from '2026-07-10 16:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377728 -3.169662)'), GeomFromEWKT('SRID=4674;POINT (-39.37776 -3.169795)'))) / (select extract(epoch from '2026-07-10 16:10:03'::timestamp) - extract(epoch from '2026-07-10 16:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377767 -3.169922)', '2026-07-10 16:10:10', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37776 -3.169795)'), GeomFromEWKT('SRID=4674;POINT (-39.377767 -3.169922)'))) / (select extract(epoch from '2026-07-10 16:10:10'::timestamp) - extract(epoch from '2026-07-10 16:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37776 -3.169795)'), GeomFromEWKT('SRID=4674;POINT (-39.377767 -3.169922)'))) / (select extract(epoch from '2026-07-10 16:10:10'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47507, 'SRID=4674;POINT (-39.377807 -3.170038)', '2026-07-10 16:10:16', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377767 -3.169922)'), GeomFromEWKT('SRID=4674;POINT (-39.377807 -3.170038)'))) / (select extract(epoch from '2026-07-10 16:10:16'::timestamp) - extract(epoch from '2026-07-10 16:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377767 -3.169922)'), GeomFromEWKT('SRID=4674;POINT (-39.377807 -3.170038)'))) / (select extract(epoch from '2026-07-10 16:10:16'::timestamp) - extract(epoch from '2026-07-10 16:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377858 -3.170154)', '2026-07-10 16:10:23', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377807 -3.170038)'), GeomFromEWKT('SRID=4674;POINT (-39.377858 -3.170154)'))) / (select extract(epoch from '2026-07-10 16:10:23'::timestamp) - extract(epoch from '2026-07-10 16:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377807 -3.170038)'), GeomFromEWKT('SRID=4674;POINT (-39.377858 -3.170154)'))) / (select extract(epoch from '2026-07-10 16:10:23'::timestamp) - extract(epoch from '2026-07-10 16:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377902 -3.170301)', '2026-07-10 16:10:31', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377858 -3.170154)'), GeomFromEWKT('SRID=4674;POINT (-39.377902 -3.170301)'))) / (select extract(epoch from '2026-07-10 16:10:31'::timestamp) - extract(epoch from '2026-07-10 16:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377858 -3.170154)'), GeomFromEWKT('SRID=4674;POINT (-39.377902 -3.170301)'))) / (select extract(epoch from '2026-07-10 16:10:31'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47507, 'SRID=4674;POINT (-39.377923 -3.170433)', '2026-07-10 16:10:39', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377902 -3.170301)'), GeomFromEWKT('SRID=4674;POINT (-39.377923 -3.170433)'))) / (select extract(epoch from '2026-07-10 16:10:39'::timestamp) - extract(epoch from '2026-07-10 16:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377902 -3.170301)'), GeomFromEWKT('SRID=4674;POINT (-39.377923 -3.170433)'))) / (select extract(epoch from '2026-07-10 16:10:39'::timestamp) - extract(epoch from '2026-07-10 16:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377951 -3.170543)', '2026-07-10 16:10:46', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377923 -3.170433)'), GeomFromEWKT('SRID=4674;POINT (-39.377951 -3.170543)'))) / (select extract(epoch from '2026-07-10 16:10:46'::timestamp) - extract(epoch from '2026-07-10 16:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377923 -3.170433)'), GeomFromEWKT('SRID=4674;POINT (-39.377951 -3.170543)'))) / (select extract(epoch from '2026-07-10 16:10:46'::timestamp) - extract(epoch from '2026-07-10 16:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.377982 -3.170639)', '2026-07-10 16:10:52', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377951 -3.170543)'), GeomFromEWKT('SRID=4674;POINT (-39.377982 -3.170639)'))) / (select extract(epoch from '2026-07-10 16:10:52'::timestamp) - extract(epoch from '2026-07-10 16:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377951 -3.170543)'), GeomFromEWKT('SRID=4674;POINT (-39.377982 -3.170639)'))) / (select extract(epoch from '2026-07-10 16:10:52'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47507, 'SRID=4674;POINT (-39.378029 -3.170755)', '2026-07-10 16:10:59', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377982 -3.170639)'), GeomFromEWKT('SRID=4674;POINT (-39.378029 -3.170755)'))) / (select extract(epoch from '2026-07-10 16:10:59'::timestamp) - extract(epoch from '2026-07-10 16:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377982 -3.170639)'), GeomFromEWKT('SRID=4674;POINT (-39.378029 -3.170755)'))) / (select extract(epoch from '2026-07-10 16:10:59'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47507, 'SRID=4674;POINT (-39.37803 -3.170894)', '2026-07-10 16:11:06', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378029 -3.170755)'), GeomFromEWKT('SRID=4674;POINT (-39.37803 -3.170894)'))) / (select extract(epoch from '2026-07-10 16:11:06'::timestamp) - extract(epoch from '2026-07-10 16:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378029 -3.170755)'), GeomFromEWKT('SRID=4674;POINT (-39.37803 -3.170894)'))) / (select extract(epoch from '2026-07-10 16:11:06'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47507, 'SRID=4674;POINT (-39.37807 -3.171018)', '2026-07-10 16:11:13', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37803 -3.170894)'), GeomFromEWKT('SRID=4674;POINT (-39.37807 -3.171018)'))) / (select extract(epoch from '2026-07-10 16:11:13'::timestamp) - extract(epoch from '2026-07-10 16:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37803 -3.170894)'), GeomFromEWKT('SRID=4674;POINT (-39.37807 -3.171018)'))) / (select extract(epoch from '2026-07-10 16:11:13'::timestamp) - extract(epoch from '2026-07-10 16:11: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'), 47507, 'SRID=4674;POINT (-39.378099 -3.17117)', '2026-07-10 16:11:21', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37807 -3.171018)'), GeomFromEWKT('SRID=4674;POINT (-39.378099 -3.17117)'))) / (select extract(epoch from '2026-07-10 16:11:21'::timestamp) - extract(epoch from '2026-07-10 16:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37807 -3.171018)'), GeomFromEWKT('SRID=4674;POINT (-39.378099 -3.17117)'))) / (select extract(epoch from '2026-07-10 16:11:21'::timestamp) - extract(epoch from '2026-07-10 16:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.378099 -3.171325)', '2026-07-10 16:11:29', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378099 -3.17117)'), GeomFromEWKT('SRID=4674;POINT (-39.378099 -3.171325)'))) / (select extract(epoch from '2026-07-10 16:11:29'::timestamp) - extract(epoch from '2026-07-10 16:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378099 -3.17117)'), GeomFromEWKT('SRID=4674;POINT (-39.378099 -3.171325)'))) / (select extract(epoch from '2026-07-10 16:11:29'::timestamp) - extract(epoch from '2026-07-10 16:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.378156 -3.171509)', '2026-07-10 16:11:39', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378099 -3.171325)'), GeomFromEWKT('SRID=4674;POINT (-39.378156 -3.171509)'))) / (select extract(epoch from '2026-07-10 16:11:39'::timestamp) - extract(epoch from '2026-07-10 16:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378099 -3.171325)'), GeomFromEWKT('SRID=4674;POINT (-39.378156 -3.171509)'))) / (select extract(epoch from '2026-07-10 16:11:39'::timestamp) - extract(epoch from '2026-07-10 16:11: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'), 47507, 'SRID=4674;POINT (-39.378228 -3.171648)', '2026-07-10 16:11:47', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378156 -3.171509)'), GeomFromEWKT('SRID=4674;POINT (-39.378228 -3.171648)'))) / (select extract(epoch from '2026-07-10 16:11:47'::timestamp) - extract(epoch from '2026-07-10 16:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378156 -3.171509)'), GeomFromEWKT('SRID=4674;POINT (-39.378228 -3.171648)'))) / (select extract(epoch from '2026-07-10 16:11:47'::timestamp) - extract(epoch from '2026-07-10 16:11: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'), 47507, 'SRID=4674;POINT (-39.378261 -3.171763)', '2026-07-10 16:11:53', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378228 -3.171648)'), GeomFromEWKT('SRID=4674;POINT (-39.378261 -3.171763)'))) / (select extract(epoch from '2026-07-10 16:11:53'::timestamp) - extract(epoch from '2026-07-10 16:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378228 -3.171648)'), GeomFromEWKT('SRID=4674;POINT (-39.378261 -3.171763)'))) / (select extract(epoch from '2026-07-10 16:11:53'::timestamp) - extract(epoch from '2026-07-10 16:11: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'), 47507, 'SRID=4674;POINT (-39.378266 -3.171907)', '2026-07-10 16:12:01', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378261 -3.171763)'), GeomFromEWKT('SRID=4674;POINT (-39.378266 -3.171907)'))) / (select extract(epoch from '2026-07-10 16:12:01'::timestamp) - extract(epoch from '2026-07-10 16:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378261 -3.171763)'), GeomFromEWKT('SRID=4674;POINT (-39.378266 -3.171907)'))) / (select extract(epoch from '2026-07-10 16:12:01'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.378291 -3.172012)', '2026-07-10 16:12:08', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378266 -3.171907)'), GeomFromEWKT('SRID=4674;POINT (-39.378291 -3.172012)'))) / (select extract(epoch from '2026-07-10 16:12:08'::timestamp) - extract(epoch from '2026-07-10 16:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378266 -3.171907)'), GeomFromEWKT('SRID=4674;POINT (-39.378291 -3.172012)'))) / (select extract(epoch from '2026-07-10 16:12:08'::timestamp) - extract(epoch from '2026-07-10 16:12: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'), 47507, 'SRID=4674;POINT (-39.378317 -3.172138)', '2026-07-10 16:12:16', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378291 -3.172012)'), GeomFromEWKT('SRID=4674;POINT (-39.378317 -3.172138)'))) / (select extract(epoch from '2026-07-10 16:12:16'::timestamp) - extract(epoch from '2026-07-10 16:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378291 -3.172012)'), GeomFromEWKT('SRID=4674;POINT (-39.378317 -3.172138)'))) / (select extract(epoch from '2026-07-10 16:12:16'::timestamp) - extract(epoch from '2026-07-10 16:12: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'), 47507, 'SRID=4674;POINT (-39.378338 -3.172263)', '2026-07-10 16:12:23', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378317 -3.172138)'), GeomFromEWKT('SRID=4674;POINT (-39.378338 -3.172263)'))) / (select extract(epoch from '2026-07-10 16:12:23'::timestamp) - extract(epoch from '2026-07-10 16:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378317 -3.172138)'), GeomFromEWKT('SRID=4674;POINT (-39.378338 -3.172263)'))) / (select extract(epoch from '2026-07-10 16:12:23'::timestamp) - extract(epoch from '2026-07-10 16:12: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'), 47507, 'SRID=4674;POINT (-39.378355 -3.172388)', '2026-07-10 16:12:30', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378338 -3.172263)'), GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.172388)'))) / (select extract(epoch from '2026-07-10 16:12:30'::timestamp) - extract(epoch from '2026-07-10 16:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378338 -3.172263)'), GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.172388)'))) / (select extract(epoch from '2026-07-10 16:12:30'::timestamp) - extract(epoch from '2026-07-10 16:12:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.378401 -3.172557)', '2026-07-10 16:12:38', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.172388)'), GeomFromEWKT('SRID=4674;POINT (-39.378401 -3.172557)'))) / (select extract(epoch from '2026-07-10 16:12:38'::timestamp) - extract(epoch from '2026-07-10 16:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.172388)'), GeomFromEWKT('SRID=4674;POINT (-39.378401 -3.172557)'))) / (select extract(epoch from '2026-07-10 16:12:38'::timestamp) - extract(epoch from '2026-07-10 16:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.378442 -3.172698)', '2026-07-10 16:12:46', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378401 -3.172557)'), GeomFromEWKT('SRID=4674;POINT (-39.378442 -3.172698)'))) / (select extract(epoch from '2026-07-10 16:12:46'::timestamp) - extract(epoch from '2026-07-10 16:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378401 -3.172557)'), GeomFromEWKT('SRID=4674;POINT (-39.378442 -3.172698)'))) / (select extract(epoch from '2026-07-10 16:12:46'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.378481 -3.1728)', '2026-07-10 16:12:52', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378442 -3.172698)'), GeomFromEWKT('SRID=4674;POINT (-39.378481 -3.1728)'))) / (select extract(epoch from '2026-07-10 16:12:52'::timestamp) - extract(epoch from '2026-07-10 16:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378442 -3.172698)'), GeomFromEWKT('SRID=4674;POINT (-39.378481 -3.1728)'))) / (select extract(epoch from '2026-07-10 16:12:52'::timestamp) - extract(epoch from '2026-07-10 16:12: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'), 47507, 'SRID=4674;POINT (-39.378532 -3.172939)', '2026-07-10 16:13:00', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378481 -3.1728)'), GeomFromEWKT('SRID=4674;POINT (-39.378532 -3.172939)'))) / (select extract(epoch from '2026-07-10 16:13:00'::timestamp) - extract(epoch from '2026-07-10 16:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378481 -3.1728)'), GeomFromEWKT('SRID=4674;POINT (-39.378532 -3.172939)'))) / (select extract(epoch from '2026-07-10 16:13:00'::timestamp) - extract(epoch from '2026-07-10 16:12: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'), 47507, 'SRID=4674;POINT (-39.378571 -3.173091)', '2026-07-10 16:13:08', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378532 -3.172939)'), GeomFromEWKT('SRID=4674;POINT (-39.378571 -3.173091)'))) / (select extract(epoch from '2026-07-10 16:13:08'::timestamp) - extract(epoch from '2026-07-10 16:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378532 -3.172939)'), GeomFromEWKT('SRID=4674;POINT (-39.378571 -3.173091)'))) / (select extract(epoch from '2026-07-10 16:13:08'::timestamp) - extract(epoch from '2026-07-10 16:13: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'), 47507, 'SRID=4674;POINT (-39.3786 -3.173209)', '2026-07-10 16:13:15', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378571 -3.173091)'), GeomFromEWKT('SRID=4674;POINT (-39.3786 -3.173209)'))) / (select extract(epoch from '2026-07-10 16:13:15'::timestamp) - extract(epoch from '2026-07-10 16:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378571 -3.173091)'), GeomFromEWKT('SRID=4674;POINT (-39.3786 -3.173209)'))) / (select extract(epoch from '2026-07-10 16:13:15'::timestamp) - extract(epoch from '2026-07-10 16:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.378651 -3.173336)', '2026-07-10 16:13:22', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3786 -3.173209)'), GeomFromEWKT('SRID=4674;POINT (-39.378651 -3.173336)'))) / (select extract(epoch from '2026-07-10 16:13:22'::timestamp) - extract(epoch from '2026-07-10 16:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3786 -3.173209)'), GeomFromEWKT('SRID=4674;POINT (-39.378651 -3.173336)'))) / (select extract(epoch from '2026-07-10 16:13:22'::timestamp) - extract(epoch from '2026-07-10 16:13: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'), 47507, 'SRID=4674;POINT (-39.378707 -3.173436)', '2026-07-10 16:13:28', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378651 -3.173336)'), GeomFromEWKT('SRID=4674;POINT (-39.378707 -3.173436)'))) / (select extract(epoch from '2026-07-10 16:13:28'::timestamp) - extract(epoch from '2026-07-10 16:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378651 -3.173336)'), GeomFromEWKT('SRID=4674;POINT (-39.378707 -3.173436)'))) / (select extract(epoch from '2026-07-10 16:13:28'::timestamp) - extract(epoch from '2026-07-10 16:13: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'), 47507, 'SRID=4674;POINT (-39.378743 -3.173572)', '2026-07-10 16:13:36', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378707 -3.173436)'), GeomFromEWKT('SRID=4674;POINT (-39.378743 -3.173572)'))) / (select extract(epoch from '2026-07-10 16:13:36'::timestamp) - extract(epoch from '2026-07-10 16:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378707 -3.173436)'), GeomFromEWKT('SRID=4674;POINT (-39.378743 -3.173572)'))) / (select extract(epoch from '2026-07-10 16:13:36'::timestamp) - extract(epoch from '2026-07-10 16:13: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'), 47507, 'SRID=4674;POINT (-39.378762 -3.173705)', '2026-07-10 16:13:44', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378743 -3.173572)'), GeomFromEWKT('SRID=4674;POINT (-39.378762 -3.173705)'))) / (select extract(epoch from '2026-07-10 16:13:44'::timestamp) - extract(epoch from '2026-07-10 16:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378743 -3.173572)'), GeomFromEWKT('SRID=4674;POINT (-39.378762 -3.173705)'))) / (select extract(epoch from '2026-07-10 16:13:44'::timestamp) - extract(epoch from '2026-07-10 16:13:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.378813 -3.173849)', '2026-07-10 16:13:51', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378762 -3.173705)'), GeomFromEWKT('SRID=4674;POINT (-39.378813 -3.173849)'))) / (select extract(epoch from '2026-07-10 16:13:51'::timestamp) - extract(epoch from '2026-07-10 16:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378762 -3.173705)'), GeomFromEWKT('SRID=4674;POINT (-39.378813 -3.173849)'))) / (select extract(epoch from '2026-07-10 16:13:51'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.378842 -3.173986)', '2026-07-10 16:13:58', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378813 -3.173849)'), GeomFromEWKT('SRID=4674;POINT (-39.378842 -3.173986)'))) / (select extract(epoch from '2026-07-10 16:13:58'::timestamp) - extract(epoch from '2026-07-10 16:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378813 -3.173849)'), GeomFromEWKT('SRID=4674;POINT (-39.378842 -3.173986)'))) / (select extract(epoch from '2026-07-10 16:13:58'::timestamp) - extract(epoch from '2026-07-10 16:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.378881 -3.17414)', '2026-07-10 16:14:06', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378842 -3.173986)'), GeomFromEWKT('SRID=4674;POINT (-39.378881 -3.17414)'))) / (select extract(epoch from '2026-07-10 16:14:06'::timestamp) - extract(epoch from '2026-07-10 16:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378842 -3.173986)'), GeomFromEWKT('SRID=4674;POINT (-39.378881 -3.17414)'))) / (select extract(epoch from '2026-07-10 16:14:06'::timestamp) - extract(epoch from '2026-07-10 16:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.378894 -3.174244)', '2026-07-10 16:14:13', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378881 -3.17414)'), GeomFromEWKT('SRID=4674;POINT (-39.378894 -3.174244)'))) / (select extract(epoch from '2026-07-10 16:14:13'::timestamp) - extract(epoch from '2026-07-10 16:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378881 -3.17414)'), GeomFromEWKT('SRID=4674;POINT (-39.378894 -3.174244)'))) / (select extract(epoch from '2026-07-10 16:14:13'::timestamp) - extract(epoch from '2026-07-10 16:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.378907 -3.174364)', '2026-07-10 16:14:20', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378894 -3.174244)'), GeomFromEWKT('SRID=4674;POINT (-39.378907 -3.174364)'))) / (select extract(epoch from '2026-07-10 16:14:20'::timestamp) - extract(epoch from '2026-07-10 16:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378894 -3.174244)'), GeomFromEWKT('SRID=4674;POINT (-39.378907 -3.174364)'))) / (select extract(epoch from '2026-07-10 16:14:20'::timestamp) - extract(epoch from '2026-07-10 16:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.378921 -3.174467)', '2026-07-10 16:14:26', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378907 -3.174364)'), GeomFromEWKT('SRID=4674;POINT (-39.378921 -3.174467)'))) / (select extract(epoch from '2026-07-10 16:14:26'::timestamp) - extract(epoch from '2026-07-10 16:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378907 -3.174364)'), GeomFromEWKT('SRID=4674;POINT (-39.378921 -3.174467)'))) / (select extract(epoch from '2026-07-10 16:14:26'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47507, 'SRID=4674;POINT (-39.378956 -3.17456)', '2026-07-10 16:14:32', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378921 -3.174467)'), GeomFromEWKT('SRID=4674;POINT (-39.378956 -3.17456)'))) / (select extract(epoch from '2026-07-10 16:14:32'::timestamp) - extract(epoch from '2026-07-10 16:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378921 -3.174467)'), GeomFromEWKT('SRID=4674;POINT (-39.378956 -3.17456)'))) / (select extract(epoch from '2026-07-10 16:14:32'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47507, 'SRID=4674;POINT (-39.379028 -3.174688)', '2026-07-10 16:14:40', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378956 -3.17456)'), GeomFromEWKT('SRID=4674;POINT (-39.379028 -3.174688)'))) / (select extract(epoch from '2026-07-10 16:14:40'::timestamp) - extract(epoch from '2026-07-10 16:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378956 -3.17456)'), GeomFromEWKT('SRID=4674;POINT (-39.379028 -3.174688)'))) / (select extract(epoch from '2026-07-10 16:14:40'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47507, 'SRID=4674;POINT (-39.379077 -3.174813)', '2026-07-10 16:14:47', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379028 -3.174688)'), GeomFromEWKT('SRID=4674;POINT (-39.379077 -3.174813)'))) / (select extract(epoch from '2026-07-10 16:14:47'::timestamp) - extract(epoch from '2026-07-10 16:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379028 -3.174688)'), GeomFromEWKT('SRID=4674;POINT (-39.379077 -3.174813)'))) / (select extract(epoch from '2026-07-10 16:14:47'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47507, 'SRID=4674;POINT (-39.379117 -3.174945)', '2026-07-10 16:14:54', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379077 -3.174813)'), GeomFromEWKT('SRID=4674;POINT (-39.379117 -3.174945)'))) / (select extract(epoch from '2026-07-10 16:14:54'::timestamp) - extract(epoch from '2026-07-10 16:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379077 -3.174813)'), GeomFromEWKT('SRID=4674;POINT (-39.379117 -3.174945)'))) / (select extract(epoch from '2026-07-10 16:14:54'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47507, 'SRID=4674;POINT (-39.379157 -3.175073)', '2026-07-10 16:15:01', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379117 -3.174945)'), GeomFromEWKT('SRID=4674;POINT (-39.379157 -3.175073)'))) / (select extract(epoch from '2026-07-10 16:15:01'::timestamp) - extract(epoch from '2026-07-10 16:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379117 -3.174945)'), GeomFromEWKT('SRID=4674;POINT (-39.379157 -3.175073)'))) / (select extract(epoch from '2026-07-10 16:15:01'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47507, 'SRID=4674;POINT (-39.379207 -3.175195)', '2026-07-10 16:15:07', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379157 -3.175073)'), GeomFromEWKT('SRID=4674;POINT (-39.379207 -3.175195)'))) / (select extract(epoch from '2026-07-10 16:15:07'::timestamp) - extract(epoch from '2026-07-10 16:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379157 -3.175073)'), GeomFromEWKT('SRID=4674;POINT (-39.379207 -3.175195)'))) / (select extract(epoch from '2026-07-10 16:15:07'::timestamp) - extract(epoch from '2026-07-10 16:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.379269 -3.175287)', '2026-07-10 16:15:13', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379207 -3.175195)'), GeomFromEWKT('SRID=4674;POINT (-39.379269 -3.175287)'))) / (select extract(epoch from '2026-07-10 16:15:13'::timestamp) - extract(epoch from '2026-07-10 16:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379207 -3.175195)'), GeomFromEWKT('SRID=4674;POINT (-39.379269 -3.175287)'))) / (select extract(epoch from '2026-07-10 16:15:13'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47507, 'SRID=4674;POINT (-39.37934 -3.1754)', '2026-07-10 16:15:20', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379269 -3.175287)'), GeomFromEWKT('SRID=4674;POINT (-39.37934 -3.1754)'))) / (select extract(epoch from '2026-07-10 16:15:20'::timestamp) - extract(epoch from '2026-07-10 16:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379269 -3.175287)'), GeomFromEWKT('SRID=4674;POINT (-39.37934 -3.1754)'))) / (select extract(epoch from '2026-07-10 16:15:20'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.379427 -3.175501)', '2026-07-10 16:15:28', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37934 -3.1754)'), GeomFromEWKT('SRID=4674;POINT (-39.379427 -3.175501)'))) / (select extract(epoch from '2026-07-10 16:15:28'::timestamp) - extract(epoch from '2026-07-10 16:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37934 -3.1754)'), GeomFromEWKT('SRID=4674;POINT (-39.379427 -3.175501)'))) / (select extract(epoch from '2026-07-10 16:15:28'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47507, 'SRID=4674;POINT (-39.379522 -3.175574)', '2026-07-10 16:15:34', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379427 -3.175501)'), GeomFromEWKT('SRID=4674;POINT (-39.379522 -3.175574)'))) / (select extract(epoch from '2026-07-10 16:15:34'::timestamp) - extract(epoch from '2026-07-10 16:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379427 -3.175501)'), GeomFromEWKT('SRID=4674;POINT (-39.379522 -3.175574)'))) / (select extract(epoch from '2026-07-10 16:15:34'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47507, 'SRID=4674;POINT (-39.379642 -3.17566)', '2026-07-10 16:15:42', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379522 -3.175574)'), GeomFromEWKT('SRID=4674;POINT (-39.379642 -3.17566)'))) / (select extract(epoch from '2026-07-10 16:15:42'::timestamp) - extract(epoch from '2026-07-10 16:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379522 -3.175574)'), GeomFromEWKT('SRID=4674;POINT (-39.379642 -3.17566)'))) / (select extract(epoch from '2026-07-10 16:15:42'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47507, 'SRID=4674;POINT (-39.379776 -3.175807)', '2026-07-10 16:15:53', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379642 -3.17566)'), GeomFromEWKT('SRID=4674;POINT (-39.379776 -3.175807)'))) / (select extract(epoch from '2026-07-10 16:15:53'::timestamp) - extract(epoch from '2026-07-10 16:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379642 -3.17566)'), GeomFromEWKT('SRID=4674;POINT (-39.379776 -3.175807)'))) / (select extract(epoch from '2026-07-10 16:15:53'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47507, 'SRID=4674;POINT (-39.379886 -3.175917)', '2026-07-10 16:16:01', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379776 -3.175807)'), GeomFromEWKT('SRID=4674;POINT (-39.379886 -3.175917)'))) / (select extract(epoch from '2026-07-10 16:16:01'::timestamp) - extract(epoch from '2026-07-10 16:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379776 -3.175807)'), GeomFromEWKT('SRID=4674;POINT (-39.379886 -3.175917)'))) / (select extract(epoch from '2026-07-10 16:16:01'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47507, 'SRID=4674;POINT (-39.379977 -3.17601)', '2026-07-10 16:16:08', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379886 -3.175917)'), GeomFromEWKT('SRID=4674;POINT (-39.379977 -3.17601)'))) / (select extract(epoch from '2026-07-10 16:16:08'::timestamp) - extract(epoch from '2026-07-10 16:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379886 -3.175917)'), GeomFromEWKT('SRID=4674;POINT (-39.379977 -3.17601)'))) / (select extract(epoch from '2026-07-10 16:16:08'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47507, 'SRID=4674;POINT (-39.380085 -3.176107)', '2026-07-10 16:16:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379977 -3.17601)'), GeomFromEWKT('SRID=4674;POINT (-39.380085 -3.176107)'))) / (select extract(epoch from '2026-07-10 16:16:16'::timestamp) - extract(epoch from '2026-07-10 16:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379977 -3.17601)'), GeomFromEWKT('SRID=4674;POINT (-39.380085 -3.176107)'))) / (select extract(epoch from '2026-07-10 16:16:16'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47507, 'SRID=4674;POINT (-39.380216 -3.17624)', '2026-07-10 16:16:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380085 -3.176107)'), GeomFromEWKT('SRID=4674;POINT (-39.380216 -3.17624)'))) / (select extract(epoch from '2026-07-10 16:16:25'::timestamp) - extract(epoch from '2026-07-10 16:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380085 -3.176107)'), GeomFromEWKT('SRID=4674;POINT (-39.380216 -3.17624)'))) / (select extract(epoch from '2026-07-10 16:16:25'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47507, 'SRID=4674;POINT (-39.380337 -3.176372)', '2026-07-10 16:16:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380216 -3.17624)'), GeomFromEWKT('SRID=4674;POINT (-39.380337 -3.176372)'))) / (select extract(epoch from '2026-07-10 16:16:34'::timestamp) - extract(epoch from '2026-07-10 16:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380216 -3.17624)'), GeomFromEWKT('SRID=4674;POINT (-39.380337 -3.176372)'))) / (select extract(epoch from '2026-07-10 16:16:34'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47507, 'SRID=4674;POINT (-39.380443 -3.1765)', '2026-07-10 16:16:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380337 -3.176372)'), GeomFromEWKT('SRID=4674;POINT (-39.380443 -3.1765)'))) / (select extract(epoch from '2026-07-10 16:16:42'::timestamp) - extract(epoch from '2026-07-10 16:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380337 -3.176372)'), GeomFromEWKT('SRID=4674;POINT (-39.380443 -3.1765)'))) / (select extract(epoch from '2026-07-10 16:16:42'::timestamp) - extract(epoch from '2026-07-10 16:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.380596 -3.176665)', '2026-07-10 16:16:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380443 -3.1765)'), GeomFromEWKT('SRID=4674;POINT (-39.380596 -3.176665)'))) / (select extract(epoch from '2026-07-10 16:16:52'::timestamp) - extract(epoch from '2026-07-10 16:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380443 -3.1765)'), GeomFromEWKT('SRID=4674;POINT (-39.380596 -3.176665)'))) / (select extract(epoch from '2026-07-10 16:16:52'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47507, 'SRID=4674;POINT (-39.380687 -3.176769)', '2026-07-10 16:16:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380596 -3.176665)'), GeomFromEWKT('SRID=4674;POINT (-39.380687 -3.176769)'))) / (select extract(epoch from '2026-07-10 16:16:58'::timestamp) - extract(epoch from '2026-07-10 16:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380596 -3.176665)'), GeomFromEWKT('SRID=4674;POINT (-39.380687 -3.176769)'))) / (select extract(epoch from '2026-07-10 16:16:58'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47507, 'SRID=4674;POINT (-39.380751 -3.176856)', '2026-07-10 16:17:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380687 -3.176769)'), GeomFromEWKT('SRID=4674;POINT (-39.380751 -3.176856)'))) / (select extract(epoch from '2026-07-10 16:17:03'::timestamp) - extract(epoch from '2026-07-10 16:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380687 -3.176769)'), GeomFromEWKT('SRID=4674;POINT (-39.380751 -3.176856)'))) / (select extract(epoch from '2026-07-10 16:17:03'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47507, 'SRID=4674;POINT (-39.380861 -3.176969)', '2026-07-10 16:17:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380751 -3.176856)'), GeomFromEWKT('SRID=4674;POINT (-39.380861 -3.176969)'))) / (select extract(epoch from '2026-07-10 16:17:11'::timestamp) - extract(epoch from '2026-07-10 16:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380751 -3.176856)'), GeomFromEWKT('SRID=4674;POINT (-39.380861 -3.176969)'))) / (select extract(epoch from '2026-07-10 16:17:11'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47507, 'SRID=4674;POINT (-39.380983 -3.177078)', '2026-07-10 16:17:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380861 -3.176969)'), GeomFromEWKT('SRID=4674;POINT (-39.380983 -3.177078)'))) / (select extract(epoch from '2026-07-10 16:17:19'::timestamp) - extract(epoch from '2026-07-10 16:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380861 -3.176969)'), GeomFromEWKT('SRID=4674;POINT (-39.380983 -3.177078)'))) / (select extract(epoch from '2026-07-10 16:17:19'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47507, 'SRID=4674;POINT (-39.381076 -3.177189)', '2026-07-10 16:17:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380983 -3.177078)'), GeomFromEWKT('SRID=4674;POINT (-39.381076 -3.177189)'))) / (select extract(epoch from '2026-07-10 16:17:25'::timestamp) - extract(epoch from '2026-07-10 16:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380983 -3.177078)'), GeomFromEWKT('SRID=4674;POINT (-39.381076 -3.177189)'))) / (select extract(epoch from '2026-07-10 16:17:25'::timestamp) - extract(epoch from '2026-07-10 16:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.381146 -3.177268)', '2026-07-10 16:17:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381076 -3.177189)'), GeomFromEWKT('SRID=4674;POINT (-39.381146 -3.177268)'))) / (select extract(epoch from '2026-07-10 16:17:31'::timestamp) - extract(epoch from '2026-07-10 16:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381076 -3.177189)'), GeomFromEWKT('SRID=4674;POINT (-39.381146 -3.177268)'))) / (select extract(epoch from '2026-07-10 16:17:31'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47507, 'SRID=4674;POINT (-39.381223 -3.177365)', '2026-07-10 16:17:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381146 -3.177268)'), GeomFromEWKT('SRID=4674;POINT (-39.381223 -3.177365)'))) / (select extract(epoch from '2026-07-10 16:17:36'::timestamp) - extract(epoch from '2026-07-10 16:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381146 -3.177268)'), GeomFromEWKT('SRID=4674;POINT (-39.381223 -3.177365)'))) / (select extract(epoch from '2026-07-10 16:17:36'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47507, 'SRID=4674;POINT (-39.381318 -3.17749)', '2026-07-10 16:17:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381223 -3.177365)'), GeomFromEWKT('SRID=4674;POINT (-39.381318 -3.17749)'))) / (select extract(epoch from '2026-07-10 16:17:44'::timestamp) - extract(epoch from '2026-07-10 16:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381223 -3.177365)'), GeomFromEWKT('SRID=4674;POINT (-39.381318 -3.17749)'))) / (select extract(epoch from '2026-07-10 16:17:44'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47507, 'SRID=4674;POINT (-39.381392 -3.177618)', '2026-07-10 16:17:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381318 -3.17749)'), GeomFromEWKT('SRID=4674;POINT (-39.381392 -3.177618)'))) / (select extract(epoch from '2026-07-10 16:17:51'::timestamp) - extract(epoch from '2026-07-10 16:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381318 -3.17749)'), GeomFromEWKT('SRID=4674;POINT (-39.381392 -3.177618)'))) / (select extract(epoch from '2026-07-10 16:17:51'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47507, 'SRID=4674;POINT (-39.381466 -3.177773)', '2026-07-10 16:17:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381392 -3.177618)'), GeomFromEWKT('SRID=4674;POINT (-39.381466 -3.177773)'))) / (select extract(epoch from '2026-07-10 16:17:57'::timestamp) - extract(epoch from '2026-07-10 16:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381392 -3.177618)'), GeomFromEWKT('SRID=4674;POINT (-39.381466 -3.177773)'))) / (select extract(epoch from '2026-07-10 16:17:57'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47507, 'SRID=4674;POINT (-39.381563 -3.177914)', '2026-07-10 16:18:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381466 -3.177773)'), GeomFromEWKT('SRID=4674;POINT (-39.381563 -3.177914)'))) / (select extract(epoch from '2026-07-10 16:18:06'::timestamp) - extract(epoch from '2026-07-10 16:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381466 -3.177773)'), GeomFromEWKT('SRID=4674;POINT (-39.381563 -3.177914)'))) / (select extract(epoch from '2026-07-10 16:18:06'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47507, 'SRID=4674;POINT (-39.381643 -3.178003)', '2026-07-10 16:18:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381563 -3.177914)'), GeomFromEWKT('SRID=4674;POINT (-39.381643 -3.178003)'))) / (select extract(epoch from '2026-07-10 16:18:11'::timestamp) - extract(epoch from '2026-07-10 16:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381563 -3.177914)'), GeomFromEWKT('SRID=4674;POINT (-39.381643 -3.178003)'))) / (select extract(epoch from '2026-07-10 16:18:11'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47507, 'SRID=4674;POINT (-39.381716 -3.178077)', '2026-07-10 16:18:17', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381643 -3.178003)'), GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.178077)'))) / (select extract(epoch from '2026-07-10 16:18:17'::timestamp) - extract(epoch from '2026-07-10 16:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381643 -3.178003)'), GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.178077)'))) / (select extract(epoch from '2026-07-10 16:18:17'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47507, 'SRID=4674;POINT (-39.381828 -3.178234)', '2026-07-10 16:18:27', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.178077)'), GeomFromEWKT('SRID=4674;POINT (-39.381828 -3.178234)'))) / (select extract(epoch from '2026-07-10 16:18:27'::timestamp) - extract(epoch from '2026-07-10 16:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381716 -3.178077)'), GeomFromEWKT('SRID=4674;POINT (-39.381828 -3.178234)'))) / (select extract(epoch from '2026-07-10 16:18:27'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.381905 -3.178343)', '2026-07-10 16:18:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381828 -3.178234)'), GeomFromEWKT('SRID=4674;POINT (-39.381905 -3.178343)'))) / (select extract(epoch from '2026-07-10 16:18:34'::timestamp) - extract(epoch from '2026-07-10 16:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381828 -3.178234)'), GeomFromEWKT('SRID=4674;POINT (-39.381905 -3.178343)'))) / (select extract(epoch from '2026-07-10 16:18:34'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.381997 -3.178449)', '2026-07-10 16:18:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381905 -3.178343)'), GeomFromEWKT('SRID=4674;POINT (-39.381997 -3.178449)'))) / (select extract(epoch from '2026-07-10 16:18:41'::timestamp) - extract(epoch from '2026-07-10 16:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381905 -3.178343)'), GeomFromEWKT('SRID=4674;POINT (-39.381997 -3.178449)'))) / (select extract(epoch from '2026-07-10 16:18:41'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47507, 'SRID=4674;POINT (-39.382066 -3.178542)', '2026-07-10 16:18:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381997 -3.178449)'), GeomFromEWKT('SRID=4674;POINT (-39.382066 -3.178542)'))) / (select extract(epoch from '2026-07-10 16:18:49'::timestamp) - extract(epoch from '2026-07-10 16:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381997 -3.178449)'), GeomFromEWKT('SRID=4674;POINT (-39.382066 -3.178542)'))) / (select extract(epoch from '2026-07-10 16:18:49'::timestamp) - extract(epoch from '2026-07-10 16:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.382131 -3.17863)', '2026-07-10 16:18:56', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382066 -3.178542)'), GeomFromEWKT('SRID=4674;POINT (-39.382131 -3.17863)'))) / (select extract(epoch from '2026-07-10 16:18:56'::timestamp) - extract(epoch from '2026-07-10 16:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382066 -3.178542)'), GeomFromEWKT('SRID=4674;POINT (-39.382131 -3.17863)'))) / (select extract(epoch from '2026-07-10 16:18:56'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47507, 'SRID=4674;POINT (-39.382211 -3.17876)', '2026-07-10 16:19:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382131 -3.17863)'), GeomFromEWKT('SRID=4674;POINT (-39.382211 -3.17876)'))) / (select extract(epoch from '2026-07-10 16:19:05'::timestamp) - extract(epoch from '2026-07-10 16:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382131 -3.17863)'), GeomFromEWKT('SRID=4674;POINT (-39.382211 -3.17876)'))) / (select extract(epoch from '2026-07-10 16:19:05'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47507, 'SRID=4674;POINT (-39.382328 -3.178868)', '2026-07-10 16:19:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382211 -3.17876)'), GeomFromEWKT('SRID=4674;POINT (-39.382328 -3.178868)'))) / (select extract(epoch from '2026-07-10 16:19:13'::timestamp) - extract(epoch from '2026-07-10 16:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382211 -3.17876)'), GeomFromEWKT('SRID=4674;POINT (-39.382328 -3.178868)'))) / (select extract(epoch from '2026-07-10 16:19:13'::timestamp) - extract(epoch from '2026-07-10 16:19:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.382413 -3.178941)', '2026-07-10 16:19:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382328 -3.178868)'), GeomFromEWKT('SRID=4674;POINT (-39.382413 -3.178941)'))) / (select extract(epoch from '2026-07-10 16:19:20'::timestamp) - extract(epoch from '2026-07-10 16:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382328 -3.178868)'), GeomFromEWKT('SRID=4674;POINT (-39.382413 -3.178941)'))) / (select extract(epoch from '2026-07-10 16:19:20'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47507, 'SRID=4674;POINT (-39.382485 -3.179051)', '2026-07-10 16:19:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382413 -3.178941)'), GeomFromEWKT('SRID=4674;POINT (-39.382485 -3.179051)'))) / (select extract(epoch from '2026-07-10 16:19:27'::timestamp) - extract(epoch from '2026-07-10 16:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382413 -3.178941)'), GeomFromEWKT('SRID=4674;POINT (-39.382485 -3.179051)'))) / (select extract(epoch from '2026-07-10 16:19:27'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47507, 'SRID=4674;POINT (-39.382575 -3.179172)', '2026-07-10 16:19:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382485 -3.179051)'), GeomFromEWKT('SRID=4674;POINT (-39.382575 -3.179172)'))) / (select extract(epoch from '2026-07-10 16:19:36'::timestamp) - extract(epoch from '2026-07-10 16:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382485 -3.179051)'), GeomFromEWKT('SRID=4674;POINT (-39.382575 -3.179172)'))) / (select extract(epoch from '2026-07-10 16:19:36'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.382651 -3.17928)', '2026-07-10 16:19:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382575 -3.179172)'), GeomFromEWKT('SRID=4674;POINT (-39.382651 -3.17928)'))) / (select extract(epoch from '2026-07-10 16:19:43'::timestamp) - extract(epoch from '2026-07-10 16:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382575 -3.179172)'), GeomFromEWKT('SRID=4674;POINT (-39.382651 -3.17928)'))) / (select extract(epoch from '2026-07-10 16:19:43'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47507, 'SRID=4674;POINT (-39.382738 -3.179359)', '2026-07-10 16:19:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382651 -3.17928)'), GeomFromEWKT('SRID=4674;POINT (-39.382738 -3.179359)'))) / (select extract(epoch from '2026-07-10 16:19:52'::timestamp) - extract(epoch from '2026-07-10 16:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382651 -3.17928)'), GeomFromEWKT('SRID=4674;POINT (-39.382738 -3.179359)'))) / (select extract(epoch from '2026-07-10 16:19:52'::timestamp) - extract(epoch from '2026-07-10 16:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.382818 -3.179425)', '2026-07-10 16:19:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382738 -3.179359)'), GeomFromEWKT('SRID=4674;POINT (-39.382818 -3.179425)'))) / (select extract(epoch from '2026-07-10 16:19:59'::timestamp) - extract(epoch from '2026-07-10 16:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382738 -3.179359)'), GeomFromEWKT('SRID=4674;POINT (-39.382818 -3.179425)'))) / (select extract(epoch from '2026-07-10 16:19:59'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47507, 'SRID=4674;POINT (-39.382901 -3.179519)', '2026-07-10 16:20:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382818 -3.179425)'), GeomFromEWKT('SRID=4674;POINT (-39.382901 -3.179519)'))) / (select extract(epoch from '2026-07-10 16:20:08'::timestamp) - extract(epoch from '2026-07-10 16:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382818 -3.179425)'), GeomFromEWKT('SRID=4674;POINT (-39.382901 -3.179519)'))) / (select extract(epoch from '2026-07-10 16:20:08'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47507, 'SRID=4674;POINT (-39.382978 -3.179657)', '2026-07-10 16:20:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382901 -3.179519)'), GeomFromEWKT('SRID=4674;POINT (-39.382978 -3.179657)'))) / (select extract(epoch from '2026-07-10 16:20:17'::timestamp) - extract(epoch from '2026-07-10 16:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382901 -3.179519)'), GeomFromEWKT('SRID=4674;POINT (-39.382978 -3.179657)'))) / (select extract(epoch from '2026-07-10 16:20:17'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47507, 'SRID=4674;POINT (-39.383042 -3.179749)', '2026-07-10 16:20:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382978 -3.179657)'), GeomFromEWKT('SRID=4674;POINT (-39.383042 -3.179749)'))) / (select extract(epoch from '2026-07-10 16:20:25'::timestamp) - extract(epoch from '2026-07-10 16:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382978 -3.179657)'), GeomFromEWKT('SRID=4674;POINT (-39.383042 -3.179749)'))) / (select extract(epoch from '2026-07-10 16:20:25'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47507, 'SRID=4674;POINT (-39.38312 -3.17988)', '2026-07-10 16:20:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383042 -3.179749)'), GeomFromEWKT('SRID=4674;POINT (-39.38312 -3.17988)'))) / (select extract(epoch from '2026-07-10 16:20:36'::timestamp) - extract(epoch from '2026-07-10 16:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383042 -3.179749)'), GeomFromEWKT('SRID=4674;POINT (-39.38312 -3.17988)'))) / (select extract(epoch from '2026-07-10 16:20:36'::timestamp) - extract(epoch from '2026-07-10 16:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.383173 -3.179976)', '2026-07-10 16:20:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38312 -3.17988)'), GeomFromEWKT('SRID=4674;POINT (-39.383173 -3.179976)'))) / (select extract(epoch from '2026-07-10 16:20:47'::timestamp) - extract(epoch from '2026-07-10 16:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38312 -3.17988)'), GeomFromEWKT('SRID=4674;POINT (-39.383173 -3.179976)'))) / (select extract(epoch from '2026-07-10 16:20:47'::timestamp) - extract(epoch from '2026-07-10 16:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.383229 -3.180107)', '2026-07-10 16:20:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383173 -3.179976)'), GeomFromEWKT('SRID=4674;POINT (-39.383229 -3.180107)'))) / (select extract(epoch from '2026-07-10 16:20:56'::timestamp) - extract(epoch from '2026-07-10 16:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383173 -3.179976)'), GeomFromEWKT('SRID=4674;POINT (-39.383229 -3.180107)'))) / (select extract(epoch from '2026-07-10 16:20:56'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47507, 'SRID=4674;POINT (-39.383285 -3.180205)', '2026-07-10 16:21:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383229 -3.180107)'), GeomFromEWKT('SRID=4674;POINT (-39.383285 -3.180205)'))) / (select extract(epoch from '2026-07-10 16:21:05'::timestamp) - extract(epoch from '2026-07-10 16:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383229 -3.180107)'), GeomFromEWKT('SRID=4674;POINT (-39.383285 -3.180205)'))) / (select extract(epoch from '2026-07-10 16:21:05'::timestamp) - extract(epoch from '2026-07-10 16:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.383332 -3.180281)', '2026-07-10 16:21:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383285 -3.180205)'), GeomFromEWKT('SRID=4674;POINT (-39.383332 -3.180281)'))) / (select extract(epoch from '2026-07-10 16:21:12'::timestamp) - extract(epoch from '2026-07-10 16:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383285 -3.180205)'), GeomFromEWKT('SRID=4674;POINT (-39.383332 -3.180281)'))) / (select extract(epoch from '2026-07-10 16:21:12'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47507, 'SRID=4674;POINT (-39.38338 -3.180373)', '2026-07-10 16:21:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383332 -3.180281)'), GeomFromEWKT('SRID=4674;POINT (-39.38338 -3.180373)'))) / (select extract(epoch from '2026-07-10 16:21:19'::timestamp) - extract(epoch from '2026-07-10 16:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383332 -3.180281)'), GeomFromEWKT('SRID=4674;POINT (-39.38338 -3.180373)'))) / (select extract(epoch from '2026-07-10 16:21:19'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47507, 'SRID=4674;POINT (-39.383417 -3.180441)', '2026-07-10 16:21:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38338 -3.180373)'), GeomFromEWKT('SRID=4674;POINT (-39.383417 -3.180441)'))) / (select extract(epoch from '2026-07-10 16:21:27'::timestamp) - extract(epoch from '2026-07-10 16:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38338 -3.180373)'), GeomFromEWKT('SRID=4674;POINT (-39.383417 -3.180441)'))) / (select extract(epoch from '2026-07-10 16:21:27'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47507, 'SRID=4674;POINT (-39.383456 -3.180545)', '2026-07-10 16:21:35', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383417 -3.180441)'), GeomFromEWKT('SRID=4674;POINT (-39.383456 -3.180545)'))) / (select extract(epoch from '2026-07-10 16:21:35'::timestamp) - extract(epoch from '2026-07-10 16:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383417 -3.180441)'), GeomFromEWKT('SRID=4674;POINT (-39.383456 -3.180545)'))) / (select extract(epoch from '2026-07-10 16:21:35'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47507, 'SRID=4674;POINT (-39.383533 -3.180695)', '2026-07-10 16:21:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383456 -3.180545)'), GeomFromEWKT('SRID=4674;POINT (-39.383533 -3.180695)'))) / (select extract(epoch from '2026-07-10 16:21:45'::timestamp) - extract(epoch from '2026-07-10 16:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383456 -3.180545)'), GeomFromEWKT('SRID=4674;POINT (-39.383533 -3.180695)'))) / (select extract(epoch from '2026-07-10 16:21:45'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47507, 'SRID=4674;POINT (-39.383544 -3.18079)', '2026-07-10 16:21:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383533 -3.180695)'), GeomFromEWKT('SRID=4674;POINT (-39.383544 -3.18079)'))) / (select extract(epoch from '2026-07-10 16:21:54'::timestamp) - extract(epoch from '2026-07-10 16:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383533 -3.180695)'), GeomFromEWKT('SRID=4674;POINT (-39.383544 -3.18079)'))) / (select extract(epoch from '2026-07-10 16:21:54'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47507, 'SRID=4674;POINT (-39.383536 -3.180826)', '2026-07-10 16:22:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383544 -3.18079)'), GeomFromEWKT('SRID=4674;POINT (-39.383536 -3.180826)'))) / (select extract(epoch from '2026-07-10 16:22:01'::timestamp) - extract(epoch from '2026-07-10 16:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383544 -3.18079)'), GeomFromEWKT('SRID=4674;POINT (-39.383536 -3.180826)'))) / (select extract(epoch from '2026-07-10 16:22:01'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47507, 'SRID=4674;POINT (-39.383544 -3.180862)', '2026-07-10 16:22:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383536 -3.180826)'), GeomFromEWKT('SRID=4674;POINT (-39.383544 -3.180862)'))) / (select extract(epoch from '2026-07-10 16:22:12'::timestamp) - extract(epoch from '2026-07-10 16:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383536 -3.180826)'), GeomFromEWKT('SRID=4674;POINT (-39.383544 -3.180862)'))) / (select extract(epoch from '2026-07-10 16:22:12'::timestamp) - extract(epoch from '2026-07-10 16:22: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'), 47507, 'SRID=4674;POINT (-39.383573 -3.180925)', '2026-07-10 16:22:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383544 -3.180862)'), GeomFromEWKT('SRID=4674;POINT (-39.383573 -3.180925)'))) / (select extract(epoch from '2026-07-10 16:22:34'::timestamp) - extract(epoch from '2026-07-10 16:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383544 -3.180862)'), GeomFromEWKT('SRID=4674;POINT (-39.383573 -3.180925)'))) / (select extract(epoch from '2026-07-10 16:22:34'::timestamp) - extract(epoch from '2026-07-10 16:22: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'), 47507, 'SRID=4674;POINT (-39.383554 -3.181024)', '2026-07-10 16:22:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383573 -3.180925)'), GeomFromEWKT('SRID=4674;POINT (-39.383554 -3.181024)'))) / (select extract(epoch from '2026-07-10 16:22:46'::timestamp) - extract(epoch from '2026-07-10 16:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383573 -3.180925)'), GeomFromEWKT('SRID=4674;POINT (-39.383554 -3.181024)'))) / (select extract(epoch from '2026-07-10 16:22:46'::timestamp) - extract(epoch from '2026-07-10 16:22: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'), 47507, 'SRID=4674;POINT (-39.383574 -3.181122)', '2026-07-10 16:22:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383554 -3.181024)'), GeomFromEWKT('SRID=4674;POINT (-39.383574 -3.181122)'))) / (select extract(epoch from '2026-07-10 16:22:56'::timestamp) - extract(epoch from '2026-07-10 16:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383554 -3.181024)'), GeomFromEWKT('SRID=4674;POINT (-39.383574 -3.181122)'))) / (select extract(epoch from '2026-07-10 16:22:56'::timestamp) - extract(epoch from '2026-07-10 16:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.383606 -3.181232)', '2026-07-10 16:23:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383574 -3.181122)'), GeomFromEWKT('SRID=4674;POINT (-39.383606 -3.181232)'))) / (select extract(epoch from '2026-07-10 16:23:07'::timestamp) - extract(epoch from '2026-07-10 16:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383574 -3.181122)'), GeomFromEWKT('SRID=4674;POINT (-39.383606 -3.181232)'))) / (select extract(epoch from '2026-07-10 16:23:07'::timestamp) - extract(epoch from '2026-07-10 16:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47507, 'SRID=4674;POINT (-39.383583 -3.181344)', '2026-07-10 16:23:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383606 -3.181232)'), GeomFromEWKT('SRID=4674;POINT (-39.383583 -3.181344)'))) / (select extract(epoch from '2026-07-10 16:23:19'::timestamp) - extract(epoch from '2026-07-10 16:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383606 -3.181232)'), GeomFromEWKT('SRID=4674;POINT (-39.383583 -3.181344)'))) / (select extract(epoch from '2026-07-10 16:23:19'::timestamp) - extract(epoch from '2026-07-10 16:23: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'), 47507, 'SRID=4674;POINT (-39.383538 -3.181437)', '2026-07-10 16:23:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383583 -3.181344)'), GeomFromEWKT('SRID=4674;POINT (-39.383538 -3.181437)'))) / (select extract(epoch from '2026-07-10 16:23:30'::timestamp) - extract(epoch from '2026-07-10 16:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383583 -3.181344)'), GeomFromEWKT('SRID=4674;POINT (-39.383538 -3.181437)'))) / (select extract(epoch from '2026-07-10 16:23:30'::timestamp) - extract(epoch from '2026-07-10 16:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
