BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.694764 -2.996968)', '2026-07-12 03:05:55', 5.8, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.694722 -2.99694)', '2026-07-12 03:06:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694764 -2.996968)'), GeomFromEWKT('SRID=4674;POINT (-39.694722 -2.99694)'))) / (select extract(epoch from '2026-07-12 03:06:01'::timestamp) - extract(epoch from '2026-07-12 03:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694764 -2.996968)'), GeomFromEWKT('SRID=4674;POINT (-39.694722 -2.99694)'))) / (select extract(epoch from '2026-07-12 03:06:01'::timestamp) - extract(epoch from '2026-07-12 03:05: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'), 47857, 'SRID=4674;POINT (-39.69471 -2.996931)', '2026-07-12 03:06:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694722 -2.99694)'), GeomFromEWKT('SRID=4674;POINT (-39.69471 -2.996931)'))) / (select extract(epoch from '2026-07-12 03:06:03'::timestamp) - extract(epoch from '2026-07-12 03:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694722 -2.99694)'), GeomFromEWKT('SRID=4674;POINT (-39.69471 -2.996931)'))) / (select extract(epoch from '2026-07-12 03:06:03'::timestamp) - extract(epoch from '2026-07-12 03:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.694671 -2.996896)', '2026-07-12 03:06:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69471 -2.996931)'), GeomFromEWKT('SRID=4674;POINT (-39.694671 -2.996896)'))) / (select extract(epoch from '2026-07-12 03:06:10'::timestamp) - extract(epoch from '2026-07-12 03:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69471 -2.996931)'), GeomFromEWKT('SRID=4674;POINT (-39.694671 -2.996896)'))) / (select extract(epoch from '2026-07-12 03:06:10'::timestamp) - extract(epoch from '2026-07-12 03:06: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'), 47857, 'SRID=4674;POINT (-39.694649 -2.996873)', '2026-07-12 03:06:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694671 -2.996896)'), GeomFromEWKT('SRID=4674;POINT (-39.694649 -2.996873)'))) / (select extract(epoch from '2026-07-12 03:06:17'::timestamp) - extract(epoch from '2026-07-12 03:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694671 -2.996896)'), GeomFromEWKT('SRID=4674;POINT (-39.694649 -2.996873)'))) / (select extract(epoch from '2026-07-12 03:06:17'::timestamp) - extract(epoch from '2026-07-12 03:06: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'), 47857, 'SRID=4674;POINT (-39.694599 -2.996817)', '2026-07-12 03:06:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694649 -2.996873)'), GeomFromEWKT('SRID=4674;POINT (-39.694599 -2.996817)'))) / (select extract(epoch from '2026-07-12 03:06:30'::timestamp) - extract(epoch from '2026-07-12 03:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694649 -2.996873)'), GeomFromEWKT('SRID=4674;POINT (-39.694599 -2.996817)'))) / (select extract(epoch from '2026-07-12 03:06:30'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.694557 -2.996757)', '2026-07-12 03:06:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694599 -2.996817)'), GeomFromEWKT('SRID=4674;POINT (-39.694557 -2.996757)'))) / (select extract(epoch from '2026-07-12 03:06:43'::timestamp) - extract(epoch from '2026-07-12 03:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694599 -2.996817)'), GeomFromEWKT('SRID=4674;POINT (-39.694557 -2.996757)'))) / (select extract(epoch from '2026-07-12 03:06:43'::timestamp) - extract(epoch from '2026-07-12 03:06: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'), 47857, 'SRID=4674;POINT (-39.694504 -2.996687)', '2026-07-12 03:06:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694557 -2.996757)'), GeomFromEWKT('SRID=4674;POINT (-39.694504 -2.996687)'))) / (select extract(epoch from '2026-07-12 03:06:56'::timestamp) - extract(epoch from '2026-07-12 03:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694557 -2.996757)'), GeomFromEWKT('SRID=4674;POINT (-39.694504 -2.996687)'))) / (select extract(epoch from '2026-07-12 03:06:56'::timestamp) - extract(epoch from '2026-07-12 03:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.694446 -2.996637)', '2026-07-12 03:07:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694504 -2.996687)'), GeomFromEWKT('SRID=4674;POINT (-39.694446 -2.996637)'))) / (select extract(epoch from '2026-07-12 03:07:07'::timestamp) - extract(epoch from '2026-07-12 03:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694504 -2.996687)'), GeomFromEWKT('SRID=4674;POINT (-39.694446 -2.996637)'))) / (select extract(epoch from '2026-07-12 03:07:07'::timestamp) - extract(epoch from '2026-07-12 03:06: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'), 47857, 'SRID=4674;POINT (-39.694386 -2.996591)', '2026-07-12 03:07:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694446 -2.996637)'), GeomFromEWKT('SRID=4674;POINT (-39.694386 -2.996591)'))) / (select extract(epoch from '2026-07-12 03:07:21'::timestamp) - extract(epoch from '2026-07-12 03:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694446 -2.996637)'), GeomFromEWKT('SRID=4674;POINT (-39.694386 -2.996591)'))) / (select extract(epoch from '2026-07-12 03:07:21'::timestamp) - extract(epoch from '2026-07-12 03:07: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'), 47857, 'SRID=4674;POINT (-39.694344 -2.996575)', '2026-07-12 03:07:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694386 -2.996591)'), GeomFromEWKT('SRID=4674;POINT (-39.694344 -2.996575)'))) / (select extract(epoch from '2026-07-12 03:07:32'::timestamp) - extract(epoch from '2026-07-12 03:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694386 -2.996591)'), GeomFromEWKT('SRID=4674;POINT (-39.694344 -2.996575)'))) / (select extract(epoch from '2026-07-12 03:07:32'::timestamp) - extract(epoch from '2026-07-12 03:07: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'), 47857, 'SRID=4674;POINT (-39.694301 -2.996504)', '2026-07-12 03:07:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694344 -2.996575)'), GeomFromEWKT('SRID=4674;POINT (-39.694301 -2.996504)'))) / (select extract(epoch from '2026-07-12 03:07:47'::timestamp) - extract(epoch from '2026-07-12 03:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694344 -2.996575)'), GeomFromEWKT('SRID=4674;POINT (-39.694301 -2.996504)'))) / (select extract(epoch from '2026-07-12 03:07:47'::timestamp) - extract(epoch from '2026-07-12 03:07: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'), 47857, 'SRID=4674;POINT (-39.691713 -2.993958)', '2026-07-12 03:17:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694301 -2.996504)'), GeomFromEWKT('SRID=4674;POINT (-39.691713 -2.993958)'))) / (select extract(epoch from '2026-07-12 03:17:23'::timestamp) - extract(epoch from '2026-07-12 03:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694301 -2.996504)'), GeomFromEWKT('SRID=4674;POINT (-39.691713 -2.993958)'))) / (select extract(epoch from '2026-07-12 03:17:23'::timestamp) - extract(epoch from '2026-07-12 03:07: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'), 47857, 'SRID=4674;POINT (-39.691712 -2.993952)', '2026-07-12 03:17:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691713 -2.993958)'), GeomFromEWKT('SRID=4674;POINT (-39.691712 -2.993952)'))) / (select extract(epoch from '2026-07-12 03:17:25'::timestamp) - extract(epoch from '2026-07-12 03:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691713 -2.993958)'), GeomFromEWKT('SRID=4674;POINT (-39.691712 -2.993952)'))) / (select extract(epoch from '2026-07-12 03:17:25'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.691693 -2.993924)', '2026-07-12 03:17:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691712 -2.993952)'), GeomFromEWKT('SRID=4674;POINT (-39.691693 -2.993924)'))) / (select extract(epoch from '2026-07-12 03:17:30'::timestamp) - extract(epoch from '2026-07-12 03:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691712 -2.993952)'), GeomFromEWKT('SRID=4674;POINT (-39.691693 -2.993924)'))) / (select extract(epoch from '2026-07-12 03:17:30'::timestamp) - extract(epoch from '2026-07-12 03:17:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.691665 -2.993883)', '2026-07-12 03:17:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691693 -2.993924)'), GeomFromEWKT('SRID=4674;POINT (-39.691665 -2.993883)'))) / (select extract(epoch from '2026-07-12 03:17:39'::timestamp) - extract(epoch from '2026-07-12 03:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691693 -2.993924)'), GeomFromEWKT('SRID=4674;POINT (-39.691665 -2.993883)'))) / (select extract(epoch from '2026-07-12 03:17:39'::timestamp) - extract(epoch from '2026-07-12 03:17: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'), 47857, 'SRID=4674;POINT (-39.691626 -2.993838)', '2026-07-12 03:17:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691665 -2.993883)'), GeomFromEWKT('SRID=4674;POINT (-39.691626 -2.993838)'))) / (select extract(epoch from '2026-07-12 03:17:47'::timestamp) - extract(epoch from '2026-07-12 03:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691665 -2.993883)'), GeomFromEWKT('SRID=4674;POINT (-39.691626 -2.993838)'))) / (select extract(epoch from '2026-07-12 03:17:47'::timestamp) - extract(epoch from '2026-07-12 03:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.691575 -2.993759)', '2026-07-12 03:17:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691626 -2.993838)'), GeomFromEWKT('SRID=4674;POINT (-39.691575 -2.993759)'))) / (select extract(epoch from '2026-07-12 03:17:59'::timestamp) - extract(epoch from '2026-07-12 03:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691626 -2.993838)'), GeomFromEWKT('SRID=4674;POINT (-39.691575 -2.993759)'))) / (select extract(epoch from '2026-07-12 03:17:59'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.691548 -2.993731)', '2026-07-12 03:18:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691575 -2.993759)'), GeomFromEWKT('SRID=4674;POINT (-39.691548 -2.993731)'))) / (select extract(epoch from '2026-07-12 03:18:06'::timestamp) - extract(epoch from '2026-07-12 03:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691575 -2.993759)'), GeomFromEWKT('SRID=4674;POINT (-39.691548 -2.993731)'))) / (select extract(epoch from '2026-07-12 03:18:06'::timestamp) - extract(epoch from '2026-07-12 03:17: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'), 47857, 'SRID=4674;POINT (-39.69151 -2.993689)', '2026-07-12 03:18:16', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691548 -2.993731)'), GeomFromEWKT('SRID=4674;POINT (-39.69151 -2.993689)'))) / (select extract(epoch from '2026-07-12 03:18:16'::timestamp) - extract(epoch from '2026-07-12 03:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691548 -2.993731)'), GeomFromEWKT('SRID=4674;POINT (-39.69151 -2.993689)'))) / (select extract(epoch from '2026-07-12 03:18:16'::timestamp) - extract(epoch from '2026-07-12 03:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.69149 -2.993658)', '2026-07-12 03:18:24', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69151 -2.993689)'), GeomFromEWKT('SRID=4674;POINT (-39.69149 -2.993658)'))) / (select extract(epoch from '2026-07-12 03:18:24'::timestamp) - extract(epoch from '2026-07-12 03:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69151 -2.993689)'), GeomFromEWKT('SRID=4674;POINT (-39.69149 -2.993658)'))) / (select extract(epoch from '2026-07-12 03:18:24'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.691451 -2.993615)', '2026-07-12 03:18:32', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69149 -2.993658)'), GeomFromEWKT('SRID=4674;POINT (-39.691451 -2.993615)'))) / (select extract(epoch from '2026-07-12 03:18:32'::timestamp) - extract(epoch from '2026-07-12 03:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69149 -2.993658)'), GeomFromEWKT('SRID=4674;POINT (-39.691451 -2.993615)'))) / (select extract(epoch from '2026-07-12 03:18:32'::timestamp) - extract(epoch from '2026-07-12 03:18: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'), 47857, 'SRID=4674;POINT (-39.691428 -2.993575)', '2026-07-12 03:18:40', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691451 -2.993615)'), GeomFromEWKT('SRID=4674;POINT (-39.691428 -2.993575)'))) / (select extract(epoch from '2026-07-12 03:18:40'::timestamp) - extract(epoch from '2026-07-12 03:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691451 -2.993615)'), GeomFromEWKT('SRID=4674;POINT (-39.691428 -2.993575)'))) / (select extract(epoch from '2026-07-12 03:18:40'::timestamp) - extract(epoch from '2026-07-12 03:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.691385 -2.993526)', '2026-07-12 03:18:51', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691428 -2.993575)'), GeomFromEWKT('SRID=4674;POINT (-39.691385 -2.993526)'))) / (select extract(epoch from '2026-07-12 03:18:51'::timestamp) - extract(epoch from '2026-07-12 03:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691428 -2.993575)'), GeomFromEWKT('SRID=4674;POINT (-39.691385 -2.993526)'))) / (select extract(epoch from '2026-07-12 03:18:51'::timestamp) - extract(epoch from '2026-07-12 03:18: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'), 47857, 'SRID=4674;POINT (-39.691348 -2.993471)', '2026-07-12 03:19:00', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691385 -2.993526)'), GeomFromEWKT('SRID=4674;POINT (-39.691348 -2.993471)'))) / (select extract(epoch from '2026-07-12 03:19:00'::timestamp) - extract(epoch from '2026-07-12 03:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691385 -2.993526)'), GeomFromEWKT('SRID=4674;POINT (-39.691348 -2.993471)'))) / (select extract(epoch from '2026-07-12 03:19:00'::timestamp) - extract(epoch from '2026-07-12 03:18: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'), 47857, 'SRID=4674;POINT (-39.691278 -2.993397)', '2026-07-12 03:19:12', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691348 -2.993471)'), GeomFromEWKT('SRID=4674;POINT (-39.691278 -2.993397)'))) / (select extract(epoch from '2026-07-12 03:19:12'::timestamp) - extract(epoch from '2026-07-12 03:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691348 -2.993471)'), GeomFromEWKT('SRID=4674;POINT (-39.691278 -2.993397)'))) / (select extract(epoch from '2026-07-12 03:19:12'::timestamp) - extract(epoch from '2026-07-12 03:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.690208 -2.992439)', '2026-07-12 03:21:55', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691278 -2.993397)'), GeomFromEWKT('SRID=4674;POINT (-39.690208 -2.992439)'))) / (select extract(epoch from '2026-07-12 03:21:55'::timestamp) - extract(epoch from '2026-07-12 03:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691278 -2.993397)'), GeomFromEWKT('SRID=4674;POINT (-39.690208 -2.992439)'))) / (select extract(epoch from '2026-07-12 03:21:55'::timestamp) - extract(epoch from '2026-07-12 03:19: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'), 47857, 'SRID=4674;POINT (-39.690181 -2.99242)', '2026-07-12 03:21:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690208 -2.992439)'), GeomFromEWKT('SRID=4674;POINT (-39.690181 -2.99242)'))) / (select extract(epoch from '2026-07-12 03:21:58'::timestamp) - extract(epoch from '2026-07-12 03:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690208 -2.992439)'), GeomFromEWKT('SRID=4674;POINT (-39.690181 -2.99242)'))) / (select extract(epoch from '2026-07-12 03:21:58'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.690122 -2.992373)', '2026-07-12 03:22:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690181 -2.99242)'), GeomFromEWKT('SRID=4674;POINT (-39.690122 -2.992373)'))) / (select extract(epoch from '2026-07-12 03:22:05'::timestamp) - extract(epoch from '2026-07-12 03:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690181 -2.99242)'), GeomFromEWKT('SRID=4674;POINT (-39.690122 -2.992373)'))) / (select extract(epoch from '2026-07-12 03:22:05'::timestamp) - extract(epoch from '2026-07-12 03:21: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'), 47857, 'SRID=4674;POINT (-39.690061 -2.992324)', '2026-07-12 03:22:17', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690122 -2.992373)'), GeomFromEWKT('SRID=4674;POINT (-39.690061 -2.992324)'))) / (select extract(epoch from '2026-07-12 03:22:17'::timestamp) - extract(epoch from '2026-07-12 03:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690122 -2.992373)'), GeomFromEWKT('SRID=4674;POINT (-39.690061 -2.992324)'))) / (select extract(epoch from '2026-07-12 03:22:17'::timestamp) - extract(epoch from '2026-07-12 03:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68998 -2.992279)', '2026-07-12 03:22:27', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690061 -2.992324)'), GeomFromEWKT('SRID=4674;POINT (-39.68998 -2.992279)'))) / (select extract(epoch from '2026-07-12 03:22:27'::timestamp) - extract(epoch from '2026-07-12 03:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690061 -2.992324)'), GeomFromEWKT('SRID=4674;POINT (-39.68998 -2.992279)'))) / (select extract(epoch from '2026-07-12 03:22:27'::timestamp) - extract(epoch from '2026-07-12 03:22: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'), 47857, 'SRID=4674;POINT (-39.689949 -2.992256)', '2026-07-12 03:22:31', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68998 -2.992279)'), GeomFromEWKT('SRID=4674;POINT (-39.689949 -2.992256)'))) / (select extract(epoch from '2026-07-12 03:22:31'::timestamp) - extract(epoch from '2026-07-12 03:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68998 -2.992279)'), GeomFromEWKT('SRID=4674;POINT (-39.689949 -2.992256)'))) / (select extract(epoch from '2026-07-12 03:22:31'::timestamp) - extract(epoch from '2026-07-12 03:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.689934 -2.992247)', '2026-07-12 03:22:33', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689949 -2.992256)'), GeomFromEWKT('SRID=4674;POINT (-39.689934 -2.992247)'))) / (select extract(epoch from '2026-07-12 03:22:33'::timestamp) - extract(epoch from '2026-07-12 03:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689949 -2.992256)'), GeomFromEWKT('SRID=4674;POINT (-39.689934 -2.992247)'))) / (select extract(epoch from '2026-07-12 03:22:33'::timestamp) - extract(epoch from '2026-07-12 03:22: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'), 47857, 'SRID=4674;POINT (-39.689896 -2.992225)', '2026-07-12 03:22:38', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689934 -2.992247)'), GeomFromEWKT('SRID=4674;POINT (-39.689896 -2.992225)'))) / (select extract(epoch from '2026-07-12 03:22:38'::timestamp) - extract(epoch from '2026-07-12 03:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689934 -2.992247)'), GeomFromEWKT('SRID=4674;POINT (-39.689896 -2.992225)'))) / (select extract(epoch from '2026-07-12 03:22:38'::timestamp) - extract(epoch from '2026-07-12 03:22: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'), 47857, 'SRID=4674;POINT (-39.68989 -2.99222)', '2026-07-12 03:22:39', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689896 -2.992225)'), GeomFromEWKT('SRID=4674;POINT (-39.68989 -2.99222)'))) / (select extract(epoch from '2026-07-12 03:22:39'::timestamp) - extract(epoch from '2026-07-12 03:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689896 -2.992225)'), GeomFromEWKT('SRID=4674;POINT (-39.68989 -2.99222)'))) / (select extract(epoch from '2026-07-12 03:22:39'::timestamp) - extract(epoch from '2026-07-12 03:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.689842 -2.992202)', '2026-07-12 03:22:46', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68989 -2.99222)'), GeomFromEWKT('SRID=4674;POINT (-39.689842 -2.992202)'))) / (select extract(epoch from '2026-07-12 03:22:46'::timestamp) - extract(epoch from '2026-07-12 03:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68989 -2.99222)'), GeomFromEWKT('SRID=4674;POINT (-39.689842 -2.992202)'))) / (select extract(epoch from '2026-07-12 03:22:46'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.689787 -2.99216)', '2026-07-12 03:22:55', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689842 -2.992202)'), GeomFromEWKT('SRID=4674;POINT (-39.689787 -2.99216)'))) / (select extract(epoch from '2026-07-12 03:22:55'::timestamp) - extract(epoch from '2026-07-12 03:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689842 -2.992202)'), GeomFromEWKT('SRID=4674;POINT (-39.689787 -2.99216)'))) / (select extract(epoch from '2026-07-12 03:22:55'::timestamp) - extract(epoch from '2026-07-12 03:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.689724 -2.99212)', '2026-07-12 03:23:05', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689787 -2.99216)'), GeomFromEWKT('SRID=4674;POINT (-39.689724 -2.99212)'))) / (select extract(epoch from '2026-07-12 03:23:05'::timestamp) - extract(epoch from '2026-07-12 03:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689787 -2.99216)'), GeomFromEWKT('SRID=4674;POINT (-39.689724 -2.99212)'))) / (select extract(epoch from '2026-07-12 03:23:05'::timestamp) - extract(epoch from '2026-07-12 03:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.689684 -2.992087)', '2026-07-12 03:23:13', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689724 -2.99212)'), GeomFromEWKT('SRID=4674;POINT (-39.689684 -2.992087)'))) / (select extract(epoch from '2026-07-12 03:23:13'::timestamp) - extract(epoch from '2026-07-12 03:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689724 -2.99212)'), GeomFromEWKT('SRID=4674;POINT (-39.689684 -2.992087)'))) / (select extract(epoch from '2026-07-12 03:23:13'::timestamp) - extract(epoch from '2026-07-12 03:23: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'), 47857, 'SRID=4674;POINT (-39.689635 -2.992049)', '2026-07-12 03:23:22', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689684 -2.992087)'), GeomFromEWKT('SRID=4674;POINT (-39.689635 -2.992049)'))) / (select extract(epoch from '2026-07-12 03:23:22'::timestamp) - extract(epoch from '2026-07-12 03:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689684 -2.992087)'), GeomFromEWKT('SRID=4674;POINT (-39.689635 -2.992049)'))) / (select extract(epoch from '2026-07-12 03:23:22'::timestamp) - extract(epoch from '2026-07-12 03:23: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'), 47857, 'SRID=4674;POINT (-39.68961 -2.992022)', '2026-07-12 03:23:28', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689635 -2.992049)'), GeomFromEWKT('SRID=4674;POINT (-39.68961 -2.992022)'))) / (select extract(epoch from '2026-07-12 03:23:28'::timestamp) - extract(epoch from '2026-07-12 03:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689635 -2.992049)'), GeomFromEWKT('SRID=4674;POINT (-39.68961 -2.992022)'))) / (select extract(epoch from '2026-07-12 03:23:28'::timestamp) - extract(epoch from '2026-07-12 03:23: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'), 47857, 'SRID=4674;POINT (-39.689545 -2.991944)', '2026-07-12 03:23:41', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68961 -2.992022)'), GeomFromEWKT('SRID=4674;POINT (-39.689545 -2.991944)'))) / (select extract(epoch from '2026-07-12 03:23:41'::timestamp) - extract(epoch from '2026-07-12 03:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68961 -2.992022)'), GeomFromEWKT('SRID=4674;POINT (-39.689545 -2.991944)'))) / (select extract(epoch from '2026-07-12 03:23:41'::timestamp) - extract(epoch from '2026-07-12 03:23: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'), 47857, 'SRID=4674;POINT (-39.689366 -2.991791)', '2026-07-12 03:24:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689545 -2.991944)'), GeomFromEWKT('SRID=4674;POINT (-39.689366 -2.991791)'))) / (select extract(epoch from '2026-07-12 03:24:06'::timestamp) - extract(epoch from '2026-07-12 03:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689545 -2.991944)'), GeomFromEWKT('SRID=4674;POINT (-39.689366 -2.991791)'))) / (select extract(epoch from '2026-07-12 03:24:06'::timestamp) - extract(epoch from '2026-07-12 03:23: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'), 47857, 'SRID=4674;POINT (-39.689351 -2.991785)', '2026-07-12 03:24:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689366 -2.991791)'), GeomFromEWKT('SRID=4674;POINT (-39.689351 -2.991785)'))) / (select extract(epoch from '2026-07-12 03:24:08'::timestamp) - extract(epoch from '2026-07-12 03:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689366 -2.991791)'), GeomFromEWKT('SRID=4674;POINT (-39.689351 -2.991785)'))) / (select extract(epoch from '2026-07-12 03:24:08'::timestamp) - extract(epoch from '2026-07-12 03:24: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'), 47857, 'SRID=4674;POINT (-39.689321 -2.991755)', '2026-07-12 03:24:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689351 -2.991785)'), GeomFromEWKT('SRID=4674;POINT (-39.689321 -2.991755)'))) / (select extract(epoch from '2026-07-12 03:24:16'::timestamp) - extract(epoch from '2026-07-12 03:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689351 -2.991785)'), GeomFromEWKT('SRID=4674;POINT (-39.689321 -2.991755)'))) / (select extract(epoch from '2026-07-12 03:24:16'::timestamp) - extract(epoch from '2026-07-12 03:24: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'), 47857, 'SRID=4674;POINT (-39.689287 -2.99172)', '2026-07-12 03:24:25', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689321 -2.991755)'), GeomFromEWKT('SRID=4674;POINT (-39.689287 -2.99172)'))) / (select extract(epoch from '2026-07-12 03:24:25'::timestamp) - extract(epoch from '2026-07-12 03:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689321 -2.991755)'), GeomFromEWKT('SRID=4674;POINT (-39.689287 -2.99172)'))) / (select extract(epoch from '2026-07-12 03:24:25'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.689247 -2.991696)', '2026-07-12 03:24:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689287 -2.99172)'), GeomFromEWKT('SRID=4674;POINT (-39.689247 -2.991696)'))) / (select extract(epoch from '2026-07-12 03:24:33'::timestamp) - extract(epoch from '2026-07-12 03:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689287 -2.99172)'), GeomFromEWKT('SRID=4674;POINT (-39.689247 -2.991696)'))) / (select extract(epoch from '2026-07-12 03:24:33'::timestamp) - extract(epoch from '2026-07-12 03:24: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'), 47857, 'SRID=4674;POINT (-39.689191 -2.991664)', '2026-07-12 03:24:41', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689247 -2.991696)'), GeomFromEWKT('SRID=4674;POINT (-39.689191 -2.991664)'))) / (select extract(epoch from '2026-07-12 03:24:41'::timestamp) - extract(epoch from '2026-07-12 03:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689247 -2.991696)'), GeomFromEWKT('SRID=4674;POINT (-39.689191 -2.991664)'))) / (select extract(epoch from '2026-07-12 03:24:41'::timestamp) - extract(epoch from '2026-07-12 03:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.689125 -2.991624)', '2026-07-12 03:24:49', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689191 -2.991664)'), GeomFromEWKT('SRID=4674;POINT (-39.689125 -2.991624)'))) / (select extract(epoch from '2026-07-12 03:24:49'::timestamp) - extract(epoch from '2026-07-12 03:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689191 -2.991664)'), GeomFromEWKT('SRID=4674;POINT (-39.689125 -2.991624)'))) / (select extract(epoch from '2026-07-12 03:24:49'::timestamp) - extract(epoch from '2026-07-12 03:24: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'), 47857, 'SRID=4674;POINT (-39.68907 -2.991596)', '2026-07-12 03:24:56', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689125 -2.991624)'), GeomFromEWKT('SRID=4674;POINT (-39.68907 -2.991596)'))) / (select extract(epoch from '2026-07-12 03:24:56'::timestamp) - extract(epoch from '2026-07-12 03:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689125 -2.991624)'), GeomFromEWKT('SRID=4674;POINT (-39.68907 -2.991596)'))) / (select extract(epoch from '2026-07-12 03:24:56'::timestamp) - extract(epoch from '2026-07-12 03:24: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'), 47857, 'SRID=4674;POINT (-39.689031 -2.991565)', '2026-07-12 03:25:03', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68907 -2.991596)'), GeomFromEWKT('SRID=4674;POINT (-39.689031 -2.991565)'))) / (select extract(epoch from '2026-07-12 03:25:03'::timestamp) - extract(epoch from '2026-07-12 03:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68907 -2.991596)'), GeomFromEWKT('SRID=4674;POINT (-39.689031 -2.991565)'))) / (select extract(epoch from '2026-07-12 03:25:03'::timestamp) - extract(epoch from '2026-07-12 03:24: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'), 47857, 'SRID=4674;POINT (-39.689009 -2.991548)', '2026-07-12 03:25:11', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689031 -2.991565)'), GeomFromEWKT('SRID=4674;POINT (-39.689009 -2.991548)'))) / (select extract(epoch from '2026-07-12 03:25:11'::timestamp) - extract(epoch from '2026-07-12 03:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689031 -2.991565)'), GeomFromEWKT('SRID=4674;POINT (-39.689009 -2.991548)'))) / (select extract(epoch from '2026-07-12 03:25:11'::timestamp) - extract(epoch from '2026-07-12 03:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68898 -2.991544)', '2026-07-12 03:25:21', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689009 -2.991548)'), GeomFromEWKT('SRID=4674;POINT (-39.68898 -2.991544)'))) / (select extract(epoch from '2026-07-12 03:25:21'::timestamp) - extract(epoch from '2026-07-12 03:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689009 -2.991548)'), GeomFromEWKT('SRID=4674;POINT (-39.68898 -2.991544)'))) / (select extract(epoch from '2026-07-12 03:25:21'::timestamp) - extract(epoch from '2026-07-12 03:25: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'), 47857, 'SRID=4674;POINT (-39.688961 -2.99153)', '2026-07-12 03:25:30', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68898 -2.991544)'), GeomFromEWKT('SRID=4674;POINT (-39.688961 -2.99153)'))) / (select extract(epoch from '2026-07-12 03:25:30'::timestamp) - extract(epoch from '2026-07-12 03:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68898 -2.991544)'), GeomFromEWKT('SRID=4674;POINT (-39.688961 -2.99153)'))) / (select extract(epoch from '2026-07-12 03:25:30'::timestamp) - extract(epoch from '2026-07-12 03:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688937 -2.991512)', '2026-07-12 03:25:39', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688961 -2.99153)'), GeomFromEWKT('SRID=4674;POINT (-39.688937 -2.991512)'))) / (select extract(epoch from '2026-07-12 03:25:39'::timestamp) - extract(epoch from '2026-07-12 03:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688961 -2.99153)'), GeomFromEWKT('SRID=4674;POINT (-39.688937 -2.991512)'))) / (select extract(epoch from '2026-07-12 03:25:39'::timestamp) - extract(epoch from '2026-07-12 03:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688914 -2.99149)', '2026-07-12 03:25:46', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688937 -2.991512)'), GeomFromEWKT('SRID=4674;POINT (-39.688914 -2.99149)'))) / (select extract(epoch from '2026-07-12 03:25:46'::timestamp) - extract(epoch from '2026-07-12 03:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688937 -2.991512)'), GeomFromEWKT('SRID=4674;POINT (-39.688914 -2.99149)'))) / (select extract(epoch from '2026-07-12 03:25:46'::timestamp) - extract(epoch from '2026-07-12 03:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688892 -2.991468)', '2026-07-12 03:25:55', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688914 -2.99149)'), GeomFromEWKT('SRID=4674;POINT (-39.688892 -2.991468)'))) / (select extract(epoch from '2026-07-12 03:25:55'::timestamp) - extract(epoch from '2026-07-12 03:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688914 -2.99149)'), GeomFromEWKT('SRID=4674;POINT (-39.688892 -2.991468)'))) / (select extract(epoch from '2026-07-12 03:25:55'::timestamp) - extract(epoch from '2026-07-12 03:25: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'), 47857, 'SRID=4674;POINT (-39.688849 -2.991438)', '2026-07-12 03:26:04', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688892 -2.991468)'), GeomFromEWKT('SRID=4674;POINT (-39.688849 -2.991438)'))) / (select extract(epoch from '2026-07-12 03:26:04'::timestamp) - extract(epoch from '2026-07-12 03:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688892 -2.991468)'), GeomFromEWKT('SRID=4674;POINT (-39.688849 -2.991438)'))) / (select extract(epoch from '2026-07-12 03:26:04'::timestamp) - extract(epoch from '2026-07-12 03:25: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'), 47857, 'SRID=4674;POINT (-39.688343 -2.991187)', '2026-07-12 03:27:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688849 -2.991438)'), GeomFromEWKT('SRID=4674;POINT (-39.688343 -2.991187)'))) / (select extract(epoch from '2026-07-12 03:27:30'::timestamp) - extract(epoch from '2026-07-12 03:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688849 -2.991438)'), GeomFromEWKT('SRID=4674;POINT (-39.688343 -2.991187)'))) / (select extract(epoch from '2026-07-12 03:27:30'::timestamp) - extract(epoch from '2026-07-12 03:26: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'), 47857, 'SRID=4674;POINT (-39.688331 -2.991177)', '2026-07-12 03:27:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688343 -2.991187)'), GeomFromEWKT('SRID=4674;POINT (-39.688331 -2.991177)'))) / (select extract(epoch from '2026-07-12 03:27:34'::timestamp) - extract(epoch from '2026-07-12 03:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688343 -2.991187)'), GeomFromEWKT('SRID=4674;POINT (-39.688331 -2.991177)'))) / (select extract(epoch from '2026-07-12 03:27:34'::timestamp) - extract(epoch from '2026-07-12 03:27: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'), 47857, 'SRID=4674;POINT (-39.688287 -2.991152)', '2026-07-12 03:27:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688331 -2.991177)'), GeomFromEWKT('SRID=4674;POINT (-39.688287 -2.991152)'))) / (select extract(epoch from '2026-07-12 03:27:44'::timestamp) - extract(epoch from '2026-07-12 03:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688331 -2.991177)'), GeomFromEWKT('SRID=4674;POINT (-39.688287 -2.991152)'))) / (select extract(epoch from '2026-07-12 03:27:44'::timestamp) - extract(epoch from '2026-07-12 03:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688255 -2.991128)', '2026-07-12 03:27:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688287 -2.991152)'), GeomFromEWKT('SRID=4674;POINT (-39.688255 -2.991128)'))) / (select extract(epoch from '2026-07-12 03:27:52'::timestamp) - extract(epoch from '2026-07-12 03:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688287 -2.991152)'), GeomFromEWKT('SRID=4674;POINT (-39.688255 -2.991128)'))) / (select extract(epoch from '2026-07-12 03:27:52'::timestamp) - extract(epoch from '2026-07-12 03:27: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'), 47857, 'SRID=4674;POINT (-39.68823 -2.991097)', '2026-07-12 03:28:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688255 -2.991128)'), GeomFromEWKT('SRID=4674;POINT (-39.68823 -2.991097)'))) / (select extract(epoch from '2026-07-12 03:28:00'::timestamp) - extract(epoch from '2026-07-12 03:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688255 -2.991128)'), GeomFromEWKT('SRID=4674;POINT (-39.68823 -2.991097)'))) / (select extract(epoch from '2026-07-12 03:28:00'::timestamp) - extract(epoch from '2026-07-12 03:27: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'), 47857, 'SRID=4674;POINT (-39.68821 -2.991068)', '2026-07-12 03:28:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68823 -2.991097)'), GeomFromEWKT('SRID=4674;POINT (-39.68821 -2.991068)'))) / (select extract(epoch from '2026-07-12 03:28:08'::timestamp) - extract(epoch from '2026-07-12 03:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68823 -2.991097)'), GeomFromEWKT('SRID=4674;POINT (-39.68821 -2.991068)'))) / (select extract(epoch from '2026-07-12 03:28:08'::timestamp) - extract(epoch from '2026-07-12 03:28: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'), 47857, 'SRID=4674;POINT (-39.688153 -2.99104)', '2026-07-12 03:28:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68821 -2.991068)'), GeomFromEWKT('SRID=4674;POINT (-39.688153 -2.99104)'))) / (select extract(epoch from '2026-07-12 03:28:19'::timestamp) - extract(epoch from '2026-07-12 03:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68821 -2.991068)'), GeomFromEWKT('SRID=4674;POINT (-39.688153 -2.99104)'))) / (select extract(epoch from '2026-07-12 03:28:19'::timestamp) - extract(epoch from '2026-07-12 03:28: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'), 47857, 'SRID=4674;POINT (-39.688099 -2.991012)', '2026-07-12 03:28:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688153 -2.99104)'), GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.991012)'))) / (select extract(epoch from '2026-07-12 03:28:28'::timestamp) - extract(epoch from '2026-07-12 03:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688153 -2.99104)'), GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.991012)'))) / (select extract(epoch from '2026-07-12 03:28:28'::timestamp) - extract(epoch from '2026-07-12 03:28: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'), 47857, 'SRID=4674;POINT (-39.688047 -2.990986)', '2026-07-12 03:28:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.991012)'), GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.990986)'))) / (select extract(epoch from '2026-07-12 03:28:38'::timestamp) - extract(epoch from '2026-07-12 03:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.991012)'), GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.990986)'))) / (select extract(epoch from '2026-07-12 03:28:38'::timestamp) - extract(epoch from '2026-07-12 03:28: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'), 47857, 'SRID=4674;POINT (-39.687989 -2.990961)', '2026-07-12 03:28:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.990986)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.990961)'))) / (select extract(epoch from '2026-07-12 03:28:50'::timestamp) - extract(epoch from '2026-07-12 03:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.990986)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.990961)'))) / (select extract(epoch from '2026-07-12 03:28:50'::timestamp) - extract(epoch from '2026-07-12 03:28: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'), 47857, 'SRID=4674;POINT (-39.687952 -2.990929)', '2026-07-12 03:28:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.990961)'), GeomFromEWKT('SRID=4674;POINT (-39.687952 -2.990929)'))) / (select extract(epoch from '2026-07-12 03:28:59'::timestamp) - extract(epoch from '2026-07-12 03:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.990961)'), GeomFromEWKT('SRID=4674;POINT (-39.687952 -2.990929)'))) / (select extract(epoch from '2026-07-12 03:28:59'::timestamp) - extract(epoch from '2026-07-12 03:28: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'), 47857, 'SRID=4674;POINT (-39.687886 -2.990855)', '2026-07-12 03:29:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687952 -2.990929)'), GeomFromEWKT('SRID=4674;POINT (-39.687886 -2.990855)'))) / (select extract(epoch from '2026-07-12 03:29:14'::timestamp) - extract(epoch from '2026-07-12 03:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687952 -2.990929)'), GeomFromEWKT('SRID=4674;POINT (-39.687886 -2.990855)'))) / (select extract(epoch from '2026-07-12 03:29:14'::timestamp) - extract(epoch from '2026-07-12 03:28: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'), 47857, 'SRID=4674;POINT (-39.687495 -2.990553)', '2026-07-12 03:30:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687886 -2.990855)'), GeomFromEWKT('SRID=4674;POINT (-39.687495 -2.990553)'))) / (select extract(epoch from '2026-07-12 03:30:44'::timestamp) - extract(epoch from '2026-07-12 03:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687886 -2.990855)'), GeomFromEWKT('SRID=4674;POINT (-39.687495 -2.990553)'))) / (select extract(epoch from '2026-07-12 03:30:44'::timestamp) - extract(epoch from '2026-07-12 03:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687492 -2.99055)', '2026-07-12 03:30:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687495 -2.990553)'), GeomFromEWKT('SRID=4674;POINT (-39.687492 -2.99055)'))) / (select extract(epoch from '2026-07-12 03:30:45'::timestamp) - extract(epoch from '2026-07-12 03:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687495 -2.990553)'), GeomFromEWKT('SRID=4674;POINT (-39.687492 -2.99055)'))) / (select extract(epoch from '2026-07-12 03:30:45'::timestamp) - extract(epoch from '2026-07-12 03:30: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'), 47857, 'SRID=4674;POINT (-39.687445 -2.990533)', '2026-07-12 03:30:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687492 -2.99055)'), GeomFromEWKT('SRID=4674;POINT (-39.687445 -2.990533)'))) / (select extract(epoch from '2026-07-12 03:30:54'::timestamp) - extract(epoch from '2026-07-12 03:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687492 -2.99055)'), GeomFromEWKT('SRID=4674;POINT (-39.687445 -2.990533)'))) / (select extract(epoch from '2026-07-12 03:30:54'::timestamp) - extract(epoch from '2026-07-12 03:30: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'), 47857, 'SRID=4674;POINT (-39.687405 -2.990516)', '2026-07-12 03:31:02', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687445 -2.990533)'), GeomFromEWKT('SRID=4674;POINT (-39.687405 -2.990516)'))) / (select extract(epoch from '2026-07-12 03:31:02'::timestamp) - extract(epoch from '2026-07-12 03:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687445 -2.990533)'), GeomFromEWKT('SRID=4674;POINT (-39.687405 -2.990516)'))) / (select extract(epoch from '2026-07-12 03:31:02'::timestamp) - extract(epoch from '2026-07-12 03:30: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'), 47857, 'SRID=4674;POINT (-39.687379 -2.990496)', '2026-07-12 03:31:10', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687405 -2.990516)'), GeomFromEWKT('SRID=4674;POINT (-39.687379 -2.990496)'))) / (select extract(epoch from '2026-07-12 03:31:10'::timestamp) - extract(epoch from '2026-07-12 03:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687405 -2.990516)'), GeomFromEWKT('SRID=4674;POINT (-39.687379 -2.990496)'))) / (select extract(epoch from '2026-07-12 03:31:10'::timestamp) - extract(epoch from '2026-07-12 03:31: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'), 47857, 'SRID=4674;POINT (-39.687338 -2.990469)', '2026-07-12 03:31:20', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687379 -2.990496)'), GeomFromEWKT('SRID=4674;POINT (-39.687338 -2.990469)'))) / (select extract(epoch from '2026-07-12 03:31:20'::timestamp) - extract(epoch from '2026-07-12 03:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687379 -2.990496)'), GeomFromEWKT('SRID=4674;POINT (-39.687338 -2.990469)'))) / (select extract(epoch from '2026-07-12 03:31:20'::timestamp) - extract(epoch from '2026-07-12 03:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687289 -2.990442)', '2026-07-12 03:31:30', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687338 -2.990469)'), GeomFromEWKT('SRID=4674;POINT (-39.687289 -2.990442)'))) / (select extract(epoch from '2026-07-12 03:31:30'::timestamp) - extract(epoch from '2026-07-12 03:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687338 -2.990469)'), GeomFromEWKT('SRID=4674;POINT (-39.687289 -2.990442)'))) / (select extract(epoch from '2026-07-12 03:31:30'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.687243 -2.990408)', '2026-07-12 03:31:40', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687289 -2.990442)'), GeomFromEWKT('SRID=4674;POINT (-39.687243 -2.990408)'))) / (select extract(epoch from '2026-07-12 03:31:40'::timestamp) - extract(epoch from '2026-07-12 03:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687289 -2.990442)'), GeomFromEWKT('SRID=4674;POINT (-39.687243 -2.990408)'))) / (select extract(epoch from '2026-07-12 03:31:40'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.687184 -2.990372)', '2026-07-12 03:31:51', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687243 -2.990408)'), GeomFromEWKT('SRID=4674;POINT (-39.687184 -2.990372)'))) / (select extract(epoch from '2026-07-12 03:31:51'::timestamp) - extract(epoch from '2026-07-12 03:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687243 -2.990408)'), GeomFromEWKT('SRID=4674;POINT (-39.687184 -2.990372)'))) / (select extract(epoch from '2026-07-12 03:31:51'::timestamp) - extract(epoch from '2026-07-12 03:31: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'), 47857, 'SRID=4674;POINT (-39.68714 -2.990348)', '2026-07-12 03:31:59', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687184 -2.990372)'), GeomFromEWKT('SRID=4674;POINT (-39.68714 -2.990348)'))) / (select extract(epoch from '2026-07-12 03:31:59'::timestamp) - extract(epoch from '2026-07-12 03:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687184 -2.990372)'), GeomFromEWKT('SRID=4674;POINT (-39.68714 -2.990348)'))) / (select extract(epoch from '2026-07-12 03:31:59'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.687104 -2.990319)', '2026-07-12 03:32:08', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68714 -2.990348)'), GeomFromEWKT('SRID=4674;POINT (-39.687104 -2.990319)'))) / (select extract(epoch from '2026-07-12 03:32:08'::timestamp) - extract(epoch from '2026-07-12 03:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68714 -2.990348)'), GeomFromEWKT('SRID=4674;POINT (-39.687104 -2.990319)'))) / (select extract(epoch from '2026-07-12 03:32:08'::timestamp) - extract(epoch from '2026-07-12 03:31: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'), 47857, 'SRID=4674;POINT (-39.687072 -2.990284)', '2026-07-12 03:32:18', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687104 -2.990319)'), GeomFromEWKT('SRID=4674;POINT (-39.687072 -2.990284)'))) / (select extract(epoch from '2026-07-12 03:32:18'::timestamp) - extract(epoch from '2026-07-12 03:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687104 -2.990319)'), GeomFromEWKT('SRID=4674;POINT (-39.687072 -2.990284)'))) / (select extract(epoch from '2026-07-12 03:32:18'::timestamp) - extract(epoch from '2026-07-12 03:32: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'), 47857, 'SRID=4674;POINT (-39.687043 -2.990253)', '2026-07-12 03:32:27', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687072 -2.990284)'), GeomFromEWKT('SRID=4674;POINT (-39.687043 -2.990253)'))) / (select extract(epoch from '2026-07-12 03:32:27'::timestamp) - extract(epoch from '2026-07-12 03:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687072 -2.990284)'), GeomFromEWKT('SRID=4674;POINT (-39.687043 -2.990253)'))) / (select extract(epoch from '2026-07-12 03:32:27'::timestamp) - extract(epoch from '2026-07-12 03:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687021 -2.990223)', '2026-07-12 03:32:36', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687043 -2.990253)'), GeomFromEWKT('SRID=4674;POINT (-39.687021 -2.990223)'))) / (select extract(epoch from '2026-07-12 03:32:36'::timestamp) - extract(epoch from '2026-07-12 03:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687043 -2.990253)'), GeomFromEWKT('SRID=4674;POINT (-39.687021 -2.990223)'))) / (select extract(epoch from '2026-07-12 03:32:36'::timestamp) - extract(epoch from '2026-07-12 03:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686988 -2.990194)', '2026-07-12 03:32:44', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687021 -2.990223)'), GeomFromEWKT('SRID=4674;POINT (-39.686988 -2.990194)'))) / (select extract(epoch from '2026-07-12 03:32:44'::timestamp) - extract(epoch from '2026-07-12 03:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687021 -2.990223)'), GeomFromEWKT('SRID=4674;POINT (-39.686988 -2.990194)'))) / (select extract(epoch from '2026-07-12 03:32:44'::timestamp) - extract(epoch from '2026-07-12 03:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686932 -2.990161)', '2026-07-12 03:32:52', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686988 -2.990194)'), GeomFromEWKT('SRID=4674;POINT (-39.686932 -2.990161)'))) / (select extract(epoch from '2026-07-12 03:32:52'::timestamp) - extract(epoch from '2026-07-12 03:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686988 -2.990194)'), GeomFromEWKT('SRID=4674;POINT (-39.686932 -2.990161)'))) / (select extract(epoch from '2026-07-12 03:32:52'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.686891 -2.990126)', '2026-07-12 03:33:02', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686932 -2.990161)'), GeomFromEWKT('SRID=4674;POINT (-39.686891 -2.990126)'))) / (select extract(epoch from '2026-07-12 03:33:02'::timestamp) - extract(epoch from '2026-07-12 03:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686932 -2.990161)'), GeomFromEWKT('SRID=4674;POINT (-39.686891 -2.990126)'))) / (select extract(epoch from '2026-07-12 03:33:02'::timestamp) - extract(epoch from '2026-07-12 03:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686851 -2.990091)', '2026-07-12 03:33:10', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686891 -2.990126)'), GeomFromEWKT('SRID=4674;POINT (-39.686851 -2.990091)'))) / (select extract(epoch from '2026-07-12 03:33:10'::timestamp) - extract(epoch from '2026-07-12 03:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686891 -2.990126)'), GeomFromEWKT('SRID=4674;POINT (-39.686851 -2.990091)'))) / (select extract(epoch from '2026-07-12 03:33:10'::timestamp) - extract(epoch from '2026-07-12 03:33: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'), 47857, 'SRID=4674;POINT (-39.686802 -2.990064)', '2026-07-12 03:33:18', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686851 -2.990091)'), GeomFromEWKT('SRID=4674;POINT (-39.686802 -2.990064)'))) / (select extract(epoch from '2026-07-12 03:33:18'::timestamp) - extract(epoch from '2026-07-12 03:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686851 -2.990091)'), GeomFromEWKT('SRID=4674;POINT (-39.686802 -2.990064)'))) / (select extract(epoch from '2026-07-12 03:33:18'::timestamp) - extract(epoch from '2026-07-12 03:33: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'), 47857, 'SRID=4674;POINT (-39.686757 -2.990043)', '2026-07-12 03:33:25', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686802 -2.990064)'), GeomFromEWKT('SRID=4674;POINT (-39.686757 -2.990043)'))) / (select extract(epoch from '2026-07-12 03:33:25'::timestamp) - extract(epoch from '2026-07-12 03:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686802 -2.990064)'), GeomFromEWKT('SRID=4674;POINT (-39.686757 -2.990043)'))) / (select extract(epoch from '2026-07-12 03:33:25'::timestamp) - extract(epoch from '2026-07-12 03:33: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'), 47857, 'SRID=4674;POINT (-39.686704 -2.990014)', '2026-07-12 03:33:34', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686757 -2.990043)'), GeomFromEWKT('SRID=4674;POINT (-39.686704 -2.990014)'))) / (select extract(epoch from '2026-07-12 03:33:34'::timestamp) - extract(epoch from '2026-07-12 03:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686757 -2.990043)'), GeomFromEWKT('SRID=4674;POINT (-39.686704 -2.990014)'))) / (select extract(epoch from '2026-07-12 03:33:34'::timestamp) - extract(epoch from '2026-07-12 03:33: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'), 47857, 'SRID=4674;POINT (-39.686671 -2.989992)', '2026-07-12 03:33:42', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686704 -2.990014)'), GeomFromEWKT('SRID=4674;POINT (-39.686671 -2.989992)'))) / (select extract(epoch from '2026-07-12 03:33:42'::timestamp) - extract(epoch from '2026-07-12 03:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686704 -2.990014)'), GeomFromEWKT('SRID=4674;POINT (-39.686671 -2.989992)'))) / (select extract(epoch from '2026-07-12 03:33:42'::timestamp) - extract(epoch from '2026-07-12 03:33: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'), 47857, 'SRID=4674;POINT (-39.686456 -2.989818)', '2026-07-12 03:34:28', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686671 -2.989992)'), GeomFromEWKT('SRID=4674;POINT (-39.686456 -2.989818)'))) / (select extract(epoch from '2026-07-12 03:34:28'::timestamp) - extract(epoch from '2026-07-12 03:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686671 -2.989992)'), GeomFromEWKT('SRID=4674;POINT (-39.686456 -2.989818)'))) / (select extract(epoch from '2026-07-12 03:34:28'::timestamp) - extract(epoch from '2026-07-12 03:33: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'), 47857, 'SRID=4674;POINT (-39.686418 -2.989807)', '2026-07-12 03:34:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686456 -2.989818)'), GeomFromEWKT('SRID=4674;POINT (-39.686418 -2.989807)'))) / (select extract(epoch from '2026-07-12 03:34:35'::timestamp) - extract(epoch from '2026-07-12 03:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686456 -2.989818)'), GeomFromEWKT('SRID=4674;POINT (-39.686418 -2.989807)'))) / (select extract(epoch from '2026-07-12 03:34:35'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.686348 -2.989782)', '2026-07-12 03:34:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686418 -2.989807)'), GeomFromEWKT('SRID=4674;POINT (-39.686348 -2.989782)'))) / (select extract(epoch from '2026-07-12 03:34:44'::timestamp) - extract(epoch from '2026-07-12 03:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686418 -2.989807)'), GeomFromEWKT('SRID=4674;POINT (-39.686348 -2.989782)'))) / (select extract(epoch from '2026-07-12 03:34:44'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.686296 -2.989766)', '2026-07-12 03:34:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686348 -2.989782)'), GeomFromEWKT('SRID=4674;POINT (-39.686296 -2.989766)'))) / (select extract(epoch from '2026-07-12 03:34:50'::timestamp) - extract(epoch from '2026-07-12 03:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686348 -2.989782)'), GeomFromEWKT('SRID=4674;POINT (-39.686296 -2.989766)'))) / (select extract(epoch from '2026-07-12 03:34:50'::timestamp) - extract(epoch from '2026-07-12 03:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686237 -2.989744)', '2026-07-12 03:34:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686296 -2.989766)'), GeomFromEWKT('SRID=4674;POINT (-39.686237 -2.989744)'))) / (select extract(epoch from '2026-07-12 03:34:57'::timestamp) - extract(epoch from '2026-07-12 03:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686296 -2.989766)'), GeomFromEWKT('SRID=4674;POINT (-39.686237 -2.989744)'))) / (select extract(epoch from '2026-07-12 03:34:57'::timestamp) - extract(epoch from '2026-07-12 03:34: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'), 47857, 'SRID=4674;POINT (-39.686154 -2.989717)', '2026-07-12 03:35:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686237 -2.989744)'), GeomFromEWKT('SRID=4674;POINT (-39.686154 -2.989717)'))) / (select extract(epoch from '2026-07-12 03:35:09'::timestamp) - extract(epoch from '2026-07-12 03:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686237 -2.989744)'), GeomFromEWKT('SRID=4674;POINT (-39.686154 -2.989717)'))) / (select extract(epoch from '2026-07-12 03:35:09'::timestamp) - extract(epoch from '2026-07-12 03:34: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'), 47857, 'SRID=4674;POINT (-39.686069 -2.989701)', '2026-07-12 03:35:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686154 -2.989717)'), GeomFromEWKT('SRID=4674;POINT (-39.686069 -2.989701)'))) / (select extract(epoch from '2026-07-12 03:35:19'::timestamp) - extract(epoch from '2026-07-12 03:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686154 -2.989717)'), GeomFromEWKT('SRID=4674;POINT (-39.686069 -2.989701)'))) / (select extract(epoch from '2026-07-12 03:35:19'::timestamp) - extract(epoch from '2026-07-12 03:35: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'), 47857, 'SRID=4674;POINT (-39.686019 -2.989691)', '2026-07-12 03:35:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686069 -2.989701)'), GeomFromEWKT('SRID=4674;POINT (-39.686019 -2.989691)'))) / (select extract(epoch from '2026-07-12 03:35:26'::timestamp) - extract(epoch from '2026-07-12 03:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686069 -2.989701)'), GeomFromEWKT('SRID=4674;POINT (-39.686019 -2.989691)'))) / (select extract(epoch from '2026-07-12 03:35:26'::timestamp) - extract(epoch from '2026-07-12 03:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.685978 -2.989673)', '2026-07-12 03:35:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686019 -2.989691)'), GeomFromEWKT('SRID=4674;POINT (-39.685978 -2.989673)'))) / (select extract(epoch from '2026-07-12 03:35:32'::timestamp) - extract(epoch from '2026-07-12 03:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686019 -2.989691)'), GeomFromEWKT('SRID=4674;POINT (-39.685978 -2.989673)'))) / (select extract(epoch from '2026-07-12 03:35:32'::timestamp) - extract(epoch from '2026-07-12 03:35: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'), 47857, 'SRID=4674;POINT (-39.685911 -2.989641)', '2026-07-12 03:35:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685978 -2.989673)'), GeomFromEWKT('SRID=4674;POINT (-39.685911 -2.989641)'))) / (select extract(epoch from '2026-07-12 03:35:42'::timestamp) - extract(epoch from '2026-07-12 03:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685978 -2.989673)'), GeomFromEWKT('SRID=4674;POINT (-39.685911 -2.989641)'))) / (select extract(epoch from '2026-07-12 03:35:42'::timestamp) - extract(epoch from '2026-07-12 03:35: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'), 47857, 'SRID=4674;POINT (-39.685875 -2.989599)', '2026-07-12 03:35:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685911 -2.989641)'), GeomFromEWKT('SRID=4674;POINT (-39.685875 -2.989599)'))) / (select extract(epoch from '2026-07-12 03:35:55'::timestamp) - extract(epoch from '2026-07-12 03:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685911 -2.989641)'), GeomFromEWKT('SRID=4674;POINT (-39.685875 -2.989599)'))) / (select extract(epoch from '2026-07-12 03:35:55'::timestamp) - extract(epoch from '2026-07-12 03:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.685833 -2.989575)', '2026-07-12 03:36:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685875 -2.989599)'), GeomFromEWKT('SRID=4674;POINT (-39.685833 -2.989575)'))) / (select extract(epoch from '2026-07-12 03:36:02'::timestamp) - extract(epoch from '2026-07-12 03:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685875 -2.989599)'), GeomFromEWKT('SRID=4674;POINT (-39.685833 -2.989575)'))) / (select extract(epoch from '2026-07-12 03:36:02'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.685799 -2.989546)', '2026-07-12 03:36:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685833 -2.989575)'), GeomFromEWKT('SRID=4674;POINT (-39.685799 -2.989546)'))) / (select extract(epoch from '2026-07-12 03:36:10'::timestamp) - extract(epoch from '2026-07-12 03:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685833 -2.989575)'), GeomFromEWKT('SRID=4674;POINT (-39.685799 -2.989546)'))) / (select extract(epoch from '2026-07-12 03:36:10'::timestamp) - extract(epoch from '2026-07-12 03:36: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'), 47857, 'SRID=4674;POINT (-39.685757 -2.989524)', '2026-07-12 03:36:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685799 -2.989546)'), GeomFromEWKT('SRID=4674;POINT (-39.685757 -2.989524)'))) / (select extract(epoch from '2026-07-12 03:36:17'::timestamp) - extract(epoch from '2026-07-12 03:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685799 -2.989546)'), GeomFromEWKT('SRID=4674;POINT (-39.685757 -2.989524)'))) / (select extract(epoch from '2026-07-12 03:36:17'::timestamp) - extract(epoch from '2026-07-12 03:36: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'), 47857, 'SRID=4674;POINT (-39.685733 -2.989502)', '2026-07-12 03:36:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685757 -2.989524)'), GeomFromEWKT('SRID=4674;POINT (-39.685733 -2.989502)'))) / (select extract(epoch from '2026-07-12 03:36:26'::timestamp) - extract(epoch from '2026-07-12 03:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685757 -2.989524)'), GeomFromEWKT('SRID=4674;POINT (-39.685733 -2.989502)'))) / (select extract(epoch from '2026-07-12 03:36:26'::timestamp) - extract(epoch from '2026-07-12 03:36: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'), 47857, 'SRID=4674;POINT (-39.685223 -2.989219)', '2026-07-12 03:37:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685733 -2.989502)'), GeomFromEWKT('SRID=4674;POINT (-39.685223 -2.989219)'))) / (select extract(epoch from '2026-07-12 03:37:56'::timestamp) - extract(epoch from '2026-07-12 03:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685733 -2.989502)'), GeomFromEWKT('SRID=4674;POINT (-39.685223 -2.989219)'))) / (select extract(epoch from '2026-07-12 03:37:56'::timestamp) - extract(epoch from '2026-07-12 03:36: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'), 47857, 'SRID=4674;POINT (-39.685195 -2.989214)', '2026-07-12 03:38:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685223 -2.989219)'), GeomFromEWKT('SRID=4674;POINT (-39.685195 -2.989214)'))) / (select extract(epoch from '2026-07-12 03:38:00'::timestamp) - extract(epoch from '2026-07-12 03:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685223 -2.989219)'), GeomFromEWKT('SRID=4674;POINT (-39.685195 -2.989214)'))) / (select extract(epoch from '2026-07-12 03:38:00'::timestamp) - extract(epoch from '2026-07-12 03:37: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'), 47857, 'SRID=4674;POINT (-39.685179 -2.989208)', '2026-07-12 03:38:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685195 -2.989214)'), GeomFromEWKT('SRID=4674;POINT (-39.685179 -2.989208)'))) / (select extract(epoch from '2026-07-12 03:38:02'::timestamp) - extract(epoch from '2026-07-12 03:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685195 -2.989214)'), GeomFromEWKT('SRID=4674;POINT (-39.685179 -2.989208)'))) / (select extract(epoch from '2026-07-12 03:38:02'::timestamp) - extract(epoch from '2026-07-12 03:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.685151 -2.9892)', '2026-07-12 03:38:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685179 -2.989208)'), GeomFromEWKT('SRID=4674;POINT (-39.685151 -2.9892)'))) / (select extract(epoch from '2026-07-12 03:38:06'::timestamp) - extract(epoch from '2026-07-12 03:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685179 -2.989208)'), GeomFromEWKT('SRID=4674;POINT (-39.685151 -2.9892)'))) / (select extract(epoch from '2026-07-12 03:38:06'::timestamp) - extract(epoch from '2026-07-12 03:38: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'), 47857, 'SRID=4674;POINT (-39.685103 -2.989181)', '2026-07-12 03:38:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685151 -2.9892)'), GeomFromEWKT('SRID=4674;POINT (-39.685103 -2.989181)'))) / (select extract(epoch from '2026-07-12 03:38:13'::timestamp) - extract(epoch from '2026-07-12 03:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685151 -2.9892)'), GeomFromEWKT('SRID=4674;POINT (-39.685103 -2.989181)'))) / (select extract(epoch from '2026-07-12 03:38:13'::timestamp) - extract(epoch from '2026-07-12 03:38: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'), 47857, 'SRID=4674;POINT (-39.685064 -2.989169)', '2026-07-12 03:38:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685103 -2.989181)'), GeomFromEWKT('SRID=4674;POINT (-39.685064 -2.989169)'))) / (select extract(epoch from '2026-07-12 03:38:20'::timestamp) - extract(epoch from '2026-07-12 03:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685103 -2.989181)'), GeomFromEWKT('SRID=4674;POINT (-39.685064 -2.989169)'))) / (select extract(epoch from '2026-07-12 03:38:20'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.685016 -2.989152)', '2026-07-12 03:38:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685064 -2.989169)'), GeomFromEWKT('SRID=4674;POINT (-39.685016 -2.989152)'))) / (select extract(epoch from '2026-07-12 03:38:29'::timestamp) - extract(epoch from '2026-07-12 03:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685064 -2.989169)'), GeomFromEWKT('SRID=4674;POINT (-39.685016 -2.989152)'))) / (select extract(epoch from '2026-07-12 03:38:29'::timestamp) - extract(epoch from '2026-07-12 03:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684959 -2.989141)', '2026-07-12 03:38:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685016 -2.989152)'), GeomFromEWKT('SRID=4674;POINT (-39.684959 -2.989141)'))) / (select extract(epoch from '2026-07-12 03:38:37'::timestamp) - extract(epoch from '2026-07-12 03:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685016 -2.989152)'), GeomFromEWKT('SRID=4674;POINT (-39.684959 -2.989141)'))) / (select extract(epoch from '2026-07-12 03:38:37'::timestamp) - extract(epoch from '2026-07-12 03:38: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'), 47857, 'SRID=4674;POINT (-39.684919 -2.989116)', '2026-07-12 03:38:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684959 -2.989141)'), GeomFromEWKT('SRID=4674;POINT (-39.684919 -2.989116)'))) / (select extract(epoch from '2026-07-12 03:38:46'::timestamp) - extract(epoch from '2026-07-12 03:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684959 -2.989141)'), GeomFromEWKT('SRID=4674;POINT (-39.684919 -2.989116)'))) / (select extract(epoch from '2026-07-12 03:38:46'::timestamp) - extract(epoch from '2026-07-12 03:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684881 -2.989087)', '2026-07-12 03:38:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684919 -2.989116)'), GeomFromEWKT('SRID=4674;POINT (-39.684881 -2.989087)'))) / (select extract(epoch from '2026-07-12 03:38:56'::timestamp) - extract(epoch from '2026-07-12 03:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684919 -2.989116)'), GeomFromEWKT('SRID=4674;POINT (-39.684881 -2.989087)'))) / (select extract(epoch from '2026-07-12 03:38:56'::timestamp) - extract(epoch from '2026-07-12 03:38: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'), 47857, 'SRID=4674;POINT (-39.684843 -2.989066)', '2026-07-12 03:39:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684881 -2.989087)'), GeomFromEWKT('SRID=4674;POINT (-39.684843 -2.989066)'))) / (select extract(epoch from '2026-07-12 03:39:04'::timestamp) - extract(epoch from '2026-07-12 03:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684881 -2.989087)'), GeomFromEWKT('SRID=4674;POINT (-39.684843 -2.989066)'))) / (select extract(epoch from '2026-07-12 03:39:04'::timestamp) - extract(epoch from '2026-07-12 03:38:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684838 -2.989063)', '2026-07-12 03:39:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684843 -2.989066)'), GeomFromEWKT('SRID=4674;POINT (-39.684838 -2.989063)'))) / (select extract(epoch from '2026-07-12 03:39:05'::timestamp) - extract(epoch from '2026-07-12 03:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684843 -2.989066)'), GeomFromEWKT('SRID=4674;POINT (-39.684838 -2.989063)'))) / (select extract(epoch from '2026-07-12 03:39:05'::timestamp) - extract(epoch from '2026-07-12 03:39: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'), 47857, 'SRID=4674;POINT (-39.684784 -2.989021)', '2026-07-12 03:39:17', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684838 -2.989063)'), GeomFromEWKT('SRID=4674;POINT (-39.684784 -2.989021)'))) / (select extract(epoch from '2026-07-12 03:39:17'::timestamp) - extract(epoch from '2026-07-12 03:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684838 -2.989063)'), GeomFromEWKT('SRID=4674;POINT (-39.684784 -2.989021)'))) / (select extract(epoch from '2026-07-12 03:39:17'::timestamp) - extract(epoch from '2026-07-12 03:39: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'), 47857, 'SRID=4674;POINT (-39.684743 -2.988998)', '2026-07-12 03:39:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684784 -2.989021)'), GeomFromEWKT('SRID=4674;POINT (-39.684743 -2.988998)'))) / (select extract(epoch from '2026-07-12 03:39:25'::timestamp) - extract(epoch from '2026-07-12 03:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684784 -2.989021)'), GeomFromEWKT('SRID=4674;POINT (-39.684743 -2.988998)'))) / (select extract(epoch from '2026-07-12 03:39:25'::timestamp) - extract(epoch from '2026-07-12 03:39: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'), 47857, 'SRID=4674;POINT (-39.684711 -2.988973)', '2026-07-12 03:39:31', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684743 -2.988998)'), GeomFromEWKT('SRID=4674;POINT (-39.684711 -2.988973)'))) / (select extract(epoch from '2026-07-12 03:39:31'::timestamp) - extract(epoch from '2026-07-12 03:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684743 -2.988998)'), GeomFromEWKT('SRID=4674;POINT (-39.684711 -2.988973)'))) / (select extract(epoch from '2026-07-12 03:39:31'::timestamp) - extract(epoch from '2026-07-12 03:39: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'), 47857, 'SRID=4674;POINT (-39.684703 -2.988969)', '2026-07-12 03:39:32', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684711 -2.988973)'), GeomFromEWKT('SRID=4674;POINT (-39.684703 -2.988969)'))) / (select extract(epoch from '2026-07-12 03:39:32'::timestamp) - extract(epoch from '2026-07-12 03:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684711 -2.988973)'), GeomFromEWKT('SRID=4674;POINT (-39.684703 -2.988969)'))) / (select extract(epoch from '2026-07-12 03:39:32'::timestamp) - extract(epoch from '2026-07-12 03:39: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'), 47857, 'SRID=4674;POINT (-39.684656 -2.988947)', '2026-07-12 03:39:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684703 -2.988969)'), GeomFromEWKT('SRID=4674;POINT (-39.684656 -2.988947)'))) / (select extract(epoch from '2026-07-12 03:39:39'::timestamp) - extract(epoch from '2026-07-12 03:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684703 -2.988969)'), GeomFromEWKT('SRID=4674;POINT (-39.684656 -2.988947)'))) / (select extract(epoch from '2026-07-12 03:39:39'::timestamp) - extract(epoch from '2026-07-12 03:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68458 -2.988924)', '2026-07-12 03:39:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684656 -2.988947)'), GeomFromEWKT('SRID=4674;POINT (-39.68458 -2.988924)'))) / (select extract(epoch from '2026-07-12 03:39:49'::timestamp) - extract(epoch from '2026-07-12 03:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684656 -2.988947)'), GeomFromEWKT('SRID=4674;POINT (-39.68458 -2.988924)'))) / (select extract(epoch from '2026-07-12 03:39:49'::timestamp) - extract(epoch from '2026-07-12 03:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684515 -2.988903)', '2026-07-12 03:39:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68458 -2.988924)'), GeomFromEWKT('SRID=4674;POINT (-39.684515 -2.988903)'))) / (select extract(epoch from '2026-07-12 03:39:57'::timestamp) - extract(epoch from '2026-07-12 03:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68458 -2.988924)'), GeomFromEWKT('SRID=4674;POINT (-39.684515 -2.988903)'))) / (select extract(epoch from '2026-07-12 03:39:57'::timestamp) - extract(epoch from '2026-07-12 03:39: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'), 47857, 'SRID=4674;POINT (-39.684462 -2.988883)', '2026-07-12 03:40:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684515 -2.988903)'), GeomFromEWKT('SRID=4674;POINT (-39.684462 -2.988883)'))) / (select extract(epoch from '2026-07-12 03:40:05'::timestamp) - extract(epoch from '2026-07-12 03:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684515 -2.988903)'), GeomFromEWKT('SRID=4674;POINT (-39.684462 -2.988883)'))) / (select extract(epoch from '2026-07-12 03:40:05'::timestamp) - extract(epoch from '2026-07-12 03:39: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'), 47857, 'SRID=4674;POINT (-39.684418 -2.988877)', '2026-07-12 03:40:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684462 -2.988883)'), GeomFromEWKT('SRID=4674;POINT (-39.684418 -2.988877)'))) / (select extract(epoch from '2026-07-12 03:40:11'::timestamp) - extract(epoch from '2026-07-12 03:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684462 -2.988883)'), GeomFromEWKT('SRID=4674;POINT (-39.684418 -2.988877)'))) / (select extract(epoch from '2026-07-12 03:40:11'::timestamp) - extract(epoch from '2026-07-12 03:40: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'), 47857, 'SRID=4674;POINT (-39.684403 -2.988871)', '2026-07-12 03:40:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684418 -2.988877)'), GeomFromEWKT('SRID=4674;POINT (-39.684403 -2.988871)'))) / (select extract(epoch from '2026-07-12 03:40:13'::timestamp) - extract(epoch from '2026-07-12 03:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684418 -2.988877)'), GeomFromEWKT('SRID=4674;POINT (-39.684403 -2.988871)'))) / (select extract(epoch from '2026-07-12 03:40:13'::timestamp) - extract(epoch from '2026-07-12 03:40: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'), 47857, 'SRID=4674;POINT (-39.684381 -2.988861)', '2026-07-12 03:40:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684403 -2.988871)'), GeomFromEWKT('SRID=4674;POINT (-39.684381 -2.988861)'))) / (select extract(epoch from '2026-07-12 03:40:16'::timestamp) - extract(epoch from '2026-07-12 03:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684403 -2.988871)'), GeomFromEWKT('SRID=4674;POINT (-39.684381 -2.988861)'))) / (select extract(epoch from '2026-07-12 03:40:16'::timestamp) - extract(epoch from '2026-07-12 03:40: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'), 47857, 'SRID=4674;POINT (-39.684338 -2.988845)', '2026-07-12 03:40:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684381 -2.988861)'), GeomFromEWKT('SRID=4674;POINT (-39.684338 -2.988845)'))) / (select extract(epoch from '2026-07-12 03:40:24'::timestamp) - extract(epoch from '2026-07-12 03:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684381 -2.988861)'), GeomFromEWKT('SRID=4674;POINT (-39.684338 -2.988845)'))) / (select extract(epoch from '2026-07-12 03:40:24'::timestamp) - extract(epoch from '2026-07-12 03:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684331 -2.988842)', '2026-07-12 03:40:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684338 -2.988845)'), GeomFromEWKT('SRID=4674;POINT (-39.684331 -2.988842)'))) / (select extract(epoch from '2026-07-12 03:40:25'::timestamp) - extract(epoch from '2026-07-12 03:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684338 -2.988845)'), GeomFromEWKT('SRID=4674;POINT (-39.684331 -2.988842)'))) / (select extract(epoch from '2026-07-12 03:40:25'::timestamp) - extract(epoch from '2026-07-12 03:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684297 -2.988831)', '2026-07-12 03:40:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684331 -2.988842)'), GeomFromEWKT('SRID=4674;POINT (-39.684297 -2.988831)'))) / (select extract(epoch from '2026-07-12 03:40:30'::timestamp) - extract(epoch from '2026-07-12 03:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684331 -2.988842)'), GeomFromEWKT('SRID=4674;POINT (-39.684297 -2.988831)'))) / (select extract(epoch from '2026-07-12 03:40:30'::timestamp) - extract(epoch from '2026-07-12 03:40: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'), 47857, 'SRID=4674;POINT (-39.684232 -2.988803)', '2026-07-12 03:40:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684297 -2.988831)'), GeomFromEWKT('SRID=4674;POINT (-39.684232 -2.988803)'))) / (select extract(epoch from '2026-07-12 03:40:40'::timestamp) - extract(epoch from '2026-07-12 03:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684297 -2.988831)'), GeomFromEWKT('SRID=4674;POINT (-39.684232 -2.988803)'))) / (select extract(epoch from '2026-07-12 03:40:40'::timestamp) - extract(epoch from '2026-07-12 03:40: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'), 47857, 'SRID=4674;POINT (-39.684201 -2.988782)', '2026-07-12 03:40:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684232 -2.988803)'), GeomFromEWKT('SRID=4674;POINT (-39.684201 -2.988782)'))) / (select extract(epoch from '2026-07-12 03:40:48'::timestamp) - extract(epoch from '2026-07-12 03:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684232 -2.988803)'), GeomFromEWKT('SRID=4674;POINT (-39.684201 -2.988782)'))) / (select extract(epoch from '2026-07-12 03:40:48'::timestamp) - extract(epoch from '2026-07-12 03:40: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'), 47857, 'SRID=4674;POINT (-39.684175 -2.988765)', '2026-07-12 03:40:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684201 -2.988782)'), GeomFromEWKT('SRID=4674;POINT (-39.684175 -2.988765)'))) / (select extract(epoch from '2026-07-12 03:40:55'::timestamp) - extract(epoch from '2026-07-12 03:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684201 -2.988782)'), GeomFromEWKT('SRID=4674;POINT (-39.684175 -2.988765)'))) / (select extract(epoch from '2026-07-12 03:40:55'::timestamp) - extract(epoch from '2026-07-12 03:40: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'), 47857, 'SRID=4674;POINT (-39.684136 -2.988753)', '2026-07-12 03:41:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684175 -2.988765)'), GeomFromEWKT('SRID=4674;POINT (-39.684136 -2.988753)'))) / (select extract(epoch from '2026-07-12 03:41:01'::timestamp) - extract(epoch from '2026-07-12 03:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684175 -2.988765)'), GeomFromEWKT('SRID=4674;POINT (-39.684136 -2.988753)'))) / (select extract(epoch from '2026-07-12 03:41:01'::timestamp) - extract(epoch from '2026-07-12 03:40: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'), 47857, 'SRID=4674;POINT (-39.684098 -2.98874)', '2026-07-12 03:41:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684136 -2.988753)'), GeomFromEWKT('SRID=4674;POINT (-39.684098 -2.98874)'))) / (select extract(epoch from '2026-07-12 03:41:08'::timestamp) - extract(epoch from '2026-07-12 03:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684136 -2.988753)'), GeomFromEWKT('SRID=4674;POINT (-39.684098 -2.98874)'))) / (select extract(epoch from '2026-07-12 03:41:08'::timestamp) - extract(epoch from '2026-07-12 03:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684039 -2.988728)', '2026-07-12 03:41:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684098 -2.98874)'), GeomFromEWKT('SRID=4674;POINT (-39.684039 -2.988728)'))) / (select extract(epoch from '2026-07-12 03:41:17'::timestamp) - extract(epoch from '2026-07-12 03:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684098 -2.98874)'), GeomFromEWKT('SRID=4674;POINT (-39.684039 -2.988728)'))) / (select extract(epoch from '2026-07-12 03:41:17'::timestamp) - extract(epoch from '2026-07-12 03:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684002 -2.988727)', '2026-07-12 03:41:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684039 -2.988728)'), GeomFromEWKT('SRID=4674;POINT (-39.684002 -2.988727)'))) / (select extract(epoch from '2026-07-12 03:41:23'::timestamp) - extract(epoch from '2026-07-12 03:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684039 -2.988728)'), GeomFromEWKT('SRID=4674;POINT (-39.684002 -2.988727)'))) / (select extract(epoch from '2026-07-12 03:41:23'::timestamp) - extract(epoch from '2026-07-12 03:41: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'), 47857, 'SRID=4674;POINT (-39.683951 -2.988727)', '2026-07-12 03:41:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684002 -2.988727)'), GeomFromEWKT('SRID=4674;POINT (-39.683951 -2.988727)'))) / (select extract(epoch from '2026-07-12 03:41:32'::timestamp) - extract(epoch from '2026-07-12 03:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684002 -2.988727)'), GeomFromEWKT('SRID=4674;POINT (-39.683951 -2.988727)'))) / (select extract(epoch from '2026-07-12 03:41:32'::timestamp) - extract(epoch from '2026-07-12 03:41: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'), 47857, 'SRID=4674;POINT (-39.683912 -2.988715)', '2026-07-12 03:41:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683951 -2.988727)'), GeomFromEWKT('SRID=4674;POINT (-39.683912 -2.988715)'))) / (select extract(epoch from '2026-07-12 03:41:39'::timestamp) - extract(epoch from '2026-07-12 03:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683951 -2.988727)'), GeomFromEWKT('SRID=4674;POINT (-39.683912 -2.988715)'))) / (select extract(epoch from '2026-07-12 03:41:39'::timestamp) - extract(epoch from '2026-07-12 03:41: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'), 47857, 'SRID=4674;POINT (-39.68389 -2.988708)', '2026-07-12 03:41:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683912 -2.988715)'), GeomFromEWKT('SRID=4674;POINT (-39.68389 -2.988708)'))) / (select extract(epoch from '2026-07-12 03:41:42'::timestamp) - extract(epoch from '2026-07-12 03:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683912 -2.988715)'), GeomFromEWKT('SRID=4674;POINT (-39.68389 -2.988708)'))) / (select extract(epoch from '2026-07-12 03:41:42'::timestamp) - extract(epoch from '2026-07-12 03:41: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'), 47857, 'SRID=4674;POINT (-39.683874 -2.988705)', '2026-07-12 03:41:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68389 -2.988708)'), GeomFromEWKT('SRID=4674;POINT (-39.683874 -2.988705)'))) / (select extract(epoch from '2026-07-12 03:41:44'::timestamp) - extract(epoch from '2026-07-12 03:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68389 -2.988708)'), GeomFromEWKT('SRID=4674;POINT (-39.683874 -2.988705)'))) / (select extract(epoch from '2026-07-12 03:41:44'::timestamp) - extract(epoch from '2026-07-12 03:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683869 -2.988701)', '2026-07-12 03:41:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683874 -2.988705)'), GeomFromEWKT('SRID=4674;POINT (-39.683869 -2.988701)'))) / (select extract(epoch from '2026-07-12 03:41:47'::timestamp) - extract(epoch from '2026-07-12 03:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683874 -2.988705)'), GeomFromEWKT('SRID=4674;POINT (-39.683869 -2.988701)'))) / (select extract(epoch from '2026-07-12 03:41:47'::timestamp) - extract(epoch from '2026-07-12 03:41: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'), 47857, 'SRID=4674;POINT (-39.683851 -2.988693)', '2026-07-12 03:41:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683869 -2.988701)'), GeomFromEWKT('SRID=4674;POINT (-39.683851 -2.988693)'))) / (select extract(epoch from '2026-07-12 03:41:50'::timestamp) - extract(epoch from '2026-07-12 03:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683869 -2.988701)'), GeomFromEWKT('SRID=4674;POINT (-39.683851 -2.988693)'))) / (select extract(epoch from '2026-07-12 03:41:50'::timestamp) - extract(epoch from '2026-07-12 03:41: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'), 47857, 'SRID=4674;POINT (-39.683811 -2.988673)', '2026-07-12 03:41:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683851 -2.988693)'), GeomFromEWKT('SRID=4674;POINT (-39.683811 -2.988673)'))) / (select extract(epoch from '2026-07-12 03:41:56'::timestamp) - extract(epoch from '2026-07-12 03:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683851 -2.988693)'), GeomFromEWKT('SRID=4674;POINT (-39.683811 -2.988673)'))) / (select extract(epoch from '2026-07-12 03:41:56'::timestamp) - extract(epoch from '2026-07-12 03:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683758 -2.988639)', '2026-07-12 03:42:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683811 -2.988673)'), GeomFromEWKT('SRID=4674;POINT (-39.683758 -2.988639)'))) / (select extract(epoch from '2026-07-12 03:42:06'::timestamp) - extract(epoch from '2026-07-12 03:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683811 -2.988673)'), GeomFromEWKT('SRID=4674;POINT (-39.683758 -2.988639)'))) / (select extract(epoch from '2026-07-12 03:42:06'::timestamp) - extract(epoch from '2026-07-12 03:41: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'), 47857, 'SRID=4674;POINT (-39.683719 -2.988623)', '2026-07-12 03:42:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683758 -2.988639)'), GeomFromEWKT('SRID=4674;POINT (-39.683719 -2.988623)'))) / (select extract(epoch from '2026-07-12 03:42:12'::timestamp) - extract(epoch from '2026-07-12 03:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683758 -2.988639)'), GeomFromEWKT('SRID=4674;POINT (-39.683719 -2.988623)'))) / (select extract(epoch from '2026-07-12 03:42:12'::timestamp) - extract(epoch from '2026-07-12 03:42:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683689 -2.98861)', '2026-07-12 03:42:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683719 -2.988623)'), GeomFromEWKT('SRID=4674;POINT (-39.683689 -2.98861)'))) / (select extract(epoch from '2026-07-12 03:42:17'::timestamp) - extract(epoch from '2026-07-12 03:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683719 -2.988623)'), GeomFromEWKT('SRID=4674;POINT (-39.683689 -2.98861)'))) / (select extract(epoch from '2026-07-12 03:42:17'::timestamp) - extract(epoch from '2026-07-12 03:42: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'), 47857, 'SRID=4674;POINT (-39.683666 -2.988598)', '2026-07-12 03:42:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683689 -2.98861)'), GeomFromEWKT('SRID=4674;POINT (-39.683666 -2.988598)'))) / (select extract(epoch from '2026-07-12 03:42:22'::timestamp) - extract(epoch from '2026-07-12 03:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683689 -2.98861)'), GeomFromEWKT('SRID=4674;POINT (-39.683666 -2.988598)'))) / (select extract(epoch from '2026-07-12 03:42:22'::timestamp) - extract(epoch from '2026-07-12 03:42: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'), 47857, 'SRID=4674;POINT (-39.683627 -2.988577)', '2026-07-12 03:42:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683666 -2.988598)'), GeomFromEWKT('SRID=4674;POINT (-39.683627 -2.988577)'))) / (select extract(epoch from '2026-07-12 03:42:32'::timestamp) - extract(epoch from '2026-07-12 03:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683666 -2.988598)'), GeomFromEWKT('SRID=4674;POINT (-39.683627 -2.988577)'))) / (select extract(epoch from '2026-07-12 03:42:32'::timestamp) - extract(epoch from '2026-07-12 03:42: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'), 47857, 'SRID=4674;POINT (-39.683612 -2.988563)', '2026-07-12 03:42:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683627 -2.988577)'), GeomFromEWKT('SRID=4674;POINT (-39.683612 -2.988563)'))) / (select extract(epoch from '2026-07-12 03:42:41'::timestamp) - extract(epoch from '2026-07-12 03:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683627 -2.988577)'), GeomFromEWKT('SRID=4674;POINT (-39.683612 -2.988563)'))) / (select extract(epoch from '2026-07-12 03:42:41'::timestamp) - extract(epoch from '2026-07-12 03:42: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'), 47857, 'SRID=4674;POINT (-39.683615 -2.988526)', '2026-07-12 03:42:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683612 -2.988563)'), GeomFromEWKT('SRID=4674;POINT (-39.683615 -2.988526)'))) / (select extract(epoch from '2026-07-12 03:42:58'::timestamp) - extract(epoch from '2026-07-12 03:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683612 -2.988563)'), GeomFromEWKT('SRID=4674;POINT (-39.683615 -2.988526)'))) / (select extract(epoch from '2026-07-12 03:42:58'::timestamp) - extract(epoch from '2026-07-12 03:42: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'), 47857, 'SRID=4674;POINT (-39.683617 -2.988511)', '2026-07-12 03:43:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683615 -2.988526)'), GeomFromEWKT('SRID=4674;POINT (-39.683617 -2.988511)'))) / (select extract(epoch from '2026-07-12 03:43:06'::timestamp) - extract(epoch from '2026-07-12 03:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683615 -2.988526)'), GeomFromEWKT('SRID=4674;POINT (-39.683617 -2.988511)'))) / (select extract(epoch from '2026-07-12 03:43:06'::timestamp) - extract(epoch from '2026-07-12 03:42: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'), 47857, 'SRID=4674;POINT (-39.683629 -2.988495)', '2026-07-12 03:43:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683617 -2.988511)'), GeomFromEWKT('SRID=4674;POINT (-39.683629 -2.988495)'))) / (select extract(epoch from '2026-07-12 03:43:15'::timestamp) - extract(epoch from '2026-07-12 03:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683617 -2.988511)'), GeomFromEWKT('SRID=4674;POINT (-39.683629 -2.988495)'))) / (select extract(epoch from '2026-07-12 03:43:15'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.683636 -2.988482)', '2026-07-12 03:43:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683629 -2.988495)'), GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.988482)'))) / (select extract(epoch from '2026-07-12 03:43:23'::timestamp) - extract(epoch from '2026-07-12 03:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683629 -2.988495)'), GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.988482)'))) / (select extract(epoch from '2026-07-12 03:43:23'::timestamp) - extract(epoch from '2026-07-12 03:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683641 -2.988461)', '2026-07-12 03:43:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.988482)'), GeomFromEWKT('SRID=4674;POINT (-39.683641 -2.988461)'))) / (select extract(epoch from '2026-07-12 03:43:33'::timestamp) - extract(epoch from '2026-07-12 03:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.988482)'), GeomFromEWKT('SRID=4674;POINT (-39.683641 -2.988461)'))) / (select extract(epoch from '2026-07-12 03:43:33'::timestamp) - extract(epoch from '2026-07-12 03:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68364 -2.988449)', '2026-07-12 03:43:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683641 -2.988461)'), GeomFromEWKT('SRID=4674;POINT (-39.68364 -2.988449)'))) / (select extract(epoch from '2026-07-12 03:43:43'::timestamp) - extract(epoch from '2026-07-12 03:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683641 -2.988461)'), GeomFromEWKT('SRID=4674;POINT (-39.68364 -2.988449)'))) / (select extract(epoch from '2026-07-12 03:43:43'::timestamp) - extract(epoch from '2026-07-12 03:43: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'), 47857, 'SRID=4674;POINT (-39.685211 -2.987508)', '2026-07-12 03:52:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68364 -2.988449)'), GeomFromEWKT('SRID=4674;POINT (-39.685211 -2.987508)'))) / (select extract(epoch from '2026-07-12 03:52:37'::timestamp) - extract(epoch from '2026-07-12 03:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68364 -2.988449)'), GeomFromEWKT('SRID=4674;POINT (-39.685211 -2.987508)'))) / (select extract(epoch from '2026-07-12 03:52:37'::timestamp) - extract(epoch from '2026-07-12 03:43: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'), 47857, 'SRID=4674;POINT (-39.685227 -2.987499)', '2026-07-12 03:52:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685211 -2.987508)'), GeomFromEWKT('SRID=4674;POINT (-39.685227 -2.987499)'))) / (select extract(epoch from '2026-07-12 03:52:40'::timestamp) - extract(epoch from '2026-07-12 03:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685211 -2.987508)'), GeomFromEWKT('SRID=4674;POINT (-39.685227 -2.987499)'))) / (select extract(epoch from '2026-07-12 03:52:40'::timestamp) - extract(epoch from '2026-07-12 03:52: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'), 47857, 'SRID=4674;POINT (-39.685245 -2.987477)', '2026-07-12 03:52:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685227 -2.987499)'), GeomFromEWKT('SRID=4674;POINT (-39.685245 -2.987477)'))) / (select extract(epoch from '2026-07-12 03:52:49'::timestamp) - extract(epoch from '2026-07-12 03:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685227 -2.987499)'), GeomFromEWKT('SRID=4674;POINT (-39.685245 -2.987477)'))) / (select extract(epoch from '2026-07-12 03:52:49'::timestamp) - extract(epoch from '2026-07-12 03:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.685263 -2.987457)', '2026-07-12 03:52:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685245 -2.987477)'), GeomFromEWKT('SRID=4674;POINT (-39.685263 -2.987457)'))) / (select extract(epoch from '2026-07-12 03:52:55'::timestamp) - extract(epoch from '2026-07-12 03:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685245 -2.987477)'), GeomFromEWKT('SRID=4674;POINT (-39.685263 -2.987457)'))) / (select extract(epoch from '2026-07-12 03:52:55'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.685282 -2.987448)', '2026-07-12 03:53:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685263 -2.987457)'), GeomFromEWKT('SRID=4674;POINT (-39.685282 -2.987448)'))) / (select extract(epoch from '2026-07-12 03:53:02'::timestamp) - extract(epoch from '2026-07-12 03:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685263 -2.987457)'), GeomFromEWKT('SRID=4674;POINT (-39.685282 -2.987448)'))) / (select extract(epoch from '2026-07-12 03:53:02'::timestamp) - extract(epoch from '2026-07-12 03:52: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'), 47857, 'SRID=4674;POINT (-39.685306 -2.987437)', '2026-07-12 03:53:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685282 -2.987448)'), GeomFromEWKT('SRID=4674;POINT (-39.685306 -2.987437)'))) / (select extract(epoch from '2026-07-12 03:53:14'::timestamp) - extract(epoch from '2026-07-12 03:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685282 -2.987448)'), GeomFromEWKT('SRID=4674;POINT (-39.685306 -2.987437)'))) / (select extract(epoch from '2026-07-12 03:53:14'::timestamp) - extract(epoch from '2026-07-12 03:53: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'), 47857, 'SRID=4674;POINT (-39.685329 -2.98743)', '2026-07-12 03:53:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685306 -2.987437)'), GeomFromEWKT('SRID=4674;POINT (-39.685329 -2.98743)'))) / (select extract(epoch from '2026-07-12 03:53:23'::timestamp) - extract(epoch from '2026-07-12 03:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685306 -2.987437)'), GeomFromEWKT('SRID=4674;POINT (-39.685329 -2.98743)'))) / (select extract(epoch from '2026-07-12 03:53:23'::timestamp) - extract(epoch from '2026-07-12 03:53: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'), 47857, 'SRID=4674;POINT (-39.685348 -2.987417)', '2026-07-12 03:53:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685329 -2.98743)'), GeomFromEWKT('SRID=4674;POINT (-39.685348 -2.987417)'))) / (select extract(epoch from '2026-07-12 03:53:32'::timestamp) - extract(epoch from '2026-07-12 03:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685329 -2.98743)'), GeomFromEWKT('SRID=4674;POINT (-39.685348 -2.987417)'))) / (select extract(epoch from '2026-07-12 03:53:32'::timestamp) - extract(epoch from '2026-07-12 03:53: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'), 47857, 'SRID=4674;POINT (-39.68536 -2.987404)', '2026-07-12 03:53:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685348 -2.987417)'), GeomFromEWKT('SRID=4674;POINT (-39.68536 -2.987404)'))) / (select extract(epoch from '2026-07-12 03:53:42'::timestamp) - extract(epoch from '2026-07-12 03:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685348 -2.987417)'), GeomFromEWKT('SRID=4674;POINT (-39.68536 -2.987404)'))) / (select extract(epoch from '2026-07-12 03:53:42'::timestamp) - extract(epoch from '2026-07-12 03:53: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'), 47857, 'SRID=4674;POINT (-39.685404 -2.987373)', '2026-07-12 03:53:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68536 -2.987404)'), GeomFromEWKT('SRID=4674;POINT (-39.685404 -2.987373)'))) / (select extract(epoch from '2026-07-12 03:53:53'::timestamp) - extract(epoch from '2026-07-12 03:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68536 -2.987404)'), GeomFromEWKT('SRID=4674;POINT (-39.685404 -2.987373)'))) / (select extract(epoch from '2026-07-12 03:53:53'::timestamp) - extract(epoch from '2026-07-12 03:53:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.685446 -2.987352)', '2026-07-12 03:54:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685404 -2.987373)'), GeomFromEWKT('SRID=4674;POINT (-39.685446 -2.987352)'))) / (select extract(epoch from '2026-07-12 03:54:02'::timestamp) - extract(epoch from '2026-07-12 03:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685404 -2.987373)'), GeomFromEWKT('SRID=4674;POINT (-39.685446 -2.987352)'))) / (select extract(epoch from '2026-07-12 03:54:02'::timestamp) - extract(epoch from '2026-07-12 03:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.685475 -2.987327)', '2026-07-12 03:54:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685446 -2.987352)'), GeomFromEWKT('SRID=4674;POINT (-39.685475 -2.987327)'))) / (select extract(epoch from '2026-07-12 03:54:09'::timestamp) - extract(epoch from '2026-07-12 03:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685446 -2.987352)'), GeomFromEWKT('SRID=4674;POINT (-39.685475 -2.987327)'))) / (select extract(epoch from '2026-07-12 03:54:09'::timestamp) - extract(epoch from '2026-07-12 03:54: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'), 47857, 'SRID=4674;POINT (-39.68549 -2.98731)', '2026-07-12 03:54:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685475 -2.987327)'), GeomFromEWKT('SRID=4674;POINT (-39.68549 -2.98731)'))) / (select extract(epoch from '2026-07-12 03:54:17'::timestamp) - extract(epoch from '2026-07-12 03:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685475 -2.987327)'), GeomFromEWKT('SRID=4674;POINT (-39.68549 -2.98731)'))) / (select extract(epoch from '2026-07-12 03:54:17'::timestamp) - extract(epoch from '2026-07-12 03:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.685509 -2.987294)', '2026-07-12 03:54:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68549 -2.98731)'), GeomFromEWKT('SRID=4674;POINT (-39.685509 -2.987294)'))) / (select extract(epoch from '2026-07-12 03:54:31'::timestamp) - extract(epoch from '2026-07-12 03:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68549 -2.98731)'), GeomFromEWKT('SRID=4674;POINT (-39.685509 -2.987294)'))) / (select extract(epoch from '2026-07-12 03:54:31'::timestamp) - extract(epoch from '2026-07-12 03:54: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'), 47857, 'SRID=4674;POINT (-39.686193 -2.986687)', '2026-07-12 03:58:43', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685509 -2.987294)'), GeomFromEWKT('SRID=4674;POINT (-39.686193 -2.986687)'))) / (select extract(epoch from '2026-07-12 03:58:43'::timestamp) - extract(epoch from '2026-07-12 03:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685509 -2.987294)'), GeomFromEWKT('SRID=4674;POINT (-39.686193 -2.986687)'))) / (select extract(epoch from '2026-07-12 03:58:43'::timestamp) - extract(epoch from '2026-07-12 03:54: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'), 47857, 'SRID=4674;POINT (-39.686203 -2.986686)', '2026-07-12 03:58:44', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686193 -2.986687)'), GeomFromEWKT('SRID=4674;POINT (-39.686203 -2.986686)'))) / (select extract(epoch from '2026-07-12 03:58:44'::timestamp) - extract(epoch from '2026-07-12 03:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686193 -2.986687)'), GeomFromEWKT('SRID=4674;POINT (-39.686203 -2.986686)'))) / (select extract(epoch from '2026-07-12 03:58:44'::timestamp) - extract(epoch from '2026-07-12 03:58: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'), 47857, 'SRID=4674;POINT (-39.686208 -2.986681)', '2026-07-12 03:58:46', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686203 -2.986686)'), GeomFromEWKT('SRID=4674;POINT (-39.686208 -2.986681)'))) / (select extract(epoch from '2026-07-12 03:58:46'::timestamp) - extract(epoch from '2026-07-12 03:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686203 -2.986686)'), GeomFromEWKT('SRID=4674;POINT (-39.686208 -2.986681)'))) / (select extract(epoch from '2026-07-12 03:58:46'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.686232 -2.986663)', '2026-07-12 03:58:53', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686208 -2.986681)'), GeomFromEWKT('SRID=4674;POINT (-39.686232 -2.986663)'))) / (select extract(epoch from '2026-07-12 03:58:53'::timestamp) - extract(epoch from '2026-07-12 03:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686208 -2.986681)'), GeomFromEWKT('SRID=4674;POINT (-39.686232 -2.986663)'))) / (select extract(epoch from '2026-07-12 03:58:53'::timestamp) - extract(epoch from '2026-07-12 03:58: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'), 47857, 'SRID=4674;POINT (-39.686261 -2.98665)', '2026-07-12 03:59:01', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686232 -2.986663)'), GeomFromEWKT('SRID=4674;POINT (-39.686261 -2.98665)'))) / (select extract(epoch from '2026-07-12 03:59:01'::timestamp) - extract(epoch from '2026-07-12 03:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686232 -2.986663)'), GeomFromEWKT('SRID=4674;POINT (-39.686261 -2.98665)'))) / (select extract(epoch from '2026-07-12 03:59:01'::timestamp) - extract(epoch from '2026-07-12 03:58: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'), 47857, 'SRID=4674;POINT (-39.686297 -2.986648)', '2026-07-12 03:59:08', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686261 -2.98665)'), GeomFromEWKT('SRID=4674;POINT (-39.686297 -2.986648)'))) / (select extract(epoch from '2026-07-12 03:59:08'::timestamp) - extract(epoch from '2026-07-12 03:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686261 -2.98665)'), GeomFromEWKT('SRID=4674;POINT (-39.686297 -2.986648)'))) / (select extract(epoch from '2026-07-12 03:59:08'::timestamp) - extract(epoch from '2026-07-12 03: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'), 47857, 'SRID=4674;POINT (-39.686327 -2.986646)', '2026-07-12 03:59:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686297 -2.986648)'), GeomFromEWKT('SRID=4674;POINT (-39.686327 -2.986646)'))) / (select extract(epoch from '2026-07-12 03:59:18'::timestamp) - extract(epoch from '2026-07-12 03:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686297 -2.986648)'), GeomFromEWKT('SRID=4674;POINT (-39.686327 -2.986646)'))) / (select extract(epoch from '2026-07-12 03:59:18'::timestamp) - extract(epoch from '2026-07-12 03:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686344 -2.986622)', '2026-07-12 03:59:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686327 -2.986646)'), GeomFromEWKT('SRID=4674;POINT (-39.686344 -2.986622)'))) / (select extract(epoch from '2026-07-12 03:59:25'::timestamp) - extract(epoch from '2026-07-12 03:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686327 -2.986646)'), GeomFromEWKT('SRID=4674;POINT (-39.686344 -2.986622)'))) / (select extract(epoch from '2026-07-12 03:59:25'::timestamp) - extract(epoch from '2026-07-12 03:59: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'), 47857, 'SRID=4674;POINT (-39.686364 -2.986597)', '2026-07-12 03:59:34', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686344 -2.986622)'), GeomFromEWKT('SRID=4674;POINT (-39.686364 -2.986597)'))) / (select extract(epoch from '2026-07-12 03:59:34'::timestamp) - extract(epoch from '2026-07-12 03:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686344 -2.986622)'), GeomFromEWKT('SRID=4674;POINT (-39.686364 -2.986597)'))) / (select extract(epoch from '2026-07-12 03:59:34'::timestamp) - extract(epoch from '2026-07-12 03:59: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'), 47857, 'SRID=4674;POINT (-39.686386 -2.986588)', '2026-07-12 03:59:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686364 -2.986597)'), GeomFromEWKT('SRID=4674;POINT (-39.686386 -2.986588)'))) / (select extract(epoch from '2026-07-12 03:59:39'::timestamp) - extract(epoch from '2026-07-12 03:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686364 -2.986597)'), GeomFromEWKT('SRID=4674;POINT (-39.686386 -2.986588)'))) / (select extract(epoch from '2026-07-12 03:59:39'::timestamp) - extract(epoch from '2026-07-12 03:59: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'), 47857, 'SRID=4674;POINT (-39.686427 -2.986565)', '2026-07-12 03:59:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686386 -2.986588)'), GeomFromEWKT('SRID=4674;POINT (-39.686427 -2.986565)'))) / (select extract(epoch from '2026-07-12 03:59:51'::timestamp) - extract(epoch from '2026-07-12 03:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686386 -2.986588)'), GeomFromEWKT('SRID=4674;POINT (-39.686427 -2.986565)'))) / (select extract(epoch from '2026-07-12 03:59:51'::timestamp) - extract(epoch from '2026-07-12 03:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686461 -2.986551)', '2026-07-12 04:00:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686427 -2.986565)'), GeomFromEWKT('SRID=4674;POINT (-39.686461 -2.986551)'))) / (select extract(epoch from '2026-07-12 04:00:03'::timestamp) - extract(epoch from '2026-07-12 03:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686427 -2.986565)'), GeomFromEWKT('SRID=4674;POINT (-39.686461 -2.986551)'))) / (select extract(epoch from '2026-07-12 04:00:03'::timestamp) - extract(epoch from '2026-07-12 03:59: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'), 47857, 'SRID=4674;POINT (-39.686469 -2.986536)', '2026-07-12 04:00:09', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686461 -2.986551)'), GeomFromEWKT('SRID=4674;POINT (-39.686469 -2.986536)'))) / (select extract(epoch from '2026-07-12 04:00:09'::timestamp) - extract(epoch from '2026-07-12 04:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686461 -2.986551)'), GeomFromEWKT('SRID=4674;POINT (-39.686469 -2.986536)'))) / (select extract(epoch from '2026-07-12 04:00:09'::timestamp) - extract(epoch from '2026-07-12 04:00: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'), 47857, 'SRID=4674;POINT (-39.686486 -2.986511)', '2026-07-12 04:00:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686469 -2.986536)'), GeomFromEWKT('SRID=4674;POINT (-39.686486 -2.986511)'))) / (select extract(epoch from '2026-07-12 04:00:18'::timestamp) - extract(epoch from '2026-07-12 04:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686469 -2.986536)'), GeomFromEWKT('SRID=4674;POINT (-39.686486 -2.986511)'))) / (select extract(epoch from '2026-07-12 04:00:18'::timestamp) - extract(epoch from '2026-07-12 04:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686501 -2.986499)', '2026-07-12 04:00:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686486 -2.986511)'), GeomFromEWKT('SRID=4674;POINT (-39.686501 -2.986499)'))) / (select extract(epoch from '2026-07-12 04:00:28'::timestamp) - extract(epoch from '2026-07-12 04:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686486 -2.986511)'), GeomFromEWKT('SRID=4674;POINT (-39.686501 -2.986499)'))) / (select extract(epoch from '2026-07-12 04:00:28'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.686516 -2.986487)', '2026-07-12 04:00:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686501 -2.986499)'), GeomFromEWKT('SRID=4674;POINT (-39.686516 -2.986487)'))) / (select extract(epoch from '2026-07-12 04:00:36'::timestamp) - extract(epoch from '2026-07-12 04:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686501 -2.986499)'), GeomFromEWKT('SRID=4674;POINT (-39.686516 -2.986487)'))) / (select extract(epoch from '2026-07-12 04:00:36'::timestamp) - extract(epoch from '2026-07-12 04:00: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'), 47857, 'SRID=4674;POINT (-39.686551 -2.986455)', '2026-07-12 04:00:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686516 -2.986487)'), GeomFromEWKT('SRID=4674;POINT (-39.686551 -2.986455)'))) / (select extract(epoch from '2026-07-12 04:00:46'::timestamp) - extract(epoch from '2026-07-12 04:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686516 -2.986487)'), GeomFromEWKT('SRID=4674;POINT (-39.686551 -2.986455)'))) / (select extract(epoch from '2026-07-12 04:00:46'::timestamp) - extract(epoch from '2026-07-12 04:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686586 -2.986433)', '2026-07-12 04:00:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686551 -2.986455)'), GeomFromEWKT('SRID=4674;POINT (-39.686586 -2.986433)'))) / (select extract(epoch from '2026-07-12 04:00:54'::timestamp) - extract(epoch from '2026-07-12 04:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686551 -2.986455)'), GeomFromEWKT('SRID=4674;POINT (-39.686586 -2.986433)'))) / (select extract(epoch from '2026-07-12 04:00:54'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.686608 -2.986419)', '2026-07-12 04:01:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686586 -2.986433)'), GeomFromEWKT('SRID=4674;POINT (-39.686608 -2.986419)'))) / (select extract(epoch from '2026-07-12 04:01:01'::timestamp) - extract(epoch from '2026-07-12 04:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686586 -2.986433)'), GeomFromEWKT('SRID=4674;POINT (-39.686608 -2.986419)'))) / (select extract(epoch from '2026-07-12 04:01:01'::timestamp) - extract(epoch from '2026-07-12 04:00:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686623 -2.98641)', '2026-07-12 04:01:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686608 -2.986419)'), GeomFromEWKT('SRID=4674;POINT (-39.686623 -2.98641)'))) / (select extract(epoch from '2026-07-12 04:01:11'::timestamp) - extract(epoch from '2026-07-12 04:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686608 -2.986419)'), GeomFromEWKT('SRID=4674;POINT (-39.686623 -2.98641)'))) / (select extract(epoch from '2026-07-12 04:01:11'::timestamp) - extract(epoch from '2026-07-12 04:01: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'), 47857, 'SRID=4674;POINT (-39.686626 -2.986395)', '2026-07-12 04:01:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686623 -2.98641)'), GeomFromEWKT('SRID=4674;POINT (-39.686626 -2.986395)'))) / (select extract(epoch from '2026-07-12 04:01:19'::timestamp) - extract(epoch from '2026-07-12 04:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686623 -2.98641)'), GeomFromEWKT('SRID=4674;POINT (-39.686626 -2.986395)'))) / (select extract(epoch from '2026-07-12 04:01:19'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.686645 -2.986377)', '2026-07-12 04:01:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686626 -2.986395)'), GeomFromEWKT('SRID=4674;POINT (-39.686645 -2.986377)'))) / (select extract(epoch from '2026-07-12 04:01:31'::timestamp) - extract(epoch from '2026-07-12 04:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686626 -2.986395)'), GeomFromEWKT('SRID=4674;POINT (-39.686645 -2.986377)'))) / (select extract(epoch from '2026-07-12 04:01:31'::timestamp) - extract(epoch from '2026-07-12 04:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686652 -2.986359)', '2026-07-12 04:01:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686645 -2.986377)'), GeomFromEWKT('SRID=4674;POINT (-39.686652 -2.986359)'))) / (select extract(epoch from '2026-07-12 04:01:40'::timestamp) - extract(epoch from '2026-07-12 04:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686645 -2.986377)'), GeomFromEWKT('SRID=4674;POINT (-39.686652 -2.986359)'))) / (select extract(epoch from '2026-07-12 04:01:40'::timestamp) - extract(epoch from '2026-07-12 04:01: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'), 47857, 'SRID=4674;POINT (-39.686669 -2.986348)', '2026-07-12 04:01:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686652 -2.986359)'), GeomFromEWKT('SRID=4674;POINT (-39.686669 -2.986348)'))) / (select extract(epoch from '2026-07-12 04:01:46'::timestamp) - extract(epoch from '2026-07-12 04:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686652 -2.986359)'), GeomFromEWKT('SRID=4674;POINT (-39.686669 -2.986348)'))) / (select extract(epoch from '2026-07-12 04:01:46'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.686687 -2.986337)', '2026-07-12 04:01:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686669 -2.986348)'), GeomFromEWKT('SRID=4674;POINT (-39.686687 -2.986337)'))) / (select extract(epoch from '2026-07-12 04:01:56'::timestamp) - extract(epoch from '2026-07-12 04:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686669 -2.986348)'), GeomFromEWKT('SRID=4674;POINT (-39.686687 -2.986337)'))) / (select extract(epoch from '2026-07-12 04:01:56'::timestamp) - extract(epoch from '2026-07-12 04:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686703 -2.98632)', '2026-07-12 04:02:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686687 -2.986337)'), GeomFromEWKT('SRID=4674;POINT (-39.686703 -2.98632)'))) / (select extract(epoch from '2026-07-12 04:02:04'::timestamp) - extract(epoch from '2026-07-12 04:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686687 -2.986337)'), GeomFromEWKT('SRID=4674;POINT (-39.686703 -2.98632)'))) / (select extract(epoch from '2026-07-12 04:02:04'::timestamp) - extract(epoch from '2026-07-12 04:01: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'), 47857, 'SRID=4674;POINT (-39.686731 -2.986296)', '2026-07-12 04:02:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686703 -2.98632)'), GeomFromEWKT('SRID=4674;POINT (-39.686731 -2.986296)'))) / (select extract(epoch from '2026-07-12 04:02:13'::timestamp) - extract(epoch from '2026-07-12 04:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686703 -2.98632)'), GeomFromEWKT('SRID=4674;POINT (-39.686731 -2.986296)'))) / (select extract(epoch from '2026-07-12 04:02:13'::timestamp) - extract(epoch from '2026-07-12 04:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686755 -2.986281)', '2026-07-12 04:02:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686731 -2.986296)'), GeomFromEWKT('SRID=4674;POINT (-39.686755 -2.986281)'))) / (select extract(epoch from '2026-07-12 04:02:21'::timestamp) - extract(epoch from '2026-07-12 04:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686731 -2.986296)'), GeomFromEWKT('SRID=4674;POINT (-39.686755 -2.986281)'))) / (select extract(epoch from '2026-07-12 04:02:21'::timestamp) - extract(epoch from '2026-07-12 04:02: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'), 47857, 'SRID=4674;POINT (-39.686774 -2.986257)', '2026-07-12 04:02:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686755 -2.986281)'), GeomFromEWKT('SRID=4674;POINT (-39.686774 -2.986257)'))) / (select extract(epoch from '2026-07-12 04:02:31'::timestamp) - extract(epoch from '2026-07-12 04:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686755 -2.986281)'), GeomFromEWKT('SRID=4674;POINT (-39.686774 -2.986257)'))) / (select extract(epoch from '2026-07-12 04:02:31'::timestamp) - extract(epoch from '2026-07-12 04:02: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'), 47857, 'SRID=4674;POINT (-39.686791 -2.986246)', '2026-07-12 04:02:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686774 -2.986257)'), GeomFromEWKT('SRID=4674;POINT (-39.686791 -2.986246)'))) / (select extract(epoch from '2026-07-12 04:02:41'::timestamp) - extract(epoch from '2026-07-12 04:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686774 -2.986257)'), GeomFromEWKT('SRID=4674;POINT (-39.686791 -2.986246)'))) / (select extract(epoch from '2026-07-12 04:02:41'::timestamp) - extract(epoch from '2026-07-12 04:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686817 -2.986247)', '2026-07-12 04:02:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686791 -2.986246)'), GeomFromEWKT('SRID=4674;POINT (-39.686817 -2.986247)'))) / (select extract(epoch from '2026-07-12 04:02:49'::timestamp) - extract(epoch from '2026-07-12 04:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686791 -2.986246)'), GeomFromEWKT('SRID=4674;POINT (-39.686817 -2.986247)'))) / (select extract(epoch from '2026-07-12 04:02:49'::timestamp) - extract(epoch from '2026-07-12 04:02: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'), 47857, 'SRID=4674;POINT (-39.686825 -2.98623)', '2026-07-12 04:02:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686817 -2.986247)'), GeomFromEWKT('SRID=4674;POINT (-39.686825 -2.98623)'))) / (select extract(epoch from '2026-07-12 04:02:59'::timestamp) - extract(epoch from '2026-07-12 04:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686817 -2.986247)'), GeomFromEWKT('SRID=4674;POINT (-39.686825 -2.98623)'))) / (select extract(epoch from '2026-07-12 04:02:59'::timestamp) - extract(epoch from '2026-07-12 04:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686839 -2.986208)', '2026-07-12 04:03:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686825 -2.98623)'), GeomFromEWKT('SRID=4674;POINT (-39.686839 -2.986208)'))) / (select extract(epoch from '2026-07-12 04:03:08'::timestamp) - extract(epoch from '2026-07-12 04:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686825 -2.98623)'), GeomFromEWKT('SRID=4674;POINT (-39.686839 -2.986208)'))) / (select extract(epoch from '2026-07-12 04:03:08'::timestamp) - extract(epoch from '2026-07-12 04:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.686858 -2.986198)', '2026-07-12 04:03:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686839 -2.986208)'), GeomFromEWKT('SRID=4674;POINT (-39.686858 -2.986198)'))) / (select extract(epoch from '2026-07-12 04:03:15'::timestamp) - extract(epoch from '2026-07-12 04:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686839 -2.986208)'), GeomFromEWKT('SRID=4674;POINT (-39.686858 -2.986198)'))) / (select extract(epoch from '2026-07-12 04:03:15'::timestamp) - extract(epoch from '2026-07-12 04:03: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'), 47857, 'SRID=4674;POINT (-39.686884 -2.98617)', '2026-07-12 04:03:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686858 -2.986198)'), GeomFromEWKT('SRID=4674;POINT (-39.686884 -2.98617)'))) / (select extract(epoch from '2026-07-12 04:03:25'::timestamp) - extract(epoch from '2026-07-12 04:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686858 -2.986198)'), GeomFromEWKT('SRID=4674;POINT (-39.686884 -2.98617)'))) / (select extract(epoch from '2026-07-12 04:03:25'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.686904 -2.986159)', '2026-07-12 04:03:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686884 -2.98617)'), GeomFromEWKT('SRID=4674;POINT (-39.686904 -2.986159)'))) / (select extract(epoch from '2026-07-12 04:03:36'::timestamp) - extract(epoch from '2026-07-12 04:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686884 -2.98617)'), GeomFromEWKT('SRID=4674;POINT (-39.686904 -2.986159)'))) / (select extract(epoch from '2026-07-12 04:03:36'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.686923 -2.986146)', '2026-07-12 04:03:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686904 -2.986159)'), GeomFromEWKT('SRID=4674;POINT (-39.686923 -2.986146)'))) / (select extract(epoch from '2026-07-12 04:03:49'::timestamp) - extract(epoch from '2026-07-12 04:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686904 -2.986159)'), GeomFromEWKT('SRID=4674;POINT (-39.686923 -2.986146)'))) / (select extract(epoch from '2026-07-12 04:03:49'::timestamp) - extract(epoch from '2026-07-12 04:03: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'), 47857, 'SRID=4674;POINT (-39.687207 -2.985936)', '2026-07-12 04:05:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686923 -2.986146)'), GeomFromEWKT('SRID=4674;POINT (-39.687207 -2.985936)'))) / (select extract(epoch from '2026-07-12 04:05:32'::timestamp) - extract(epoch from '2026-07-12 04:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686923 -2.986146)'), GeomFromEWKT('SRID=4674;POINT (-39.687207 -2.985936)'))) / (select extract(epoch from '2026-07-12 04:05:32'::timestamp) - extract(epoch from '2026-07-12 04:03: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'), 47857, 'SRID=4674;POINT (-39.687212 -2.985935)', '2026-07-12 04:05:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687207 -2.985936)'), GeomFromEWKT('SRID=4674;POINT (-39.687212 -2.985935)'))) / (select extract(epoch from '2026-07-12 04:05:34'::timestamp) - extract(epoch from '2026-07-12 04:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687207 -2.985936)'), GeomFromEWKT('SRID=4674;POINT (-39.687212 -2.985935)'))) / (select extract(epoch from '2026-07-12 04:05:34'::timestamp) - extract(epoch from '2026-07-12 04:05: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'), 47857, 'SRID=4674;POINT (-39.68723 -2.98591)', '2026-07-12 04:05:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687212 -2.985935)'), GeomFromEWKT('SRID=4674;POINT (-39.68723 -2.98591)'))) / (select extract(epoch from '2026-07-12 04:05:45'::timestamp) - extract(epoch from '2026-07-12 04:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687212 -2.985935)'), GeomFromEWKT('SRID=4674;POINT (-39.68723 -2.98591)'))) / (select extract(epoch from '2026-07-12 04:05:45'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.687249 -2.985891)', '2026-07-12 04:05:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68723 -2.98591)'), GeomFromEWKT('SRID=4674;POINT (-39.687249 -2.985891)'))) / (select extract(epoch from '2026-07-12 04:05:54'::timestamp) - extract(epoch from '2026-07-12 04:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68723 -2.98591)'), GeomFromEWKT('SRID=4674;POINT (-39.687249 -2.985891)'))) / (select extract(epoch from '2026-07-12 04:05:54'::timestamp) - extract(epoch from '2026-07-12 04:05: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'), 47857, 'SRID=4674;POINT (-39.687273 -2.985869)', '2026-07-12 04:06:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687249 -2.985891)'), GeomFromEWKT('SRID=4674;POINT (-39.687273 -2.985869)'))) / (select extract(epoch from '2026-07-12 04:06:05'::timestamp) - extract(epoch from '2026-07-12 04:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687249 -2.985891)'), GeomFromEWKT('SRID=4674;POINT (-39.687273 -2.985869)'))) / (select extract(epoch from '2026-07-12 04:06:05'::timestamp) - extract(epoch from '2026-07-12 04:05: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'), 47857, 'SRID=4674;POINT (-39.687309 -2.985851)', '2026-07-12 04:06:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687273 -2.985869)'), GeomFromEWKT('SRID=4674;POINT (-39.687309 -2.985851)'))) / (select extract(epoch from '2026-07-12 04:06:13'::timestamp) - extract(epoch from '2026-07-12 04:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687273 -2.985869)'), GeomFromEWKT('SRID=4674;POINT (-39.687309 -2.985851)'))) / (select extract(epoch from '2026-07-12 04:06:13'::timestamp) - extract(epoch from '2026-07-12 04:06: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'), 47857, 'SRID=4674;POINT (-39.687332 -2.985832)', '2026-07-12 04:06:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687309 -2.985851)'), GeomFromEWKT('SRID=4674;POINT (-39.687332 -2.985832)'))) / (select extract(epoch from '2026-07-12 04:06:23'::timestamp) - extract(epoch from '2026-07-12 04:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687309 -2.985851)'), GeomFromEWKT('SRID=4674;POINT (-39.687332 -2.985832)'))) / (select extract(epoch from '2026-07-12 04:06:23'::timestamp) - extract(epoch from '2026-07-12 04:06: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'), 47857, 'SRID=4674;POINT (-39.687367 -2.985814)', '2026-07-12 04:06:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687332 -2.985832)'), GeomFromEWKT('SRID=4674;POINT (-39.687367 -2.985814)'))) / (select extract(epoch from '2026-07-12 04:06:32'::timestamp) - extract(epoch from '2026-07-12 04:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687332 -2.985832)'), GeomFromEWKT('SRID=4674;POINT (-39.687367 -2.985814)'))) / (select extract(epoch from '2026-07-12 04:06:32'::timestamp) - extract(epoch from '2026-07-12 04:06:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687383 -2.985799)', '2026-07-12 04:06:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687367 -2.985814)'), GeomFromEWKT('SRID=4674;POINT (-39.687383 -2.985799)'))) / (select extract(epoch from '2026-07-12 04:06:40'::timestamp) - extract(epoch from '2026-07-12 04:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687367 -2.985814)'), GeomFromEWKT('SRID=4674;POINT (-39.687383 -2.985799)'))) / (select extract(epoch from '2026-07-12 04:06:40'::timestamp) - extract(epoch from '2026-07-12 04:06:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687418 -2.985784)', '2026-07-12 04:06:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687383 -2.985799)'), GeomFromEWKT('SRID=4674;POINT (-39.687418 -2.985784)'))) / (select extract(epoch from '2026-07-12 04:06:47'::timestamp) - extract(epoch from '2026-07-12 04:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687383 -2.985799)'), GeomFromEWKT('SRID=4674;POINT (-39.687418 -2.985784)'))) / (select extract(epoch from '2026-07-12 04:06:47'::timestamp) - extract(epoch from '2026-07-12 04:06: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'), 47857, 'SRID=4674;POINT (-39.687444 -2.985773)', '2026-07-12 04:06:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687418 -2.985784)'), GeomFromEWKT('SRID=4674;POINT (-39.687444 -2.985773)'))) / (select extract(epoch from '2026-07-12 04:06:56'::timestamp) - extract(epoch from '2026-07-12 04:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687418 -2.985784)'), GeomFromEWKT('SRID=4674;POINT (-39.687444 -2.985773)'))) / (select extract(epoch from '2026-07-12 04:06:56'::timestamp) - extract(epoch from '2026-07-12 04:06: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'), 47857, 'SRID=4674;POINT (-39.687484 -2.985739)', '2026-07-12 04:07:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687444 -2.985773)'), GeomFromEWKT('SRID=4674;POINT (-39.687484 -2.985739)'))) / (select extract(epoch from '2026-07-12 04:07:13'::timestamp) - extract(epoch from '2026-07-12 04:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687444 -2.985773)'), GeomFromEWKT('SRID=4674;POINT (-39.687484 -2.985739)'))) / (select extract(epoch from '2026-07-12 04:07:13'::timestamp) - extract(epoch from '2026-07-12 04:06: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'), 47857, 'SRID=4674;POINT (-39.687509 -2.985727)', '2026-07-12 04:07:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687484 -2.985739)'), GeomFromEWKT('SRID=4674;POINT (-39.687509 -2.985727)'))) / (select extract(epoch from '2026-07-12 04:07:20'::timestamp) - extract(epoch from '2026-07-12 04:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687484 -2.985739)'), GeomFromEWKT('SRID=4674;POINT (-39.687509 -2.985727)'))) / (select extract(epoch from '2026-07-12 04:07:20'::timestamp) - extract(epoch from '2026-07-12 04:07: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'), 47857, 'SRID=4674;POINT (-39.687991 -2.985352)', '2026-07-12 04:17:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687509 -2.985727)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985352)'))) / (select extract(epoch from '2026-07-12 04:17:43'::timestamp) - extract(epoch from '2026-07-12 04:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687509 -2.985727)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985352)'))) / (select extract(epoch from '2026-07-12 04:17:43'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.687999 -2.985346)', '2026-07-12 04:17:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985352)'), GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:17:49'::timestamp) - extract(epoch from '2026-07-12 04:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985352)'), GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:17:49'::timestamp) - extract(epoch from '2026-07-12 04:17: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'), 47857, 'SRID=4674;POINT (-39.687996 -2.985346)', '2026-07-12 04:17:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:17:57'::timestamp) - extract(epoch from '2026-07-12 04:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:17:57'::timestamp) - extract(epoch from '2026-07-12 04:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687993 -2.985344)', '2026-07-12 04:18:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.687993 -2.985344)'))) / (select extract(epoch from '2026-07-12 04:18:07'::timestamp) - extract(epoch from '2026-07-12 04:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.687993 -2.985344)'))) / (select extract(epoch from '2026-07-12 04:18:07'::timestamp) - extract(epoch from '2026-07-12 04:17:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687993 -2.985343)', '2026-07-12 04:18:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687993 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.687993 -2.985343)'))) / (select extract(epoch from '2026-07-12 04:18:14'::timestamp) - extract(epoch from '2026-07-12 04:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687993 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.687993 -2.985343)'))) / (select extract(epoch from '2026-07-12 04:18:14'::timestamp) - extract(epoch from '2026-07-12 04:18: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'), 47857, 'SRID=4674;POINT (-39.687998 -2.985346)', '2026-07-12 04:18:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687993 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:18:18'::timestamp) - extract(epoch from '2026-07-12 04:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687993 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:18:18'::timestamp) - extract(epoch from '2026-07-12 04:18: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'), 47857, 'SRID=4674;POINT (-39.688004 -2.985345)', '2026-07-12 04:18:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.688004 -2.985345)'))) / (select extract(epoch from '2026-07-12 04:18:27'::timestamp) - extract(epoch from '2026-07-12 04:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.688004 -2.985345)'))) / (select extract(epoch from '2026-07-12 04:18:27'::timestamp) - extract(epoch from '2026-07-12 04:18: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'), 47857, 'SRID=4674;POINT (-39.688001 -2.985346)', '2026-07-12 04:18:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688004 -2.985345)'), GeomFromEWKT('SRID=4674;POINT (-39.688001 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:18:38'::timestamp) - extract(epoch from '2026-07-12 04:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688004 -2.985345)'), GeomFromEWKT('SRID=4674;POINT (-39.688001 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:18:38'::timestamp) - extract(epoch from '2026-07-12 04:18:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687998 -2.985349)', '2026-07-12 04:18:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688001 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985349)'))) / (select extract(epoch from '2026-07-12 04:18:48'::timestamp) - extract(epoch from '2026-07-12 04:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688001 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985349)'))) / (select extract(epoch from '2026-07-12 04:18:48'::timestamp) - extract(epoch from '2026-07-12 04:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687992 -2.985346)', '2026-07-12 04:18:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985349)'), GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:18:59'::timestamp) - extract(epoch from '2026-07-12 04:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985349)'), GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:18:59'::timestamp) - extract(epoch from '2026-07-12 04:18:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687991 -2.985347)', '2026-07-12 04:19:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985347)'))) / (select extract(epoch from '2026-07-12 04:19:07'::timestamp) - extract(epoch from '2026-07-12 04:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985347)'))) / (select extract(epoch from '2026-07-12 04:19:07'::timestamp) - extract(epoch from '2026-07-12 04:18: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'), 47857, 'SRID=4674;POINT (-39.687998 -2.985348)', '2026-07-12 04:19:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985348)'))) / (select extract(epoch from '2026-07-12 04:19:16'::timestamp) - extract(epoch from '2026-07-12 04:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985348)'))) / (select extract(epoch from '2026-07-12 04:19:16'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.687998 -2.985349)', '2026-07-12 04:19:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985348)'), GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985349)'))) / (select extract(epoch from '2026-07-12 04:19:25'::timestamp) - extract(epoch from '2026-07-12 04:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985348)'), GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985349)'))) / (select extract(epoch from '2026-07-12 04:19:25'::timestamp) - extract(epoch from '2026-07-12 04:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687996 -2.985346)', '2026-07-12 04:19:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985349)'), GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:19:31'::timestamp) - extract(epoch from '2026-07-12 04:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687998 -2.985349)'), GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:19:31'::timestamp) - extract(epoch from '2026-07-12 04:19:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687991 -2.985344)', '2026-07-12 04:19:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985344)'))) / (select extract(epoch from '2026-07-12 04:19:39'::timestamp) - extract(epoch from '2026-07-12 04:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985344)'))) / (select extract(epoch from '2026-07-12 04:19:39'::timestamp) - extract(epoch from '2026-07-12 04:19: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'), 47857, 'SRID=4674;POINT (-39.687991 -2.985342)', '2026-07-12 04:19:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985342)'))) / (select extract(epoch from '2026-07-12 04:19:49'::timestamp) - extract(epoch from '2026-07-12 04:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985342)'))) / (select extract(epoch from '2026-07-12 04:19:49'::timestamp) - extract(epoch from '2026-07-12 04:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687989 -2.985334)', '2026-07-12 04:20:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985342)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985334)'))) / (select extract(epoch from '2026-07-12 04:20:06'::timestamp) - extract(epoch from '2026-07-12 04:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985342)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985334)'))) / (select extract(epoch from '2026-07-12 04:20:06'::timestamp) - extract(epoch from '2026-07-12 04:19:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687984 -2.985331)', '2026-07-12 04:20:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985334)'), GeomFromEWKT('SRID=4674;POINT (-39.687984 -2.985331)'))) / (select extract(epoch from '2026-07-12 04:20:20'::timestamp) - extract(epoch from '2026-07-12 04:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985334)'), GeomFromEWKT('SRID=4674;POINT (-39.687984 -2.985331)'))) / (select extract(epoch from '2026-07-12 04:20:20'::timestamp) - extract(epoch from '2026-07-12 04:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687989 -2.985335)', '2026-07-12 04:20:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687984 -2.985331)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985335)'))) / (select extract(epoch from '2026-07-12 04:20:29'::timestamp) - extract(epoch from '2026-07-12 04:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687984 -2.985331)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985335)'))) / (select extract(epoch from '2026-07-12 04:20:29'::timestamp) - extract(epoch from '2026-07-12 04:20: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'), 47857, 'SRID=4674;POINT (-39.687989 -2.985333)', '2026-07-12 04:20:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985335)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985333)'))) / (select extract(epoch from '2026-07-12 04:20:35'::timestamp) - extract(epoch from '2026-07-12 04:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985335)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985333)'))) / (select extract(epoch from '2026-07-12 04:20:35'::timestamp) - extract(epoch from '2026-07-12 04:20: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'), 47857, 'SRID=4674;POINT (-39.687991 -2.985334)', '2026-07-12 04:20:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985333)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985334)'))) / (select extract(epoch from '2026-07-12 04:20:46'::timestamp) - extract(epoch from '2026-07-12 04:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985333)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985334)'))) / (select extract(epoch from '2026-07-12 04:20:46'::timestamp) - extract(epoch from '2026-07-12 04:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687982 -2.985333)', '2026-07-12 04:20:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985334)'), GeomFromEWKT('SRID=4674;POINT (-39.687982 -2.985333)'))) / (select extract(epoch from '2026-07-12 04:20:56'::timestamp) - extract(epoch from '2026-07-12 04:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985334)'), GeomFromEWKT('SRID=4674;POINT (-39.687982 -2.985333)'))) / (select extract(epoch from '2026-07-12 04:20:56'::timestamp) - extract(epoch from '2026-07-12 04:20: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'), 47857, 'SRID=4674;POINT (-39.687981 -2.985331)', '2026-07-12 04:21:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687982 -2.985333)'), GeomFromEWKT('SRID=4674;POINT (-39.687981 -2.985331)'))) / (select extract(epoch from '2026-07-12 04:21:00'::timestamp) - extract(epoch from '2026-07-12 04:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687982 -2.985333)'), GeomFromEWKT('SRID=4674;POINT (-39.687981 -2.985331)'))) / (select extract(epoch from '2026-07-12 04:21:00'::timestamp) - extract(epoch from '2026-07-12 04:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687985 -2.985326)', '2026-07-12 04:21:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687981 -2.985331)'), GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.985326)'))) / (select extract(epoch from '2026-07-12 04:21:08'::timestamp) - extract(epoch from '2026-07-12 04:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687981 -2.985331)'), GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.985326)'))) / (select extract(epoch from '2026-07-12 04:21:08'::timestamp) - extract(epoch from '2026-07-12 04:21: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'), 47857, 'SRID=4674;POINT (-39.687991 -2.985327)', '2026-07-12 04:21:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.985326)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985327)'))) / (select extract(epoch from '2026-07-12 04:21:20'::timestamp) - extract(epoch from '2026-07-12 04:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.985326)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985327)'))) / (select extract(epoch from '2026-07-12 04:21:20'::timestamp) - extract(epoch from '2026-07-12 04:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687992 -2.985326)', '2026-07-12 04:21:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985327)'), GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985326)'))) / (select extract(epoch from '2026-07-12 04:21:31'::timestamp) - extract(epoch from '2026-07-12 04:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985327)'), GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985326)'))) / (select extract(epoch from '2026-07-12 04:21:31'::timestamp) - extract(epoch from '2026-07-12 04:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687997 -2.985339)', '2026-07-12 04:21:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985326)'), GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.985339)'))) / (select extract(epoch from '2026-07-12 04:21:44'::timestamp) - extract(epoch from '2026-07-12 04:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985326)'), GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.985339)'))) / (select extract(epoch from '2026-07-12 04:21:44'::timestamp) - extract(epoch from '2026-07-12 04:21: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'), 47857, 'SRID=4674;POINT (-39.687999 -2.985348)', '2026-07-12 04:21:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.985339)'), GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985348)'))) / (select extract(epoch from '2026-07-12 04:21:57'::timestamp) - extract(epoch from '2026-07-12 04:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.985339)'), GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985348)'))) / (select extract(epoch from '2026-07-12 04:21:57'::timestamp) - extract(epoch from '2026-07-12 04:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687988 -2.985338)', '2026-07-12 04:22:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985348)'), GeomFromEWKT('SRID=4674;POINT (-39.687988 -2.985338)'))) / (select extract(epoch from '2026-07-12 04:22:03'::timestamp) - extract(epoch from '2026-07-12 04:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985348)'), GeomFromEWKT('SRID=4674;POINT (-39.687988 -2.985338)'))) / (select extract(epoch from '2026-07-12 04:22:03'::timestamp) - extract(epoch from '2026-07-12 04:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687992 -2.985335)', '2026-07-12 04:22:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687988 -2.985338)'), GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985335)'))) / (select extract(epoch from '2026-07-12 04:22:15'::timestamp) - extract(epoch from '2026-07-12 04:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687988 -2.985338)'), GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985335)'))) / (select extract(epoch from '2026-07-12 04:22:15'::timestamp) - extract(epoch from '2026-07-12 04:22: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'), 47857, 'SRID=4674;POINT (-39.687997 -2.985341)', '2026-07-12 04:22:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985335)'), GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.985341)'))) / (select extract(epoch from '2026-07-12 04:22:29'::timestamp) - extract(epoch from '2026-07-12 04:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985335)'), GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.985341)'))) / (select extract(epoch from '2026-07-12 04:22:29'::timestamp) - extract(epoch from '2026-07-12 04:22: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'), 47857, 'SRID=4674;POINT (-39.687987 -2.985334)', '2026-07-12 04:22:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.985341)'), GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985334)'))) / (select extract(epoch from '2026-07-12 04:22:38'::timestamp) - extract(epoch from '2026-07-12 04:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687997 -2.985341)'), GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985334)'))) / (select extract(epoch from '2026-07-12 04:22:38'::timestamp) - extract(epoch from '2026-07-12 04:22: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'), 47857, 'SRID=4674;POINT (-39.687985 -2.98533)', '2026-07-12 04:22:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985334)'), GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.98533)'))) / (select extract(epoch from '2026-07-12 04:22:49'::timestamp) - extract(epoch from '2026-07-12 04:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985334)'), GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.98533)'))) / (select extract(epoch from '2026-07-12 04:22:49'::timestamp) - extract(epoch from '2026-07-12 04:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687995 -2.985337)', '2026-07-12 04:31:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.98533)'), GeomFromEWKT('SRID=4674;POINT (-39.687995 -2.985337)'))) / (select extract(epoch from '2026-07-12 04:31:26'::timestamp) - extract(epoch from '2026-07-12 04:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.98533)'), GeomFromEWKT('SRID=4674;POINT (-39.687995 -2.985337)'))) / (select extract(epoch from '2026-07-12 04:31:26'::timestamp) - extract(epoch from '2026-07-12 04:22: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'), 47857, 'SRID=4674;POINT (-39.687991 -2.985335)', '2026-07-12 04:31:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687995 -2.985337)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985335)'))) / (select extract(epoch from '2026-07-12 04:31:33'::timestamp) - extract(epoch from '2026-07-12 04:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687995 -2.985337)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985335)'))) / (select extract(epoch from '2026-07-12 04:31:33'::timestamp) - extract(epoch from '2026-07-12 04:31: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'), 47857, 'SRID=4674;POINT (-39.687985 -2.985327)', '2026-07-12 04:31:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985335)'), GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.985327)'))) / (select extract(epoch from '2026-07-12 04:31:40'::timestamp) - extract(epoch from '2026-07-12 04:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985335)'), GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.985327)'))) / (select extract(epoch from '2026-07-12 04:31:40'::timestamp) - extract(epoch from '2026-07-12 04:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687981 -2.985327)', '2026-07-12 04:31:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.985327)'), GeomFromEWKT('SRID=4674;POINT (-39.687981 -2.985327)'))) / (select extract(epoch from '2026-07-12 04:31:53'::timestamp) - extract(epoch from '2026-07-12 04:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687985 -2.985327)'), GeomFromEWKT('SRID=4674;POINT (-39.687981 -2.985327)'))) / (select extract(epoch from '2026-07-12 04:31:53'::timestamp) - extract(epoch from '2026-07-12 04:31: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'), 47857, 'SRID=4674;POINT (-39.687987 -2.985342)', '2026-07-12 04:32:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687981 -2.985327)'), GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985342)'))) / (select extract(epoch from '2026-07-12 04:32:01'::timestamp) - extract(epoch from '2026-07-12 04:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687981 -2.985327)'), GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985342)'))) / (select extract(epoch from '2026-07-12 04:32:01'::timestamp) - extract(epoch from '2026-07-12 04:31: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'), 47857, 'SRID=4674;POINT (-39.687989 -2.985348)', '2026-07-12 04:32:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985342)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985348)'))) / (select extract(epoch from '2026-07-12 04:32:15'::timestamp) - extract(epoch from '2026-07-12 04:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985342)'), GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985348)'))) / (select extract(epoch from '2026-07-12 04:32:15'::timestamp) - extract(epoch from '2026-07-12 04:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.687986 -2.985341)', '2026-07-12 04:32:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985348)'), GeomFromEWKT('SRID=4674;POINT (-39.687986 -2.985341)'))) / (select extract(epoch from '2026-07-12 04:32:26'::timestamp) - extract(epoch from '2026-07-12 04:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687989 -2.985348)'), GeomFromEWKT('SRID=4674;POINT (-39.687986 -2.985341)'))) / (select extract(epoch from '2026-07-12 04:32:26'::timestamp) - extract(epoch from '2026-07-12 04:32: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'), 47857, 'SRID=4674;POINT (-39.687999 -2.985348)', '2026-07-12 04:32:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687986 -2.985341)'), GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985348)'))) / (select extract(epoch from '2026-07-12 04:32:40'::timestamp) - extract(epoch from '2026-07-12 04:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687986 -2.985341)'), GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985348)'))) / (select extract(epoch from '2026-07-12 04:32:40'::timestamp) - extract(epoch from '2026-07-12 04:32: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'), 47857, 'SRID=4674;POINT (-39.687996 -2.985349)', '2026-07-12 04:32:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985348)'), GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985349)'))) / (select extract(epoch from '2026-07-12 04:32:55'::timestamp) - extract(epoch from '2026-07-12 04:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687999 -2.985348)'), GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985349)'))) / (select extract(epoch from '2026-07-12 04:32:55'::timestamp) - extract(epoch from '2026-07-12 04:32: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'), 47857, 'SRID=4674;POINT (-39.687991 -2.985344)', '2026-07-12 04:33:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985349)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985344)'))) / (select extract(epoch from '2026-07-12 04:33:05'::timestamp) - extract(epoch from '2026-07-12 04:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.985349)'), GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985344)'))) / (select extract(epoch from '2026-07-12 04:33:05'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.687977 -2.985332)', '2026-07-12 04:33:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.687977 -2.985332)'))) / (select extract(epoch from '2026-07-12 04:33:15'::timestamp) - extract(epoch from '2026-07-12 04:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687991 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.687977 -2.985332)'))) / (select extract(epoch from '2026-07-12 04:33:15'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.687987 -2.985337)', '2026-07-12 04:33:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687977 -2.985332)'), GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985337)'))) / (select extract(epoch from '2026-07-12 04:33:24'::timestamp) - extract(epoch from '2026-07-12 04:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687977 -2.985332)'), GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985337)'))) / (select extract(epoch from '2026-07-12 04:33:24'::timestamp) - extract(epoch from '2026-07-12 04:33: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'), 47857, 'SRID=4674;POINT (-39.687992 -2.985346)', '2026-07-12 04:33:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985337)'), GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:33:33'::timestamp) - extract(epoch from '2026-07-12 04:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687987 -2.985337)'), GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985346)'))) / (select extract(epoch from '2026-07-12 04:33:33'::timestamp) - extract(epoch from '2026-07-12 04:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688027 -2.985378)', '2026-07-12 04:43:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985378)'))) / (select extract(epoch from '2026-07-12 04:43:38'::timestamp) - extract(epoch from '2026-07-12 04:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687992 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985378)'))) / (select extract(epoch from '2026-07-12 04:43:38'::timestamp) - extract(epoch from '2026-07-12 04:33: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'), 47857, 'SRID=4674;POINT (-39.688039 -2.985354)', '2026-07-12 04:53:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985378)'), GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985354)'))) / (select extract(epoch from '2026-07-12 04:53:45'::timestamp) - extract(epoch from '2026-07-12 04:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985378)'), GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985354)'))) / (select extract(epoch from '2026-07-12 04:53:45'::timestamp) - extract(epoch from '2026-07-12 04:43: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'), 47857, 'SRID=4674;POINT (-39.688044 -2.98536)', '2026-07-12 04:58:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985354)'), GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.98536)'))) / (select extract(epoch from '2026-07-12 04:58:48'::timestamp) - extract(epoch from '2026-07-12 04:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985354)'), GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.98536)'))) / (select extract(epoch from '2026-07-12 04:58:48'::timestamp) - extract(epoch from '2026-07-12 04:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688047 -2.98536)', '2026-07-12 04:58:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.98536)'), GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.98536)'))) / (select extract(epoch from '2026-07-12 04:58:56'::timestamp) - extract(epoch from '2026-07-12 04:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.98536)'), GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.98536)'))) / (select extract(epoch from '2026-07-12 04:58:56'::timestamp) - extract(epoch from '2026-07-12 04:58: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'), 47857, 'SRID=4674;POINT (-39.688046 -2.985366)', '2026-07-12 04:59:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.98536)'), GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985366)'))) / (select extract(epoch from '2026-07-12 04:59:03'::timestamp) - extract(epoch from '2026-07-12 04:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688047 -2.98536)'), GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985366)'))) / (select extract(epoch from '2026-07-12 04:59:03'::timestamp) - extract(epoch from '2026-07-12 04:58: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'), 47857, 'SRID=4674;POINT (-39.68805 -2.985368)', '2026-07-12 04:59:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985366)'), GeomFromEWKT('SRID=4674;POINT (-39.68805 -2.985368)'))) / (select extract(epoch from '2026-07-12 04:59:17'::timestamp) - extract(epoch from '2026-07-12 04:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985366)'), GeomFromEWKT('SRID=4674;POINT (-39.68805 -2.985368)'))) / (select extract(epoch from '2026-07-12 04:59:17'::timestamp) - extract(epoch from '2026-07-12 04:59: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'), 47857, 'SRID=4674;POINT (-39.688041 -2.985356)', '2026-07-12 04:59:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68805 -2.985368)'), GeomFromEWKT('SRID=4674;POINT (-39.688041 -2.985356)'))) / (select extract(epoch from '2026-07-12 04:59:27'::timestamp) - extract(epoch from '2026-07-12 04:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68805 -2.985368)'), GeomFromEWKT('SRID=4674;POINT (-39.688041 -2.985356)'))) / (select extract(epoch from '2026-07-12 04:59:27'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.688036 -2.985357)', '2026-07-12 04:59:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688041 -2.985356)'), GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985357)'))) / (select extract(epoch from '2026-07-12 04:59:38'::timestamp) - extract(epoch from '2026-07-12 04:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688041 -2.985356)'), GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985357)'))) / (select extract(epoch from '2026-07-12 04:59:38'::timestamp) - extract(epoch from '2026-07-12 04:59: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'), 47857, 'SRID=4674;POINT (-39.688034 -2.985347)', '2026-07-12 04:59:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985357)'), GeomFromEWKT('SRID=4674;POINT (-39.688034 -2.985347)'))) / (select extract(epoch from '2026-07-12 04:59:51'::timestamp) - extract(epoch from '2026-07-12 04:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985357)'), GeomFromEWKT('SRID=4674;POINT (-39.688034 -2.985347)'))) / (select extract(epoch from '2026-07-12 04:59:51'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.68803 -2.985347)', '2026-07-12 04:59:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688034 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985347)'))) / (select extract(epoch from '2026-07-12 04:59:59'::timestamp) - extract(epoch from '2026-07-12 04:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688034 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985347)'))) / (select extract(epoch from '2026-07-12 04:59:59'::timestamp) - extract(epoch from '2026-07-12 04:59: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'), 47857, 'SRID=4674;POINT (-39.688034 -2.985344)', '2026-07-12 05:00:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.688034 -2.985344)'))) / (select extract(epoch from '2026-07-12 05:00:08'::timestamp) - extract(epoch from '2026-07-12 04:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.688034 -2.985344)'))) / (select extract(epoch from '2026-07-12 05:00:08'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47857, 'SRID=4674;POINT (-39.688033 -2.985333)', '2026-07-12 05:00:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688034 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.688033 -2.985333)'))) / (select extract(epoch from '2026-07-12 05:00:13'::timestamp) - extract(epoch from '2026-07-12 05:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688034 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.688033 -2.985333)'))) / (select extract(epoch from '2026-07-12 05:00:13'::timestamp) - extract(epoch from '2026-07-12 05:00: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'), 47857, 'SRID=4674;POINT (-39.688043 -2.98534)', '2026-07-12 05:00:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688033 -2.985333)'), GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.98534)'))) / (select extract(epoch from '2026-07-12 05:00:19'::timestamp) - extract(epoch from '2026-07-12 05:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688033 -2.985333)'), GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.98534)'))) / (select extract(epoch from '2026-07-12 05:00:19'::timestamp) - extract(epoch from '2026-07-12 05:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688038 -2.985337)', '2026-07-12 05:00:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.98534)'), GeomFromEWKT('SRID=4674;POINT (-39.688038 -2.985337)'))) / (select extract(epoch from '2026-07-12 05:00:39'::timestamp) - extract(epoch from '2026-07-12 05:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.98534)'), GeomFromEWKT('SRID=4674;POINT (-39.688038 -2.985337)'))) / (select extract(epoch from '2026-07-12 05:00:39'::timestamp) - extract(epoch from '2026-07-12 05:00: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'), 47857, 'SRID=4674;POINT (-39.68803 -2.985352)', '2026-07-12 05:06:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688038 -2.985337)'), GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985352)'))) / (select extract(epoch from '2026-07-12 05:06:52'::timestamp) - extract(epoch from '2026-07-12 05:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688038 -2.985337)'), GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985352)'))) / (select extract(epoch from '2026-07-12 05:06:52'::timestamp) - extract(epoch from '2026-07-12 05:00: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'), 47857, 'SRID=4674;POINT (-39.688033 -2.985357)', '2026-07-12 05:06:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985352)'), GeomFromEWKT('SRID=4674;POINT (-39.688033 -2.985357)'))) / (select extract(epoch from '2026-07-12 05:06:53'::timestamp) - extract(epoch from '2026-07-12 05:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985352)'), GeomFromEWKT('SRID=4674;POINT (-39.688033 -2.985357)'))) / (select extract(epoch from '2026-07-12 05:06:53'::timestamp) - extract(epoch from '2026-07-12 05:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688035 -2.985356)', '2026-07-12 05:06:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688033 -2.985357)'), GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985356)'))) / (select extract(epoch from '2026-07-12 05:06:59'::timestamp) - extract(epoch from '2026-07-12 05:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688033 -2.985357)'), GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985356)'))) / (select extract(epoch from '2026-07-12 05:06:59'::timestamp) - extract(epoch from '2026-07-12 05:06: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'), 47857, 'SRID=4674;POINT (-39.688039 -2.985358)', '2026-07-12 05:07:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985356)'), GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985358)'))) / (select extract(epoch from '2026-07-12 05:07:08'::timestamp) - extract(epoch from '2026-07-12 05:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985356)'), GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985358)'))) / (select extract(epoch from '2026-07-12 05:07:08'::timestamp) - extract(epoch from '2026-07-12 05:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688045 -2.985363)', '2026-07-12 05:07:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985358)'), GeomFromEWKT('SRID=4674;POINT (-39.688045 -2.985363)'))) / (select extract(epoch from '2026-07-12 05:07:16'::timestamp) - extract(epoch from '2026-07-12 05:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985358)'), GeomFromEWKT('SRID=4674;POINT (-39.688045 -2.985363)'))) / (select extract(epoch from '2026-07-12 05:07:16'::timestamp) - extract(epoch from '2026-07-12 05:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688054 -2.985365)', '2026-07-12 05:07:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688045 -2.985363)'), GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.985365)'))) / (select extract(epoch from '2026-07-12 05:07:25'::timestamp) - extract(epoch from '2026-07-12 05:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688045 -2.985363)'), GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.985365)'))) / (select extract(epoch from '2026-07-12 05:07:25'::timestamp) - extract(epoch from '2026-07-12 05:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688058 -2.985371)', '2026-07-12 05:07:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.985365)'), GeomFromEWKT('SRID=4674;POINT (-39.688058 -2.985371)'))) / (select extract(epoch from '2026-07-12 05:07:34'::timestamp) - extract(epoch from '2026-07-12 05:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.985365)'), GeomFromEWKT('SRID=4674;POINT (-39.688058 -2.985371)'))) / (select extract(epoch from '2026-07-12 05:07:34'::timestamp) - extract(epoch from '2026-07-12 05:07: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'), 47857, 'SRID=4674;POINT (-39.688057 -2.985363)', '2026-07-12 05:07:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688058 -2.985371)'), GeomFromEWKT('SRID=4674;POINT (-39.688057 -2.985363)'))) / (select extract(epoch from '2026-07-12 05:07:43'::timestamp) - extract(epoch from '2026-07-12 05:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688058 -2.985371)'), GeomFromEWKT('SRID=4674;POINT (-39.688057 -2.985363)'))) / (select extract(epoch from '2026-07-12 05:07:43'::timestamp) - extract(epoch from '2026-07-12 05:07: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'), 47857, 'SRID=4674;POINT (-39.688054 -2.985357)', '2026-07-12 05:07:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688057 -2.985363)'), GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.985357)'))) / (select extract(epoch from '2026-07-12 05:07:50'::timestamp) - extract(epoch from '2026-07-12 05:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688057 -2.985363)'), GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.985357)'))) / (select extract(epoch from '2026-07-12 05:07:50'::timestamp) - extract(epoch from '2026-07-12 05:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688046 -2.985357)', '2026-07-12 05:08:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.985357)'), GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985357)'))) / (select extract(epoch from '2026-07-12 05:08:00'::timestamp) - extract(epoch from '2026-07-12 05:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688054 -2.985357)'), GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985357)'))) / (select extract(epoch from '2026-07-12 05:08:00'::timestamp) - extract(epoch from '2026-07-12 05:07: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'), 47857, 'SRID=4674;POINT (-39.688046 -2.985347)', '2026-07-12 05:08:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985357)'), GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985347)'))) / (select extract(epoch from '2026-07-12 05:08:13'::timestamp) - extract(epoch from '2026-07-12 05:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985357)'), GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985347)'))) / (select extract(epoch from '2026-07-12 05:08:13'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47857, 'SRID=4674;POINT (-39.688032 -2.985344)', '2026-07-12 05:08:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.688032 -2.985344)'))) / (select extract(epoch from '2026-07-12 05:08:22'::timestamp) - extract(epoch from '2026-07-12 05:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688046 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.688032 -2.985344)'))) / (select extract(epoch from '2026-07-12 05:08:22'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47857, 'SRID=4674;POINT (-39.688044 -2.985341)', '2026-07-12 05:08:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688032 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.985341)'))) / (select extract(epoch from '2026-07-12 05:08:35'::timestamp) - extract(epoch from '2026-07-12 05:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688032 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.985341)'))) / (select extract(epoch from '2026-07-12 05:08:35'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47857, 'SRID=4674;POINT (-39.688041 -2.985353)', '2026-07-12 05:08:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.985341)'), GeomFromEWKT('SRID=4674;POINT (-39.688041 -2.985353)'))) / (select extract(epoch from '2026-07-12 05:08:42'::timestamp) - extract(epoch from '2026-07-12 05:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.985341)'), GeomFromEWKT('SRID=4674;POINT (-39.688041 -2.985353)'))) / (select extract(epoch from '2026-07-12 05:08:42'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47857, 'SRID=4674;POINT (-39.688042 -2.985356)', '2026-07-12 05:08:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688041 -2.985353)'), GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.985356)'))) / (select extract(epoch from '2026-07-12 05:08:50'::timestamp) - extract(epoch from '2026-07-12 05:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688041 -2.985353)'), GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.985356)'))) / (select extract(epoch from '2026-07-12 05:08:50'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47857, 'SRID=4674;POINT (-39.688027 -2.985358)', '2026-07-12 05:12:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.985356)'), GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985358)'))) / (select extract(epoch from '2026-07-12 05:12:56'::timestamp) - extract(epoch from '2026-07-12 05:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.985356)'), GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985358)'))) / (select extract(epoch from '2026-07-12 05:12:56'::timestamp) - extract(epoch from '2026-07-12 05:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688036 -2.985356)', '2026-07-12 05:13:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985358)'), GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985356)'))) / (select extract(epoch from '2026-07-12 05:13:03'::timestamp) - extract(epoch from '2026-07-12 05:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985358)'), GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985356)'))) / (select extract(epoch from '2026-07-12 05:13:03'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47857, 'SRID=4674;POINT (-39.688035 -2.985353)', '2026-07-12 05:13:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985356)'), GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985353)'))) / (select extract(epoch from '2026-07-12 05:13:09'::timestamp) - extract(epoch from '2026-07-12 05:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985356)'), GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985353)'))) / (select extract(epoch from '2026-07-12 05:13:09'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47857, 'SRID=4674;POINT (-39.68803 -2.985354)', '2026-07-12 05:13:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985353)'), GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985354)'))) / (select extract(epoch from '2026-07-12 05:13:17'::timestamp) - extract(epoch from '2026-07-12 05:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985353)'), GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985354)'))) / (select extract(epoch from '2026-07-12 05:13:17'::timestamp) - extract(epoch from '2026-07-12 05:13: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'), 47857, 'SRID=4674;POINT (-39.68803 -2.985354)', '2026-07-12 05:13:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985354)'), GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985354)'))) / (select extract(epoch from '2026-07-12 05:13:27'::timestamp) - extract(epoch from '2026-07-12 05:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985354)'), GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985354)'))) / (select extract(epoch from '2026-07-12 05:13:27'::timestamp) - extract(epoch from '2026-07-12 05:13: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'), 47857, 'SRID=4674;POINT (-39.688031 -2.98535)', '2026-07-12 05:13:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985354)'), GeomFromEWKT('SRID=4674;POINT (-39.688031 -2.98535)'))) / (select extract(epoch from '2026-07-12 05:13:40'::timestamp) - extract(epoch from '2026-07-12 05:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985354)'), GeomFromEWKT('SRID=4674;POINT (-39.688031 -2.98535)'))) / (select extract(epoch from '2026-07-12 05:13:40'::timestamp) - extract(epoch from '2026-07-12 05:13: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'), 47857, 'SRID=4674;POINT (-39.688029 -2.985353)', '2026-07-12 05:13:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688031 -2.98535)'), GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985353)'))) / (select extract(epoch from '2026-07-12 05:13:47'::timestamp) - extract(epoch from '2026-07-12 05:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688031 -2.98535)'), GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985353)'))) / (select extract(epoch from '2026-07-12 05:13:47'::timestamp) - extract(epoch from '2026-07-12 05:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688025 -2.985349)', '2026-07-12 05:13:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985353)'), GeomFromEWKT('SRID=4674;POINT (-39.688025 -2.985349)'))) / (select extract(epoch from '2026-07-12 05:13:55'::timestamp) - extract(epoch from '2026-07-12 05:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985353)'), GeomFromEWKT('SRID=4674;POINT (-39.688025 -2.985349)'))) / (select extract(epoch from '2026-07-12 05:13:55'::timestamp) - extract(epoch from '2026-07-12 05:13: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'), 47857, 'SRID=4674;POINT (-39.688027 -2.985343)', '2026-07-12 05:14:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688025 -2.985349)'), GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985343)'))) / (select extract(epoch from '2026-07-12 05:14:03'::timestamp) - extract(epoch from '2026-07-12 05:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688025 -2.985349)'), GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985343)'))) / (select extract(epoch from '2026-07-12 05:14:03'::timestamp) - extract(epoch from '2026-07-12 05:13: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'), 47857, 'SRID=4674;POINT (-39.688023 -2.985345)', '2026-07-12 05:14:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.688023 -2.985345)'))) / (select extract(epoch from '2026-07-12 05:14:17'::timestamp) - extract(epoch from '2026-07-12 05:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.688023 -2.985345)'))) / (select extract(epoch from '2026-07-12 05:14:17'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47857, 'SRID=4674;POINT (-39.688026 -2.985342)', '2026-07-12 05:14:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688023 -2.985345)'), GeomFromEWKT('SRID=4674;POINT (-39.688026 -2.985342)'))) / (select extract(epoch from '2026-07-12 05:14:23'::timestamp) - extract(epoch from '2026-07-12 05:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688023 -2.985345)'), GeomFromEWKT('SRID=4674;POINT (-39.688026 -2.985342)'))) / (select extract(epoch from '2026-07-12 05:14:23'::timestamp) - extract(epoch from '2026-07-12 05:14: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'), 47857, 'SRID=4674;POINT (-39.688029 -2.985343)', '2026-07-12 05:14:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688026 -2.985342)'), GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985343)'))) / (select extract(epoch from '2026-07-12 05:14:32'::timestamp) - extract(epoch from '2026-07-12 05:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688026 -2.985342)'), GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985343)'))) / (select extract(epoch from '2026-07-12 05:14:32'::timestamp) - extract(epoch from '2026-07-12 05:14: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'), 47857, 'SRID=4674;POINT (-39.688025 -2.985347)', '2026-07-12 05:14:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.688025 -2.985347)'))) / (select extract(epoch from '2026-07-12 05:14:37'::timestamp) - extract(epoch from '2026-07-12 05:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.688025 -2.985347)'))) / (select extract(epoch from '2026-07-12 05:14:37'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47857, 'SRID=4674;POINT (-39.688024 -2.985344)', '2026-07-12 05:14:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688025 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.688024 -2.985344)'))) / (select extract(epoch from '2026-07-12 05:14:45'::timestamp) - extract(epoch from '2026-07-12 05:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688025 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.688024 -2.985344)'))) / (select extract(epoch from '2026-07-12 05:14:45'::timestamp) - extract(epoch from '2026-07-12 05:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688029 -2.985347)', '2026-07-12 05:14:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688024 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985347)'))) / (select extract(epoch from '2026-07-12 05:14:52'::timestamp) - extract(epoch from '2026-07-12 05:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688024 -2.985344)'), GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985347)'))) / (select extract(epoch from '2026-07-12 05:14:52'::timestamp) - extract(epoch from '2026-07-12 05:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688028 -2.985351)', '2026-07-12 05:14:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.688028 -2.985351)'))) / (select extract(epoch from '2026-07-12 05:14:58'::timestamp) - extract(epoch from '2026-07-12 05:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985347)'), GeomFromEWKT('SRID=4674;POINT (-39.688028 -2.985351)'))) / (select extract(epoch from '2026-07-12 05:14:58'::timestamp) - extract(epoch from '2026-07-12 05:14: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'), 47857, 'SRID=4674;POINT (-39.688026 -2.985352)', '2026-07-12 05:15:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688028 -2.985351)'), GeomFromEWKT('SRID=4674;POINT (-39.688026 -2.985352)'))) / (select extract(epoch from '2026-07-12 05:15:10'::timestamp) - extract(epoch from '2026-07-12 05:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688028 -2.985351)'), GeomFromEWKT('SRID=4674;POINT (-39.688026 -2.985352)'))) / (select extract(epoch from '2026-07-12 05:15:10'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47857, 'SRID=4674;POINT (-39.688031 -2.985343)', '2026-07-12 05:15:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688026 -2.985352)'), GeomFromEWKT('SRID=4674;POINT (-39.688031 -2.985343)'))) / (select extract(epoch from '2026-07-12 05:15:17'::timestamp) - extract(epoch from '2026-07-12 05:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688026 -2.985352)'), GeomFromEWKT('SRID=4674;POINT (-39.688031 -2.985343)'))) / (select extract(epoch from '2026-07-12 05:15:17'::timestamp) - extract(epoch from '2026-07-12 05:15: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'), 47857, 'SRID=4674;POINT (-39.688035 -2.985346)', '2026-07-12 05:15:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688031 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985346)'))) / (select extract(epoch from '2026-07-12 05:15:28'::timestamp) - extract(epoch from '2026-07-12 05:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688031 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985346)'))) / (select extract(epoch from '2026-07-12 05:15:28'::timestamp) - extract(epoch from '2026-07-12 05:15: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'), 47857, 'SRID=4674;POINT (-39.68804 -2.98535)', '2026-07-12 05:15:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.98535)'))) / (select extract(epoch from '2026-07-12 05:15:40'::timestamp) - extract(epoch from '2026-07-12 05:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688035 -2.985346)'), GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.98535)'))) / (select extract(epoch from '2026-07-12 05:15:40'::timestamp) - extract(epoch from '2026-07-12 05:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688036 -2.985355)', '2026-07-12 05:15:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.98535)'), GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985355)'))) / (select extract(epoch from '2026-07-12 05:15:48'::timestamp) - extract(epoch from '2026-07-12 05:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.98535)'), GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985355)'))) / (select extract(epoch from '2026-07-12 05:15:48'::timestamp) - extract(epoch from '2026-07-12 05:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688039 -2.985361)', '2026-07-12 05:15:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985355)'), GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985361)'))) / (select extract(epoch from '2026-07-12 05:15:56'::timestamp) - extract(epoch from '2026-07-12 05:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.985355)'), GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985361)'))) / (select extract(epoch from '2026-07-12 05:15:56'::timestamp) - extract(epoch from '2026-07-12 05:15: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'), 47857, 'SRID=4674;POINT (-39.68804 -2.985361)', '2026-07-12 05:16:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985361)'), GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985361)'))) / (select extract(epoch from '2026-07-12 05:16:02'::timestamp) - extract(epoch from '2026-07-12 05:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.985361)'), GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985361)'))) / (select extract(epoch from '2026-07-12 05:16:02'::timestamp) - extract(epoch from '2026-07-12 05:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68804 -2.98536)', '2026-07-12 05:16:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985361)'), GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.98536)'))) / (select extract(epoch from '2026-07-12 05:16:08'::timestamp) - extract(epoch from '2026-07-12 05:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985361)'), GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.98536)'))) / (select extract(epoch from '2026-07-12 05:16:08'::timestamp) - extract(epoch from '2026-07-12 05:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688044 -2.985358)', '2026-07-12 05:16:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.98536)'), GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.985358)'))) / (select extract(epoch from '2026-07-12 05:16:25'::timestamp) - extract(epoch from '2026-07-12 05:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.98536)'), GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.985358)'))) / (select extract(epoch from '2026-07-12 05:16:25'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47857, 'SRID=4674;POINT (-39.688043 -2.985363)', '2026-07-12 05:16:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.985358)'), GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.985363)'))) / (select extract(epoch from '2026-07-12 05:16:32'::timestamp) - extract(epoch from '2026-07-12 05:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.985358)'), GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.985363)'))) / (select extract(epoch from '2026-07-12 05:16:32'::timestamp) - extract(epoch from '2026-07-12 05:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68804 -2.985355)', '2026-07-12 05:16:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.985363)'), GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985355)'))) / (select extract(epoch from '2026-07-12 05:16:48'::timestamp) - extract(epoch from '2026-07-12 05:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.985363)'), GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985355)'))) / (select extract(epoch from '2026-07-12 05:16:48'::timestamp) - extract(epoch from '2026-07-12 05:16: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'), 47857, 'SRID=4674;POINT (-39.68804 -2.985353)', '2026-07-12 05:17:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985355)'), GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985353)'))) / (select extract(epoch from '2026-07-12 05:17:03'::timestamp) - extract(epoch from '2026-07-12 05:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985355)'), GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985353)'))) / (select extract(epoch from '2026-07-12 05:17:03'::timestamp) - extract(epoch from '2026-07-12 05:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688042 -2.98535)', '2026-07-12 05:17:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985353)'), GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.98535)'))) / (select extract(epoch from '2026-07-12 05:17:16'::timestamp) - extract(epoch from '2026-07-12 05:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68804 -2.985353)'), GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.98535)'))) / (select extract(epoch from '2026-07-12 05:17:16'::timestamp) - extract(epoch from '2026-07-12 05:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688029 -2.985343)', '2026-07-12 05:17:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.98535)'), GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985343)'))) / (select extract(epoch from '2026-07-12 05:17:32'::timestamp) - extract(epoch from '2026-07-12 05:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.98535)'), GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985343)'))) / (select extract(epoch from '2026-07-12 05:17:32'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47857, 'SRID=4674;POINT (-39.688032 -2.985342)', '2026-07-12 05:17:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.688032 -2.985342)'))) / (select extract(epoch from '2026-07-12 05:17:38'::timestamp) - extract(epoch from '2026-07-12 05:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688029 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.688032 -2.985342)'))) / (select extract(epoch from '2026-07-12 05:17:38'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47857, 'SRID=4674;POINT (-39.688022 -2.985343)', '2026-07-12 05:17:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688032 -2.985342)'), GeomFromEWKT('SRID=4674;POINT (-39.688022 -2.985343)'))) / (select extract(epoch from '2026-07-12 05:17:49'::timestamp) - extract(epoch from '2026-07-12 05:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688032 -2.985342)'), GeomFromEWKT('SRID=4674;POINT (-39.688022 -2.985343)'))) / (select extract(epoch from '2026-07-12 05:17:49'::timestamp) - extract(epoch from '2026-07-12 05:17: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'), 47857, 'SRID=4674;POINT (-39.688027 -2.985333)', '2026-07-12 05:17:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688022 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985333)'))) / (select extract(epoch from '2026-07-12 05:17:58'::timestamp) - extract(epoch from '2026-07-12 05:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688022 -2.985343)'), GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985333)'))) / (select extract(epoch from '2026-07-12 05:17:58'::timestamp) - extract(epoch from '2026-07-12 05:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688021 -2.985327)', '2026-07-12 05:18:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985333)'), GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.985327)'))) / (select extract(epoch from '2026-07-12 05:18:07'::timestamp) - extract(epoch from '2026-07-12 05:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.985333)'), GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.985327)'))) / (select extract(epoch from '2026-07-12 05:18:07'::timestamp) - extract(epoch from '2026-07-12 05:17: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'), 47857, 'SRID=4674;POINT (-39.68803 -2.985336)', '2026-07-12 05:18:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.985327)'), GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985336)'))) / (select extract(epoch from '2026-07-12 05:18:17'::timestamp) - extract(epoch from '2026-07-12 05:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.985327)'), GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985336)'))) / (select extract(epoch from '2026-07-12 05:18:17'::timestamp) - extract(epoch from '2026-07-12 05:18: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'), 47857, 'SRID=4674;POINT (-39.688021 -2.985329)', '2026-07-12 05:28:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985336)'), GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.985329)'))) / (select extract(epoch from '2026-07-12 05:28:27'::timestamp) - extract(epoch from '2026-07-12 05:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68803 -2.985336)'), GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.985329)'))) / (select extract(epoch from '2026-07-12 05:28:27'::timestamp) - extract(epoch from '2026-07-12 05:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.688042 -2.985326)', '2026-07-12 05:38:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.985329)'), GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.985326)'))) / (select extract(epoch from '2026-07-12 05:38:24'::timestamp) - extract(epoch from '2026-07-12 05:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.985329)'), GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.985326)'))) / (select extract(epoch from '2026-07-12 05:38:24'::timestamp) - extract(epoch from '2026-07-12 05:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68805 -2.985329)', '2026-07-12 05:48:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.985326)'), GeomFromEWKT('SRID=4674;POINT (-39.68805 -2.985329)'))) / (select extract(epoch from '2026-07-12 05:48:26'::timestamp) - extract(epoch from '2026-07-12 05:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688042 -2.985326)'), GeomFromEWKT('SRID=4674;POINT (-39.68805 -2.985329)'))) / (select extract(epoch from '2026-07-12 05:48:26'::timestamp) - extract(epoch from '2026-07-12 05:38: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'), 47857, 'SRID=4674;POINT (-39.688036 -2.98532)', '2026-07-12 05:58:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68805 -2.985329)'), GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.98532)'))) / (select extract(epoch from '2026-07-12 05:58:22'::timestamp) - extract(epoch from '2026-07-12 05:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68805 -2.985329)'), GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.98532)'))) / (select extract(epoch from '2026-07-12 05:58:22'::timestamp) - extract(epoch from '2026-07-12 05:48: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'), 47857, 'SRID=4674;POINT (-39.687197 -2.985843)', '2026-07-12 06:08:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.98532)'), GeomFromEWKT('SRID=4674;POINT (-39.687197 -2.985843)'))) / (select extract(epoch from '2026-07-12 06:08:19'::timestamp) - extract(epoch from '2026-07-12 05:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688036 -2.98532)'), GeomFromEWKT('SRID=4674;POINT (-39.687197 -2.985843)'))) / (select extract(epoch from '2026-07-12 06:08:19'::timestamp) - extract(epoch from '2026-07-12 05:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68584 -2.986974)', '2026-07-12 06:18:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687197 -2.985843)'), GeomFromEWKT('SRID=4674;POINT (-39.68584 -2.986974)'))) / (select extract(epoch from '2026-07-12 06:18:31'::timestamp) - extract(epoch from '2026-07-12 06:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687197 -2.985843)'), GeomFromEWKT('SRID=4674;POINT (-39.68584 -2.986974)'))) / (select extract(epoch from '2026-07-12 06:18:31'::timestamp) - extract(epoch from '2026-07-12 06:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684816 -2.987696)', '2026-07-12 06:28:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68584 -2.986974)'), GeomFromEWKT('SRID=4674;POINT (-39.684816 -2.987696)'))) / (select extract(epoch from '2026-07-12 06:28:30'::timestamp) - extract(epoch from '2026-07-12 06:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68584 -2.986974)'), GeomFromEWKT('SRID=4674;POINT (-39.684816 -2.987696)'))) / (select extract(epoch from '2026-07-12 06:28:30'::timestamp) - extract(epoch from '2026-07-12 06:18: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'), 47857, 'SRID=4674;POINT (-39.684558 -2.987827)', '2026-07-12 06:38:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684816 -2.987696)'), GeomFromEWKT('SRID=4674;POINT (-39.684558 -2.987827)'))) / (select extract(epoch from '2026-07-12 06:38:40'::timestamp) - extract(epoch from '2026-07-12 06:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684816 -2.987696)'), GeomFromEWKT('SRID=4674;POINT (-39.684558 -2.987827)'))) / (select extract(epoch from '2026-07-12 06:38:40'::timestamp) - extract(epoch from '2026-07-12 06:28: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'), 47857, 'SRID=4674;POINT (-39.684548 -2.987772)', '2026-07-12 06:48:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684558 -2.987827)'), GeomFromEWKT('SRID=4674;POINT (-39.684548 -2.987772)'))) / (select extract(epoch from '2026-07-12 06:48:23'::timestamp) - extract(epoch from '2026-07-12 06:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684558 -2.987827)'), GeomFromEWKT('SRID=4674;POINT (-39.684548 -2.987772)'))) / (select extract(epoch from '2026-07-12 06:48:23'::timestamp) - extract(epoch from '2026-07-12 06: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'), 47857, 'SRID=4674;POINT (-39.684499 -2.987776)', '2026-07-12 06:55:37', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684548 -2.987772)'), GeomFromEWKT('SRID=4674;POINT (-39.684499 -2.987776)'))) / (select extract(epoch from '2026-07-12 06:55:37'::timestamp) - extract(epoch from '2026-07-12 06:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684548 -2.987772)'), GeomFromEWKT('SRID=4674;POINT (-39.684499 -2.987776)'))) / (select extract(epoch from '2026-07-12 06:55:37'::timestamp) - extract(epoch from '2026-07-12 06:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684497 -2.987776)', '2026-07-12 06:55:39', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684499 -2.987776)'), GeomFromEWKT('SRID=4674;POINT (-39.684497 -2.987776)'))) / (select extract(epoch from '2026-07-12 06:55:39'::timestamp) - extract(epoch from '2026-07-12 06:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684499 -2.987776)'), GeomFromEWKT('SRID=4674;POINT (-39.684497 -2.987776)'))) / (select extract(epoch from '2026-07-12 06:55:39'::timestamp) - extract(epoch from '2026-07-12 06: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'), 47857, 'SRID=4674;POINT (-39.684488 -2.98779)', '2026-07-12 06:55:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684497 -2.987776)'), GeomFromEWKT('SRID=4674;POINT (-39.684488 -2.98779)'))) / (select extract(epoch from '2026-07-12 06:55:47'::timestamp) - extract(epoch from '2026-07-12 06:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684497 -2.987776)'), GeomFromEWKT('SRID=4674;POINT (-39.684488 -2.98779)'))) / (select extract(epoch from '2026-07-12 06:55:47'::timestamp) - extract(epoch from '2026-07-12 06:55: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'), 47857, 'SRID=4674;POINT (-39.684466 -2.987805)', '2026-07-12 06:55:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684488 -2.98779)'), GeomFromEWKT('SRID=4674;POINT (-39.684466 -2.987805)'))) / (select extract(epoch from '2026-07-12 06:55:55'::timestamp) - extract(epoch from '2026-07-12 06:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684488 -2.98779)'), GeomFromEWKT('SRID=4674;POINT (-39.684466 -2.987805)'))) / (select extract(epoch from '2026-07-12 06:55:55'::timestamp) - extract(epoch from '2026-07-12 06: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'), 47857, 'SRID=4674;POINT (-39.684457 -2.987814)', '2026-07-12 06:56:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684466 -2.987805)'), GeomFromEWKT('SRID=4674;POINT (-39.684457 -2.987814)'))) / (select extract(epoch from '2026-07-12 06:56:02'::timestamp) - extract(epoch from '2026-07-12 06:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684466 -2.987805)'), GeomFromEWKT('SRID=4674;POINT (-39.684457 -2.987814)'))) / (select extract(epoch from '2026-07-12 06:56:02'::timestamp) - extract(epoch from '2026-07-12 06: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'), 47857, 'SRID=4674;POINT (-39.684448 -2.987826)', '2026-07-12 06:56:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684457 -2.987814)'), GeomFromEWKT('SRID=4674;POINT (-39.684448 -2.987826)'))) / (select extract(epoch from '2026-07-12 06:56:13'::timestamp) - extract(epoch from '2026-07-12 06:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684457 -2.987814)'), GeomFromEWKT('SRID=4674;POINT (-39.684448 -2.987826)'))) / (select extract(epoch from '2026-07-12 06:56:13'::timestamp) - extract(epoch from '2026-07-12 06:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684437 -2.987843)', '2026-07-12 06:56:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684448 -2.987826)'), GeomFromEWKT('SRID=4674;POINT (-39.684437 -2.987843)'))) / (select extract(epoch from '2026-07-12 06:56:20'::timestamp) - extract(epoch from '2026-07-12 06:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684448 -2.987826)'), GeomFromEWKT('SRID=4674;POINT (-39.684437 -2.987843)'))) / (select extract(epoch from '2026-07-12 06:56:20'::timestamp) - extract(epoch from '2026-07-12 06:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684419 -2.987858)', '2026-07-12 06:56:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684437 -2.987843)'), GeomFromEWKT('SRID=4674;POINT (-39.684419 -2.987858)'))) / (select extract(epoch from '2026-07-12 06:56:25'::timestamp) - extract(epoch from '2026-07-12 06:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684437 -2.987843)'), GeomFromEWKT('SRID=4674;POINT (-39.684419 -2.987858)'))) / (select extract(epoch from '2026-07-12 06:56:25'::timestamp) - extract(epoch from '2026-07-12 06:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684405 -2.987876)', '2026-07-12 06:56:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684419 -2.987858)'), GeomFromEWKT('SRID=4674;POINT (-39.684405 -2.987876)'))) / (select extract(epoch from '2026-07-12 06:56:32'::timestamp) - extract(epoch from '2026-07-12 06:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684419 -2.987858)'), GeomFromEWKT('SRID=4674;POINT (-39.684405 -2.987876)'))) / (select extract(epoch from '2026-07-12 06:56:32'::timestamp) - extract(epoch from '2026-07-12 06:56: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'), 47857, 'SRID=4674;POINT (-39.684382 -2.987897)', '2026-07-12 06:56:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684405 -2.987876)'), GeomFromEWKT('SRID=4674;POINT (-39.684382 -2.987897)'))) / (select extract(epoch from '2026-07-12 06:56:40'::timestamp) - extract(epoch from '2026-07-12 06:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684405 -2.987876)'), GeomFromEWKT('SRID=4674;POINT (-39.684382 -2.987897)'))) / (select extract(epoch from '2026-07-12 06:56:40'::timestamp) - extract(epoch from '2026-07-12 06:56: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'), 47857, 'SRID=4674;POINT (-39.684367 -2.987909)', '2026-07-12 06:56:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684382 -2.987897)'), GeomFromEWKT('SRID=4674;POINT (-39.684367 -2.987909)'))) / (select extract(epoch from '2026-07-12 06:56:49'::timestamp) - extract(epoch from '2026-07-12 06:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684382 -2.987897)'), GeomFromEWKT('SRID=4674;POINT (-39.684367 -2.987909)'))) / (select extract(epoch from '2026-07-12 06:56:49'::timestamp) - extract(epoch from '2026-07-12 06:56: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'), 47857, 'SRID=4674;POINT (-39.684331 -2.987933)', '2026-07-12 06:56:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684367 -2.987909)'), GeomFromEWKT('SRID=4674;POINT (-39.684331 -2.987933)'))) / (select extract(epoch from '2026-07-12 06:56:57'::timestamp) - extract(epoch from '2026-07-12 06:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684367 -2.987909)'), GeomFromEWKT('SRID=4674;POINT (-39.684331 -2.987933)'))) / (select extract(epoch from '2026-07-12 06:56:57'::timestamp) - extract(epoch from '2026-07-12 06:56: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'), 47857, 'SRID=4674;POINT (-39.68431 -2.987939)', '2026-07-12 06:57:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684331 -2.987933)'), GeomFromEWKT('SRID=4674;POINT (-39.68431 -2.987939)'))) / (select extract(epoch from '2026-07-12 06:57:04'::timestamp) - extract(epoch from '2026-07-12 06:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684331 -2.987933)'), GeomFromEWKT('SRID=4674;POINT (-39.68431 -2.987939)'))) / (select extract(epoch from '2026-07-12 06:57:04'::timestamp) - extract(epoch from '2026-07-12 06:56: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'), 47857, 'SRID=4674;POINT (-39.684298 -2.987937)', '2026-07-12 06:57:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68431 -2.987939)'), GeomFromEWKT('SRID=4674;POINT (-39.684298 -2.987937)'))) / (select extract(epoch from '2026-07-12 06:57:13'::timestamp) - extract(epoch from '2026-07-12 06:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68431 -2.987939)'), GeomFromEWKT('SRID=4674;POINT (-39.684298 -2.987937)'))) / (select extract(epoch from '2026-07-12 06:57:13'::timestamp) - extract(epoch from '2026-07-12 06:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684275 -2.987956)', '2026-07-12 06:57:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684298 -2.987937)'), GeomFromEWKT('SRID=4674;POINT (-39.684275 -2.987956)'))) / (select extract(epoch from '2026-07-12 06:57:22'::timestamp) - extract(epoch from '2026-07-12 06:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684298 -2.987937)'), GeomFromEWKT('SRID=4674;POINT (-39.684275 -2.987956)'))) / (select extract(epoch from '2026-07-12 06:57:22'::timestamp) - extract(epoch from '2026-07-12 06:57: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'), 47857, 'SRID=4674;POINT (-39.684257 -2.987982)', '2026-07-12 06:57:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684275 -2.987956)'), GeomFromEWKT('SRID=4674;POINT (-39.684257 -2.987982)'))) / (select extract(epoch from '2026-07-12 06:57:30'::timestamp) - extract(epoch from '2026-07-12 06:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684275 -2.987956)'), GeomFromEWKT('SRID=4674;POINT (-39.684257 -2.987982)'))) / (select extract(epoch from '2026-07-12 06:57:30'::timestamp) - extract(epoch from '2026-07-12 06:57: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'), 47857, 'SRID=4674;POINT (-39.684233 -2.988013)', '2026-07-12 06:57:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684257 -2.987982)'), GeomFromEWKT('SRID=4674;POINT (-39.684233 -2.988013)'))) / (select extract(epoch from '2026-07-12 06:57:40'::timestamp) - extract(epoch from '2026-07-12 06:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684257 -2.987982)'), GeomFromEWKT('SRID=4674;POINT (-39.684233 -2.988013)'))) / (select extract(epoch from '2026-07-12 06:57:40'::timestamp) - extract(epoch from '2026-07-12 06:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.684207 -2.988057)', '2026-07-12 06:57:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684233 -2.988013)'), GeomFromEWKT('SRID=4674;POINT (-39.684207 -2.988057)'))) / (select extract(epoch from '2026-07-12 06:57:53'::timestamp) - extract(epoch from '2026-07-12 06:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684233 -2.988013)'), GeomFromEWKT('SRID=4674;POINT (-39.684207 -2.988057)'))) / (select extract(epoch from '2026-07-12 06:57:53'::timestamp) - extract(epoch from '2026-07-12 06:57:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683739 -2.988455)', '2026-07-12 07:08:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684207 -2.988057)'), GeomFromEWKT('SRID=4674;POINT (-39.683739 -2.988455)'))) / (select extract(epoch from '2026-07-12 07:08:00'::timestamp) - extract(epoch from '2026-07-12 06:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684207 -2.988057)'), GeomFromEWKT('SRID=4674;POINT (-39.683739 -2.988455)'))) / (select extract(epoch from '2026-07-12 07:08:00'::timestamp) - extract(epoch from '2026-07-12 06:57: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'), 47857, 'SRID=4674;POINT (-39.683151 -2.987587)', '2026-07-12 07:11:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683739 -2.988455)'), GeomFromEWKT('SRID=4674;POINT (-39.683151 -2.987587)'))) / (select extract(epoch from '2026-07-12 07:11:15'::timestamp) - extract(epoch from '2026-07-12 07:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683739 -2.988455)'), GeomFromEWKT('SRID=4674;POINT (-39.683151 -2.987587)'))) / (select extract(epoch from '2026-07-12 07:11:15'::timestamp) - extract(epoch from '2026-07-12 07:08: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'), 47857, 'SRID=4674;POINT (-39.683133 -2.987568)', '2026-07-12 07:11:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683151 -2.987587)'), GeomFromEWKT('SRID=4674;POINT (-39.683133 -2.987568)'))) / (select extract(epoch from '2026-07-12 07:11:18'::timestamp) - extract(epoch from '2026-07-12 07:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683151 -2.987587)'), GeomFromEWKT('SRID=4674;POINT (-39.683133 -2.987568)'))) / (select extract(epoch from '2026-07-12 07:11:18'::timestamp) - extract(epoch from '2026-07-12 07:11: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'), 47857, 'SRID=4674;POINT (-39.683106 -2.987544)', '2026-07-12 07:11:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683133 -2.987568)'), GeomFromEWKT('SRID=4674;POINT (-39.683106 -2.987544)'))) / (select extract(epoch from '2026-07-12 07:11:25'::timestamp) - extract(epoch from '2026-07-12 07:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683133 -2.987568)'), GeomFromEWKT('SRID=4674;POINT (-39.683106 -2.987544)'))) / (select extract(epoch from '2026-07-12 07:11:25'::timestamp) - extract(epoch from '2026-07-12 07:11: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'), 47857, 'SRID=4674;POINT (-39.68309 -2.987513)', '2026-07-12 07:11:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683106 -2.987544)'), GeomFromEWKT('SRID=4674;POINT (-39.68309 -2.987513)'))) / (select extract(epoch from '2026-07-12 07:11:32'::timestamp) - extract(epoch from '2026-07-12 07:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683106 -2.987544)'), GeomFromEWKT('SRID=4674;POINT (-39.68309 -2.987513)'))) / (select extract(epoch from '2026-07-12 07:11:32'::timestamp) - extract(epoch from '2026-07-12 07:11:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683077 -2.987481)', '2026-07-12 07:11:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68309 -2.987513)'), GeomFromEWKT('SRID=4674;POINT (-39.683077 -2.987481)'))) / (select extract(epoch from '2026-07-12 07:11:38'::timestamp) - extract(epoch from '2026-07-12 07:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68309 -2.987513)'), GeomFromEWKT('SRID=4674;POINT (-39.683077 -2.987481)'))) / (select extract(epoch from '2026-07-12 07:11:38'::timestamp) - extract(epoch from '2026-07-12 07:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68306 -2.987424)', '2026-07-12 07:11:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683077 -2.987481)'), GeomFromEWKT('SRID=4674;POINT (-39.68306 -2.987424)'))) / (select extract(epoch from '2026-07-12 07:11:46'::timestamp) - extract(epoch from '2026-07-12 07:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683077 -2.987481)'), GeomFromEWKT('SRID=4674;POINT (-39.68306 -2.987424)'))) / (select extract(epoch from '2026-07-12 07:11:46'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.683055 -2.987402)', '2026-07-12 07:11:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68306 -2.987424)'), GeomFromEWKT('SRID=4674;POINT (-39.683055 -2.987402)'))) / (select extract(epoch from '2026-07-12 07:11:49'::timestamp) - extract(epoch from '2026-07-12 07:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68306 -2.987424)'), GeomFromEWKT('SRID=4674;POINT (-39.683055 -2.987402)'))) / (select extract(epoch from '2026-07-12 07:11:49'::timestamp) - extract(epoch from '2026-07-12 07:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683048 -2.987382)', '2026-07-12 07:11:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683055 -2.987402)'), GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.987382)'))) / (select extract(epoch from '2026-07-12 07:11:52'::timestamp) - extract(epoch from '2026-07-12 07:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683055 -2.987402)'), GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.987382)'))) / (select extract(epoch from '2026-07-12 07:11:52'::timestamp) - extract(epoch from '2026-07-12 07:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68303 -2.987333)', '2026-07-12 07:12:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.987382)'), GeomFromEWKT('SRID=4674;POINT (-39.68303 -2.987333)'))) / (select extract(epoch from '2026-07-12 07:12:00'::timestamp) - extract(epoch from '2026-07-12 07:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.987382)'), GeomFromEWKT('SRID=4674;POINT (-39.68303 -2.987333)'))) / (select extract(epoch from '2026-07-12 07:12:00'::timestamp) - extract(epoch from '2026-07-12 07:11: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'), 47857, 'SRID=4674;POINT (-39.683005 -2.987285)', '2026-07-12 07:12:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68303 -2.987333)'), GeomFromEWKT('SRID=4674;POINT (-39.683005 -2.987285)'))) / (select extract(epoch from '2026-07-12 07:12:09'::timestamp) - extract(epoch from '2026-07-12 07:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68303 -2.987333)'), GeomFromEWKT('SRID=4674;POINT (-39.683005 -2.987285)'))) / (select extract(epoch from '2026-07-12 07:12:09'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.682986 -2.987236)', '2026-07-12 07:12:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683005 -2.987285)'), GeomFromEWKT('SRID=4674;POINT (-39.682986 -2.987236)'))) / (select extract(epoch from '2026-07-12 07:12:17'::timestamp) - extract(epoch from '2026-07-12 07:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683005 -2.987285)'), GeomFromEWKT('SRID=4674;POINT (-39.682986 -2.987236)'))) / (select extract(epoch from '2026-07-12 07:12:17'::timestamp) - extract(epoch from '2026-07-12 07:12: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'), 47857, 'SRID=4674;POINT (-39.682976 -2.987186)', '2026-07-12 07:12:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682986 -2.987236)'), GeomFromEWKT('SRID=4674;POINT (-39.682976 -2.987186)'))) / (select extract(epoch from '2026-07-12 07:12:26'::timestamp) - extract(epoch from '2026-07-12 07:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682986 -2.987236)'), GeomFromEWKT('SRID=4674;POINT (-39.682976 -2.987186)'))) / (select extract(epoch from '2026-07-12 07:12:26'::timestamp) - extract(epoch from '2026-07-12 07:12: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'), 47857, 'SRID=4674;POINT (-39.682953 -2.987136)', '2026-07-12 07:12:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682976 -2.987186)'), GeomFromEWKT('SRID=4674;POINT (-39.682953 -2.987136)'))) / (select extract(epoch from '2026-07-12 07:12:36'::timestamp) - extract(epoch from '2026-07-12 07:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682976 -2.987186)'), GeomFromEWKT('SRID=4674;POINT (-39.682953 -2.987136)'))) / (select extract(epoch from '2026-07-12 07:12:36'::timestamp) - extract(epoch from '2026-07-12 07:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.682911 -2.987085)', '2026-07-12 07:12:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682953 -2.987136)'), GeomFromEWKT('SRID=4674;POINT (-39.682911 -2.987085)'))) / (select extract(epoch from '2026-07-12 07:12:47'::timestamp) - extract(epoch from '2026-07-12 07:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682953 -2.987136)'), GeomFromEWKT('SRID=4674;POINT (-39.682911 -2.987085)'))) / (select extract(epoch from '2026-07-12 07:12:47'::timestamp) - extract(epoch from '2026-07-12 07:12: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'), 47857, 'SRID=4674;POINT (-39.682892 -2.987036)', '2026-07-12 07:12:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682911 -2.987085)'), GeomFromEWKT('SRID=4674;POINT (-39.682892 -2.987036)'))) / (select extract(epoch from '2026-07-12 07:12:58'::timestamp) - extract(epoch from '2026-07-12 07:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682911 -2.987085)'), GeomFromEWKT('SRID=4674;POINT (-39.682892 -2.987036)'))) / (select extract(epoch from '2026-07-12 07:12:58'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.682888 -2.986991)', '2026-07-12 07:13:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682892 -2.987036)'), GeomFromEWKT('SRID=4674;POINT (-39.682888 -2.986991)'))) / (select extract(epoch from '2026-07-12 07:13:09'::timestamp) - extract(epoch from '2026-07-12 07:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682892 -2.987036)'), GeomFromEWKT('SRID=4674;POINT (-39.682888 -2.986991)'))) / (select extract(epoch from '2026-07-12 07:13:09'::timestamp) - extract(epoch from '2026-07-12 07:12: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'), 47857, 'SRID=4674;POINT (-39.682881 -2.986967)', '2026-07-12 07:13:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682888 -2.986991)'), GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.986967)'))) / (select extract(epoch from '2026-07-12 07:13:18'::timestamp) - extract(epoch from '2026-07-12 07:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682888 -2.986991)'), GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.986967)'))) / (select extract(epoch from '2026-07-12 07:13:18'::timestamp) - extract(epoch from '2026-07-12 07:13: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'), 47857, 'SRID=4674;POINT (-39.682892 -2.986926)', '2026-07-12 07:13:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.986967)'), GeomFromEWKT('SRID=4674;POINT (-39.682892 -2.986926)'))) / (select extract(epoch from '2026-07-12 07:13:30'::timestamp) - extract(epoch from '2026-07-12 07:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.986967)'), GeomFromEWKT('SRID=4674;POINT (-39.682892 -2.986926)'))) / (select extract(epoch from '2026-07-12 07:13:30'::timestamp) - extract(epoch from '2026-07-12 07:13: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'), 47857, 'SRID=4674;POINT (-39.682908 -2.986894)', '2026-07-12 07:13:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682892 -2.986926)'), GeomFromEWKT('SRID=4674;POINT (-39.682908 -2.986894)'))) / (select extract(epoch from '2026-07-12 07:13:45'::timestamp) - extract(epoch from '2026-07-12 07:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682892 -2.986926)'), GeomFromEWKT('SRID=4674;POINT (-39.682908 -2.986894)'))) / (select extract(epoch from '2026-07-12 07:13:45'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.682881 -2.986483)', '2026-07-12 07:15:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682908 -2.986894)'), GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.986483)'))) / (select extract(epoch from '2026-07-12 07:15:16'::timestamp) - extract(epoch from '2026-07-12 07:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682908 -2.986894)'), GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.986483)'))) / (select extract(epoch from '2026-07-12 07:15:16'::timestamp) - extract(epoch from '2026-07-12 07:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.682884 -2.986455)', '2026-07-12 07:15:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.986483)'), GeomFromEWKT('SRID=4674;POINT (-39.682884 -2.986455)'))) / (select extract(epoch from '2026-07-12 07:15:23'::timestamp) - extract(epoch from '2026-07-12 07:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.986483)'), GeomFromEWKT('SRID=4674;POINT (-39.682884 -2.986455)'))) / (select extract(epoch from '2026-07-12 07:15:23'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.682896 -2.98643)', '2026-07-12 07:15:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682884 -2.986455)'), GeomFromEWKT('SRID=4674;POINT (-39.682896 -2.98643)'))) / (select extract(epoch from '2026-07-12 07:15:31'::timestamp) - extract(epoch from '2026-07-12 07:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682884 -2.986455)'), GeomFromEWKT('SRID=4674;POINT (-39.682896 -2.98643)'))) / (select extract(epoch from '2026-07-12 07:15:31'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.682908 -2.986405)', '2026-07-12 07:15:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682896 -2.98643)'), GeomFromEWKT('SRID=4674;POINT (-39.682908 -2.986405)'))) / (select extract(epoch from '2026-07-12 07:15:40'::timestamp) - extract(epoch from '2026-07-12 07:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682896 -2.98643)'), GeomFromEWKT('SRID=4674;POINT (-39.682908 -2.986405)'))) / (select extract(epoch from '2026-07-12 07:15:40'::timestamp) - extract(epoch from '2026-07-12 07:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.682926 -2.986377)', '2026-07-12 07:15:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682908 -2.986405)'), GeomFromEWKT('SRID=4674;POINT (-39.682926 -2.986377)'))) / (select extract(epoch from '2026-07-12 07:15:52'::timestamp) - extract(epoch from '2026-07-12 07:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682908 -2.986405)'), GeomFromEWKT('SRID=4674;POINT (-39.682926 -2.986377)'))) / (select extract(epoch from '2026-07-12 07:15:52'::timestamp) - extract(epoch from '2026-07-12 07:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.682913 -2.986335)', '2026-07-12 07:16:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682926 -2.986377)'), GeomFromEWKT('SRID=4674;POINT (-39.682913 -2.986335)'))) / (select extract(epoch from '2026-07-12 07:16:00'::timestamp) - extract(epoch from '2026-07-12 07:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682926 -2.986377)'), GeomFromEWKT('SRID=4674;POINT (-39.682913 -2.986335)'))) / (select extract(epoch from '2026-07-12 07:16:00'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.682924 -2.986288)', '2026-07-12 07:16:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682913 -2.986335)'), GeomFromEWKT('SRID=4674;POINT (-39.682924 -2.986288)'))) / (select extract(epoch from '2026-07-12 07:16:12'::timestamp) - extract(epoch from '2026-07-12 07:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682913 -2.986335)'), GeomFromEWKT('SRID=4674;POINT (-39.682924 -2.986288)'))) / (select extract(epoch from '2026-07-12 07:16:12'::timestamp) - extract(epoch from '2026-07-12 07:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.682933 -2.98627)', '2026-07-12 07:16:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682924 -2.986288)'), GeomFromEWKT('SRID=4674;POINT (-39.682933 -2.98627)'))) / (select extract(epoch from '2026-07-12 07:16:22'::timestamp) - extract(epoch from '2026-07-12 07:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682924 -2.986288)'), GeomFromEWKT('SRID=4674;POINT (-39.682933 -2.98627)'))) / (select extract(epoch from '2026-07-12 07:16:22'::timestamp) - extract(epoch from '2026-07-12 07:16: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'), 47857, 'SRID=4674;POINT (-39.682952 -2.986262)', '2026-07-12 07:16:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682933 -2.98627)'), GeomFromEWKT('SRID=4674;POINT (-39.682952 -2.986262)'))) / (select extract(epoch from '2026-07-12 07:16:28'::timestamp) - extract(epoch from '2026-07-12 07:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682933 -2.98627)'), GeomFromEWKT('SRID=4674;POINT (-39.682952 -2.986262)'))) / (select extract(epoch from '2026-07-12 07:16:28'::timestamp) - extract(epoch from '2026-07-12 07:16: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'), 47857, 'SRID=4674;POINT (-39.682975 -2.986246)', '2026-07-12 07:16:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682952 -2.986262)'), GeomFromEWKT('SRID=4674;POINT (-39.682975 -2.986246)'))) / (select extract(epoch from '2026-07-12 07:16:38'::timestamp) - extract(epoch from '2026-07-12 07:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682952 -2.986262)'), GeomFromEWKT('SRID=4674;POINT (-39.682975 -2.986246)'))) / (select extract(epoch from '2026-07-12 07:16:38'::timestamp) - extract(epoch from '2026-07-12 07:16: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'), 47857, 'SRID=4674;POINT (-39.682996 -2.986235)', '2026-07-12 07:16:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682975 -2.986246)'), GeomFromEWKT('SRID=4674;POINT (-39.682996 -2.986235)'))) / (select extract(epoch from '2026-07-12 07:16:48'::timestamp) - extract(epoch from '2026-07-12 07:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682975 -2.986246)'), GeomFromEWKT('SRID=4674;POINT (-39.682996 -2.986235)'))) / (select extract(epoch from '2026-07-12 07:16:48'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.683025 -2.986224)', '2026-07-12 07:17:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682996 -2.986235)'), GeomFromEWKT('SRID=4674;POINT (-39.683025 -2.986224)'))) / (select extract(epoch from '2026-07-12 07:17:01'::timestamp) - extract(epoch from '2026-07-12 07:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682996 -2.986235)'), GeomFromEWKT('SRID=4674;POINT (-39.683025 -2.986224)'))) / (select extract(epoch from '2026-07-12 07:17:01'::timestamp) - extract(epoch from '2026-07-12 07:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683048 -2.986231)', '2026-07-12 07:17:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683025 -2.986224)'), GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.986231)'))) / (select extract(epoch from '2026-07-12 07:17:13'::timestamp) - extract(epoch from '2026-07-12 07:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683025 -2.986224)'), GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.986231)'))) / (select extract(epoch from '2026-07-12 07:17:13'::timestamp) - extract(epoch from '2026-07-12 07:17: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'), 47857, 'SRID=4674;POINT (-39.683066 -2.986215)', '2026-07-12 07:17:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.986231)'), GeomFromEWKT('SRID=4674;POINT (-39.683066 -2.986215)'))) / (select extract(epoch from '2026-07-12 07:17:23'::timestamp) - extract(epoch from '2026-07-12 07:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.986231)'), GeomFromEWKT('SRID=4674;POINT (-39.683066 -2.986215)'))) / (select extract(epoch from '2026-07-12 07:17:23'::timestamp) - extract(epoch from '2026-07-12 07:17: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'), 47857, 'SRID=4674;POINT (-39.683092 -2.986194)', '2026-07-12 07:17:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683066 -2.986215)'), GeomFromEWKT('SRID=4674;POINT (-39.683092 -2.986194)'))) / (select extract(epoch from '2026-07-12 07:17:33'::timestamp) - extract(epoch from '2026-07-12 07:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683066 -2.986215)'), GeomFromEWKT('SRID=4674;POINT (-39.683092 -2.986194)'))) / (select extract(epoch from '2026-07-12 07:17:33'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.683127 -2.986192)', '2026-07-12 07:17:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683092 -2.986194)'), GeomFromEWKT('SRID=4674;POINT (-39.683127 -2.986192)'))) / (select extract(epoch from '2026-07-12 07:17:43'::timestamp) - extract(epoch from '2026-07-12 07:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683092 -2.986194)'), GeomFromEWKT('SRID=4674;POINT (-39.683127 -2.986192)'))) / (select extract(epoch from '2026-07-12 07:17:43'::timestamp) - extract(epoch from '2026-07-12 07:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683144 -2.986187)', '2026-07-12 07:17:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683127 -2.986192)'), GeomFromEWKT('SRID=4674;POINT (-39.683144 -2.986187)'))) / (select extract(epoch from '2026-07-12 07:17:50'::timestamp) - extract(epoch from '2026-07-12 07:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683127 -2.986192)'), GeomFromEWKT('SRID=4674;POINT (-39.683144 -2.986187)'))) / (select extract(epoch from '2026-07-12 07:17:50'::timestamp) - extract(epoch from '2026-07-12 07:17: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'), 47857, 'SRID=4674;POINT (-39.68316 -2.98618)', '2026-07-12 07:17:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683144 -2.986187)'), GeomFromEWKT('SRID=4674;POINT (-39.68316 -2.98618)'))) / (select extract(epoch from '2026-07-12 07:17:58'::timestamp) - extract(epoch from '2026-07-12 07:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683144 -2.986187)'), GeomFromEWKT('SRID=4674;POINT (-39.68316 -2.98618)'))) / (select extract(epoch from '2026-07-12 07:17:58'::timestamp) - extract(epoch from '2026-07-12 07:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68318 -2.986178)', '2026-07-12 07:18:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68316 -2.98618)'), GeomFromEWKT('SRID=4674;POINT (-39.68318 -2.986178)'))) / (select extract(epoch from '2026-07-12 07:18:08'::timestamp) - extract(epoch from '2026-07-12 07:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68316 -2.98618)'), GeomFromEWKT('SRID=4674;POINT (-39.68318 -2.986178)'))) / (select extract(epoch from '2026-07-12 07:18:08'::timestamp) - extract(epoch from '2026-07-12 07:17: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'), 47857, 'SRID=4674;POINT (-39.6832 -2.986176)', '2026-07-12 07:18:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68318 -2.986178)'), GeomFromEWKT('SRID=4674;POINT (-39.6832 -2.986176)'))) / (select extract(epoch from '2026-07-12 07:18:19'::timestamp) - extract(epoch from '2026-07-12 07:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68318 -2.986178)'), GeomFromEWKT('SRID=4674;POINT (-39.6832 -2.986176)'))) / (select extract(epoch from '2026-07-12 07:18:19'::timestamp) - extract(epoch from '2026-07-12 07:18: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'), 47857, 'SRID=4674;POINT (-39.683214 -2.986173)', '2026-07-12 07:18:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6832 -2.986176)'), GeomFromEWKT('SRID=4674;POINT (-39.683214 -2.986173)'))) / (select extract(epoch from '2026-07-12 07:18:28'::timestamp) - extract(epoch from '2026-07-12 07:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6832 -2.986176)'), GeomFromEWKT('SRID=4674;POINT (-39.683214 -2.986173)'))) / (select extract(epoch from '2026-07-12 07:18:28'::timestamp) - extract(epoch from '2026-07-12 07:18: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'), 47857, 'SRID=4674;POINT (-39.683241 -2.986143)', '2026-07-12 07:18:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683214 -2.986173)'), GeomFromEWKT('SRID=4674;POINT (-39.683241 -2.986143)'))) / (select extract(epoch from '2026-07-12 07:18:38'::timestamp) - extract(epoch from '2026-07-12 07:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683214 -2.986173)'), GeomFromEWKT('SRID=4674;POINT (-39.683241 -2.986143)'))) / (select extract(epoch from '2026-07-12 07:18:38'::timestamp) - extract(epoch from '2026-07-12 07:18: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'), 47857, 'SRID=4674;POINT (-39.683258 -2.986124)', '2026-07-12 07:18:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683241 -2.986143)'), GeomFromEWKT('SRID=4674;POINT (-39.683258 -2.986124)'))) / (select extract(epoch from '2026-07-12 07:18:49'::timestamp) - extract(epoch from '2026-07-12 07:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683241 -2.986143)'), GeomFromEWKT('SRID=4674;POINT (-39.683258 -2.986124)'))) / (select extract(epoch from '2026-07-12 07:18:49'::timestamp) - extract(epoch from '2026-07-12 07:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683289 -2.986121)', '2026-07-12 07:19:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683258 -2.986124)'), GeomFromEWKT('SRID=4674;POINT (-39.683289 -2.986121)'))) / (select extract(epoch from '2026-07-12 07:19:00'::timestamp) - extract(epoch from '2026-07-12 07:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683258 -2.986124)'), GeomFromEWKT('SRID=4674;POINT (-39.683289 -2.986121)'))) / (select extract(epoch from '2026-07-12 07:19:00'::timestamp) - extract(epoch from '2026-07-12 07:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683305 -2.986117)', '2026-07-12 07:19:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683289 -2.986121)'), GeomFromEWKT('SRID=4674;POINT (-39.683305 -2.986117)'))) / (select extract(epoch from '2026-07-12 07:19:07'::timestamp) - extract(epoch from '2026-07-12 07:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683289 -2.986121)'), GeomFromEWKT('SRID=4674;POINT (-39.683305 -2.986117)'))) / (select extract(epoch from '2026-07-12 07:19:07'::timestamp) - extract(epoch from '2026-07-12 07:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.68334 -2.986108)', '2026-07-12 07:19:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683305 -2.986117)'), GeomFromEWKT('SRID=4674;POINT (-39.68334 -2.986108)'))) / (select extract(epoch from '2026-07-12 07:19:18'::timestamp) - extract(epoch from '2026-07-12 07:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683305 -2.986117)'), GeomFromEWKT('SRID=4674;POINT (-39.68334 -2.986108)'))) / (select extract(epoch from '2026-07-12 07:19:18'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.683365 -2.986105)', '2026-07-12 07:19:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68334 -2.986108)'), GeomFromEWKT('SRID=4674;POINT (-39.683365 -2.986105)'))) / (select extract(epoch from '2026-07-12 07:19:26'::timestamp) - extract(epoch from '2026-07-12 07:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68334 -2.986108)'), GeomFromEWKT('SRID=4674;POINT (-39.683365 -2.986105)'))) / (select extract(epoch from '2026-07-12 07:19:26'::timestamp) - extract(epoch from '2026-07-12 07:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683399 -2.986096)', '2026-07-12 07:19:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683365 -2.986105)'), GeomFromEWKT('SRID=4674;POINT (-39.683399 -2.986096)'))) / (select extract(epoch from '2026-07-12 07:19:38'::timestamp) - extract(epoch from '2026-07-12 07:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683365 -2.986105)'), GeomFromEWKT('SRID=4674;POINT (-39.683399 -2.986096)'))) / (select extract(epoch from '2026-07-12 07:19:38'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.683434 -2.986089)', '2026-07-12 07:19:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683399 -2.986096)'), GeomFromEWKT('SRID=4674;POINT (-39.683434 -2.986089)'))) / (select extract(epoch from '2026-07-12 07:19:47'::timestamp) - extract(epoch from '2026-07-12 07:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683399 -2.986096)'), GeomFromEWKT('SRID=4674;POINT (-39.683434 -2.986089)'))) / (select extract(epoch from '2026-07-12 07:19:47'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.683462 -2.98608)', '2026-07-12 07:19:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683434 -2.986089)'), GeomFromEWKT('SRID=4674;POINT (-39.683462 -2.98608)'))) / (select extract(epoch from '2026-07-12 07:19:57'::timestamp) - extract(epoch from '2026-07-12 07:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683434 -2.986089)'), GeomFromEWKT('SRID=4674;POINT (-39.683462 -2.98608)'))) / (select extract(epoch from '2026-07-12 07:19:57'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.683664 -2.985911)', '2026-07-12 07:22:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683462 -2.98608)'), GeomFromEWKT('SRID=4674;POINT (-39.683664 -2.985911)'))) / (select extract(epoch from '2026-07-12 07:22:43'::timestamp) - extract(epoch from '2026-07-12 07:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683462 -2.98608)'), GeomFromEWKT('SRID=4674;POINT (-39.683664 -2.985911)'))) / (select extract(epoch from '2026-07-12 07:22:43'::timestamp) - extract(epoch from '2026-07-12 07:19: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'), 47857, 'SRID=4674;POINT (-39.683662 -2.985905)', '2026-07-12 07:22:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683664 -2.985911)'), GeomFromEWKT('SRID=4674;POINT (-39.683662 -2.985905)'))) / (select extract(epoch from '2026-07-12 07:22:48'::timestamp) - extract(epoch from '2026-07-12 07:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683664 -2.985911)'), GeomFromEWKT('SRID=4674;POINT (-39.683662 -2.985905)'))) / (select extract(epoch from '2026-07-12 07:22:48'::timestamp) - extract(epoch from '2026-07-12 07:22: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'), 47857, 'SRID=4674;POINT (-39.683659 -2.98589)', '2026-07-12 07:22:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683662 -2.985905)'), GeomFromEWKT('SRID=4674;POINT (-39.683659 -2.98589)'))) / (select extract(epoch from '2026-07-12 07:22:56'::timestamp) - extract(epoch from '2026-07-12 07:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683662 -2.985905)'), GeomFromEWKT('SRID=4674;POINT (-39.683659 -2.98589)'))) / (select extract(epoch from '2026-07-12 07:22:56'::timestamp) - extract(epoch from '2026-07-12 07:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683653 -2.98587)', '2026-07-12 07:23:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683659 -2.98589)'), GeomFromEWKT('SRID=4674;POINT (-39.683653 -2.98587)'))) / (select extract(epoch from '2026-07-12 07:23:08'::timestamp) - extract(epoch from '2026-07-12 07:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683659 -2.98589)'), GeomFromEWKT('SRID=4674;POINT (-39.683653 -2.98587)'))) / (select extract(epoch from '2026-07-12 07:23:08'::timestamp) - extract(epoch from '2026-07-12 07:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683662 -2.985859)', '2026-07-12 07:23:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683653 -2.98587)'), GeomFromEWKT('SRID=4674;POINT (-39.683662 -2.985859)'))) / (select extract(epoch from '2026-07-12 07:23:20'::timestamp) - extract(epoch from '2026-07-12 07:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683653 -2.98587)'), GeomFromEWKT('SRID=4674;POINT (-39.683662 -2.985859)'))) / (select extract(epoch from '2026-07-12 07:23:20'::timestamp) - extract(epoch from '2026-07-12 07:23: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'), 47857, 'SRID=4674;POINT (-39.683643 -2.985857)', '2026-07-12 07:23:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683662 -2.985859)'), GeomFromEWKT('SRID=4674;POINT (-39.683643 -2.985857)'))) / (select extract(epoch from '2026-07-12 07:23:36'::timestamp) - extract(epoch from '2026-07-12 07:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683662 -2.985859)'), GeomFromEWKT('SRID=4674;POINT (-39.683643 -2.985857)'))) / (select extract(epoch from '2026-07-12 07:23:36'::timestamp) - extract(epoch from '2026-07-12 07:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683635 -2.985843)', '2026-07-12 07:23:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683643 -2.985857)'), GeomFromEWKT('SRID=4674;POINT (-39.683635 -2.985843)'))) / (select extract(epoch from '2026-07-12 07:23:45'::timestamp) - extract(epoch from '2026-07-12 07:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683643 -2.985857)'), GeomFromEWKT('SRID=4674;POINT (-39.683635 -2.985843)'))) / (select extract(epoch from '2026-07-12 07:23:45'::timestamp) - extract(epoch from '2026-07-12 07:23: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'), 47857, 'SRID=4674;POINT (-39.683638 -2.985826)', '2026-07-12 07:23:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683635 -2.985843)'), GeomFromEWKT('SRID=4674;POINT (-39.683638 -2.985826)'))) / (select extract(epoch from '2026-07-12 07:23:58'::timestamp) - extract(epoch from '2026-07-12 07:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683635 -2.985843)'), GeomFromEWKT('SRID=4674;POINT (-39.683638 -2.985826)'))) / (select extract(epoch from '2026-07-12 07:23:58'::timestamp) - extract(epoch from '2026-07-12 07:23: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'), 47857, 'SRID=4674;POINT (-39.683626 -2.985813)', '2026-07-12 07:24:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683638 -2.985826)'), GeomFromEWKT('SRID=4674;POINT (-39.683626 -2.985813)'))) / (select extract(epoch from '2026-07-12 07:24:11'::timestamp) - extract(epoch from '2026-07-12 07:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683638 -2.985826)'), GeomFromEWKT('SRID=4674;POINT (-39.683626 -2.985813)'))) / (select extract(epoch from '2026-07-12 07:24:11'::timestamp) - extract(epoch from '2026-07-12 07:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683615 -2.985808)', '2026-07-12 07:24:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683626 -2.985813)'), GeomFromEWKT('SRID=4674;POINT (-39.683615 -2.985808)'))) / (select extract(epoch from '2026-07-12 07:24:20'::timestamp) - extract(epoch from '2026-07-12 07:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683626 -2.985813)'), GeomFromEWKT('SRID=4674;POINT (-39.683615 -2.985808)'))) / (select extract(epoch from '2026-07-12 07:24:20'::timestamp) - extract(epoch from '2026-07-12 07:24: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'), 47857, 'SRID=4674;POINT (-39.683612 -2.985806)', '2026-07-12 07:24:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683615 -2.985808)'), GeomFromEWKT('SRID=4674;POINT (-39.683612 -2.985806)'))) / (select extract(epoch from '2026-07-12 07:24:28'::timestamp) - extract(epoch from '2026-07-12 07:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683615 -2.985808)'), GeomFromEWKT('SRID=4674;POINT (-39.683612 -2.985806)'))) / (select extract(epoch from '2026-07-12 07:24:28'::timestamp) - extract(epoch from '2026-07-12 07:24: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'), 47857, 'SRID=4674;POINT (-39.683608 -2.985796)', '2026-07-12 07:24:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683612 -2.985806)'), GeomFromEWKT('SRID=4674;POINT (-39.683608 -2.985796)'))) / (select extract(epoch from '2026-07-12 07:24:44'::timestamp) - extract(epoch from '2026-07-12 07:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683612 -2.985806)'), GeomFromEWKT('SRID=4674;POINT (-39.683608 -2.985796)'))) / (select extract(epoch from '2026-07-12 07:24:44'::timestamp) - extract(epoch from '2026-07-12 07:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47857, 'SRID=4674;POINT (-39.683666 -2.985879)', '2026-07-12 07:34:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683608 -2.985796)'), GeomFromEWKT('SRID=4674;POINT (-39.683666 -2.985879)'))) / (select extract(epoch from '2026-07-12 07:34:52'::timestamp) - extract(epoch from '2026-07-12 07:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683608 -2.985796)'), GeomFromEWKT('SRID=4674;POINT (-39.683666 -2.985879)'))) / (select extract(epoch from '2026-07-12 07:34:52'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.683697 -2.985966)', '2026-07-12 07:44:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683666 -2.985879)'), GeomFromEWKT('SRID=4674;POINT (-39.683697 -2.985966)'))) / (select extract(epoch from '2026-07-12 07:44:55'::timestamp) - extract(epoch from '2026-07-12 07:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683666 -2.985879)'), GeomFromEWKT('SRID=4674;POINT (-39.683697 -2.985966)'))) / (select extract(epoch from '2026-07-12 07:44:55'::timestamp) - extract(epoch from '2026-07-12 07: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'), 47857, 'SRID=4674;POINT (-39.683601 -2.985909)', '2026-07-12 07:54:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683697 -2.985966)'), GeomFromEWKT('SRID=4674;POINT (-39.683601 -2.985909)'))) / (select extract(epoch from '2026-07-12 07:54:50'::timestamp) - extract(epoch from '2026-07-12 07:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683697 -2.985966)'), GeomFromEWKT('SRID=4674;POINT (-39.683601 -2.985909)'))) / (select extract(epoch from '2026-07-12 07:54:50'::timestamp) - extract(epoch from '2026-07-12 07:44: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'), 47857, 'SRID=4674;POINT (-39.691823 -2.991482)', '2026-07-12 08:04:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683601 -2.985909)'), GeomFromEWKT('SRID=4674;POINT (-39.691823 -2.991482)'))) / (select extract(epoch from '2026-07-12 08:04:59'::timestamp) - extract(epoch from '2026-07-12 07:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683601 -2.985909)'), GeomFromEWKT('SRID=4674;POINT (-39.691823 -2.991482)'))) / (select extract(epoch from '2026-07-12 08:04:59'::timestamp) - extract(epoch from '2026-07-12 07:54: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'), 47857, 'SRID=4674;POINT (-39.696079 -2.997524)', '2026-07-12 08:14:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691823 -2.991482)'), GeomFromEWKT('SRID=4674;POINT (-39.696079 -2.997524)'))) / (select extract(epoch from '2026-07-12 08:14:47'::timestamp) - extract(epoch from '2026-07-12 08:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691823 -2.991482)'), GeomFromEWKT('SRID=4674;POINT (-39.696079 -2.997524)'))) / (select extract(epoch from '2026-07-12 08:14:47'::timestamp) - extract(epoch from '2026-07-12 08:04: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'), 47857, 'SRID=4674;POINT (-39.69611 -2.997525)', '2026-07-12 08:20:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696079 -2.997524)'), GeomFromEWKT('SRID=4674;POINT (-39.69611 -2.997525)'))) / (select extract(epoch from '2026-07-12 08:20:37'::timestamp) - extract(epoch from '2026-07-12 08:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696079 -2.997524)'), GeomFromEWKT('SRID=4674;POINT (-39.69611 -2.997525)'))) / (select extract(epoch from '2026-07-12 08:20:37'::timestamp) - extract(epoch from '2026-07-12 08:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
