 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13843 -3.123386)', '2026-06-27 13:11:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123386)'))) / (select extract(epoch from '2026-06-27 13:11:12'::timestamp) - extract(epoch from '2026-06-27 13:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123386)'))) / (select extract(epoch from '2026-06-27 13:11:12'::timestamp) - extract(epoch from '2026-06-27 13:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138431 -3.123377)', '2026-06-27 13:11:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123377)'))) / (select extract(epoch from '2026-06-27 13:11:23'::timestamp) - extract(epoch from '2026-06-27 13:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123377)'))) / (select extract(epoch from '2026-06-27 13:11:23'::timestamp) - extract(epoch from '2026-06-27 13:11: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123369)', '2026-06-27 13:11:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123369)'))) / (select extract(epoch from '2026-06-27 13:11:38'::timestamp) - extract(epoch from '2026-06-27 13:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123369)'))) / (select extract(epoch from '2026-06-27 13:11:38'::timestamp) - extract(epoch from '2026-06-27 13:11: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123373)', '2026-06-27 13:11:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123373)'))) / (select extract(epoch from '2026-06-27 13:11:43'::timestamp) - extract(epoch from '2026-06-27 13:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123373)'))) / (select extract(epoch from '2026-06-27 13:11:43'::timestamp) - extract(epoch from '2026-06-27 13:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.123373)', '2026-06-27 13:11:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123373)'))) / (select extract(epoch from '2026-06-27 13:11:53'::timestamp) - extract(epoch from '2026-06-27 13:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123373)'))) / (select extract(epoch from '2026-06-27 13:11:53'::timestamp) - extract(epoch from '2026-06-27 13:11: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123373)', '2026-06-27 13:12:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123373)'))) / (select extract(epoch from '2026-06-27 13:12:00'::timestamp) - extract(epoch from '2026-06-27 13:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123373)'))) / (select extract(epoch from '2026-06-27 13:12:00'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123366)', '2026-06-27 13:12:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123366)'))) / (select extract(epoch from '2026-06-27 13:12:11'::timestamp) - extract(epoch from '2026-06-27 13:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123366)'))) / (select extract(epoch from '2026-06-27 13:12:11'::timestamp) - extract(epoch from '2026-06-27 13:12: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123357)', '2026-06-27 13:12:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123357)'))) / (select extract(epoch from '2026-06-27 13:12:22'::timestamp) - extract(epoch from '2026-06-27 13:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123357)'))) / (select extract(epoch from '2026-06-27 13:12:22'::timestamp) - extract(epoch from '2026-06-27 13:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138423 -3.123354)', '2026-06-27 13:12:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123354)'))) / (select extract(epoch from '2026-06-27 13:12:29'::timestamp) - extract(epoch from '2026-06-27 13:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123354)'))) / (select extract(epoch from '2026-06-27 13:12:29'::timestamp) - extract(epoch from '2026-06-27 13:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123348)', '2026-06-27 13:12:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123348)'))) / (select extract(epoch from '2026-06-27 13:12:38'::timestamp) - extract(epoch from '2026-06-27 13:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123348)'))) / (select extract(epoch from '2026-06-27 13:12:38'::timestamp) - extract(epoch from '2026-06-27 13:12: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123349)', '2026-06-27 13:12:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123349)'))) / (select extract(epoch from '2026-06-27 13:12:47'::timestamp) - extract(epoch from '2026-06-27 13:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123349)'))) / (select extract(epoch from '2026-06-27 13:12:47'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123346)', '2026-06-27 13:12:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:12:54'::timestamp) - extract(epoch from '2026-06-27 13:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:12:54'::timestamp) - extract(epoch from '2026-06-27 13:12: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123341)', '2026-06-27 13:13:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123341)'))) / (select extract(epoch from '2026-06-27 13:13:00'::timestamp) - extract(epoch from '2026-06-27 13:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123341)'))) / (select extract(epoch from '2026-06-27 13:13:00'::timestamp) - extract(epoch from '2026-06-27 13:12: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123332)', '2026-06-27 13:13:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123332)'))) / (select extract(epoch from '2026-06-27 13:13:12'::timestamp) - extract(epoch from '2026-06-27 13:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123332)'))) / (select extract(epoch from '2026-06-27 13:13:12'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123332)', '2026-06-27 13:13:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123332)'))) / (select extract(epoch from '2026-06-27 13:13:19'::timestamp) - extract(epoch from '2026-06-27 13:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123332)'))) / (select extract(epoch from '2026-06-27 13:13:19'::timestamp) - extract(epoch from '2026-06-27 13:13: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123333)', '2026-06-27 13:13:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123333)'))) / (select extract(epoch from '2026-06-27 13:13:31'::timestamp) - extract(epoch from '2026-06-27 13:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123333)'))) / (select extract(epoch from '2026-06-27 13:13:31'::timestamp) - extract(epoch from '2026-06-27 13:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138417 -3.123329)', '2026-06-27 13:13:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:13:42'::timestamp) - extract(epoch from '2026-06-27 13:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:13:42'::timestamp) - extract(epoch from '2026-06-27 13:13: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123333)', '2026-06-27 13:13:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123333)'))) / (select extract(epoch from '2026-06-27 13:13:50'::timestamp) - extract(epoch from '2026-06-27 13:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123333)'))) / (select extract(epoch from '2026-06-27 13:13:50'::timestamp) - extract(epoch from '2026-06-27 13:13: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.12333)', '2026-06-27 13:14:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:14:00'::timestamp) - extract(epoch from '2026-06-27 13:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:14:00'::timestamp) - extract(epoch from '2026-06-27 13:13: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123331)', '2026-06-27 13:14:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123331)'))) / (select extract(epoch from '2026-06-27 13:14:10'::timestamp) - extract(epoch from '2026-06-27 13:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123331)'))) / (select extract(epoch from '2026-06-27 13:14:10'::timestamp) - extract(epoch from '2026-06-27 13:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123337)', '2026-06-27 13:14:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123337)'))) / (select extract(epoch from '2026-06-27 13:14:20'::timestamp) - extract(epoch from '2026-06-27 13:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123337)'))) / (select extract(epoch from '2026-06-27 13:14:20'::timestamp) - extract(epoch from '2026-06-27 13:14: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.12333)', '2026-06-27 13:14:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:14:27'::timestamp) - extract(epoch from '2026-06-27 13:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:14:27'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123336)', '2026-06-27 13:14:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'))) / (select extract(epoch from '2026-06-27 13:14:33'::timestamp) - extract(epoch from '2026-06-27 13:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'))) / (select extract(epoch from '2026-06-27 13:14:33'::timestamp) - extract(epoch from '2026-06-27 13:14: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.12334)', '2026-06-27 13:14:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12334)'))) / (select extract(epoch from '2026-06-27 13:14:41'::timestamp) - extract(epoch from '2026-06-27 13:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12334)'))) / (select extract(epoch from '2026-06-27 13:14:41'::timestamp) - extract(epoch from '2026-06-27 13:14: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.12334)', '2026-06-27 13:14:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12334)'))) / (select extract(epoch from '2026-06-27 13:14:50'::timestamp) - extract(epoch from '2026-06-27 13:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12334)'))) / (select extract(epoch from '2026-06-27 13:14:50'::timestamp) - extract(epoch from '2026-06-27 13:14: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123344)', '2026-06-27 13:14:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:14:58'::timestamp) - extract(epoch from '2026-06-27 13:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:14:58'::timestamp) - extract(epoch from '2026-06-27 13:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138406 -3.123348)', '2026-06-27 13:15:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123348)'))) / (select extract(epoch from '2026-06-27 13:15:07'::timestamp) - extract(epoch from '2026-06-27 13:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123348)'))) / (select extract(epoch from '2026-06-27 13:15:07'::timestamp) - extract(epoch from '2026-06-27 13:14: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123343)', '2026-06-27 13:15:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123343)'))) / (select extract(epoch from '2026-06-27 13:15:16'::timestamp) - extract(epoch from '2026-06-27 13:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123343)'))) / (select extract(epoch from '2026-06-27 13:15:16'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123342)', '2026-06-27 13:15:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123342)'))) / (select extract(epoch from '2026-06-27 13:15:23'::timestamp) - extract(epoch from '2026-06-27 13:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123342)'))) / (select extract(epoch from '2026-06-27 13:15:23'::timestamp) - extract(epoch from '2026-06-27 13:15: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123344)', '2026-06-27 13:15:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:15:30'::timestamp) - extract(epoch from '2026-06-27 13:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:15:30'::timestamp) - extract(epoch from '2026-06-27 13:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123346)', '2026-06-27 13:15:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:15:36'::timestamp) - extract(epoch from '2026-06-27 13:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:15:36'::timestamp) - extract(epoch from '2026-06-27 13:15: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123343)', '2026-06-27 13:15:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123343)'))) / (select extract(epoch from '2026-06-27 13:15:43'::timestamp) - extract(epoch from '2026-06-27 13:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123343)'))) / (select extract(epoch from '2026-06-27 13:15:43'::timestamp) - extract(epoch from '2026-06-27 13:15: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123348)', '2026-06-27 13:15:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123348)'))) / (select extract(epoch from '2026-06-27 13:15:52'::timestamp) - extract(epoch from '2026-06-27 13:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123348)'))) / (select extract(epoch from '2026-06-27 13:15:52'::timestamp) - extract(epoch from '2026-06-27 13:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123345)', '2026-06-27 13:15:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:15:59'::timestamp) - extract(epoch from '2026-06-27 13:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:15:59'::timestamp) - extract(epoch from '2026-06-27 13:15: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123346)', '2026-06-27 13:16:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:16:11'::timestamp) - extract(epoch from '2026-06-27 13:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:16:11'::timestamp) - extract(epoch from '2026-06-27 13:15: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123341)', '2026-06-27 13:16:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123341)'))) / (select extract(epoch from '2026-06-27 13:16:19'::timestamp) - extract(epoch from '2026-06-27 13:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123341)'))) / (select extract(epoch from '2026-06-27 13:16:19'::timestamp) - extract(epoch from '2026-06-27 13:16: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.12334)', '2026-06-27 13:16:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12334)'))) / (select extract(epoch from '2026-06-27 13:16:26'::timestamp) - extract(epoch from '2026-06-27 13:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12334)'))) / (select extract(epoch from '2026-06-27 13:16:26'::timestamp) - extract(epoch from '2026-06-27 13:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123336)', '2026-06-27 13:16:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123336)'))) / (select extract(epoch from '2026-06-27 13:16:38'::timestamp) - extract(epoch from '2026-06-27 13:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123336)'))) / (select extract(epoch from '2026-06-27 13:16:38'::timestamp) - extract(epoch from '2026-06-27 13:16: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123334)', '2026-06-27 13:16:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123334)'))) / (select extract(epoch from '2026-06-27 13:16:49'::timestamp) - extract(epoch from '2026-06-27 13:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123334)'))) / (select extract(epoch from '2026-06-27 13:16:49'::timestamp) - extract(epoch from '2026-06-27 13:16: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123333)', '2026-06-27 13:16:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123333)'))) / (select extract(epoch from '2026-06-27 13:16:59'::timestamp) - extract(epoch from '2026-06-27 13:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123333)'))) / (select extract(epoch from '2026-06-27 13:16:59'::timestamp) - extract(epoch from '2026-06-27 13:16: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123328)', '2026-06-27 13:17:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123328)'))) / (select extract(epoch from '2026-06-27 13:17:06'::timestamp) - extract(epoch from '2026-06-27 13:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123328)'))) / (select extract(epoch from '2026-06-27 13:17:06'::timestamp) - extract(epoch from '2026-06-27 13:16: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.12333)', '2026-06-27 13:17:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:17:17'::timestamp) - extract(epoch from '2026-06-27 13:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:17:17'::timestamp) - extract(epoch from '2026-06-27 13:17: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123338)', '2026-06-27 13:17:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123338)'))) / (select extract(epoch from '2026-06-27 13:17:32'::timestamp) - extract(epoch from '2026-06-27 13:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123338)'))) / (select extract(epoch from '2026-06-27 13:17:32'::timestamp) - extract(epoch from '2026-06-27 13:17: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123346)', '2026-06-27 13:17:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:17:40'::timestamp) - extract(epoch from '2026-06-27 13:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:17:40'::timestamp) - extract(epoch from '2026-06-27 13:17: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123344)', '2026-06-27 13:17:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:17:47'::timestamp) - extract(epoch from '2026-06-27 13:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:17:47'::timestamp) - extract(epoch from '2026-06-27 13:17: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123352)', '2026-06-27 13:17:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123352)'))) / (select extract(epoch from '2026-06-27 13:17:54'::timestamp) - extract(epoch from '2026-06-27 13:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123352)'))) / (select extract(epoch from '2026-06-27 13:17:54'::timestamp) - extract(epoch from '2026-06-27 13:17: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.12335)', '2026-06-27 13:18:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12335)'))) / (select extract(epoch from '2026-06-27 13:18:03'::timestamp) - extract(epoch from '2026-06-27 13:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12335)'))) / (select extract(epoch from '2026-06-27 13:18:03'::timestamp) - extract(epoch from '2026-06-27 13:17: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123351)', '2026-06-27 13:18:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123351)'))) / (select extract(epoch from '2026-06-27 13:18:15'::timestamp) - extract(epoch from '2026-06-27 13:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123351)'))) / (select extract(epoch from '2026-06-27 13:18:15'::timestamp) - extract(epoch from '2026-06-27 13:18: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123355)', '2026-06-27 13:18:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:18:23'::timestamp) - extract(epoch from '2026-06-27 13:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:18:23'::timestamp) - extract(epoch from '2026-06-27 13:18: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123358)', '2026-06-27 13:18:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:18:30'::timestamp) - extract(epoch from '2026-06-27 13:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:18:30'::timestamp) - extract(epoch from '2026-06-27 13:18: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123355)', '2026-06-27 13:18:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:18:36'::timestamp) - extract(epoch from '2026-06-27 13:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:18:36'::timestamp) - extract(epoch from '2026-06-27 13:18: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123355)', '2026-06-27 13:18:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:18:46'::timestamp) - extract(epoch from '2026-06-27 13:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:18:46'::timestamp) - extract(epoch from '2026-06-27 13:18: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123356)', '2026-06-27 13:18:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123356)'))) / (select extract(epoch from '2026-06-27 13:18:56'::timestamp) - extract(epoch from '2026-06-27 13:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123356)'))) / (select extract(epoch from '2026-06-27 13:18:56'::timestamp) - extract(epoch from '2026-06-27 13:18: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'), 46645, 'SRID=4674;POINT (-39.13843 -3.123358)', '2026-06-27 13:19:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:19:07'::timestamp) - extract(epoch from '2026-06-27 13:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:19:07'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138436 -3.12336)', '2026-06-27 13:19:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.12336)'))) / (select extract(epoch from '2026-06-27 13:19:23'::timestamp) - extract(epoch from '2026-06-27 13:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.12336)'))) / (select extract(epoch from '2026-06-27 13:19:23'::timestamp) - extract(epoch from '2026-06-27 13:19: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'), 46645, 'SRID=4674;POINT (-39.138436 -3.123359)', '2026-06-27 13:19:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123359)'))) / (select extract(epoch from '2026-06-27 13:19:35'::timestamp) - extract(epoch from '2026-06-27 13:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123359)'))) / (select extract(epoch from '2026-06-27 13:19:35'::timestamp) - extract(epoch from '2026-06-27 13:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138435 -3.123355)', '2026-06-27 13:19:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:19:52'::timestamp) - extract(epoch from '2026-06-27 13:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:19:52'::timestamp) - extract(epoch from '2026-06-27 13:19: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123347)', '2026-06-27 13:20:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123347)'))) / (select extract(epoch from '2026-06-27 13:20:05'::timestamp) - extract(epoch from '2026-06-27 13:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123347)'))) / (select extract(epoch from '2026-06-27 13:20:05'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138438 -3.123345)', '2026-06-27 13:20:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:20:14'::timestamp) - extract(epoch from '2026-06-27 13:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:20:14'::timestamp) - extract(epoch from '2026-06-27 13:20: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'), 46645, 'SRID=4674;POINT (-39.138434 -3.123349)', '2026-06-27 13:20:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123349)'))) / (select extract(epoch from '2026-06-27 13:20:23'::timestamp) - extract(epoch from '2026-06-27 13:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123349)'))) / (select extract(epoch from '2026-06-27 13:20:23'::timestamp) - extract(epoch from '2026-06-27 13:20:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138429 -3.123353)', '2026-06-27 13:20:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123353)'))) / (select extract(epoch from '2026-06-27 13:20:31'::timestamp) - extract(epoch from '2026-06-27 13:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123353)'))) / (select extract(epoch from '2026-06-27 13:20:31'::timestamp) - extract(epoch from '2026-06-27 13:20: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'), 46645, 'SRID=4674;POINT (-39.13843 -3.12335)', '2026-06-27 13:20:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12335)'))) / (select extract(epoch from '2026-06-27 13:20:39'::timestamp) - extract(epoch from '2026-06-27 13:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12335)'))) / (select extract(epoch from '2026-06-27 13:20:39'::timestamp) - extract(epoch from '2026-06-27 13:20: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123352)', '2026-06-27 13:20:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123352)'))) / (select extract(epoch from '2026-06-27 13:20:48'::timestamp) - extract(epoch from '2026-06-27 13:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123352)'))) / (select extract(epoch from '2026-06-27 13:20:48'::timestamp) - extract(epoch from '2026-06-27 13:20: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123347)', '2026-06-27 13:20:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123347)'))) / (select extract(epoch from '2026-06-27 13:20:54'::timestamp) - extract(epoch from '2026-06-27 13:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123347)'))) / (select extract(epoch from '2026-06-27 13:20:54'::timestamp) - extract(epoch from '2026-06-27 13:20: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123345)', '2026-06-27 13:21:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:21:03'::timestamp) - extract(epoch from '2026-06-27 13:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:21:03'::timestamp) - extract(epoch from '2026-06-27 13:20: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123345)', '2026-06-27 13:21:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:21:13'::timestamp) - extract(epoch from '2026-06-27 13:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:21:13'::timestamp) - extract(epoch from '2026-06-27 13:21: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123342)', '2026-06-27 13:21:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123342)'))) / (select extract(epoch from '2026-06-27 13:21:27'::timestamp) - extract(epoch from '2026-06-27 13:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123342)'))) / (select extract(epoch from '2026-06-27 13:21:27'::timestamp) - extract(epoch from '2026-06-27 13:21: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123345)', '2026-06-27 13:21:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:21:37'::timestamp) - extract(epoch from '2026-06-27 13:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:21:37'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123345)', '2026-06-27 13:21:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:21:42'::timestamp) - extract(epoch from '2026-06-27 13:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:21:42'::timestamp) - extract(epoch from '2026-06-27 13:21: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123351)', '2026-06-27 13:21:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123351)'))) / (select extract(epoch from '2026-06-27 13:21:51'::timestamp) - extract(epoch from '2026-06-27 13:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123351)'))) / (select extract(epoch from '2026-06-27 13:21:51'::timestamp) - extract(epoch from '2026-06-27 13:21: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123355)', '2026-06-27 13:21:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:21:59'::timestamp) - extract(epoch from '2026-06-27 13:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:21:59'::timestamp) - extract(epoch from '2026-06-27 13:21: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123346)', '2026-06-27 13:22:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:22:09'::timestamp) - extract(epoch from '2026-06-27 13:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:22:09'::timestamp) - extract(epoch from '2026-06-27 13:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123345)', '2026-06-27 13:22:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:22:18'::timestamp) - extract(epoch from '2026-06-27 13:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:22:18'::timestamp) - extract(epoch from '2026-06-27 13:22: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123335)', '2026-06-27 13:22:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123335)'))) / (select extract(epoch from '2026-06-27 13:22:28'::timestamp) - extract(epoch from '2026-06-27 13:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123335)'))) / (select extract(epoch from '2026-06-27 13:22:28'::timestamp) - extract(epoch from '2026-06-27 13:22: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123331)', '2026-06-27 13:22:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123331)'))) / (select extract(epoch from '2026-06-27 13:22:39'::timestamp) - extract(epoch from '2026-06-27 13:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123331)'))) / (select extract(epoch from '2026-06-27 13:22:39'::timestamp) - extract(epoch from '2026-06-27 13:22: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123327)', '2026-06-27 13:22:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:22:50'::timestamp) - extract(epoch from '2026-06-27 13:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:22:50'::timestamp) - extract(epoch from '2026-06-27 13:22: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'), 46645, 'SRID=4674;POINT (-39.138434 -3.123327)', '2026-06-27 13:23:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:23:00'::timestamp) - extract(epoch from '2026-06-27 13:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:23:00'::timestamp) - extract(epoch from '2026-06-27 13:22: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'), 46645, 'SRID=4674;POINT (-39.138436 -3.123323)', '2026-06-27 13:23:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:23:15'::timestamp) - extract(epoch from '2026-06-27 13:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:23:15'::timestamp) - extract(epoch from '2026-06-27 13:23: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123325)', '2026-06-27 13:23:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:23:21'::timestamp) - extract(epoch from '2026-06-27 13:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:23:21'::timestamp) - extract(epoch from '2026-06-27 13:23: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123328)', '2026-06-27 13:23:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123328)'))) / (select extract(epoch from '2026-06-27 13:23:27'::timestamp) - extract(epoch from '2026-06-27 13:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123328)'))) / (select extract(epoch from '2026-06-27 13:23:27'::timestamp) - extract(epoch from '2026-06-27 13:23: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123327)', '2026-06-27 13:23:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:23:33'::timestamp) - extract(epoch from '2026-06-27 13:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:23:33'::timestamp) - extract(epoch from '2026-06-27 13:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123325)', '2026-06-27 13:23:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:23:42'::timestamp) - extract(epoch from '2026-06-27 13:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:23:42'::timestamp) - extract(epoch from '2026-06-27 13:23: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.12333)', '2026-06-27 13:23:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:23:50'::timestamp) - extract(epoch from '2026-06-27 13:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:23:50'::timestamp) - extract(epoch from '2026-06-27 13:23: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123327)', '2026-06-27 13:24:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:24:01'::timestamp) - extract(epoch from '2026-06-27 13:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:24:01'::timestamp) - extract(epoch from '2026-06-27 13:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.123329)', '2026-06-27 13:24:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:24:09'::timestamp) - extract(epoch from '2026-06-27 13:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:24:09'::timestamp) - extract(epoch from '2026-06-27 13:24: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123331)', '2026-06-27 13:24:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123331)'))) / (select extract(epoch from '2026-06-27 13:24:16'::timestamp) - extract(epoch from '2026-06-27 13:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123331)'))) / (select extract(epoch from '2026-06-27 13:24:16'::timestamp) - extract(epoch from '2026-06-27 13:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13843 -3.123323)', '2026-06-27 13:24:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:24:24'::timestamp) - extract(epoch from '2026-06-27 13:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:24:24'::timestamp) - extract(epoch from '2026-06-27 13:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13843 -3.123322)', '2026-06-27 13:24:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:24:32'::timestamp) - extract(epoch from '2026-06-27 13:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:24:32'::timestamp) - extract(epoch from '2026-06-27 13:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13843 -3.123318)', '2026-06-27 13:24:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123318)'))) / (select extract(epoch from '2026-06-27 13:24:44'::timestamp) - extract(epoch from '2026-06-27 13:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123318)'))) / (select extract(epoch from '2026-06-27 13:24:44'::timestamp) - extract(epoch from '2026-06-27 13:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123317)', '2026-06-27 13:24:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123317)'))) / (select extract(epoch from '2026-06-27 13:24:54'::timestamp) - extract(epoch from '2026-06-27 13:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123317)'))) / (select extract(epoch from '2026-06-27 13:24:54'::timestamp) - extract(epoch from '2026-06-27 13:24: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123321)', '2026-06-27 13:25:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123321)'))) / (select extract(epoch from '2026-06-27 13:25:02'::timestamp) - extract(epoch from '2026-06-27 13:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123321)'))) / (select extract(epoch from '2026-06-27 13:25:02'::timestamp) - extract(epoch from '2026-06-27 13:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13842 -3.123318)', '2026-06-27 13:25:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123318)'))) / (select extract(epoch from '2026-06-27 13:25:09'::timestamp) - extract(epoch from '2026-06-27 13:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123318)'))) / (select extract(epoch from '2026-06-27 13:25:09'::timestamp) - extract(epoch from '2026-06-27 13:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138419 -3.123314)', '2026-06-27 13:25:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123314)'))) / (select extract(epoch from '2026-06-27 13:25:20'::timestamp) - extract(epoch from '2026-06-27 13:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123314)'))) / (select extract(epoch from '2026-06-27 13:25:20'::timestamp) - extract(epoch from '2026-06-27 13:25: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.12332)', '2026-06-27 13:25:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12332)'))) / (select extract(epoch from '2026-06-27 13:25:27'::timestamp) - extract(epoch from '2026-06-27 13:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12332)'))) / (select extract(epoch from '2026-06-27 13:25:27'::timestamp) - extract(epoch from '2026-06-27 13:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123325)', '2026-06-27 13:25:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:25:37'::timestamp) - extract(epoch from '2026-06-27 13:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:25:37'::timestamp) - extract(epoch from '2026-06-27 13:25:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123329)', '2026-06-27 13:25:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:25:44'::timestamp) - extract(epoch from '2026-06-27 13:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:25:44'::timestamp) - extract(epoch from '2026-06-27 13:25: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123331)', '2026-06-27 13:25:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123331)'))) / (select extract(epoch from '2026-06-27 13:25:57'::timestamp) - extract(epoch from '2026-06-27 13:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123331)'))) / (select extract(epoch from '2026-06-27 13:25:57'::timestamp) - extract(epoch from '2026-06-27 13:25: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123329)', '2026-06-27 13:26:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:26:06'::timestamp) - extract(epoch from '2026-06-27 13:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:26:06'::timestamp) - extract(epoch from '2026-06-27 13:25: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.12333)', '2026-06-27 13:26:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:26:12'::timestamp) - extract(epoch from '2026-06-27 13:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:26:12'::timestamp) - extract(epoch from '2026-06-27 13:26: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123323)', '2026-06-27 13:26:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:26:19'::timestamp) - extract(epoch from '2026-06-27 13:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:26:19'::timestamp) - extract(epoch from '2026-06-27 13:26: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123324)', '2026-06-27 13:26:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:26:26'::timestamp) - extract(epoch from '2026-06-27 13:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:26:26'::timestamp) - extract(epoch from '2026-06-27 13:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138415 -3.123323)', '2026-06-27 13:26:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:26:36'::timestamp) - extract(epoch from '2026-06-27 13:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:26:36'::timestamp) - extract(epoch from '2026-06-27 13:26: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123319)', '2026-06-27 13:26:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123319)'))) / (select extract(epoch from '2026-06-27 13:26:42'::timestamp) - extract(epoch from '2026-06-27 13:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123319)'))) / (select extract(epoch from '2026-06-27 13:26:42'::timestamp) - extract(epoch from '2026-06-27 13:26: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123318)', '2026-06-27 13:26:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123318)'))) / (select extract(epoch from '2026-06-27 13:26:54'::timestamp) - extract(epoch from '2026-06-27 13:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123318)'))) / (select extract(epoch from '2026-06-27 13:26:54'::timestamp) - extract(epoch from '2026-06-27 13:26: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123325)', '2026-06-27 13:27:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:27:05'::timestamp) - extract(epoch from '2026-06-27 13:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:27:05'::timestamp) - extract(epoch from '2026-06-27 13:26: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123334)', '2026-06-27 13:27:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123334)'))) / (select extract(epoch from '2026-06-27 13:27:12'::timestamp) - extract(epoch from '2026-06-27 13:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123334)'))) / (select extract(epoch from '2026-06-27 13:27:12'::timestamp) - extract(epoch from '2026-06-27 13:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138419 -3.123335)', '2026-06-27 13:27:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123335)'))) / (select extract(epoch from '2026-06-27 13:27:18'::timestamp) - extract(epoch from '2026-06-27 13:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123335)'))) / (select extract(epoch from '2026-06-27 13:27:18'::timestamp) - extract(epoch from '2026-06-27 13:27: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.12333)', '2026-06-27 13:27:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:27:26'::timestamp) - extract(epoch from '2026-06-27 13:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12333)'))) / (select extract(epoch from '2026-06-27 13:27:26'::timestamp) - extract(epoch from '2026-06-27 13:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123339)', '2026-06-27 13:27:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123339)'))) / (select extract(epoch from '2026-06-27 13:27:37'::timestamp) - extract(epoch from '2026-06-27 13:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123339)'))) / (select extract(epoch from '2026-06-27 13:27:37'::timestamp) - extract(epoch from '2026-06-27 13:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123346)', '2026-06-27 13:27:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:27:48'::timestamp) - extract(epoch from '2026-06-27 13:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:27:48'::timestamp) - extract(epoch from '2026-06-27 13:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13842 -3.123349)', '2026-06-27 13:27:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123349)'))) / (select extract(epoch from '2026-06-27 13:27:59'::timestamp) - extract(epoch from '2026-06-27 13:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123349)'))) / (select extract(epoch from '2026-06-27 13:27:59'::timestamp) - extract(epoch from '2026-06-27 13:27: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123352)', '2026-06-27 13:28:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123352)'))) / (select extract(epoch from '2026-06-27 13:28:07'::timestamp) - extract(epoch from '2026-06-27 13:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123352)'))) / (select extract(epoch from '2026-06-27 13:28:07'::timestamp) - extract(epoch from '2026-06-27 13:27: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123358)', '2026-06-27 13:28:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:28:20'::timestamp) - extract(epoch from '2026-06-27 13:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:28:20'::timestamp) - extract(epoch from '2026-06-27 13:28: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123359)', '2026-06-27 13:28:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123359)'))) / (select extract(epoch from '2026-06-27 13:28:29'::timestamp) - extract(epoch from '2026-06-27 13:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123359)'))) / (select extract(epoch from '2026-06-27 13:28:29'::timestamp) - extract(epoch from '2026-06-27 13:28: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123353)', '2026-06-27 13:28:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123353)'))) / (select extract(epoch from '2026-06-27 13:28:37'::timestamp) - extract(epoch from '2026-06-27 13:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123353)'))) / (select extract(epoch from '2026-06-27 13:28:37'::timestamp) - extract(epoch from '2026-06-27 13:28: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123356)', '2026-06-27 13:28:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123356)'))) / (select extract(epoch from '2026-06-27 13:28:46'::timestamp) - extract(epoch from '2026-06-27 13:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123356)'))) / (select extract(epoch from '2026-06-27 13:28:46'::timestamp) - extract(epoch from '2026-06-27 13:28: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123344)', '2026-06-27 13:28:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:28:57'::timestamp) - extract(epoch from '2026-06-27 13:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:28:57'::timestamp) - extract(epoch from '2026-06-27 13:28: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123337)', '2026-06-27 13:29:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123337)'))) / (select extract(epoch from '2026-06-27 13:29:07'::timestamp) - extract(epoch from '2026-06-27 13:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123337)'))) / (select extract(epoch from '2026-06-27 13:29:07'::timestamp) - extract(epoch from '2026-06-27 13:28: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123338)', '2026-06-27 13:29:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123338)'))) / (select extract(epoch from '2026-06-27 13:29:19'::timestamp) - extract(epoch from '2026-06-27 13:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123338)'))) / (select extract(epoch from '2026-06-27 13:29:19'::timestamp) - extract(epoch from '2026-06-27 13:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138424 -3.123339)', '2026-06-27 13:29:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123339)'))) / (select extract(epoch from '2026-06-27 13:29:29'::timestamp) - extract(epoch from '2026-06-27 13:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123339)'))) / (select extract(epoch from '2026-06-27 13:29:29'::timestamp) - extract(epoch from '2026-06-27 13:29: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.12334)', '2026-06-27 13:29:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12334)'))) / (select extract(epoch from '2026-06-27 13:29:41'::timestamp) - extract(epoch from '2026-06-27 13:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12334)'))) / (select extract(epoch from '2026-06-27 13:29:41'::timestamp) - extract(epoch from '2026-06-27 13:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123337)', '2026-06-27 13:29:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123337)'))) / (select extract(epoch from '2026-06-27 13:29:49'::timestamp) - extract(epoch from '2026-06-27 13:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123337)'))) / (select extract(epoch from '2026-06-27 13:29:49'::timestamp) - extract(epoch from '2026-06-27 13:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123336)', '2026-06-27 13:29:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123336)'))) / (select extract(epoch from '2026-06-27 13:29:58'::timestamp) - extract(epoch from '2026-06-27 13:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123336)'))) / (select extract(epoch from '2026-06-27 13:29:58'::timestamp) - extract(epoch from '2026-06-27 13:29: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123332)', '2026-06-27 13:30:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123332)'))) / (select extract(epoch from '2026-06-27 13:30:07'::timestamp) - extract(epoch from '2026-06-27 13:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123332)'))) / (select extract(epoch from '2026-06-27 13:30:07'::timestamp) - extract(epoch from '2026-06-27 13:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123331)', '2026-06-27 13:30:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123331)'))) / (select extract(epoch from '2026-06-27 13:30:17'::timestamp) - extract(epoch from '2026-06-27 13:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123331)'))) / (select extract(epoch from '2026-06-27 13:30:17'::timestamp) - extract(epoch from '2026-06-27 13:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138424 -3.123329)', '2026-06-27 13:30:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:30:26'::timestamp) - extract(epoch from '2026-06-27 13:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:30:26'::timestamp) - extract(epoch from '2026-06-27 13:30: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123329)', '2026-06-27 13:30:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:30:37'::timestamp) - extract(epoch from '2026-06-27 13:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:30:37'::timestamp) - extract(epoch from '2026-06-27 13:30:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123327)', '2026-06-27 13:30:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:30:47'::timestamp) - extract(epoch from '2026-06-27 13:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:30:47'::timestamp) - extract(epoch from '2026-06-27 13:30: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123324)', '2026-06-27 13:31:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:31:00'::timestamp) - extract(epoch from '2026-06-27 13:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:31:00'::timestamp) - extract(epoch from '2026-06-27 13:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123321)', '2026-06-27 13:31:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123321)'))) / (select extract(epoch from '2026-06-27 13:31:09'::timestamp) - extract(epoch from '2026-06-27 13:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123321)'))) / (select extract(epoch from '2026-06-27 13:31:09'::timestamp) - extract(epoch from '2026-06-27 13:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123322)', '2026-06-27 13:31:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:31:20'::timestamp) - extract(epoch from '2026-06-27 13:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:31:20'::timestamp) - extract(epoch from '2026-06-27 13:31: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123322)', '2026-06-27 13:31:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:31:30'::timestamp) - extract(epoch from '2026-06-27 13:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:31:30'::timestamp) - extract(epoch from '2026-06-27 13:31: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123324)', '2026-06-27 13:31:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:31:42'::timestamp) - extract(epoch from '2026-06-27 13:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:31:42'::timestamp) - extract(epoch from '2026-06-27 13:31: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123327)', '2026-06-27 13:31:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:31:51'::timestamp) - extract(epoch from '2026-06-27 13:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:31:51'::timestamp) - extract(epoch from '2026-06-27 13:31: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123325)', '2026-06-27 13:31:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:31:58'::timestamp) - extract(epoch from '2026-06-27 13:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:31:58'::timestamp) - extract(epoch from '2026-06-27 13:31: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123327)', '2026-06-27 13:32:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:32:10'::timestamp) - extract(epoch from '2026-06-27 13:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:32:10'::timestamp) - extract(epoch from '2026-06-27 13:31: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123323)', '2026-06-27 13:32:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:32:20'::timestamp) - extract(epoch from '2026-06-27 13:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:32:20'::timestamp) - extract(epoch from '2026-06-27 13:32: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123317)', '2026-06-27 13:32:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123317)'))) / (select extract(epoch from '2026-06-27 13:32:31'::timestamp) - extract(epoch from '2026-06-27 13:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123317)'))) / (select extract(epoch from '2026-06-27 13:32:31'::timestamp) - extract(epoch from '2026-06-27 13:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138416 -3.123317)', '2026-06-27 13:32:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123317)'))) / (select extract(epoch from '2026-06-27 13:32:37'::timestamp) - extract(epoch from '2026-06-27 13:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123317)'))) / (select extract(epoch from '2026-06-27 13:32:37'::timestamp) - extract(epoch from '2026-06-27 13:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123319)', '2026-06-27 13:32:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123319)'))) / (select extract(epoch from '2026-06-27 13:32:44'::timestamp) - extract(epoch from '2026-06-27 13:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123319)'))) / (select extract(epoch from '2026-06-27 13:32:44'::timestamp) - extract(epoch from '2026-06-27 13:32: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123318)', '2026-06-27 13:32:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123318)'))) / (select extract(epoch from '2026-06-27 13:32:55'::timestamp) - extract(epoch from '2026-06-27 13:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123319)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123318)'))) / (select extract(epoch from '2026-06-27 13:32:55'::timestamp) - extract(epoch from '2026-06-27 13:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13841 -3.12332)', '2026-06-27 13:33:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'))) / (select extract(epoch from '2026-06-27 13:33:05'::timestamp) - extract(epoch from '2026-06-27 13:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'))) / (select extract(epoch from '2026-06-27 13:33:05'::timestamp) - extract(epoch from '2026-06-27 13:32: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.12332)', '2026-06-27 13:33:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'))) / (select extract(epoch from '2026-06-27 13:33:11'::timestamp) - extract(epoch from '2026-06-27 13:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'))) / (select extract(epoch from '2026-06-27 13:33:11'::timestamp) - extract(epoch from '2026-06-27 13:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138412 -3.123318)', '2026-06-27 13:33:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123318)'))) / (select extract(epoch from '2026-06-27 13:33:19'::timestamp) - extract(epoch from '2026-06-27 13:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123318)'))) / (select extract(epoch from '2026-06-27 13:33:19'::timestamp) - extract(epoch from '2026-06-27 13:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123313)', '2026-06-27 13:33:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123313)'))) / (select extract(epoch from '2026-06-27 13:33:28'::timestamp) - extract(epoch from '2026-06-27 13:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123318)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123313)'))) / (select extract(epoch from '2026-06-27 13:33:28'::timestamp) - extract(epoch from '2026-06-27 13:33: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.12331)', '2026-06-27 13:33:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12331)'))) / (select extract(epoch from '2026-06-27 13:33:39'::timestamp) - extract(epoch from '2026-06-27 13:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12331)'))) / (select extract(epoch from '2026-06-27 13:33:39'::timestamp) - extract(epoch from '2026-06-27 13:33: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.12331)', '2026-06-27 13:33:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12331)'))) / (select extract(epoch from '2026-06-27 13:33:49'::timestamp) - extract(epoch from '2026-06-27 13:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12331)'))) / (select extract(epoch from '2026-06-27 13:33:49'::timestamp) - extract(epoch from '2026-06-27 13:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123303)', '2026-06-27 13:33:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123303)'))) / (select extract(epoch from '2026-06-27 13:33:59'::timestamp) - extract(epoch from '2026-06-27 13:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12331)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123303)'))) / (select extract(epoch from '2026-06-27 13:33:59'::timestamp) - extract(epoch from '2026-06-27 13:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123301)', '2026-06-27 13:34:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123301)'))) / (select extract(epoch from '2026-06-27 13:34:06'::timestamp) - extract(epoch from '2026-06-27 13:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123303)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123301)'))) / (select extract(epoch from '2026-06-27 13:34:06'::timestamp) - extract(epoch from '2026-06-27 13:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138408 -3.123297)', '2026-06-27 13:34:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123301)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123297)'))) / (select extract(epoch from '2026-06-27 13:34:18'::timestamp) - extract(epoch from '2026-06-27 13:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123301)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123297)'))) / (select extract(epoch from '2026-06-27 13:34:18'::timestamp) - extract(epoch from '2026-06-27 13:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123299)', '2026-06-27 13:34:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123299)'))) / (select extract(epoch from '2026-06-27 13:34:28'::timestamp) - extract(epoch from '2026-06-27 13:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123297)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123299)'))) / (select extract(epoch from '2026-06-27 13:34:28'::timestamp) - extract(epoch from '2026-06-27 13:34: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.1233)', '2026-06-27 13:34:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123299)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.1233)'))) / (select extract(epoch from '2026-06-27 13:34:35'::timestamp) - extract(epoch from '2026-06-27 13:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123299)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.1233)'))) / (select extract(epoch from '2026-06-27 13:34:35'::timestamp) - extract(epoch from '2026-06-27 13:34: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.123306)', '2026-06-27 13:34:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123306)'))) / (select extract(epoch from '2026-06-27 13:34:45'::timestamp) - extract(epoch from '2026-06-27 13:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.1233)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123306)'))) / (select extract(epoch from '2026-06-27 13:34:45'::timestamp) - extract(epoch from '2026-06-27 13:34: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123306)', '2026-06-27 13:34:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123306)'))) / (select extract(epoch from '2026-06-27 13:34:52'::timestamp) - extract(epoch from '2026-06-27 13:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123306)'))) / (select extract(epoch from '2026-06-27 13:34:52'::timestamp) - extract(epoch from '2026-06-27 13:34: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'), 46645, 'SRID=4674;POINT (-39.138407 -3.123311)', '2026-06-27 13:35:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123311)'))) / (select extract(epoch from '2026-06-27 13:35:03'::timestamp) - extract(epoch from '2026-06-27 13:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123306)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123311)'))) / (select extract(epoch from '2026-06-27 13:35:03'::timestamp) - extract(epoch from '2026-06-27 13:34: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123312)', '2026-06-27 13:35:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123312)'))) / (select extract(epoch from '2026-06-27 13:35:12'::timestamp) - extract(epoch from '2026-06-27 13:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123312)'))) / (select extract(epoch from '2026-06-27 13:35:12'::timestamp) - extract(epoch from '2026-06-27 13:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138407 -3.123313)', '2026-06-27 13:35:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123313)'))) / (select extract(epoch from '2026-06-27 13:35:24'::timestamp) - extract(epoch from '2026-06-27 13:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123312)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123313)'))) / (select extract(epoch from '2026-06-27 13:35:24'::timestamp) - extract(epoch from '2026-06-27 13:35: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123322)', '2026-06-27 13:35:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:35:35'::timestamp) - extract(epoch from '2026-06-27 13:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123313)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:35:35'::timestamp) - extract(epoch from '2026-06-27 13:35: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123325)', '2026-06-27 13:35:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:35:44'::timestamp) - extract(epoch from '2026-06-27 13:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:35:44'::timestamp) - extract(epoch from '2026-06-27 13:35: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123321)', '2026-06-27 13:35:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123321)'))) / (select extract(epoch from '2026-06-27 13:35:55'::timestamp) - extract(epoch from '2026-06-27 13:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123321)'))) / (select extract(epoch from '2026-06-27 13:35:55'::timestamp) - extract(epoch from '2026-06-27 13:35: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'), 46645, 'SRID=4674;POINT (-39.138406 -3.123315)', '2026-06-27 13:36:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123315)'))) / (select extract(epoch from '2026-06-27 13:36:08'::timestamp) - extract(epoch from '2026-06-27 13:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123315)'))) / (select extract(epoch from '2026-06-27 13:36:08'::timestamp) - extract(epoch from '2026-06-27 13:35: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123311)', '2026-06-27 13:36:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123311)'))) / (select extract(epoch from '2026-06-27 13:36:20'::timestamp) - extract(epoch from '2026-06-27 13:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123315)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123311)'))) / (select extract(epoch from '2026-06-27 13:36:20'::timestamp) - extract(epoch from '2026-06-27 13:36: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123316)', '2026-06-27 13:36:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123316)'))) / (select extract(epoch from '2026-06-27 13:36:32'::timestamp) - extract(epoch from '2026-06-27 13:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123311)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123316)'))) / (select extract(epoch from '2026-06-27 13:36:32'::timestamp) - extract(epoch from '2026-06-27 13:36: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123322)', '2026-06-27 13:36:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:36:42'::timestamp) - extract(epoch from '2026-06-27 13:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:36:42'::timestamp) - extract(epoch from '2026-06-27 13:36: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123325)', '2026-06-27 13:36:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:36:51'::timestamp) - extract(epoch from '2026-06-27 13:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123325)'))) / (select extract(epoch from '2026-06-27 13:36:51'::timestamp) - extract(epoch from '2026-06-27 13:36: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123329)', '2026-06-27 13:37:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:37:03'::timestamp) - extract(epoch from '2026-06-27 13:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123329)'))) / (select extract(epoch from '2026-06-27 13:37:03'::timestamp) - extract(epoch from '2026-06-27 13:36: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123321)', '2026-06-27 13:37:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123321)'))) / (select extract(epoch from '2026-06-27 13:37:10'::timestamp) - extract(epoch from '2026-06-27 13:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123321)'))) / (select extract(epoch from '2026-06-27 13:37:10'::timestamp) - extract(epoch from '2026-06-27 13:37: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123324)', '2026-06-27 13:37:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:37:16'::timestamp) - extract(epoch from '2026-06-27 13:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:37:16'::timestamp) - extract(epoch from '2026-06-27 13:37: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123322)', '2026-06-27 13:37:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:37:26'::timestamp) - extract(epoch from '2026-06-27 13:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:37:26'::timestamp) - extract(epoch from '2026-06-27 13:37: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'), 46645, 'SRID=4674;POINT (-39.13843 -3.123323)', '2026-06-27 13:37:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:37:34'::timestamp) - extract(epoch from '2026-06-27 13:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:37:34'::timestamp) - extract(epoch from '2026-06-27 13:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138424 -3.123322)', '2026-06-27 13:37:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:37:43'::timestamp) - extract(epoch from '2026-06-27 13:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123322)'))) / (select extract(epoch from '2026-06-27 13:37:43'::timestamp) - extract(epoch from '2026-06-27 13:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123323)', '2026-06-27 13:37:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:37:52'::timestamp) - extract(epoch from '2026-06-27 13:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:37:52'::timestamp) - extract(epoch from '2026-06-27 13:37: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123324)', '2026-06-27 13:37:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:37:59'::timestamp) - extract(epoch from '2026-06-27 13:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:37:59'::timestamp) - extract(epoch from '2026-06-27 13:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.123324)', '2026-06-27 13:38:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:38:13'::timestamp) - extract(epoch from '2026-06-27 13:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123324)'))) / (select extract(epoch from '2026-06-27 13:38:13'::timestamp) - extract(epoch from '2026-06-27 13:37: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123327)', '2026-06-27 13:38:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:38:23'::timestamp) - extract(epoch from '2026-06-27 13:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123327)'))) / (select extract(epoch from '2026-06-27 13:38:23'::timestamp) - extract(epoch from '2026-06-27 13:38: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123323)', '2026-06-27 13:38:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:38:34'::timestamp) - extract(epoch from '2026-06-27 13:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:38:34'::timestamp) - extract(epoch from '2026-06-27 13:38: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123323)', '2026-06-27 13:38:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:38:40'::timestamp) - extract(epoch from '2026-06-27 13:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123323)'))) / (select extract(epoch from '2026-06-27 13:38:40'::timestamp) - extract(epoch from '2026-06-27 13:38: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123328)', '2026-06-27 13:38:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123328)'))) / (select extract(epoch from '2026-06-27 13:38:54'::timestamp) - extract(epoch from '2026-06-27 13:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123328)'))) / (select extract(epoch from '2026-06-27 13:38:54'::timestamp) - extract(epoch from '2026-06-27 13:38: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123334)', '2026-06-27 13:39:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123334)'))) / (select extract(epoch from '2026-06-27 13:39:07'::timestamp) - extract(epoch from '2026-06-27 13:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123334)'))) / (select extract(epoch from '2026-06-27 13:39:07'::timestamp) - extract(epoch from '2026-06-27 13:38: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123332)', '2026-06-27 13:39:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123332)'))) / (select extract(epoch from '2026-06-27 13:39:19'::timestamp) - extract(epoch from '2026-06-27 13:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123332)'))) / (select extract(epoch from '2026-06-27 13:39:19'::timestamp) - extract(epoch from '2026-06-27 13:39: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123338)', '2026-06-27 13:39:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123338)'))) / (select extract(epoch from '2026-06-27 13:39:27'::timestamp) - extract(epoch from '2026-06-27 13:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123338)'))) / (select extract(epoch from '2026-06-27 13:39:27'::timestamp) - extract(epoch from '2026-06-27 13:39: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123341)', '2026-06-27 13:39:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123341)'))) / (select extract(epoch from '2026-06-27 13:39:35'::timestamp) - extract(epoch from '2026-06-27 13:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123341)'))) / (select extract(epoch from '2026-06-27 13:39:35'::timestamp) - extract(epoch from '2026-06-27 13:39: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123346)', '2026-06-27 13:39:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:39:41'::timestamp) - extract(epoch from '2026-06-27 13:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:39:41'::timestamp) - extract(epoch from '2026-06-27 13:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123347)', '2026-06-27 13:39:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123347)'))) / (select extract(epoch from '2026-06-27 13:39:47'::timestamp) - extract(epoch from '2026-06-27 13:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123347)'))) / (select extract(epoch from '2026-06-27 13:39:47'::timestamp) - extract(epoch from '2026-06-27 13:39: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123344)', '2026-06-27 13:39:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:39:56'::timestamp) - extract(epoch from '2026-06-27 13:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:39:56'::timestamp) - extract(epoch from '2026-06-27 13:39: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123346)', '2026-06-27 13:40:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:40:06'::timestamp) - extract(epoch from '2026-06-27 13:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:40:06'::timestamp) - extract(epoch from '2026-06-27 13:39: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123346)', '2026-06-27 13:40:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:40:17'::timestamp) - extract(epoch from '2026-06-27 13:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123346)'))) / (select extract(epoch from '2026-06-27 13:40:17'::timestamp) - extract(epoch from '2026-06-27 13:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13843 -3.123344)', '2026-06-27 13:40:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:40:27'::timestamp) - extract(epoch from '2026-06-27 13:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123344)'))) / (select extract(epoch from '2026-06-27 13:40:27'::timestamp) - extract(epoch from '2026-06-27 13:40: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123345)', '2026-06-27 13:40:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:40:35'::timestamp) - extract(epoch from '2026-06-27 13:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123345)'))) / (select extract(epoch from '2026-06-27 13:40:35'::timestamp) - extract(epoch from '2026-06-27 13:40: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.12335)', '2026-06-27 13:40:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12335)'))) / (select extract(epoch from '2026-06-27 13:40:43'::timestamp) - extract(epoch from '2026-06-27 13:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12335)'))) / (select extract(epoch from '2026-06-27 13:40:43'::timestamp) - extract(epoch from '2026-06-27 13:40: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123355)', '2026-06-27 13:40:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:40:50'::timestamp) - extract(epoch from '2026-06-27 13:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123355)'))) / (select extract(epoch from '2026-06-27 13:40:50'::timestamp) - extract(epoch from '2026-06-27 13:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138423 -3.123358)', '2026-06-27 13:40:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:40:59'::timestamp) - extract(epoch from '2026-06-27 13:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:40:59'::timestamp) - extract(epoch from '2026-06-27 13:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123359)', '2026-06-27 13:41:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123359)'))) / (select extract(epoch from '2026-06-27 13:41:06'::timestamp) - extract(epoch from '2026-06-27 13:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123359)'))) / (select extract(epoch from '2026-06-27 13:41:06'::timestamp) - extract(epoch from '2026-06-27 13:40: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123352)', '2026-06-27 13:41:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123352)'))) / (select extract(epoch from '2026-06-27 13:41:13'::timestamp) - extract(epoch from '2026-06-27 13:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123352)'))) / (select extract(epoch from '2026-06-27 13:41:13'::timestamp) - extract(epoch from '2026-06-27 13:41: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123349)', '2026-06-27 13:41:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123349)'))) / (select extract(epoch from '2026-06-27 13:41:20'::timestamp) - extract(epoch from '2026-06-27 13:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123349)'))) / (select extract(epoch from '2026-06-27 13:41:20'::timestamp) - extract(epoch from '2026-06-27 13:41: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123349)', '2026-06-27 13:41:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123349)'))) / (select extract(epoch from '2026-06-27 13:41:29'::timestamp) - extract(epoch from '2026-06-27 13:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123349)'))) / (select extract(epoch from '2026-06-27 13:41:29'::timestamp) - extract(epoch from '2026-06-27 13:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138429 -3.123353)', '2026-06-27 13:41:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123353)'))) / (select extract(epoch from '2026-06-27 13:41:36'::timestamp) - extract(epoch from '2026-06-27 13:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123353)'))) / (select extract(epoch from '2026-06-27 13:41:36'::timestamp) - extract(epoch from '2026-06-27 13:41: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123353)', '2026-06-27 13:41:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123353)'))) / (select extract(epoch from '2026-06-27 13:41:38'::timestamp) - extract(epoch from '2026-06-27 13:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123353)'))) / (select extract(epoch from '2026-06-27 13:41:38'::timestamp) - extract(epoch from '2026-06-27 13:41: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123354)', '2026-06-27 13:41:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123354)'))) / (select extract(epoch from '2026-06-27 13:41:41'::timestamp) - extract(epoch from '2026-06-27 13:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123354)'))) / (select extract(epoch from '2026-06-27 13:41:41'::timestamp) - extract(epoch from '2026-06-27 13:41: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123358)', '2026-06-27 13:41:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:41:51'::timestamp) - extract(epoch from '2026-06-27 13:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:41:51'::timestamp) - extract(epoch from '2026-06-27 13:41: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'), 46645, 'SRID=4674;POINT (-39.13843 -3.123356)', '2026-06-27 13:41:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123356)'))) / (select extract(epoch from '2026-06-27 13:41:58'::timestamp) - extract(epoch from '2026-06-27 13:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123356)'))) / (select extract(epoch from '2026-06-27 13:41:58'::timestamp) - extract(epoch from '2026-06-27 13:41: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123357)', '2026-06-27 13:42:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123357)'))) / (select extract(epoch from '2026-06-27 13:42:09'::timestamp) - extract(epoch from '2026-06-27 13:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123357)'))) / (select extract(epoch from '2026-06-27 13:42:09'::timestamp) - extract(epoch from '2026-06-27 13:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123358)', '2026-06-27 13:42:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:42:19'::timestamp) - extract(epoch from '2026-06-27 13:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123358)'))) / (select extract(epoch from '2026-06-27 13:42:19'::timestamp) - extract(epoch from '2026-06-27 13:42: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123364)', '2026-06-27 13:42:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123364)'))) / (select extract(epoch from '2026-06-27 13:42:27'::timestamp) - extract(epoch from '2026-06-27 13:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123364)'))) / (select extract(epoch from '2026-06-27 13:42:27'::timestamp) - extract(epoch from '2026-06-27 13:42: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.12337)', '2026-06-27 13:42:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12337)'))) / (select extract(epoch from '2026-06-27 13:42:38'::timestamp) - extract(epoch from '2026-06-27 13:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12337)'))) / (select extract(epoch from '2026-06-27 13:42:38'::timestamp) - extract(epoch from '2026-06-27 13:42: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123367)', '2026-06-27 13:42:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123367)'))) / (select extract(epoch from '2026-06-27 13:42:46'::timestamp) - extract(epoch from '2026-06-27 13:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123367)'))) / (select extract(epoch from '2026-06-27 13:42:46'::timestamp) - extract(epoch from '2026-06-27 13:42: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123363)', '2026-06-27 13:42:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123363)'))) / (select extract(epoch from '2026-06-27 13:42:55'::timestamp) - extract(epoch from '2026-06-27 13:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123363)'))) / (select extract(epoch from '2026-06-27 13:42:55'::timestamp) - extract(epoch from '2026-06-27 13:42: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123364)', '2026-06-27 13:43:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123364)'))) / (select extract(epoch from '2026-06-27 13:43:06'::timestamp) - extract(epoch from '2026-06-27 13:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123364)'))) / (select extract(epoch from '2026-06-27 13:43:06'::timestamp) - extract(epoch from '2026-06-27 13:42: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123371)', '2026-06-27 13:43:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123371)'))) / (select extract(epoch from '2026-06-27 13:43:14'::timestamp) - extract(epoch from '2026-06-27 13:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123371)'))) / (select extract(epoch from '2026-06-27 13:43:14'::timestamp) - extract(epoch from '2026-06-27 13:43: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123376)', '2026-06-27 13:43:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123376)'))) / (select extract(epoch from '2026-06-27 13:43:25'::timestamp) - extract(epoch from '2026-06-27 13:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123376)'))) / (select extract(epoch from '2026-06-27 13:43:25'::timestamp) - extract(epoch from '2026-06-27 13:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138416 -3.123375)', '2026-06-27 13:43:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123375)'))) / (select extract(epoch from '2026-06-27 13:43:32'::timestamp) - extract(epoch from '2026-06-27 13:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123375)'))) / (select extract(epoch from '2026-06-27 13:43:32'::timestamp) - extract(epoch from '2026-06-27 13:43:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138423 -3.123378)', '2026-06-27 13:43:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123378)'))) / (select extract(epoch from '2026-06-27 13:43:39'::timestamp) - extract(epoch from '2026-06-27 13:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123378)'))) / (select extract(epoch from '2026-06-27 13:43:39'::timestamp) - extract(epoch from '2026-06-27 13:43:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123379)', '2026-06-27 13:43:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123379)'))) / (select extract(epoch from '2026-06-27 13:43:44'::timestamp) - extract(epoch from '2026-06-27 13:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123379)'))) / (select extract(epoch from '2026-06-27 13:43:44'::timestamp) - extract(epoch from '2026-06-27 13:43:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13842 -3.123381)', '2026-06-27 13:43:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123381)'))) / (select extract(epoch from '2026-06-27 13:43:54'::timestamp) - extract(epoch from '2026-06-27 13:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123381)'))) / (select extract(epoch from '2026-06-27 13:43:54'::timestamp) - extract(epoch from '2026-06-27 13:43: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123384)', '2026-06-27 13:44:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123384)'))) / (select extract(epoch from '2026-06-27 13:44:01'::timestamp) - extract(epoch from '2026-06-27 13:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123384)'))) / (select extract(epoch from '2026-06-27 13:44:01'::timestamp) - extract(epoch from '2026-06-27 13:43:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123388)', '2026-06-27 13:44:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123388)'))) / (select extract(epoch from '2026-06-27 13:44:12'::timestamp) - extract(epoch from '2026-06-27 13:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123388)'))) / (select extract(epoch from '2026-06-27 13:44:12'::timestamp) - extract(epoch from '2026-06-27 13:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123389)', '2026-06-27 13:44:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123389)'))) / (select extract(epoch from '2026-06-27 13:44:20'::timestamp) - extract(epoch from '2026-06-27 13:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123389)'))) / (select extract(epoch from '2026-06-27 13:44:20'::timestamp) - extract(epoch from '2026-06-27 13:44: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123384)', '2026-06-27 13:44:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123384)'))) / (select extract(epoch from '2026-06-27 13:44:28'::timestamp) - extract(epoch from '2026-06-27 13:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123384)'))) / (select extract(epoch from '2026-06-27 13:44:28'::timestamp) - extract(epoch from '2026-06-27 13:44: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123382)', '2026-06-27 13:44:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123382)'))) / (select extract(epoch from '2026-06-27 13:44:34'::timestamp) - extract(epoch from '2026-06-27 13:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123382)'))) / (select extract(epoch from '2026-06-27 13:44:34'::timestamp) - extract(epoch from '2026-06-27 13:44: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123382)', '2026-06-27 13:44:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123382)'))) / (select extract(epoch from '2026-06-27 13:44:44'::timestamp) - extract(epoch from '2026-06-27 13:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123382)'))) / (select extract(epoch from '2026-06-27 13:44:44'::timestamp) - extract(epoch from '2026-06-27 13:44: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123387)', '2026-06-27 13:44:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123387)'))) / (select extract(epoch from '2026-06-27 13:44:48'::timestamp) - extract(epoch from '2026-06-27 13:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123387)'))) / (select extract(epoch from '2026-06-27 13:44:48'::timestamp) - extract(epoch from '2026-06-27 13:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13842 -3.12339)', '2026-06-27 13:44:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12339)'))) / (select extract(epoch from '2026-06-27 13:44:58'::timestamp) - extract(epoch from '2026-06-27 13:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12339)'))) / (select extract(epoch from '2026-06-27 13:44:58'::timestamp) - extract(epoch from '2026-06-27 13:44:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123393)', '2026-06-27 13:45:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123393)'))) / (select extract(epoch from '2026-06-27 13:45:10'::timestamp) - extract(epoch from '2026-06-27 13:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123393)'))) / (select extract(epoch from '2026-06-27 13:45:10'::timestamp) - extract(epoch from '2026-06-27 13:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13842 -3.123394)', '2026-06-27 13:45:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123394)'))) / (select extract(epoch from '2026-06-27 13:45:17'::timestamp) - extract(epoch from '2026-06-27 13:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123394)'))) / (select extract(epoch from '2026-06-27 13:45:17'::timestamp) - extract(epoch from '2026-06-27 13:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138424 -3.123395)', '2026-06-27 13:45:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123395)'))) / (select extract(epoch from '2026-06-27 13:45:26'::timestamp) - extract(epoch from '2026-06-27 13:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123395)'))) / (select extract(epoch from '2026-06-27 13:45:26'::timestamp) - extract(epoch from '2026-06-27 13:45: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123398)', '2026-06-27 13:45:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123398)'))) / (select extract(epoch from '2026-06-27 13:45:36'::timestamp) - extract(epoch from '2026-06-27 13:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123398)'))) / (select extract(epoch from '2026-06-27 13:45:36'::timestamp) - extract(epoch from '2026-06-27 13:45:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123393)', '2026-06-27 13:45:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123393)'))) / (select extract(epoch from '2026-06-27 13:45:42'::timestamp) - extract(epoch from '2026-06-27 13:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123393)'))) / (select extract(epoch from '2026-06-27 13:45:42'::timestamp) - extract(epoch from '2026-06-27 13:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138419 -3.123392)', '2026-06-27 13:45:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123392)'))) / (select extract(epoch from '2026-06-27 13:45:52'::timestamp) - extract(epoch from '2026-06-27 13:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123392)'))) / (select extract(epoch from '2026-06-27 13:45:52'::timestamp) - extract(epoch from '2026-06-27 13:45: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123391)', '2026-06-27 13:46:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123391)'))) / (select extract(epoch from '2026-06-27 13:46:08'::timestamp) - extract(epoch from '2026-06-27 13:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123391)'))) / (select extract(epoch from '2026-06-27 13:46:08'::timestamp) - extract(epoch from '2026-06-27 13:45: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123389)', '2026-06-27 13:46:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123389)'))) / (select extract(epoch from '2026-06-27 13:46:17'::timestamp) - extract(epoch from '2026-06-27 13:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123389)'))) / (select extract(epoch from '2026-06-27 13:46:17'::timestamp) - extract(epoch from '2026-06-27 13:46: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123395)', '2026-06-27 13:46:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123395)'))) / (select extract(epoch from '2026-06-27 13:46:27'::timestamp) - extract(epoch from '2026-06-27 13:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123395)'))) / (select extract(epoch from '2026-06-27 13:46:27'::timestamp) - extract(epoch from '2026-06-27 13:46: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123398)', '2026-06-27 13:46:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123398)'))) / (select extract(epoch from '2026-06-27 13:46:34'::timestamp) - extract(epoch from '2026-06-27 13:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123398)'))) / (select extract(epoch from '2026-06-27 13:46:34'::timestamp) - extract(epoch from '2026-06-27 13:46: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123402)', '2026-06-27 13:46:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123402)'))) / (select extract(epoch from '2026-06-27 13:46:41'::timestamp) - extract(epoch from '2026-06-27 13:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123402)'))) / (select extract(epoch from '2026-06-27 13:46:41'::timestamp) - extract(epoch from '2026-06-27 13:46: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123404)', '2026-06-27 13:46:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123404)'))) / (select extract(epoch from '2026-06-27 13:46:54'::timestamp) - extract(epoch from '2026-06-27 13:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123404)'))) / (select extract(epoch from '2026-06-27 13:46:54'::timestamp) - extract(epoch from '2026-06-27 13:46: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123403)', '2026-06-27 13:47:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123403)'))) / (select extract(epoch from '2026-06-27 13:47:02'::timestamp) - extract(epoch from '2026-06-27 13:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123403)'))) / (select extract(epoch from '2026-06-27 13:47:02'::timestamp) - extract(epoch from '2026-06-27 13:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13843 -3.123404)', '2026-06-27 13:47:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123404)'))) / (select extract(epoch from '2026-06-27 13:47:10'::timestamp) - extract(epoch from '2026-06-27 13:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123404)'))) / (select extract(epoch from '2026-06-27 13:47:10'::timestamp) - extract(epoch from '2026-06-27 13:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138429 -3.123408)', '2026-06-27 13:47:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123408)'))) / (select extract(epoch from '2026-06-27 13:47:22'::timestamp) - extract(epoch from '2026-06-27 13:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123408)'))) / (select extract(epoch from '2026-06-27 13:47:22'::timestamp) - extract(epoch from '2026-06-27 13:47: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123409)', '2026-06-27 13:47:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123409)'))) / (select extract(epoch from '2026-06-27 13:47:30'::timestamp) - extract(epoch from '2026-06-27 13:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123409)'))) / (select extract(epoch from '2026-06-27 13:47:30'::timestamp) - extract(epoch from '2026-06-27 13:47: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'), 46645, 'SRID=4674;POINT (-39.13843 -3.123413)', '2026-06-27 13:47:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123413)'))) / (select extract(epoch from '2026-06-27 13:47:37'::timestamp) - extract(epoch from '2026-06-27 13:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123413)'))) / (select extract(epoch from '2026-06-27 13:47:37'::timestamp) - extract(epoch from '2026-06-27 13:47: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123415)', '2026-06-27 13:47:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123413)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123415)'))) / (select extract(epoch from '2026-06-27 13:47:45'::timestamp) - extract(epoch from '2026-06-27 13:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123413)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123415)'))) / (select extract(epoch from '2026-06-27 13:47:45'::timestamp) - extract(epoch from '2026-06-27 13:47: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123414)', '2026-06-27 13:47:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123415)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123414)'))) / (select extract(epoch from '2026-06-27 13:47:55'::timestamp) - extract(epoch from '2026-06-27 13:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123415)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123414)'))) / (select extract(epoch from '2026-06-27 13:47:55'::timestamp) - extract(epoch from '2026-06-27 13:47: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123418)', '2026-06-27 13:48:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123414)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123418)'))) / (select extract(epoch from '2026-06-27 13:48:03'::timestamp) - extract(epoch from '2026-06-27 13:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123414)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123418)'))) / (select extract(epoch from '2026-06-27 13:48:03'::timestamp) - extract(epoch from '2026-06-27 13:47: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123418)', '2026-06-27 13:48:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123418)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123418)'))) / (select extract(epoch from '2026-06-27 13:48:11'::timestamp) - extract(epoch from '2026-06-27 13:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123418)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123418)'))) / (select extract(epoch from '2026-06-27 13:48:11'::timestamp) - extract(epoch from '2026-06-27 13:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138431 -3.123421)', '2026-06-27 13:48:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123418)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123421)'))) / (select extract(epoch from '2026-06-27 13:48:18'::timestamp) - extract(epoch from '2026-06-27 13:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123418)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123421)'))) / (select extract(epoch from '2026-06-27 13:48:18'::timestamp) - extract(epoch from '2026-06-27 13:48:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138434 -3.123426)', '2026-06-27 13:48:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123421)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:48:24'::timestamp) - extract(epoch from '2026-06-27 13:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123421)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:48:24'::timestamp) - extract(epoch from '2026-06-27 13:48: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123427)', '2026-06-27 13:48:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123427)'))) / (select extract(epoch from '2026-06-27 13:48:31'::timestamp) - extract(epoch from '2026-06-27 13:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123427)'))) / (select extract(epoch from '2026-06-27 13:48:31'::timestamp) - extract(epoch from '2026-06-27 13:48: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123424)', '2026-06-27 13:48:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123424)'))) / (select extract(epoch from '2026-06-27 13:48:40'::timestamp) - extract(epoch from '2026-06-27 13:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123424)'))) / (select extract(epoch from '2026-06-27 13:48:40'::timestamp) - extract(epoch from '2026-06-27 13:48:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138436 -3.123422)', '2026-06-27 13:48:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123422)'))) / (select extract(epoch from '2026-06-27 13:48:47'::timestamp) - extract(epoch from '2026-06-27 13:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123422)'))) / (select extract(epoch from '2026-06-27 13:48:47'::timestamp) - extract(epoch from '2026-06-27 13:48: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123424)', '2026-06-27 13:48:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123422)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123424)'))) / (select extract(epoch from '2026-06-27 13:48:56'::timestamp) - extract(epoch from '2026-06-27 13:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123422)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123424)'))) / (select extract(epoch from '2026-06-27 13:48:56'::timestamp) - extract(epoch from '2026-06-27 13:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138424 -3.123431)', '2026-06-27 13:49:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123431)'))) / (select extract(epoch from '2026-06-27 13:49:04'::timestamp) - extract(epoch from '2026-06-27 13:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123431)'))) / (select extract(epoch from '2026-06-27 13:49:04'::timestamp) - extract(epoch from '2026-06-27 13:48: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123434)', '2026-06-27 13:49:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123434)'))) / (select extract(epoch from '2026-06-27 13:49:11'::timestamp) - extract(epoch from '2026-06-27 13:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123434)'))) / (select extract(epoch from '2026-06-27 13:49:11'::timestamp) - extract(epoch from '2026-06-27 13:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123432)', '2026-06-27 13:49:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123432)'))) / (select extract(epoch from '2026-06-27 13:49:19'::timestamp) - extract(epoch from '2026-06-27 13:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123432)'))) / (select extract(epoch from '2026-06-27 13:49:19'::timestamp) - extract(epoch from '2026-06-27 13:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123433)', '2026-06-27 13:49:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123432)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123433)'))) / (select extract(epoch from '2026-06-27 13:49:31'::timestamp) - extract(epoch from '2026-06-27 13:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123432)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123433)'))) / (select extract(epoch from '2026-06-27 13:49:31'::timestamp) - extract(epoch from '2026-06-27 13:49: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123434)', '2026-06-27 13:49:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123433)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123434)'))) / (select extract(epoch from '2026-06-27 13:49:42'::timestamp) - extract(epoch from '2026-06-27 13:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123433)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123434)'))) / (select extract(epoch from '2026-06-27 13:49:42'::timestamp) - extract(epoch from '2026-06-27 13:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123427)', '2026-06-27 13:49:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123427)'))) / (select extract(epoch from '2026-06-27 13:49:53'::timestamp) - extract(epoch from '2026-06-27 13:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123427)'))) / (select extract(epoch from '2026-06-27 13:49:53'::timestamp) - extract(epoch from '2026-06-27 13:49: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123422)', '2026-06-27 13:50:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123422)'))) / (select extract(epoch from '2026-06-27 13:50:03'::timestamp) - extract(epoch from '2026-06-27 13:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123422)'))) / (select extract(epoch from '2026-06-27 13:50:03'::timestamp) - extract(epoch from '2026-06-27 13:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123421)', '2026-06-27 13:50:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123422)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123421)'))) / (select extract(epoch from '2026-06-27 13:50:11'::timestamp) - extract(epoch from '2026-06-27 13:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123422)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123421)'))) / (select extract(epoch from '2026-06-27 13:50:11'::timestamp) - extract(epoch from '2026-06-27 13:50:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123424)', '2026-06-27 13:50:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123421)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123424)'))) / (select extract(epoch from '2026-06-27 13:50:16'::timestamp) - extract(epoch from '2026-06-27 13:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123421)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123424)'))) / (select extract(epoch from '2026-06-27 13:50:16'::timestamp) - extract(epoch from '2026-06-27 13:50: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123428)', '2026-06-27 13:50:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:50:28'::timestamp) - extract(epoch from '2026-06-27 13:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:50:28'::timestamp) - extract(epoch from '2026-06-27 13:50: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.12343)', '2026-06-27 13:50:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12343)'))) / (select extract(epoch from '2026-06-27 13:50:35'::timestamp) - extract(epoch from '2026-06-27 13:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12343)'))) / (select extract(epoch from '2026-06-27 13:50:35'::timestamp) - extract(epoch from '2026-06-27 13:50:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123436)', '2026-06-27 13:50:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123436)'))) / (select extract(epoch from '2026-06-27 13:50:46'::timestamp) - extract(epoch from '2026-06-27 13:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123436)'))) / (select extract(epoch from '2026-06-27 13:50:46'::timestamp) - extract(epoch from '2026-06-27 13:50: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123438)', '2026-06-27 13:50:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123436)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123438)'))) / (select extract(epoch from '2026-06-27 13:50:54'::timestamp) - extract(epoch from '2026-06-27 13:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123436)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123438)'))) / (select extract(epoch from '2026-06-27 13:50:54'::timestamp) - extract(epoch from '2026-06-27 13:50: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123446)', '2026-06-27 13:51:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123438)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123446)'))) / (select extract(epoch from '2026-06-27 13:51:01'::timestamp) - extract(epoch from '2026-06-27 13:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123438)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123446)'))) / (select extract(epoch from '2026-06-27 13:51:01'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123447)', '2026-06-27 13:51:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123446)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123447)'))) / (select extract(epoch from '2026-06-27 13:51:08'::timestamp) - extract(epoch from '2026-06-27 13:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123446)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123447)'))) / (select extract(epoch from '2026-06-27 13:51:08'::timestamp) - extract(epoch from '2026-06-27 13:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13843 -3.123447)', '2026-06-27 13:51:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123447)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123447)'))) / (select extract(epoch from '2026-06-27 13:51:17'::timestamp) - extract(epoch from '2026-06-27 13:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123447)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123447)'))) / (select extract(epoch from '2026-06-27 13:51:17'::timestamp) - extract(epoch from '2026-06-27 13:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138434 -3.123453)', '2026-06-27 13:51:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123447)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123453)'))) / (select extract(epoch from '2026-06-27 13:51:26'::timestamp) - extract(epoch from '2026-06-27 13:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123447)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123453)'))) / (select extract(epoch from '2026-06-27 13:51:26'::timestamp) - extract(epoch from '2026-06-27 13:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13844 -3.123455)', '2026-06-27 13:51:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123453)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123455)'))) / (select extract(epoch from '2026-06-27 13:51:35'::timestamp) - extract(epoch from '2026-06-27 13:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123453)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123455)'))) / (select extract(epoch from '2026-06-27 13:51:35'::timestamp) - extract(epoch from '2026-06-27 13:51:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138438 -3.123451)', '2026-06-27 13:51:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123455)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123451)'))) / (select extract(epoch from '2026-06-27 13:51:42'::timestamp) - extract(epoch from '2026-06-27 13:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123455)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123451)'))) / (select extract(epoch from '2026-06-27 13:51:42'::timestamp) - extract(epoch from '2026-06-27 13:51: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'), 46645, 'SRID=4674;POINT (-39.138437 -3.123453)', '2026-06-27 13:51:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123451)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123453)'))) / (select extract(epoch from '2026-06-27 13:51:54'::timestamp) - extract(epoch from '2026-06-27 13:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123451)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123453)'))) / (select extract(epoch from '2026-06-27 13:51:54'::timestamp) - extract(epoch from '2026-06-27 13:51: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'), 46645, 'SRID=4674;POINT (-39.138441 -3.123455)', '2026-06-27 13:52:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123453)'), GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123455)'))) / (select extract(epoch from '2026-06-27 13:52:00'::timestamp) - extract(epoch from '2026-06-27 13:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123453)'), GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123455)'))) / (select extract(epoch from '2026-06-27 13:52:00'::timestamp) - extract(epoch from '2026-06-27 13:51: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'), 46645, 'SRID=4674;POINT (-39.138438 -3.123455)', '2026-06-27 13:52:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123455)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123455)'))) / (select extract(epoch from '2026-06-27 13:52:08'::timestamp) - extract(epoch from '2026-06-27 13:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123455)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123455)'))) / (select extract(epoch from '2026-06-27 13:52:08'::timestamp) - extract(epoch from '2026-06-27 13:52: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123454)', '2026-06-27 13:52:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123455)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123454)'))) / (select extract(epoch from '2026-06-27 13:52:15'::timestamp) - extract(epoch from '2026-06-27 13:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123455)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123454)'))) / (select extract(epoch from '2026-06-27 13:52:15'::timestamp) - extract(epoch from '2026-06-27 13:52: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123446)', '2026-06-27 13:52:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123454)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123446)'))) / (select extract(epoch from '2026-06-27 13:52:22'::timestamp) - extract(epoch from '2026-06-27 13:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123454)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123446)'))) / (select extract(epoch from '2026-06-27 13:52:22'::timestamp) - extract(epoch from '2026-06-27 13:52: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'), 46645, 'SRID=4674;POINT (-39.138434 -3.123443)', '2026-06-27 13:52:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123446)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123443)'))) / (select extract(epoch from '2026-06-27 13:52:32'::timestamp) - extract(epoch from '2026-06-27 13:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123446)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123443)'))) / (select extract(epoch from '2026-06-27 13:52:32'::timestamp) - extract(epoch from '2026-06-27 13:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138437 -3.123444)', '2026-06-27 13:52:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123443)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123444)'))) / (select extract(epoch from '2026-06-27 13:52:39'::timestamp) - extract(epoch from '2026-06-27 13:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123443)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123444)'))) / (select extract(epoch from '2026-06-27 13:52:39'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.12345)', '2026-06-27 13:52:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123444)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12345)'))) / (select extract(epoch from '2026-06-27 13:52:49'::timestamp) - extract(epoch from '2026-06-27 13:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123444)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12345)'))) / (select extract(epoch from '2026-06-27 13:52:49'::timestamp) - extract(epoch from '2026-06-27 13:52: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'), 46645, 'SRID=4674;POINT (-39.138437 -3.123448)', '2026-06-27 13:53:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12345)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123448)'))) / (select extract(epoch from '2026-06-27 13:53:00'::timestamp) - extract(epoch from '2026-06-27 13:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12345)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123448)'))) / (select extract(epoch from '2026-06-27 13:53:00'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123448)', '2026-06-27 13:53:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123448)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123448)'))) / (select extract(epoch from '2026-06-27 13:53:05'::timestamp) - extract(epoch from '2026-06-27 13:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123448)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123448)'))) / (select extract(epoch from '2026-06-27 13:53:05'::timestamp) - extract(epoch from '2026-06-27 13:53:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138431 -3.123452)', '2026-06-27 13:53:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123448)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123452)'))) / (select extract(epoch from '2026-06-27 13:53:15'::timestamp) - extract(epoch from '2026-06-27 13:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123448)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123452)'))) / (select extract(epoch from '2026-06-27 13:53:15'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123453)', '2026-06-27 13:53:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123452)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123453)'))) / (select extract(epoch from '2026-06-27 13:53:24'::timestamp) - extract(epoch from '2026-06-27 13:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123452)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123453)'))) / (select extract(epoch from '2026-06-27 13:53:24'::timestamp) - extract(epoch from '2026-06-27 13:53: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123452)', '2026-06-27 13:53:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123453)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123452)'))) / (select extract(epoch from '2026-06-27 13:53:35'::timestamp) - extract(epoch from '2026-06-27 13:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123453)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123452)'))) / (select extract(epoch from '2026-06-27 13:53:35'::timestamp) - extract(epoch from '2026-06-27 13:53: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123444)', '2026-06-27 13:53:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123452)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123444)'))) / (select extract(epoch from '2026-06-27 13:53:41'::timestamp) - extract(epoch from '2026-06-27 13:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123452)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123444)'))) / (select extract(epoch from '2026-06-27 13:53:41'::timestamp) - extract(epoch from '2026-06-27 13:53: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123446)', '2026-06-27 13:53:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123444)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123446)'))) / (select extract(epoch from '2026-06-27 13:53:48'::timestamp) - extract(epoch from '2026-06-27 13:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123444)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123446)'))) / (select extract(epoch from '2026-06-27 13:53:48'::timestamp) - extract(epoch from '2026-06-27 13:53: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.12344)', '2026-06-27 13:53:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123446)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12344)'))) / (select extract(epoch from '2026-06-27 13:53:59'::timestamp) - extract(epoch from '2026-06-27 13:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123446)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12344)'))) / (select extract(epoch from '2026-06-27 13:53:59'::timestamp) - extract(epoch from '2026-06-27 13:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.12344)', '2026-06-27 13:54:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12344)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12344)'))) / (select extract(epoch from '2026-06-27 13:54:06'::timestamp) - extract(epoch from '2026-06-27 13:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12344)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12344)'))) / (select extract(epoch from '2026-06-27 13:54:06'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123439)', '2026-06-27 13:54:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12344)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123439)'))) / (select extract(epoch from '2026-06-27 13:54:12'::timestamp) - extract(epoch from '2026-06-27 13:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12344)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123439)'))) / (select extract(epoch from '2026-06-27 13:54:12'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123435)', '2026-06-27 13:54:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123439)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123435)'))) / (select extract(epoch from '2026-06-27 13:54:25'::timestamp) - extract(epoch from '2026-06-27 13:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123439)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123435)'))) / (select extract(epoch from '2026-06-27 13:54:25'::timestamp) - extract(epoch from '2026-06-27 13:54:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123429)', '2026-06-27 13:54:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123435)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123429)'))) / (select extract(epoch from '2026-06-27 13:54:38'::timestamp) - extract(epoch from '2026-06-27 13:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123435)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123429)'))) / (select extract(epoch from '2026-06-27 13:54:38'::timestamp) - extract(epoch from '2026-06-27 13:54: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123431)', '2026-06-27 13:54:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123431)'))) / (select extract(epoch from '2026-06-27 13:54:46'::timestamp) - extract(epoch from '2026-06-27 13:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123431)'))) / (select extract(epoch from '2026-06-27 13:54:46'::timestamp) - extract(epoch from '2026-06-27 13:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123434)', '2026-06-27 13:54:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123434)'))) / (select extract(epoch from '2026-06-27 13:54:56'::timestamp) - extract(epoch from '2026-06-27 13:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123434)'))) / (select extract(epoch from '2026-06-27 13:54:56'::timestamp) - extract(epoch from '2026-06-27 13:54: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123427)', '2026-06-27 13:55:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123427)'))) / (select extract(epoch from '2026-06-27 13:55:05'::timestamp) - extract(epoch from '2026-06-27 13:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123427)'))) / (select extract(epoch from '2026-06-27 13:55:05'::timestamp) - extract(epoch from '2026-06-27 13:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138415 -3.123425)', '2026-06-27 13:55:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:55:13'::timestamp) - extract(epoch from '2026-06-27 13:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:55:13'::timestamp) - extract(epoch from '2026-06-27 13:55: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123424)', '2026-06-27 13:55:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123424)'))) / (select extract(epoch from '2026-06-27 13:55:22'::timestamp) - extract(epoch from '2026-06-27 13:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123424)'))) / (select extract(epoch from '2026-06-27 13:55:22'::timestamp) - extract(epoch from '2026-06-27 13:55: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.123425)', '2026-06-27 13:55:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:55:30'::timestamp) - extract(epoch from '2026-06-27 13:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:55:30'::timestamp) - extract(epoch from '2026-06-27 13:55: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123425)', '2026-06-27 13:55:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:55:37'::timestamp) - extract(epoch from '2026-06-27 13:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:55:37'::timestamp) - extract(epoch from '2026-06-27 13:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123428)', '2026-06-27 13:55:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:55:47'::timestamp) - extract(epoch from '2026-06-27 13:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:55:47'::timestamp) - extract(epoch from '2026-06-27 13:55: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.12343)', '2026-06-27 13:55:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12343)'))) / (select extract(epoch from '2026-06-27 13:55:55'::timestamp) - extract(epoch from '2026-06-27 13:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12343)'))) / (select extract(epoch from '2026-06-27 13:55:55'::timestamp) - extract(epoch from '2026-06-27 13:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123428)', '2026-06-27 13:56:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:56:06'::timestamp) - extract(epoch from '2026-06-27 13:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:56:06'::timestamp) - extract(epoch from '2026-06-27 13:55: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123426)', '2026-06-27 13:56:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:56:12'::timestamp) - extract(epoch from '2026-06-27 13:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:56:12'::timestamp) - extract(epoch from '2026-06-27 13:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123428)', '2026-06-27 13:56:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:56:19'::timestamp) - extract(epoch from '2026-06-27 13:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:56:19'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123429)', '2026-06-27 13:56:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123429)'))) / (select extract(epoch from '2026-06-27 13:56:28'::timestamp) - extract(epoch from '2026-06-27 13:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123429)'))) / (select extract(epoch from '2026-06-27 13:56:28'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123427)', '2026-06-27 13:56:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123427)'))) / (select extract(epoch from '2026-06-27 13:56:35'::timestamp) - extract(epoch from '2026-06-27 13:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123427)'))) / (select extract(epoch from '2026-06-27 13:56:35'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123428)', '2026-06-27 13:56:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:56:41'::timestamp) - extract(epoch from '2026-06-27 13:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:56:41'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123429)', '2026-06-27 13:56:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123429)'))) / (select extract(epoch from '2026-06-27 13:56:48'::timestamp) - extract(epoch from '2026-06-27 13:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123429)'))) / (select extract(epoch from '2026-06-27 13:56:48'::timestamp) - extract(epoch from '2026-06-27 13:56: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.12343)', '2026-06-27 13:56:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12343)'))) / (select extract(epoch from '2026-06-27 13:56:56'::timestamp) - extract(epoch from '2026-06-27 13:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12343)'))) / (select extract(epoch from '2026-06-27 13:56:56'::timestamp) - extract(epoch from '2026-06-27 13:56: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123431)', '2026-06-27 13:57:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123431)'))) / (select extract(epoch from '2026-06-27 13:57:05'::timestamp) - extract(epoch from '2026-06-27 13:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123431)'))) / (select extract(epoch from '2026-06-27 13:57:05'::timestamp) - extract(epoch from '2026-06-27 13:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123431)', '2026-06-27 13:57:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123431)'))) / (select extract(epoch from '2026-06-27 13:57:12'::timestamp) - extract(epoch from '2026-06-27 13:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123431)'))) / (select extract(epoch from '2026-06-27 13:57:12'::timestamp) - extract(epoch from '2026-06-27 13:57: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.12343)', '2026-06-27 13:57:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12343)'))) / (select extract(epoch from '2026-06-27 13:57:20'::timestamp) - extract(epoch from '2026-06-27 13:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12343)'))) / (select extract(epoch from '2026-06-27 13:57:20'::timestamp) - extract(epoch from '2026-06-27 13:57: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123426)', '2026-06-27 13:57:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:57:27'::timestamp) - extract(epoch from '2026-06-27 13:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:57:27'::timestamp) - extract(epoch from '2026-06-27 13:57: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.12342)', '2026-06-27 13:57:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12342)'))) / (select extract(epoch from '2026-06-27 13:57:39'::timestamp) - extract(epoch from '2026-06-27 13:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12342)'))) / (select extract(epoch from '2026-06-27 13:57:39'::timestamp) - extract(epoch from '2026-06-27 13:57: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123415)', '2026-06-27 13:57:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123415)'))) / (select extract(epoch from '2026-06-27 13:57:46'::timestamp) - extract(epoch from '2026-06-27 13:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123415)'))) / (select extract(epoch from '2026-06-27 13:57:46'::timestamp) - extract(epoch from '2026-06-27 13:57: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123422)', '2026-06-27 13:57:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123415)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123422)'))) / (select extract(epoch from '2026-06-27 13:57:54'::timestamp) - extract(epoch from '2026-06-27 13:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123415)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123422)'))) / (select extract(epoch from '2026-06-27 13:57:54'::timestamp) - extract(epoch from '2026-06-27 13:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138429 -3.123426)', '2026-06-27 13:58:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123422)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:58:01'::timestamp) - extract(epoch from '2026-06-27 13:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123422)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:58:01'::timestamp) - extract(epoch from '2026-06-27 13:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138432 -3.123426)', '2026-06-27 13:58:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:58:10'::timestamp) - extract(epoch from '2026-06-27 13:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:58:10'::timestamp) - extract(epoch from '2026-06-27 13:58: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123426)', '2026-06-27 13:58:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:58:17'::timestamp) - extract(epoch from '2026-06-27 13:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:58:17'::timestamp) - extract(epoch from '2026-06-27 13:58: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123428)', '2026-06-27 13:58:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:58:24'::timestamp) - extract(epoch from '2026-06-27 13:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123428)'))) / (select extract(epoch from '2026-06-27 13:58:24'::timestamp) - extract(epoch from '2026-06-27 13:58: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123429)', '2026-06-27 13:58:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123429)'))) / (select extract(epoch from '2026-06-27 13:58:37'::timestamp) - extract(epoch from '2026-06-27 13:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123429)'))) / (select extract(epoch from '2026-06-27 13:58:37'::timestamp) - extract(epoch from '2026-06-27 13:58:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.123425)', '2026-06-27 13:58:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:58:44'::timestamp) - extract(epoch from '2026-06-27 13:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:58:44'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.12342)', '2026-06-27 13:58:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12342)'))) / (select extract(epoch from '2026-06-27 13:58:52'::timestamp) - extract(epoch from '2026-06-27 13:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12342)'))) / (select extract(epoch from '2026-06-27 13:58:52'::timestamp) - extract(epoch from '2026-06-27 13:58: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123416)', '2026-06-27 13:59:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123416)'))) / (select extract(epoch from '2026-06-27 13:59:01'::timestamp) - extract(epoch from '2026-06-27 13:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123416)'))) / (select extract(epoch from '2026-06-27 13:59:01'::timestamp) - extract(epoch from '2026-06-27 13:58: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123417)', '2026-06-27 13:59:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123416)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123417)'))) / (select extract(epoch from '2026-06-27 13:59:09'::timestamp) - extract(epoch from '2026-06-27 13:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123416)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123417)'))) / (select extract(epoch from '2026-06-27 13:59:09'::timestamp) - extract(epoch from '2026-06-27 13:59: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.12342)', '2026-06-27 13:59:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123417)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.12342)'))) / (select extract(epoch from '2026-06-27 13:59:17'::timestamp) - extract(epoch from '2026-06-27 13:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123417)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.12342)'))) / (select extract(epoch from '2026-06-27 13:59:17'::timestamp) - extract(epoch from '2026-06-27 13:59: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123421)', '2026-06-27 13:59:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123421)'))) / (select extract(epoch from '2026-06-27 13:59:24'::timestamp) - extract(epoch from '2026-06-27 13:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123421)'))) / (select extract(epoch from '2026-06-27 13:59:24'::timestamp) - extract(epoch from '2026-06-27 13:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138434 -3.123426)', '2026-06-27 13:59:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123421)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:59:32'::timestamp) - extract(epoch from '2026-06-27 13:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123421)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:59:32'::timestamp) - extract(epoch from '2026-06-27 13:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138437 -3.123425)', '2026-06-27 13:59:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:59:38'::timestamp) - extract(epoch from '2026-06-27 13:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:59:38'::timestamp) - extract(epoch from '2026-06-27 13:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138436 -3.123426)', '2026-06-27 13:59:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:59:49'::timestamp) - extract(epoch from '2026-06-27 13:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123426)'))) / (select extract(epoch from '2026-06-27 13:59:49'::timestamp) - extract(epoch from '2026-06-27 13:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138439 -3.123425)', '2026-06-27 13:59:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:59:59'::timestamp) - extract(epoch from '2026-06-27 13:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123425)'))) / (select extract(epoch from '2026-06-27 13:59:59'::timestamp) - extract(epoch from '2026-06-27 13:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138434 -3.123424)', '2026-06-27 14:00:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123424)'))) / (select extract(epoch from '2026-06-27 14:00:06'::timestamp) - extract(epoch from '2026-06-27 13:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123424)'))) / (select extract(epoch from '2026-06-27 14:00:06'::timestamp) - extract(epoch from '2026-06-27 13:59: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'), 46645, 'SRID=4674;POINT (-39.138439 -3.123428)', '2026-06-27 14:00:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123428)'))) / (select extract(epoch from '2026-06-27 14:00:18'::timestamp) - extract(epoch from '2026-06-27 14:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123428)'))) / (select extract(epoch from '2026-06-27 14:00:18'::timestamp) - extract(epoch from '2026-06-27 14:00: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123427)', '2026-06-27 14:00:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123427)'))) / (select extract(epoch from '2026-06-27 14:00:26'::timestamp) - extract(epoch from '2026-06-27 14:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123427)'))) / (select extract(epoch from '2026-06-27 14:00:26'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138437 -3.123426)', '2026-06-27 14:00:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123426)'))) / (select extract(epoch from '2026-06-27 14:00:37'::timestamp) - extract(epoch from '2026-06-27 14:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123426)'))) / (select extract(epoch from '2026-06-27 14:00:37'::timestamp) - extract(epoch from '2026-06-27 14:00:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138434 -3.123432)', '2026-06-27 14:00:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123432)'))) / (select extract(epoch from '2026-06-27 14:00:46'::timestamp) - extract(epoch from '2026-06-27 14:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123432)'))) / (select extract(epoch from '2026-06-27 14:00:46'::timestamp) - extract(epoch from '2026-06-27 14:00: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'), 46645, 'SRID=4674;POINT (-39.138434 -3.123433)', '2026-06-27 14:00:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123432)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123433)'))) / (select extract(epoch from '2026-06-27 14:00:52'::timestamp) - extract(epoch from '2026-06-27 14:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123432)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123433)'))) / (select extract(epoch from '2026-06-27 14:00:52'::timestamp) - extract(epoch from '2026-06-27 14:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138433 -3.123429)', '2026-06-27 14:01:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123433)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123429)'))) / (select extract(epoch from '2026-06-27 14:01:03'::timestamp) - extract(epoch from '2026-06-27 14:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123433)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123429)'))) / (select extract(epoch from '2026-06-27 14:01:03'::timestamp) - extract(epoch from '2026-06-27 14:00: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'), 46645, 'SRID=4674;POINT (-39.138438 -3.123426)', '2026-06-27 14:01:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123426)'))) / (select extract(epoch from '2026-06-27 14:01:11'::timestamp) - extract(epoch from '2026-06-27 14:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123429)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123426)'))) / (select extract(epoch from '2026-06-27 14:01:11'::timestamp) - extract(epoch from '2026-06-27 14:01:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138437 -3.123426)', '2026-06-27 14:01:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123426)'))) / (select extract(epoch from '2026-06-27 14:01:20'::timestamp) - extract(epoch from '2026-06-27 14:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123426)'))) / (select extract(epoch from '2026-06-27 14:01:20'::timestamp) - extract(epoch from '2026-06-27 14:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138439 -3.123424)', '2026-06-27 14:01:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123424)'))) / (select extract(epoch from '2026-06-27 14:01:32'::timestamp) - extract(epoch from '2026-06-27 14:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123424)'))) / (select extract(epoch from '2026-06-27 14:01:32'::timestamp) - extract(epoch from '2026-06-27 14:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138442 -3.123422)', '2026-06-27 14:01:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123422)'))) / (select extract(epoch from '2026-06-27 14:01:40'::timestamp) - extract(epoch from '2026-06-27 14:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123422)'))) / (select extract(epoch from '2026-06-27 14:01:40'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138444 -3.123408)', '2026-06-27 14:01:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123422)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123408)'))) / (select extract(epoch from '2026-06-27 14:01:50'::timestamp) - extract(epoch from '2026-06-27 14:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123422)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123408)'))) / (select extract(epoch from '2026-06-27 14:01:50'::timestamp) - extract(epoch from '2026-06-27 14:01: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'), 46645, 'SRID=4674;POINT (-39.138441 -3.123402)', '2026-06-27 14:01:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123402)'))) / (select extract(epoch from '2026-06-27 14:01:59'::timestamp) - extract(epoch from '2026-06-27 14:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123402)'))) / (select extract(epoch from '2026-06-27 14:01:59'::timestamp) - extract(epoch from '2026-06-27 14:01: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'), 46645, 'SRID=4674;POINT (-39.138443 -3.123404)', '2026-06-27 14:02:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123404)'))) / (select extract(epoch from '2026-06-27 14:02:05'::timestamp) - extract(epoch from '2026-06-27 14:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123404)'))) / (select extract(epoch from '2026-06-27 14:02:05'::timestamp) - extract(epoch from '2026-06-27 14:01: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'), 46645, 'SRID=4674;POINT (-39.138441 -3.123401)', '2026-06-27 14:02:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123401)'))) / (select extract(epoch from '2026-06-27 14:02:14'::timestamp) - extract(epoch from '2026-06-27 14:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123401)'))) / (select extract(epoch from '2026-06-27 14:02:14'::timestamp) - extract(epoch from '2026-06-27 14:02: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'), 46645, 'SRID=4674;POINT (-39.138444 -3.1234)', '2026-06-27 14:02:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.1234)'))) / (select extract(epoch from '2026-06-27 14:02:23'::timestamp) - extract(epoch from '2026-06-27 14:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.1234)'))) / (select extract(epoch from '2026-06-27 14:02:23'::timestamp) - extract(epoch from '2026-06-27 14:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138452 -3.1234)', '2026-06-27 14:02:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.1234)'), GeomFromEWKT('SRID=4674;POINT (-39.138452 -3.1234)'))) / (select extract(epoch from '2026-06-27 14:02:30'::timestamp) - extract(epoch from '2026-06-27 14:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.1234)'), GeomFromEWKT('SRID=4674;POINT (-39.138452 -3.1234)'))) / (select extract(epoch from '2026-06-27 14:02:30'::timestamp) - extract(epoch from '2026-06-27 14:02: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'), 46645, 'SRID=4674;POINT (-39.138454 -3.123402)', '2026-06-27 14:02:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138452 -3.1234)'), GeomFromEWKT('SRID=4674;POINT (-39.138454 -3.123402)'))) / (select extract(epoch from '2026-06-27 14:02:39'::timestamp) - extract(epoch from '2026-06-27 14:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138452 -3.1234)'), GeomFromEWKT('SRID=4674;POINT (-39.138454 -3.123402)'))) / (select extract(epoch from '2026-06-27 14:02:39'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138453 -3.123394)', '2026-06-27 14:02:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138454 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138453 -3.123394)'))) / (select extract(epoch from '2026-06-27 14:02:46'::timestamp) - extract(epoch from '2026-06-27 14:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138454 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138453 -3.123394)'))) / (select extract(epoch from '2026-06-27 14:02:46'::timestamp) - extract(epoch from '2026-06-27 14:02: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'), 46645, 'SRID=4674;POINT (-39.138444 -3.123392)', '2026-06-27 14:02:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138453 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123392)'))) / (select extract(epoch from '2026-06-27 14:02:52'::timestamp) - extract(epoch from '2026-06-27 14:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138453 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123392)'))) / (select extract(epoch from '2026-06-27 14:02:52'::timestamp) - extract(epoch from '2026-06-27 14:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138449 -3.123398)', '2026-06-27 14:03:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138449 -3.123398)'))) / (select extract(epoch from '2026-06-27 14:03:00'::timestamp) - extract(epoch from '2026-06-27 14:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138449 -3.123398)'))) / (select extract(epoch from '2026-06-27 14:03:00'::timestamp) - extract(epoch from '2026-06-27 14:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138439 -3.123403)', '2026-06-27 14:03:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138449 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123403)'))) / (select extract(epoch from '2026-06-27 14:03:09'::timestamp) - extract(epoch from '2026-06-27 14:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138449 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123403)'))) / (select extract(epoch from '2026-06-27 14:03:09'::timestamp) - extract(epoch from '2026-06-27 14:03: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'), 46645, 'SRID=4674;POINT (-39.138446 -3.123409)', '2026-06-27 14:03:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123409)'))) / (select extract(epoch from '2026-06-27 14:03:15'::timestamp) - extract(epoch from '2026-06-27 14:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123409)'))) / (select extract(epoch from '2026-06-27 14:03:15'::timestamp) - extract(epoch from '2026-06-27 14:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138441 -3.12341)', '2026-06-27 14:03:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.12341)'))) / (select extract(epoch from '2026-06-27 14:03:25'::timestamp) - extract(epoch from '2026-06-27 14:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.12341)'))) / (select extract(epoch from '2026-06-27 14:03:25'::timestamp) - extract(epoch from '2026-06-27 14:03: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'), 46645, 'SRID=4674;POINT (-39.138438 -3.123409)', '2026-06-27 14:03:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.12341)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123409)'))) / (select extract(epoch from '2026-06-27 14:03:33'::timestamp) - extract(epoch from '2026-06-27 14:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.12341)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123409)'))) / (select extract(epoch from '2026-06-27 14:03:33'::timestamp) - extract(epoch from '2026-06-27 14:03: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'), 46645, 'SRID=4674;POINT (-39.138438 -3.123412)', '2026-06-27 14:03:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123412)'))) / (select extract(epoch from '2026-06-27 14:03:47'::timestamp) - extract(epoch from '2026-06-27 14:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123412)'))) / (select extract(epoch from '2026-06-27 14:03:47'::timestamp) - extract(epoch from '2026-06-27 14:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138438 -3.123411)', '2026-06-27 14:04:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123412)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123411)'))) / (select extract(epoch from '2026-06-27 14:04:01'::timestamp) - extract(epoch from '2026-06-27 14:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123412)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123411)'))) / (select extract(epoch from '2026-06-27 14:04:01'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123417)', '2026-06-27 14:04:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123417)'))) / (select extract(epoch from '2026-06-27 14:04:10'::timestamp) - extract(epoch from '2026-06-27 14:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123417)'))) / (select extract(epoch from '2026-06-27 14:04:10'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123421)', '2026-06-27 14:04:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123417)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123421)'))) / (select extract(epoch from '2026-06-27 14:04:17'::timestamp) - extract(epoch from '2026-06-27 14:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123417)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123421)'))) / (select extract(epoch from '2026-06-27 14:04:17'::timestamp) - extract(epoch from '2026-06-27 14:04: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'), 46645, 'SRID=4674;POINT (-39.138437 -3.123423)', '2026-06-27 14:04:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123421)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123423)'))) / (select extract(epoch from '2026-06-27 14:04:26'::timestamp) - extract(epoch from '2026-06-27 14:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123421)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123423)'))) / (select extract(epoch from '2026-06-27 14:04:26'::timestamp) - extract(epoch from '2026-06-27 14:04: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'), 46645, 'SRID=4674;POINT (-39.138436 -3.123426)', '2026-06-27 14:04:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123423)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123426)'))) / (select extract(epoch from '2026-06-27 14:04:35'::timestamp) - extract(epoch from '2026-06-27 14:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123423)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123426)'))) / (select extract(epoch from '2026-06-27 14:04:35'::timestamp) - extract(epoch from '2026-06-27 14:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138439 -3.123432)', '2026-06-27 14:04:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123432)'))) / (select extract(epoch from '2026-06-27 14:04:45'::timestamp) - extract(epoch from '2026-06-27 14:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123426)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123432)'))) / (select extract(epoch from '2026-06-27 14:04:45'::timestamp) - extract(epoch from '2026-06-27 14:04: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123435)', '2026-06-27 14:04:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123432)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123435)'))) / (select extract(epoch from '2026-06-27 14:04:55'::timestamp) - extract(epoch from '2026-06-27 14:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123432)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123435)'))) / (select extract(epoch from '2026-06-27 14:04:55'::timestamp) - extract(epoch from '2026-06-27 14:04: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123434)', '2026-06-27 14:05:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123435)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123434)'))) / (select extract(epoch from '2026-06-27 14:05:04'::timestamp) - extract(epoch from '2026-06-27 14:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123435)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123434)'))) / (select extract(epoch from '2026-06-27 14:05:04'::timestamp) - extract(epoch from '2026-06-27 14:04: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'), 46645, 'SRID=4674;POINT (-39.138437 -3.12343)', '2026-06-27 14:05:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.12343)'))) / (select extract(epoch from '2026-06-27 14:05:11'::timestamp) - extract(epoch from '2026-06-27 14:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.12343)'))) / (select extract(epoch from '2026-06-27 14:05:11'::timestamp) - extract(epoch from '2026-06-27 14:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138438 -3.12343)', '2026-06-27 14:05:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.12343)'))) / (select extract(epoch from '2026-06-27 14:05:26'::timestamp) - extract(epoch from '2026-06-27 14:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.12343)'))) / (select extract(epoch from '2026-06-27 14:05:26'::timestamp) - extract(epoch from '2026-06-27 14:05: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'), 46645, 'SRID=4674;POINT (-39.138443 -3.123435)', '2026-06-27 14:05:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123435)'))) / (select extract(epoch from '2026-06-27 14:05:34'::timestamp) - extract(epoch from '2026-06-27 14:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.12343)'), GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123435)'))) / (select extract(epoch from '2026-06-27 14:05:34'::timestamp) - extract(epoch from '2026-06-27 14:05: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'), 46645, 'SRID=4674;POINT (-39.138445 -3.123436)', '2026-06-27 14:05:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123435)'), GeomFromEWKT('SRID=4674;POINT (-39.138445 -3.123436)'))) / (select extract(epoch from '2026-06-27 14:05:43'::timestamp) - extract(epoch from '2026-06-27 14:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123435)'), GeomFromEWKT('SRID=4674;POINT (-39.138445 -3.123436)'))) / (select extract(epoch from '2026-06-27 14:05:43'::timestamp) - extract(epoch from '2026-06-27 14:05: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'), 46645, 'SRID=4674;POINT (-39.138437 -3.123434)', '2026-06-27 14:05:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138445 -3.123436)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123434)'))) / (select extract(epoch from '2026-06-27 14:05:56'::timestamp) - extract(epoch from '2026-06-27 14:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138445 -3.123436)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123434)'))) / (select extract(epoch from '2026-06-27 14:05:56'::timestamp) - extract(epoch from '2026-06-27 14:05: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123431)', '2026-06-27 14:06:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123431)'))) / (select extract(epoch from '2026-06-27 14:06:07'::timestamp) - extract(epoch from '2026-06-27 14:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123434)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123431)'))) / (select extract(epoch from '2026-06-27 14:06:07'::timestamp) - extract(epoch from '2026-06-27 14:05: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123427)', '2026-06-27 14:06:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123427)'))) / (select extract(epoch from '2026-06-27 14:06:17'::timestamp) - extract(epoch from '2026-06-27 14:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123431)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123427)'))) / (select extract(epoch from '2026-06-27 14:06:17'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123427)', '2026-06-27 14:06:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123427)'))) / (select extract(epoch from '2026-06-27 14:06:26'::timestamp) - extract(epoch from '2026-06-27 14:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123427)'))) / (select extract(epoch from '2026-06-27 14:06:26'::timestamp) - extract(epoch from '2026-06-27 14:06: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123422)', '2026-06-27 14:06:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123422)'))) / (select extract(epoch from '2026-06-27 14:06:34'::timestamp) - extract(epoch from '2026-06-27 14:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123422)'))) / (select extract(epoch from '2026-06-27 14:06:34'::timestamp) - extract(epoch from '2026-06-27 14:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138432 -3.123424)', '2026-06-27 14:06:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123422)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123424)'))) / (select extract(epoch from '2026-06-27 14:06:49'::timestamp) - extract(epoch from '2026-06-27 14:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123422)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123424)'))) / (select extract(epoch from '2026-06-27 14:06:49'::timestamp) - extract(epoch from '2026-06-27 14:06: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123425)', '2026-06-27 14:06:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123425)'))) / (select extract(epoch from '2026-06-27 14:06:57'::timestamp) - extract(epoch from '2026-06-27 14:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123424)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123425)'))) / (select extract(epoch from '2026-06-27 14:06:57'::timestamp) - extract(epoch from '2026-06-27 14:06: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.12342)', '2026-06-27 14:07:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12342)'))) / (select extract(epoch from '2026-06-27 14:07:04'::timestamp) - extract(epoch from '2026-06-27 14:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123425)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12342)'))) / (select extract(epoch from '2026-06-27 14:07:04'::timestamp) - extract(epoch from '2026-06-27 14:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138436 -3.123427)', '2026-06-27 14:07:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123427)'))) / (select extract(epoch from '2026-06-27 14:07:11'::timestamp) - extract(epoch from '2026-06-27 14:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123427)'))) / (select extract(epoch from '2026-06-27 14:07:11'::timestamp) - extract(epoch from '2026-06-27 14:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138442 -3.123428)', '2026-06-27 14:07:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123428)'))) / (select extract(epoch from '2026-06-27 14:07:20'::timestamp) - extract(epoch from '2026-06-27 14:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123427)'), GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123428)'))) / (select extract(epoch from '2026-06-27 14:07:20'::timestamp) - extract(epoch from '2026-06-27 14:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138442 -3.12342)', '2026-06-27 14:07:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.12342)'))) / (select extract(epoch from '2026-06-27 14:07:30'::timestamp) - extract(epoch from '2026-06-27 14:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123428)'), GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.12342)'))) / (select extract(epoch from '2026-06-27 14:07:30'::timestamp) - extract(epoch from '2026-06-27 14:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138443 -3.123412)', '2026-06-27 14:07:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123412)'))) / (select extract(epoch from '2026-06-27 14:07:38'::timestamp) - extract(epoch from '2026-06-27 14:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.12342)'), GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123412)'))) / (select extract(epoch from '2026-06-27 14:07:38'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.13844 -3.123408)', '2026-06-27 14:07:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123412)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123408)'))) / (select extract(epoch from '2026-06-27 14:07:44'::timestamp) - extract(epoch from '2026-06-27 14:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123412)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123408)'))) / (select extract(epoch from '2026-06-27 14:07:44'::timestamp) - extract(epoch from '2026-06-27 14:07: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'), 46645, 'SRID=4674;POINT (-39.138446 -3.123408)', '2026-06-27 14:07:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123408)'))) / (select extract(epoch from '2026-06-27 14:07:54'::timestamp) - extract(epoch from '2026-06-27 14:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123408)'))) / (select extract(epoch from '2026-06-27 14:07:54'::timestamp) - extract(epoch from '2026-06-27 14:07:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138446 -3.123411)', '2026-06-27 14:08:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123411)'))) / (select extract(epoch from '2026-06-27 14:08:07'::timestamp) - extract(epoch from '2026-06-27 14:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123411)'))) / (select extract(epoch from '2026-06-27 14:08:07'::timestamp) - extract(epoch from '2026-06-27 14:07: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'), 46645, 'SRID=4674;POINT (-39.13844 -3.123411)', '2026-06-27 14:08:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123411)'))) / (select extract(epoch from '2026-06-27 14:08:15'::timestamp) - extract(epoch from '2026-06-27 14:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123411)'))) / (select extract(epoch from '2026-06-27 14:08:15'::timestamp) - extract(epoch from '2026-06-27 14:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138438 -3.123404)', '2026-06-27 14:08:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123404)'))) / (select extract(epoch from '2026-06-27 14:08:28'::timestamp) - extract(epoch from '2026-06-27 14:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123404)'))) / (select extract(epoch from '2026-06-27 14:08:28'::timestamp) - extract(epoch from '2026-06-27 14:08: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'), 46645, 'SRID=4674;POINT (-39.138438 -3.123404)', '2026-06-27 14:08:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123404)'))) / (select extract(epoch from '2026-06-27 14:08:35'::timestamp) - extract(epoch from '2026-06-27 14:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123404)'))) / (select extract(epoch from '2026-06-27 14:08:35'::timestamp) - extract(epoch from '2026-06-27 14:08: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'), 46645, 'SRID=4674;POINT (-39.13844 -3.123402)', '2026-06-27 14:08:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123402)'))) / (select extract(epoch from '2026-06-27 14:08:45'::timestamp) - extract(epoch from '2026-06-27 14:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123402)'))) / (select extract(epoch from '2026-06-27 14:08:45'::timestamp) - extract(epoch from '2026-06-27 14:08: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'), 46645, 'SRID=4674;POINT (-39.138442 -3.123397)', '2026-06-27 14:08:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123397)'))) / (select extract(epoch from '2026-06-27 14:08:52'::timestamp) - extract(epoch from '2026-06-27 14:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123397)'))) / (select extract(epoch from '2026-06-27 14:08:52'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123397)', '2026-06-27 14:08:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123397)'))) / (select extract(epoch from '2026-06-27 14:08:58'::timestamp) - extract(epoch from '2026-06-27 14:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138442 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123397)'))) / (select extract(epoch from '2026-06-27 14:08:58'::timestamp) - extract(epoch from '2026-06-27 14:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138435 -3.123395)', '2026-06-27 14:09:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123395)'))) / (select extract(epoch from '2026-06-27 14:09:06'::timestamp) - extract(epoch from '2026-06-27 14:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123395)'))) / (select extract(epoch from '2026-06-27 14:09:06'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138438 -3.123397)', '2026-06-27 14:09:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123397)'))) / (select extract(epoch from '2026-06-27 14:09:13'::timestamp) - extract(epoch from '2026-06-27 14:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123397)'))) / (select extract(epoch from '2026-06-27 14:09:13'::timestamp) - extract(epoch from '2026-06-27 14:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138444 -3.123392)', '2026-06-27 14:09:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123392)'))) / (select extract(epoch from '2026-06-27 14:09:21'::timestamp) - extract(epoch from '2026-06-27 14:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123392)'))) / (select extract(epoch from '2026-06-27 14:09:21'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138444 -3.123385)', '2026-06-27 14:09:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123385)'))) / (select extract(epoch from '2026-06-27 14:09:35'::timestamp) - extract(epoch from '2026-06-27 14:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123385)'))) / (select extract(epoch from '2026-06-27 14:09:35'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138446 -3.123384)', '2026-06-27 14:09:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123384)'))) / (select extract(epoch from '2026-06-27 14:09:46'::timestamp) - extract(epoch from '2026-06-27 14:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123384)'))) / (select extract(epoch from '2026-06-27 14:09:46'::timestamp) - extract(epoch from '2026-06-27 14:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138449 -3.123381)', '2026-06-27 14:09:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138449 -3.123381)'))) / (select extract(epoch from '2026-06-27 14:09:55'::timestamp) - extract(epoch from '2026-06-27 14:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138446 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138449 -3.123381)'))) / (select extract(epoch from '2026-06-27 14:09:55'::timestamp) - extract(epoch from '2026-06-27 14:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138445 -3.123386)', '2026-06-27 14:10:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138449 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138445 -3.123386)'))) / (select extract(epoch from '2026-06-27 14:10:06'::timestamp) - extract(epoch from '2026-06-27 14:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138449 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138445 -3.123386)'))) / (select extract(epoch from '2026-06-27 14:10:06'::timestamp) - extract(epoch from '2026-06-27 14:09: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'), 46645, 'SRID=4674;POINT (-39.138443 -3.123385)', '2026-06-27 14:10:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138445 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123385)'))) / (select extract(epoch from '2026-06-27 14:10:15'::timestamp) - extract(epoch from '2026-06-27 14:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138445 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123385)'))) / (select extract(epoch from '2026-06-27 14:10:15'::timestamp) - extract(epoch from '2026-06-27 14:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138447 -3.123384)', '2026-06-27 14:10:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138447 -3.123384)'))) / (select extract(epoch from '2026-06-27 14:10:23'::timestamp) - extract(epoch from '2026-06-27 14:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138443 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138447 -3.123384)'))) / (select extract(epoch from '2026-06-27 14:10:23'::timestamp) - extract(epoch from '2026-06-27 14:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13844 -3.123377)', '2026-06-27 14:10:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138447 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123377)'))) / (select extract(epoch from '2026-06-27 14:10:31'::timestamp) - extract(epoch from '2026-06-27 14:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138447 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123377)'))) / (select extract(epoch from '2026-06-27 14:10:31'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138437 -3.123376)', '2026-06-27 14:10:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123376)'))) / (select extract(epoch from '2026-06-27 14:10:37'::timestamp) - extract(epoch from '2026-06-27 14:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123376)'))) / (select extract(epoch from '2026-06-27 14:10:37'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138436 -3.12338)', '2026-06-27 14:10:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.12338)'))) / (select extract(epoch from '2026-06-27 14:10:46'::timestamp) - extract(epoch from '2026-06-27 14:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.12338)'))) / (select extract(epoch from '2026-06-27 14:10:46'::timestamp) - extract(epoch from '2026-06-27 14:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13843 -3.12338)', '2026-06-27 14:10:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12338)'))) / (select extract(epoch from '2026-06-27 14:10:54'::timestamp) - extract(epoch from '2026-06-27 14:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12338)'))) / (select extract(epoch from '2026-06-27 14:10:54'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138436 -3.123373)', '2026-06-27 14:11:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:11:03'::timestamp) - extract(epoch from '2026-06-27 14:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:11:03'::timestamp) - extract(epoch from '2026-06-27 14:10: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123377)', '2026-06-27 14:11:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123377)'))) / (select extract(epoch from '2026-06-27 14:11:11'::timestamp) - extract(epoch from '2026-06-27 14:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123377)'))) / (select extract(epoch from '2026-06-27 14:11:11'::timestamp) - extract(epoch from '2026-06-27 14:11: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123371)', '2026-06-27 14:11:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123371)'))) / (select extract(epoch from '2026-06-27 14:11:20'::timestamp) - extract(epoch from '2026-06-27 14:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123371)'))) / (select extract(epoch from '2026-06-27 14:11:20'::timestamp) - extract(epoch from '2026-06-27 14:11:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.123368)', '2026-06-27 14:11:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123368)'))) / (select extract(epoch from '2026-06-27 14:11:33'::timestamp) - extract(epoch from '2026-06-27 14:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123368)'))) / (select extract(epoch from '2026-06-27 14:11:33'::timestamp) - extract(epoch from '2026-06-27 14:11: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123372)', '2026-06-27 14:11:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123372)'))) / (select extract(epoch from '2026-06-27 14:11:40'::timestamp) - extract(epoch from '2026-06-27 14:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123372)'))) / (select extract(epoch from '2026-06-27 14:11:40'::timestamp) - extract(epoch from '2026-06-27 14:11: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123364)', '2026-06-27 14:11:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123364)'))) / (select extract(epoch from '2026-06-27 14:11:47'::timestamp) - extract(epoch from '2026-06-27 14:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123364)'))) / (select extract(epoch from '2026-06-27 14:11:47'::timestamp) - extract(epoch from '2026-06-27 14:11: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123366)', '2026-06-27 14:11:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123366)'))) / (select extract(epoch from '2026-06-27 14:11:57'::timestamp) - extract(epoch from '2026-06-27 14:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123366)'))) / (select extract(epoch from '2026-06-27 14:11:57'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123365)', '2026-06-27 14:12:05', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123365)'))) / (select extract(epoch from '2026-06-27 14:12:05'::timestamp) - extract(epoch from '2026-06-27 14:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123365)'))) / (select extract(epoch from '2026-06-27 14:12:05'::timestamp) - extract(epoch from '2026-06-27 14:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138424 -3.12336)', '2026-06-27 14:12:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12336)'))) / (select extract(epoch from '2026-06-27 14:12:12'::timestamp) - extract(epoch from '2026-06-27 14:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12336)'))) / (select extract(epoch from '2026-06-27 14:12:12'::timestamp) - extract(epoch from '2026-06-27 14:12: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123366)', '2026-06-27 14:12:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123366)'))) / (select extract(epoch from '2026-06-27 14:12:25'::timestamp) - extract(epoch from '2026-06-27 14:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123366)'))) / (select extract(epoch from '2026-06-27 14:12:25'::timestamp) - extract(epoch from '2026-06-27 14:12: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123363)', '2026-06-27 14:12:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123363)'))) / (select extract(epoch from '2026-06-27 14:12:38'::timestamp) - extract(epoch from '2026-06-27 14:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123363)'))) / (select extract(epoch from '2026-06-27 14:12:38'::timestamp) - extract(epoch from '2026-06-27 14:12: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123361)', '2026-06-27 14:12:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:12:44'::timestamp) - extract(epoch from '2026-06-27 14:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:12:44'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123355)', '2026-06-27 14:12:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123355)'))) / (select extract(epoch from '2026-06-27 14:12:50'::timestamp) - extract(epoch from '2026-06-27 14:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123355)'))) / (select extract(epoch from '2026-06-27 14:12:50'::timestamp) - extract(epoch from '2026-06-27 14:12: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123356)', '2026-06-27 14:12:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123356)'))) / (select extract(epoch from '2026-06-27 14:12:56'::timestamp) - extract(epoch from '2026-06-27 14:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123356)'))) / (select extract(epoch from '2026-06-27 14:12:56'::timestamp) - extract(epoch from '2026-06-27 14:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123359)', '2026-06-27 14:13:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123359)'))) / (select extract(epoch from '2026-06-27 14:13:03'::timestamp) - extract(epoch from '2026-06-27 14:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123359)'))) / (select extract(epoch from '2026-06-27 14:13:03'::timestamp) - extract(epoch from '2026-06-27 14:12: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.12336)', '2026-06-27 14:13:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12336)'))) / (select extract(epoch from '2026-06-27 14:13:10'::timestamp) - extract(epoch from '2026-06-27 14:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12336)'))) / (select extract(epoch from '2026-06-27 14:13:10'::timestamp) - extract(epoch from '2026-06-27 14:13: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.12336)', '2026-06-27 14:13:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12336)'))) / (select extract(epoch from '2026-06-27 14:13:23'::timestamp) - extract(epoch from '2026-06-27 14:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12336)'))) / (select extract(epoch from '2026-06-27 14:13:23'::timestamp) - extract(epoch from '2026-06-27 14:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138406 -3.123361)', '2026-06-27 14:13:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:13:30'::timestamp) - extract(epoch from '2026-06-27 14:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:13:30'::timestamp) - extract(epoch from '2026-06-27 14:13: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'), 46645, 'SRID=4674;POINT (-39.138404 -3.123361)', '2026-06-27 14:13:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:13:36'::timestamp) - extract(epoch from '2026-06-27 14:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:13:36'::timestamp) - extract(epoch from '2026-06-27 14:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138403 -3.123362)', '2026-06-27 14:13:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.123362)'))) / (select extract(epoch from '2026-06-27 14:13:44'::timestamp) - extract(epoch from '2026-06-27 14:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.123362)'))) / (select extract(epoch from '2026-06-27 14:13:44'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138406 -3.123361)', '2026-06-27 14:13:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:13:54'::timestamp) - extract(epoch from '2026-06-27 14:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:13:54'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138407 -3.123361)', '2026-06-27 14:14:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:14:03'::timestamp) - extract(epoch from '2026-06-27 14:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:14:03'::timestamp) - extract(epoch from '2026-06-27 14:13: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.123366)', '2026-06-27 14:14:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123366)'))) / (select extract(epoch from '2026-06-27 14:14:10'::timestamp) - extract(epoch from '2026-06-27 14:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123366)'))) / (select extract(epoch from '2026-06-27 14:14:10'::timestamp) - extract(epoch from '2026-06-27 14:14: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123368)', '2026-06-27 14:14:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123368)'))) / (select extract(epoch from '2026-06-27 14:14:22'::timestamp) - extract(epoch from '2026-06-27 14:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123368)'))) / (select extract(epoch from '2026-06-27 14:14:22'::timestamp) - extract(epoch from '2026-06-27 14:14: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123364)', '2026-06-27 14:14:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123364)'))) / (select extract(epoch from '2026-06-27 14:14:32'::timestamp) - extract(epoch from '2026-06-27 14:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123364)'))) / (select extract(epoch from '2026-06-27 14:14:32'::timestamp) - extract(epoch from '2026-06-27 14:14: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.123366)', '2026-06-27 14:14:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123366)'))) / (select extract(epoch from '2026-06-27 14:14:43'::timestamp) - extract(epoch from '2026-06-27 14:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123366)'))) / (select extract(epoch from '2026-06-27 14:14:43'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138406 -3.123371)', '2026-06-27 14:14:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123371)'))) / (select extract(epoch from '2026-06-27 14:14:53'::timestamp) - extract(epoch from '2026-06-27 14:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123371)'))) / (select extract(epoch from '2026-06-27 14:14:53'::timestamp) - extract(epoch from '2026-06-27 14:14: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'), 46645, 'SRID=4674;POINT (-39.138407 -3.123376)', '2026-06-27 14:15:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123376)'))) / (select extract(epoch from '2026-06-27 14:15:05'::timestamp) - extract(epoch from '2026-06-27 14:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123376)'))) / (select extract(epoch from '2026-06-27 14:15:05'::timestamp) - extract(epoch from '2026-06-27 14:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138407 -3.123373)', '2026-06-27 14:15:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:15:18'::timestamp) - extract(epoch from '2026-06-27 14:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:15:18'::timestamp) - extract(epoch from '2026-06-27 14:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13841 -3.123369)', '2026-06-27 14:15:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123369)'))) / (select extract(epoch from '2026-06-27 14:15:29'::timestamp) - extract(epoch from '2026-06-27 14:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123369)'))) / (select extract(epoch from '2026-06-27 14:15:29'::timestamp) - extract(epoch from '2026-06-27 14:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123366)', '2026-06-27 14:15:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123366)'))) / (select extract(epoch from '2026-06-27 14:15:45'::timestamp) - extract(epoch from '2026-06-27 14:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123366)'))) / (select extract(epoch from '2026-06-27 14:15:45'::timestamp) - extract(epoch from '2026-06-27 14:15: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123362)', '2026-06-27 14:15:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123362)'))) / (select extract(epoch from '2026-06-27 14:15:54'::timestamp) - extract(epoch from '2026-06-27 14:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123362)'))) / (select extract(epoch from '2026-06-27 14:15:54'::timestamp) - extract(epoch from '2026-06-27 14:15: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123363)', '2026-06-27 14:16:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123363)'))) / (select extract(epoch from '2026-06-27 14:16:08'::timestamp) - extract(epoch from '2026-06-27 14:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123363)'))) / (select extract(epoch from '2026-06-27 14:16:08'::timestamp) - extract(epoch from '2026-06-27 14:15: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123361)', '2026-06-27 14:16:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:16:19'::timestamp) - extract(epoch from '2026-06-27 14:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:16:19'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123365)', '2026-06-27 14:16:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123365)'))) / (select extract(epoch from '2026-06-27 14:16:33'::timestamp) - extract(epoch from '2026-06-27 14:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123365)'))) / (select extract(epoch from '2026-06-27 14:16:33'::timestamp) - extract(epoch from '2026-06-27 14:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123367)', '2026-06-27 14:16:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'))) / (select extract(epoch from '2026-06-27 14:16:45'::timestamp) - extract(epoch from '2026-06-27 14:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'))) / (select extract(epoch from '2026-06-27 14:16:45'::timestamp) - extract(epoch from '2026-06-27 14:16: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123363)', '2026-06-27 14:16:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123363)'))) / (select extract(epoch from '2026-06-27 14:16:54'::timestamp) - extract(epoch from '2026-06-27 14:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123363)'))) / (select extract(epoch from '2026-06-27 14:16:54'::timestamp) - extract(epoch from '2026-06-27 14:16: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123361)', '2026-06-27 14:17:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:17:02'::timestamp) - extract(epoch from '2026-06-27 14:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:17:02'::timestamp) - extract(epoch from '2026-06-27 14:16: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123364)', '2026-06-27 14:17:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123364)'))) / (select extract(epoch from '2026-06-27 14:17:16'::timestamp) - extract(epoch from '2026-06-27 14:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123364)'))) / (select extract(epoch from '2026-06-27 14:17:16'::timestamp) - extract(epoch from '2026-06-27 14:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123358)', '2026-06-27 14:17:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123358)'))) / (select extract(epoch from '2026-06-27 14:17:23'::timestamp) - extract(epoch from '2026-06-27 14:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123358)'))) / (select extract(epoch from '2026-06-27 14:17:23'::timestamp) - extract(epoch from '2026-06-27 14:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138419 -3.123356)', '2026-06-27 14:17:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123356)'))) / (select extract(epoch from '2026-06-27 14:17:32'::timestamp) - extract(epoch from '2026-06-27 14:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123356)'))) / (select extract(epoch from '2026-06-27 14:17:32'::timestamp) - extract(epoch from '2026-06-27 14:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138424 -3.12336)', '2026-06-27 14:17:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12336)'))) / (select extract(epoch from '2026-06-27 14:17:41'::timestamp) - extract(epoch from '2026-06-27 14:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12336)'))) / (select extract(epoch from '2026-06-27 14:17:41'::timestamp) - extract(epoch from '2026-06-27 14:17: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123367)', '2026-06-27 14:17:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123367)'))) / (select extract(epoch from '2026-06-27 14:17:55'::timestamp) - extract(epoch from '2026-06-27 14:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123367)'))) / (select extract(epoch from '2026-06-27 14:17:55'::timestamp) - extract(epoch from '2026-06-27 14:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.12337)', '2026-06-27 14:18:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.12337)'))) / (select extract(epoch from '2026-06-27 14:18:02'::timestamp) - extract(epoch from '2026-06-27 14:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.12337)'))) / (select extract(epoch from '2026-06-27 14:18:02'::timestamp) - extract(epoch from '2026-06-27 14:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.123373)', '2026-06-27 14:18:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:18:16'::timestamp) - extract(epoch from '2026-06-27 14:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:18:16'::timestamp) - extract(epoch from '2026-06-27 14:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13843 -3.123373)', '2026-06-27 14:18:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:18:25'::timestamp) - extract(epoch from '2026-06-27 14:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:18:25'::timestamp) - extract(epoch from '2026-06-27 14:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138431 -3.123373)', '2026-06-27 14:18:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:18:36'::timestamp) - extract(epoch from '2026-06-27 14:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:18:36'::timestamp) - extract(epoch from '2026-06-27 14:18: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'), 46645, 'SRID=4674;POINT (-39.13843 -3.123373)', '2026-06-27 14:18:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:18:43'::timestamp) - extract(epoch from '2026-06-27 14:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123373)'))) / (select extract(epoch from '2026-06-27 14:18:43'::timestamp) - extract(epoch from '2026-06-27 14:18: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123365)', '2026-06-27 14:18:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123365)'))) / (select extract(epoch from '2026-06-27 14:18:55'::timestamp) - extract(epoch from '2026-06-27 14:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123365)'))) / (select extract(epoch from '2026-06-27 14:18:55'::timestamp) - extract(epoch from '2026-06-27 14:18: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123363)', '2026-06-27 14:19:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123363)'))) / (select extract(epoch from '2026-06-27 14:19:02'::timestamp) - extract(epoch from '2026-06-27 14:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123363)'))) / (select extract(epoch from '2026-06-27 14:19:02'::timestamp) - extract(epoch from '2026-06-27 14:18: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'), 46645, 'SRID=4674;POINT (-39.13844 -3.123365)', '2026-06-27 14:19:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123365)'))) / (select extract(epoch from '2026-06-27 14:19:13'::timestamp) - extract(epoch from '2026-06-27 14:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123365)'))) / (select extract(epoch from '2026-06-27 14:19:13'::timestamp) - extract(epoch from '2026-06-27 14:19: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'), 46645, 'SRID=4674;POINT (-39.138436 -3.123358)', '2026-06-27 14:19:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123358)'))) / (select extract(epoch from '2026-06-27 14:19:20'::timestamp) - extract(epoch from '2026-06-27 14:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13844 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123358)'))) / (select extract(epoch from '2026-06-27 14:19:20'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123359)', '2026-06-27 14:19:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123359)'))) / (select extract(epoch from '2026-06-27 14:19:26'::timestamp) - extract(epoch from '2026-06-27 14:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123359)'))) / (select extract(epoch from '2026-06-27 14:19:26'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.138439 -3.123361)', '2026-06-27 14:19:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:19:38'::timestamp) - extract(epoch from '2026-06-27 14:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:19:38'::timestamp) - extract(epoch from '2026-06-27 14:19: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'), 46645, 'SRID=4674;POINT (-39.138447 -3.123361)', '2026-06-27 14:19:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138447 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:19:47'::timestamp) - extract(epoch from '2026-06-27 14:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138447 -3.123361)'))) / (select extract(epoch from '2026-06-27 14:19:47'::timestamp) - extract(epoch from '2026-06-27 14:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.123369)', '2026-06-27 14:19:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138447 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123369)'))) / (select extract(epoch from '2026-06-27 14:19:56'::timestamp) - extract(epoch from '2026-06-27 14:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138447 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123369)'))) / (select extract(epoch from '2026-06-27 14:19:56'::timestamp) - extract(epoch from '2026-06-27 14:19: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123367)', '2026-06-27 14:20:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'))) / (select extract(epoch from '2026-06-27 14:20:10'::timestamp) - extract(epoch from '2026-06-27 14:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'))) / (select extract(epoch from '2026-06-27 14:20:10'::timestamp) - extract(epoch from '2026-06-27 14:19: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123363)', '2026-06-27 14:20:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123363)'))) / (select extract(epoch from '2026-06-27 14:20:19'::timestamp) - extract(epoch from '2026-06-27 14:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123363)'))) / (select extract(epoch from '2026-06-27 14:20:19'::timestamp) - extract(epoch from '2026-06-27 14:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123355)', '2026-06-27 14:20:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123355)'))) / (select extract(epoch from '2026-06-27 14:20:32'::timestamp) - extract(epoch from '2026-06-27 14:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123355)'))) / (select extract(epoch from '2026-06-27 14:20:32'::timestamp) - extract(epoch from '2026-06-27 14:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138416 -3.123353)', '2026-06-27 14:20:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123353)'))) / (select extract(epoch from '2026-06-27 14:20:39'::timestamp) - extract(epoch from '2026-06-27 14:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123353)'))) / (select extract(epoch from '2026-06-27 14:20:39'::timestamp) - extract(epoch from '2026-06-27 14:20: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123345)', '2026-06-27 14:20:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123345)'))) / (select extract(epoch from '2026-06-27 14:20:53'::timestamp) - extract(epoch from '2026-06-27 14:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123345)'))) / (select extract(epoch from '2026-06-27 14:20:53'::timestamp) - extract(epoch from '2026-06-27 14:20: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'), 46645, 'SRID=4674;POINT (-39.138408 -3.123338)', '2026-06-27 14:21:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123338)'))) / (select extract(epoch from '2026-06-27 14:21:04'::timestamp) - extract(epoch from '2026-06-27 14:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123338)'))) / (select extract(epoch from '2026-06-27 14:21:04'::timestamp) - extract(epoch from '2026-06-27 14:20: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123331)', '2026-06-27 14:21:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123331)'))) / (select extract(epoch from '2026-06-27 14:21:14'::timestamp) - extract(epoch from '2026-06-27 14:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123331)'))) / (select extract(epoch from '2026-06-27 14:21:14'::timestamp) - extract(epoch from '2026-06-27 14:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138415 -3.123343)', '2026-06-27 14:21:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123343)'))) / (select extract(epoch from '2026-06-27 14:21:28'::timestamp) - extract(epoch from '2026-06-27 14:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123343)'))) / (select extract(epoch from '2026-06-27 14:21:28'::timestamp) - extract(epoch from '2026-06-27 14:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123344)', '2026-06-27 14:21:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123344)'))) / (select extract(epoch from '2026-06-27 14:21:36'::timestamp) - extract(epoch from '2026-06-27 14:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123344)'))) / (select extract(epoch from '2026-06-27 14:21:36'::timestamp) - extract(epoch from '2026-06-27 14:21: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123341)', '2026-06-27 14:21:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123341)'))) / (select extract(epoch from '2026-06-27 14:21:45'::timestamp) - extract(epoch from '2026-06-27 14:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123341)'))) / (select extract(epoch from '2026-06-27 14:21:45'::timestamp) - extract(epoch from '2026-06-27 14:21:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138419 -3.123344)', '2026-06-27 14:21:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123344)'))) / (select extract(epoch from '2026-06-27 14:21:55'::timestamp) - extract(epoch from '2026-06-27 14:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123344)'))) / (select extract(epoch from '2026-06-27 14:21:55'::timestamp) - extract(epoch from '2026-06-27 14: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123347)', '2026-06-27 14:22:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123347)'))) / (select extract(epoch from '2026-06-27 14:22:02'::timestamp) - extract(epoch from '2026-06-27 14:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123347)'))) / (select extract(epoch from '2026-06-27 14:22:02'::timestamp) - extract(epoch from '2026-06-27 14:21: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123345)', '2026-06-27 14:22:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123345)'))) / (select extract(epoch from '2026-06-27 14:22:13'::timestamp) - extract(epoch from '2026-06-27 14:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123345)'))) / (select extract(epoch from '2026-06-27 14:22:13'::timestamp) - extract(epoch from '2026-06-27 14:22: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123344)', '2026-06-27 14:22:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123344)'))) / (select extract(epoch from '2026-06-27 14:22:23'::timestamp) - extract(epoch from '2026-06-27 14:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123344)'))) / (select extract(epoch from '2026-06-27 14:22:23'::timestamp) - extract(epoch from '2026-06-27 14:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123339)', '2026-06-27 14:22:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123339)'))) / (select extract(epoch from '2026-06-27 14:22:37'::timestamp) - extract(epoch from '2026-06-27 14:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123339)'))) / (select extract(epoch from '2026-06-27 14:22:37'::timestamp) - extract(epoch from '2026-06-27 14:22: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123336)', '2026-06-27 14:22:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123336)'))) / (select extract(epoch from '2026-06-27 14:22:53'::timestamp) - extract(epoch from '2026-06-27 14:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123336)'))) / (select extract(epoch from '2026-06-27 14:22:53'::timestamp) - extract(epoch from '2026-06-27 14:22: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123332)', '2026-06-27 14:23:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123332)'))) / (select extract(epoch from '2026-06-27 14:23:06'::timestamp) - extract(epoch from '2026-06-27 14:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123332)'))) / (select extract(epoch from '2026-06-27 14:23:06'::timestamp) - extract(epoch from '2026-06-27 14:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
