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'), 47637, 'SRID=4674;POINT (-40.352966 -2.805583)', '2026-07-08 02:22:04', 5, 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'), 47637, 'SRID=4674;POINT (-40.352811 -2.805472)', '2026-07-08 02:22:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352966 -2.805583)'), GeomFromEWKT('SRID=4674;POINT (-40.352811 -2.805472)'))) / (select extract(epoch from '2026-07-08 02:22:13'::timestamp) - extract(epoch from '2026-07-08 02:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352966 -2.805583)'), GeomFromEWKT('SRID=4674;POINT (-40.352811 -2.805472)'))) / (select extract(epoch from '2026-07-08 02:22:13'::timestamp) - extract(epoch from '2026-07-08 02:22: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'), 47637, 'SRID=4674;POINT (-40.352628 -2.805362)', '2026-07-08 02:22:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352811 -2.805472)'), GeomFromEWKT('SRID=4674;POINT (-40.352628 -2.805362)'))) / (select extract(epoch from '2026-07-08 02:22:23'::timestamp) - extract(epoch from '2026-07-08 02:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352811 -2.805472)'), GeomFromEWKT('SRID=4674;POINT (-40.352628 -2.805362)'))) / (select extract(epoch from '2026-07-08 02:22:23'::timestamp) - extract(epoch from '2026-07-08 02:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.352457 -2.805272)', '2026-07-08 02:22:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352628 -2.805362)'), GeomFromEWKT('SRID=4674;POINT (-40.352457 -2.805272)'))) / (select extract(epoch from '2026-07-08 02:22:32'::timestamp) - extract(epoch from '2026-07-08 02:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352628 -2.805362)'), GeomFromEWKT('SRID=4674;POINT (-40.352457 -2.805272)'))) / (select extract(epoch from '2026-07-08 02:22:32'::timestamp) - extract(epoch from '2026-07-08 02:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.35227 -2.805171)', '2026-07-08 02:22:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352457 -2.805272)'), GeomFromEWKT('SRID=4674;POINT (-40.35227 -2.805171)'))) / (select extract(epoch from '2026-07-08 02:22:42'::timestamp) - extract(epoch from '2026-07-08 02:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352457 -2.805272)'), GeomFromEWKT('SRID=4674;POINT (-40.35227 -2.805171)'))) / (select extract(epoch from '2026-07-08 02:22:42'::timestamp) - extract(epoch from '2026-07-08 02:22: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'), 47637, 'SRID=4674;POINT (-40.352106 -2.80508)', '2026-07-08 02:22:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35227 -2.805171)'), GeomFromEWKT('SRID=4674;POINT (-40.352106 -2.80508)'))) / (select extract(epoch from '2026-07-08 02:22:51'::timestamp) - extract(epoch from '2026-07-08 02:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35227 -2.805171)'), GeomFromEWKT('SRID=4674;POINT (-40.352106 -2.80508)'))) / (select extract(epoch from '2026-07-08 02:22:51'::timestamp) - extract(epoch from '2026-07-08 02:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.351958 -2.805009)', '2026-07-08 02:22:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352106 -2.80508)'), GeomFromEWKT('SRID=4674;POINT (-40.351958 -2.805009)'))) / (select extract(epoch from '2026-07-08 02:22:59'::timestamp) - extract(epoch from '2026-07-08 02:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352106 -2.80508)'), GeomFromEWKT('SRID=4674;POINT (-40.351958 -2.805009)'))) / (select extract(epoch from '2026-07-08 02:22:59'::timestamp) - extract(epoch from '2026-07-08 02:22: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'), 47637, 'SRID=4674;POINT (-40.351746 -2.804902)', '2026-07-08 02:23:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351958 -2.805009)'), GeomFromEWKT('SRID=4674;POINT (-40.351746 -2.804902)'))) / (select extract(epoch from '2026-07-08 02:23:10'::timestamp) - extract(epoch from '2026-07-08 02:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351958 -2.805009)'), GeomFromEWKT('SRID=4674;POINT (-40.351746 -2.804902)'))) / (select extract(epoch from '2026-07-08 02:23:10'::timestamp) - extract(epoch from '2026-07-08 02:22: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'), 47637, 'SRID=4674;POINT (-40.351519 -2.8048)', '2026-07-08 02:23:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351746 -2.804902)'), GeomFromEWKT('SRID=4674;POINT (-40.351519 -2.8048)'))) / (select extract(epoch from '2026-07-08 02:23:22'::timestamp) - extract(epoch from '2026-07-08 02:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351746 -2.804902)'), GeomFromEWKT('SRID=4674;POINT (-40.351519 -2.8048)'))) / (select extract(epoch from '2026-07-08 02:23:22'::timestamp) - extract(epoch from '2026-07-08 02:23: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'), 47637, 'SRID=4674;POINT (-40.351374 -2.804721)', '2026-07-08 02:23:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351519 -2.8048)'), GeomFromEWKT('SRID=4674;POINT (-40.351374 -2.804721)'))) / (select extract(epoch from '2026-07-08 02:23:30'::timestamp) - extract(epoch from '2026-07-08 02:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351519 -2.8048)'), GeomFromEWKT('SRID=4674;POINT (-40.351374 -2.804721)'))) / (select extract(epoch from '2026-07-08 02:23:30'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.351188 -2.804622)', '2026-07-08 02:23:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351374 -2.804721)'), GeomFromEWKT('SRID=4674;POINT (-40.351188 -2.804622)'))) / (select extract(epoch from '2026-07-08 02:23:40'::timestamp) - extract(epoch from '2026-07-08 02:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351374 -2.804721)'), GeomFromEWKT('SRID=4674;POINT (-40.351188 -2.804622)'))) / (select extract(epoch from '2026-07-08 02:23:40'::timestamp) - extract(epoch from '2026-07-08 02:23: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'), 47637, 'SRID=4674;POINT (-40.350997 -2.804533)', '2026-07-08 02:23:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351188 -2.804622)'), GeomFromEWKT('SRID=4674;POINT (-40.350997 -2.804533)'))) / (select extract(epoch from '2026-07-08 02:23:50'::timestamp) - extract(epoch from '2026-07-08 02:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351188 -2.804622)'), GeomFromEWKT('SRID=4674;POINT (-40.350997 -2.804533)'))) / (select extract(epoch from '2026-07-08 02:23:50'::timestamp) - extract(epoch from '2026-07-08 02:23: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'), 47637, 'SRID=4674;POINT (-40.350785 -2.804442)', '2026-07-08 02:24:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350997 -2.804533)'), GeomFromEWKT('SRID=4674;POINT (-40.350785 -2.804442)'))) / (select extract(epoch from '2026-07-08 02:24:01'::timestamp) - extract(epoch from '2026-07-08 02:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350997 -2.804533)'), GeomFromEWKT('SRID=4674;POINT (-40.350785 -2.804442)'))) / (select extract(epoch from '2026-07-08 02:24:01'::timestamp) - extract(epoch from '2026-07-08 02:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.350627 -2.804349)', '2026-07-08 02:24:10', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350785 -2.804442)'), GeomFromEWKT('SRID=4674;POINT (-40.350627 -2.804349)'))) / (select extract(epoch from '2026-07-08 02:24:10'::timestamp) - extract(epoch from '2026-07-08 02:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350785 -2.804442)'), GeomFromEWKT('SRID=4674;POINT (-40.350627 -2.804349)'))) / (select extract(epoch from '2026-07-08 02:24:10'::timestamp) - extract(epoch from '2026-07-08 02:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.350471 -2.804236)', '2026-07-08 02:24:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350627 -2.804349)'), GeomFromEWKT('SRID=4674;POINT (-40.350471 -2.804236)'))) / (select extract(epoch from '2026-07-08 02:24:19'::timestamp) - extract(epoch from '2026-07-08 02:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350627 -2.804349)'), GeomFromEWKT('SRID=4674;POINT (-40.350471 -2.804236)'))) / (select extract(epoch from '2026-07-08 02:24:19'::timestamp) - extract(epoch from '2026-07-08 02:24: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'), 47637, 'SRID=4674;POINT (-40.350283 -2.804126)', '2026-07-08 02:24:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350471 -2.804236)'), GeomFromEWKT('SRID=4674;POINT (-40.350283 -2.804126)'))) / (select extract(epoch from '2026-07-08 02:24:29'::timestamp) - extract(epoch from '2026-07-08 02:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350471 -2.804236)'), GeomFromEWKT('SRID=4674;POINT (-40.350283 -2.804126)'))) / (select extract(epoch from '2026-07-08 02:24:29'::timestamp) - extract(epoch from '2026-07-08 02:24: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'), 47637, 'SRID=4674;POINT (-40.35009 -2.804)', '2026-07-08 02:24:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350283 -2.804126)'), GeomFromEWKT('SRID=4674;POINT (-40.35009 -2.804)'))) / (select extract(epoch from '2026-07-08 02:24:40'::timestamp) - extract(epoch from '2026-07-08 02:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350283 -2.804126)'), GeomFromEWKT('SRID=4674;POINT (-40.35009 -2.804)'))) / (select extract(epoch from '2026-07-08 02:24:40'::timestamp) - extract(epoch from '2026-07-08 02:24: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'), 47637, 'SRID=4674;POINT (-40.34993 -2.803908)', '2026-07-08 02:24:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35009 -2.804)'), GeomFromEWKT('SRID=4674;POINT (-40.34993 -2.803908)'))) / (select extract(epoch from '2026-07-08 02:24:49'::timestamp) - extract(epoch from '2026-07-08 02:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35009 -2.804)'), GeomFromEWKT('SRID=4674;POINT (-40.34993 -2.803908)'))) / (select extract(epoch from '2026-07-08 02:24:49'::timestamp) - extract(epoch from '2026-07-08 02:24: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'), 47637, 'SRID=4674;POINT (-40.349742 -2.803816)', '2026-07-08 02:24:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34993 -2.803908)'), GeomFromEWKT('SRID=4674;POINT (-40.349742 -2.803816)'))) / (select extract(epoch from '2026-07-08 02:24:59'::timestamp) - extract(epoch from '2026-07-08 02:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34993 -2.803908)'), GeomFromEWKT('SRID=4674;POINT (-40.349742 -2.803816)'))) / (select extract(epoch from '2026-07-08 02:24:59'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.349595 -2.803738)', '2026-07-08 02:25:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349742 -2.803816)'), GeomFromEWKT('SRID=4674;POINT (-40.349595 -2.803738)'))) / (select extract(epoch from '2026-07-08 02:25:07'::timestamp) - extract(epoch from '2026-07-08 02:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349742 -2.803816)'), GeomFromEWKT('SRID=4674;POINT (-40.349595 -2.803738)'))) / (select extract(epoch from '2026-07-08 02:25:07'::timestamp) - extract(epoch from '2026-07-08 02:24: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'), 47637, 'SRID=4674;POINT (-40.349391 -2.803619)', '2026-07-08 02:25:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349595 -2.803738)'), GeomFromEWKT('SRID=4674;POINT (-40.349391 -2.803619)'))) / (select extract(epoch from '2026-07-08 02:25:18'::timestamp) - extract(epoch from '2026-07-08 02:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349595 -2.803738)'), GeomFromEWKT('SRID=4674;POINT (-40.349391 -2.803619)'))) / (select extract(epoch from '2026-07-08 02:25:18'::timestamp) - extract(epoch from '2026-07-08 02:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.349187 -2.803505)', '2026-07-08 02:25:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349391 -2.803619)'), GeomFromEWKT('SRID=4674;POINT (-40.349187 -2.803505)'))) / (select extract(epoch from '2026-07-08 02:25:29'::timestamp) - extract(epoch from '2026-07-08 02:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349391 -2.803619)'), GeomFromEWKT('SRID=4674;POINT (-40.349187 -2.803505)'))) / (select extract(epoch from '2026-07-08 02:25:29'::timestamp) - extract(epoch from '2026-07-08 02:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.348994 -2.803376)', '2026-07-08 02:25:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349187 -2.803505)'), GeomFromEWKT('SRID=4674;POINT (-40.348994 -2.803376)'))) / (select extract(epoch from '2026-07-08 02:25:40'::timestamp) - extract(epoch from '2026-07-08 02:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349187 -2.803505)'), GeomFromEWKT('SRID=4674;POINT (-40.348994 -2.803376)'))) / (select extract(epoch from '2026-07-08 02:25:40'::timestamp) - extract(epoch from '2026-07-08 02:25: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'), 47637, 'SRID=4674;POINT (-40.348829 -2.803325)', '2026-07-08 02:25:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348994 -2.803376)'), GeomFromEWKT('SRID=4674;POINT (-40.348829 -2.803325)'))) / (select extract(epoch from '2026-07-08 02:25:48'::timestamp) - extract(epoch from '2026-07-08 02:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348994 -2.803376)'), GeomFromEWKT('SRID=4674;POINT (-40.348829 -2.803325)'))) / (select extract(epoch from '2026-07-08 02:25:48'::timestamp) - extract(epoch from '2026-07-08 02:25: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'), 47637, 'SRID=4674;POINT (-40.34859 -2.80322)', '2026-07-08 02:26:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348829 -2.803325)'), GeomFromEWKT('SRID=4674;POINT (-40.34859 -2.80322)'))) / (select extract(epoch from '2026-07-08 02:26:00'::timestamp) - extract(epoch from '2026-07-08 02:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348829 -2.803325)'), GeomFromEWKT('SRID=4674;POINT (-40.34859 -2.80322)'))) / (select extract(epoch from '2026-07-08 02:26:00'::timestamp) - extract(epoch from '2026-07-08 02:25: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'), 47637, 'SRID=4674;POINT (-40.348365 -2.803104)', '2026-07-08 02:26:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34859 -2.80322)'), GeomFromEWKT('SRID=4674;POINT (-40.348365 -2.803104)'))) / (select extract(epoch from '2026-07-08 02:26:12'::timestamp) - extract(epoch from '2026-07-08 02:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34859 -2.80322)'), GeomFromEWKT('SRID=4674;POINT (-40.348365 -2.803104)'))) / (select extract(epoch from '2026-07-08 02:26:12'::timestamp) - extract(epoch from '2026-07-08 02:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.34818 -2.803021)', '2026-07-08 02:26:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348365 -2.803104)'), GeomFromEWKT('SRID=4674;POINT (-40.34818 -2.803021)'))) / (select extract(epoch from '2026-07-08 02:26:22'::timestamp) - extract(epoch from '2026-07-08 02:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348365 -2.803104)'), GeomFromEWKT('SRID=4674;POINT (-40.34818 -2.803021)'))) / (select extract(epoch from '2026-07-08 02:26:22'::timestamp) - extract(epoch from '2026-07-08 02:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.347935 -2.80292)', '2026-07-08 02:26:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34818 -2.803021)'), GeomFromEWKT('SRID=4674;POINT (-40.347935 -2.80292)'))) / (select extract(epoch from '2026-07-08 02:26:34'::timestamp) - extract(epoch from '2026-07-08 02:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34818 -2.803021)'), GeomFromEWKT('SRID=4674;POINT (-40.347935 -2.80292)'))) / (select extract(epoch from '2026-07-08 02:26:34'::timestamp) - extract(epoch from '2026-07-08 02:26: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'), 47637, 'SRID=4674;POINT (-40.34777 -2.802839)', '2026-07-08 02:26:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347935 -2.80292)'), GeomFromEWKT('SRID=4674;POINT (-40.34777 -2.802839)'))) / (select extract(epoch from '2026-07-08 02:26:43'::timestamp) - extract(epoch from '2026-07-08 02:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347935 -2.80292)'), GeomFromEWKT('SRID=4674;POINT (-40.34777 -2.802839)'))) / (select extract(epoch from '2026-07-08 02:26:43'::timestamp) - extract(epoch from '2026-07-08 02:26: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'), 47637, 'SRID=4674;POINT (-40.347534 -2.802714)', '2026-07-08 02:26:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34777 -2.802839)'), GeomFromEWKT('SRID=4674;POINT (-40.347534 -2.802714)'))) / (select extract(epoch from '2026-07-08 02:26:55'::timestamp) - extract(epoch from '2026-07-08 02:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34777 -2.802839)'), GeomFromEWKT('SRID=4674;POINT (-40.347534 -2.802714)'))) / (select extract(epoch from '2026-07-08 02:26:55'::timestamp) - extract(epoch from '2026-07-08 02:26: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'), 47637, 'SRID=4674;POINT (-40.347345 -2.802614)', '2026-07-08 02:27:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347534 -2.802714)'), GeomFromEWKT('SRID=4674;POINT (-40.347345 -2.802614)'))) / (select extract(epoch from '2026-07-08 02:27:05'::timestamp) - extract(epoch from '2026-07-08 02:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347534 -2.802714)'), GeomFromEWKT('SRID=4674;POINT (-40.347345 -2.802614)'))) / (select extract(epoch from '2026-07-08 02:27:05'::timestamp) - extract(epoch from '2026-07-08 02:26: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'), 47637, 'SRID=4674;POINT (-40.347163 -2.802526)', '2026-07-08 02:27:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347345 -2.802614)'), GeomFromEWKT('SRID=4674;POINT (-40.347163 -2.802526)'))) / (select extract(epoch from '2026-07-08 02:27:15'::timestamp) - extract(epoch from '2026-07-08 02:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347345 -2.802614)'), GeomFromEWKT('SRID=4674;POINT (-40.347163 -2.802526)'))) / (select extract(epoch from '2026-07-08 02:27:15'::timestamp) - extract(epoch from '2026-07-08 02:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.347016 -2.802447)', '2026-07-08 02:27:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347163 -2.802526)'), GeomFromEWKT('SRID=4674;POINT (-40.347016 -2.802447)'))) / (select extract(epoch from '2026-07-08 02:27:23'::timestamp) - extract(epoch from '2026-07-08 02:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347163 -2.802526)'), GeomFromEWKT('SRID=4674;POINT (-40.347016 -2.802447)'))) / (select extract(epoch from '2026-07-08 02:27:23'::timestamp) - extract(epoch from '2026-07-08 02:27: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'), 47637, 'SRID=4674;POINT (-40.346832 -2.80235)', '2026-07-08 02:27:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347016 -2.802447)'), GeomFromEWKT('SRID=4674;POINT (-40.346832 -2.80235)'))) / (select extract(epoch from '2026-07-08 02:27:33'::timestamp) - extract(epoch from '2026-07-08 02:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347016 -2.802447)'), GeomFromEWKT('SRID=4674;POINT (-40.346832 -2.80235)'))) / (select extract(epoch from '2026-07-08 02:27:33'::timestamp) - extract(epoch from '2026-07-08 02:27: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'), 47637, 'SRID=4674;POINT (-40.346654 -2.802267)', '2026-07-08 02:27:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346832 -2.80235)'), GeomFromEWKT('SRID=4674;POINT (-40.346654 -2.802267)'))) / (select extract(epoch from '2026-07-08 02:27:42'::timestamp) - extract(epoch from '2026-07-08 02:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346832 -2.80235)'), GeomFromEWKT('SRID=4674;POINT (-40.346654 -2.802267)'))) / (select extract(epoch from '2026-07-08 02:27:42'::timestamp) - extract(epoch from '2026-07-08 02:27: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'), 47637, 'SRID=4674;POINT (-40.346445 -2.80215)', '2026-07-08 02:27:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346654 -2.802267)'), GeomFromEWKT('SRID=4674;POINT (-40.346445 -2.80215)'))) / (select extract(epoch from '2026-07-08 02:27:53'::timestamp) - extract(epoch from '2026-07-08 02:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346654 -2.802267)'), GeomFromEWKT('SRID=4674;POINT (-40.346445 -2.80215)'))) / (select extract(epoch from '2026-07-08 02:27:53'::timestamp) - extract(epoch from '2026-07-08 02:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.346254 -2.802053)', '2026-07-08 02:28:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346445 -2.80215)'), GeomFromEWKT('SRID=4674;POINT (-40.346254 -2.802053)'))) / (select extract(epoch from '2026-07-08 02:28:03'::timestamp) - extract(epoch from '2026-07-08 02:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346445 -2.80215)'), GeomFromEWKT('SRID=4674;POINT (-40.346254 -2.802053)'))) / (select extract(epoch from '2026-07-08 02:28:03'::timestamp) - extract(epoch from '2026-07-08 02:27: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'), 47637, 'SRID=4674;POINT (-40.346065 -2.801971)', '2026-07-08 02:28:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346254 -2.802053)'), GeomFromEWKT('SRID=4674;POINT (-40.346065 -2.801971)'))) / (select extract(epoch from '2026-07-08 02:28:13'::timestamp) - extract(epoch from '2026-07-08 02:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346254 -2.802053)'), GeomFromEWKT('SRID=4674;POINT (-40.346065 -2.801971)'))) / (select extract(epoch from '2026-07-08 02:28:13'::timestamp) - extract(epoch from '2026-07-08 02:28: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'), 47637, 'SRID=4674;POINT (-40.345883 -2.801903)', '2026-07-08 02:28:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346065 -2.801971)'), GeomFromEWKT('SRID=4674;POINT (-40.345883 -2.801903)'))) / (select extract(epoch from '2026-07-08 02:28:22'::timestamp) - extract(epoch from '2026-07-08 02:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346065 -2.801971)'), GeomFromEWKT('SRID=4674;POINT (-40.345883 -2.801903)'))) / (select extract(epoch from '2026-07-08 02:28:22'::timestamp) - extract(epoch from '2026-07-08 02:28: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'), 47637, 'SRID=4674;POINT (-40.345675 -2.801829)', '2026-07-08 02:28:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345883 -2.801903)'), GeomFromEWKT('SRID=4674;POINT (-40.345675 -2.801829)'))) / (select extract(epoch from '2026-07-08 02:28:32'::timestamp) - extract(epoch from '2026-07-08 02:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345883 -2.801903)'), GeomFromEWKT('SRID=4674;POINT (-40.345675 -2.801829)'))) / (select extract(epoch from '2026-07-08 02:28:32'::timestamp) - extract(epoch from '2026-07-08 02:28: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'), 47637, 'SRID=4674;POINT (-40.345444 -2.801766)', '2026-07-08 02:28:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345675 -2.801829)'), GeomFromEWKT('SRID=4674;POINT (-40.345444 -2.801766)'))) / (select extract(epoch from '2026-07-08 02:28:43'::timestamp) - extract(epoch from '2026-07-08 02:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345675 -2.801829)'), GeomFromEWKT('SRID=4674;POINT (-40.345444 -2.801766)'))) / (select extract(epoch from '2026-07-08 02:28:43'::timestamp) - extract(epoch from '2026-07-08 02:28: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'), 47637, 'SRID=4674;POINT (-40.345278 -2.801741)', '2026-07-08 02:28:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345444 -2.801766)'), GeomFromEWKT('SRID=4674;POINT (-40.345278 -2.801741)'))) / (select extract(epoch from '2026-07-08 02:28:51'::timestamp) - extract(epoch from '2026-07-08 02:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345444 -2.801766)'), GeomFromEWKT('SRID=4674;POINT (-40.345278 -2.801741)'))) / (select extract(epoch from '2026-07-08 02:28:51'::timestamp) - extract(epoch from '2026-07-08 02:28: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'), 47637, 'SRID=4674;POINT (-40.345058 -2.80168)', '2026-07-08 02:29:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345278 -2.801741)'), GeomFromEWKT('SRID=4674;POINT (-40.345058 -2.80168)'))) / (select extract(epoch from '2026-07-08 02:29:02'::timestamp) - extract(epoch from '2026-07-08 02:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345278 -2.801741)'), GeomFromEWKT('SRID=4674;POINT (-40.345058 -2.80168)'))) / (select extract(epoch from '2026-07-08 02:29:02'::timestamp) - extract(epoch from '2026-07-08 02:28: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'), 47637, 'SRID=4674;POINT (-40.344852 -2.801612)', '2026-07-08 02:29:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345058 -2.80168)'), GeomFromEWKT('SRID=4674;POINT (-40.344852 -2.801612)'))) / (select extract(epoch from '2026-07-08 02:29:12'::timestamp) - extract(epoch from '2026-07-08 02:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345058 -2.80168)'), GeomFromEWKT('SRID=4674;POINT (-40.344852 -2.801612)'))) / (select extract(epoch from '2026-07-08 02:29:12'::timestamp) - extract(epoch from '2026-07-08 02:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.344706 -2.801544)', '2026-07-08 02:29:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344852 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.344706 -2.801544)'))) / (select extract(epoch from '2026-07-08 02:29:20'::timestamp) - extract(epoch from '2026-07-08 02:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344852 -2.801612)'), GeomFromEWKT('SRID=4674;POINT (-40.344706 -2.801544)'))) / (select extract(epoch from '2026-07-08 02:29:20'::timestamp) - extract(epoch from '2026-07-08 02:29: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'), 47637, 'SRID=4674;POINT (-40.344553 -2.801497)', '2026-07-08 02:29:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344706 -2.801544)'), GeomFromEWKT('SRID=4674;POINT (-40.344553 -2.801497)'))) / (select extract(epoch from '2026-07-08 02:29:28'::timestamp) - extract(epoch from '2026-07-08 02:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344706 -2.801544)'), GeomFromEWKT('SRID=4674;POINT (-40.344553 -2.801497)'))) / (select extract(epoch from '2026-07-08 02:29:28'::timestamp) - extract(epoch from '2026-07-08 02:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.344399 -2.801452)', '2026-07-08 02:29:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344553 -2.801497)'), GeomFromEWKT('SRID=4674;POINT (-40.344399 -2.801452)'))) / (select extract(epoch from '2026-07-08 02:29:36'::timestamp) - extract(epoch from '2026-07-08 02:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344553 -2.801497)'), GeomFromEWKT('SRID=4674;POINT (-40.344399 -2.801452)'))) / (select extract(epoch from '2026-07-08 02:29:36'::timestamp) - extract(epoch from '2026-07-08 02:29: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'), 47637, 'SRID=4674;POINT (-40.344212 -2.801403)', '2026-07-08 02:29:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344399 -2.801452)'), GeomFromEWKT('SRID=4674;POINT (-40.344212 -2.801403)'))) / (select extract(epoch from '2026-07-08 02:29:45'::timestamp) - extract(epoch from '2026-07-08 02:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344399 -2.801452)'), GeomFromEWKT('SRID=4674;POINT (-40.344212 -2.801403)'))) / (select extract(epoch from '2026-07-08 02:29:45'::timestamp) - extract(epoch from '2026-07-08 02:29: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'), 47637, 'SRID=4674;POINT (-40.344054 -2.801357)', '2026-07-08 02:29:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344212 -2.801403)'), GeomFromEWKT('SRID=4674;POINT (-40.344054 -2.801357)'))) / (select extract(epoch from '2026-07-08 02:29:53'::timestamp) - extract(epoch from '2026-07-08 02:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344212 -2.801403)'), GeomFromEWKT('SRID=4674;POINT (-40.344054 -2.801357)'))) / (select extract(epoch from '2026-07-08 02:29:53'::timestamp) - extract(epoch from '2026-07-08 02:29: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'), 47637, 'SRID=4674;POINT (-40.343903 -2.801319)', '2026-07-08 02:30:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344054 -2.801357)'), GeomFromEWKT('SRID=4674;POINT (-40.343903 -2.801319)'))) / (select extract(epoch from '2026-07-08 02:30:01'::timestamp) - extract(epoch from '2026-07-08 02:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344054 -2.801357)'), GeomFromEWKT('SRID=4674;POINT (-40.343903 -2.801319)'))) / (select extract(epoch from '2026-07-08 02:30:01'::timestamp) - extract(epoch from '2026-07-08 02:29: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'), 47637, 'SRID=4674;POINT (-40.343748 -2.80128)', '2026-07-08 02:30:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343903 -2.801319)'), GeomFromEWKT('SRID=4674;POINT (-40.343748 -2.80128)'))) / (select extract(epoch from '2026-07-08 02:30:09'::timestamp) - extract(epoch from '2026-07-08 02:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343903 -2.801319)'), GeomFromEWKT('SRID=4674;POINT (-40.343748 -2.80128)'))) / (select extract(epoch from '2026-07-08 02:30:09'::timestamp) - extract(epoch from '2026-07-08 02:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.34352 -2.801203)', '2026-07-08 02:30:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343748 -2.80128)'), GeomFromEWKT('SRID=4674;POINT (-40.34352 -2.801203)'))) / (select extract(epoch from '2026-07-08 02:30:21'::timestamp) - extract(epoch from '2026-07-08 02:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343748 -2.80128)'), GeomFromEWKT('SRID=4674;POINT (-40.34352 -2.801203)'))) / (select extract(epoch from '2026-07-08 02:30:21'::timestamp) - extract(epoch from '2026-07-08 02:30: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'), 47637, 'SRID=4674;POINT (-40.343368 -2.801145)', '2026-07-08 02:30:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34352 -2.801203)'), GeomFromEWKT('SRID=4674;POINT (-40.343368 -2.801145)'))) / (select extract(epoch from '2026-07-08 02:30:29'::timestamp) - extract(epoch from '2026-07-08 02:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34352 -2.801203)'), GeomFromEWKT('SRID=4674;POINT (-40.343368 -2.801145)'))) / (select extract(epoch from '2026-07-08 02:30:29'::timestamp) - extract(epoch from '2026-07-08 02:30: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'), 47637, 'SRID=4674;POINT (-40.343173 -2.80109)', '2026-07-08 02:30:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343368 -2.801145)'), GeomFromEWKT('SRID=4674;POINT (-40.343173 -2.80109)'))) / (select extract(epoch from '2026-07-08 02:30:39'::timestamp) - extract(epoch from '2026-07-08 02:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343368 -2.801145)'), GeomFromEWKT('SRID=4674;POINT (-40.343173 -2.80109)'))) / (select extract(epoch from '2026-07-08 02:30:39'::timestamp) - extract(epoch from '2026-07-08 02:30: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'), 47637, 'SRID=4674;POINT (-40.342973 -2.80103)', '2026-07-08 02:30:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343173 -2.80109)'), GeomFromEWKT('SRID=4674;POINT (-40.342973 -2.80103)'))) / (select extract(epoch from '2026-07-08 02:30:50'::timestamp) - extract(epoch from '2026-07-08 02:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343173 -2.80109)'), GeomFromEWKT('SRID=4674;POINT (-40.342973 -2.80103)'))) / (select extract(epoch from '2026-07-08 02:30:50'::timestamp) - extract(epoch from '2026-07-08 02:30: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'), 47637, 'SRID=4674;POINT (-40.342804 -2.800983)', '2026-07-08 02:30:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342973 -2.80103)'), GeomFromEWKT('SRID=4674;POINT (-40.342804 -2.800983)'))) / (select extract(epoch from '2026-07-08 02:30:59'::timestamp) - extract(epoch from '2026-07-08 02:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342973 -2.80103)'), GeomFromEWKT('SRID=4674;POINT (-40.342804 -2.800983)'))) / (select extract(epoch from '2026-07-08 02:30:59'::timestamp) - extract(epoch from '2026-07-08 02:30:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.342622 -2.800926)', '2026-07-08 02:31:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342804 -2.800983)'), GeomFromEWKT('SRID=4674;POINT (-40.342622 -2.800926)'))) / (select extract(epoch from '2026-07-08 02:31:08'::timestamp) - extract(epoch from '2026-07-08 02:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342804 -2.800983)'), GeomFromEWKT('SRID=4674;POINT (-40.342622 -2.800926)'))) / (select extract(epoch from '2026-07-08 02:31:08'::timestamp) - extract(epoch from '2026-07-08 02:30: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'), 47637, 'SRID=4674;POINT (-40.342443 -2.800874)', '2026-07-08 02:31:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342622 -2.800926)'), GeomFromEWKT('SRID=4674;POINT (-40.342443 -2.800874)'))) / (select extract(epoch from '2026-07-08 02:31:17'::timestamp) - extract(epoch from '2026-07-08 02:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342622 -2.800926)'), GeomFromEWKT('SRID=4674;POINT (-40.342443 -2.800874)'))) / (select extract(epoch from '2026-07-08 02:31:17'::timestamp) - extract(epoch from '2026-07-08 02:31: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'), 47637, 'SRID=4674;POINT (-40.342286 -2.800819)', '2026-07-08 02:31:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342443 -2.800874)'), GeomFromEWKT('SRID=4674;POINT (-40.342286 -2.800819)'))) / (select extract(epoch from '2026-07-08 02:31:25'::timestamp) - extract(epoch from '2026-07-08 02:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342443 -2.800874)'), GeomFromEWKT('SRID=4674;POINT (-40.342286 -2.800819)'))) / (select extract(epoch from '2026-07-08 02:31:25'::timestamp) - extract(epoch from '2026-07-08 02:31: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'), 47637, 'SRID=4674;POINT (-40.34211 -2.800757)', '2026-07-08 02:31:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342286 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.34211 -2.800757)'))) / (select extract(epoch from '2026-07-08 02:31:34'::timestamp) - extract(epoch from '2026-07-08 02:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342286 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.34211 -2.800757)'))) / (select extract(epoch from '2026-07-08 02:31:34'::timestamp) - extract(epoch from '2026-07-08 02:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.341872 -2.800673)', '2026-07-08 02:31:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34211 -2.800757)'), GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.800673)'))) / (select extract(epoch from '2026-07-08 02:31:46'::timestamp) - extract(epoch from '2026-07-08 02:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34211 -2.800757)'), GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.800673)'))) / (select extract(epoch from '2026-07-08 02:31:46'::timestamp) - extract(epoch from '2026-07-08 02:31: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'), 47637, 'SRID=4674;POINT (-40.341687 -2.800584)', '2026-07-08 02:31:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.800673)'), GeomFromEWKT('SRID=4674;POINT (-40.341687 -2.800584)'))) / (select extract(epoch from '2026-07-08 02:31:56'::timestamp) - extract(epoch from '2026-07-08 02:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.800673)'), GeomFromEWKT('SRID=4674;POINT (-40.341687 -2.800584)'))) / (select extract(epoch from '2026-07-08 02:31:56'::timestamp) - extract(epoch from '2026-07-08 02:31: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'), 47637, 'SRID=4674;POINT (-40.341508 -2.800501)', '2026-07-08 02:32:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341687 -2.800584)'), GeomFromEWKT('SRID=4674;POINT (-40.341508 -2.800501)'))) / (select extract(epoch from '2026-07-08 02:32:06'::timestamp) - extract(epoch from '2026-07-08 02:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341687 -2.800584)'), GeomFromEWKT('SRID=4674;POINT (-40.341508 -2.800501)'))) / (select extract(epoch from '2026-07-08 02:32:06'::timestamp) - extract(epoch from '2026-07-08 02:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.341379 -2.800455)', '2026-07-08 02:32:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341508 -2.800501)'), GeomFromEWKT('SRID=4674;POINT (-40.341379 -2.800455)'))) / (select extract(epoch from '2026-07-08 02:32:13'::timestamp) - extract(epoch from '2026-07-08 02:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341508 -2.800501)'), GeomFromEWKT('SRID=4674;POINT (-40.341379 -2.800455)'))) / (select extract(epoch from '2026-07-08 02:32:13'::timestamp) - extract(epoch from '2026-07-08 02:32: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'), 47637, 'SRID=4674;POINT (-40.341184 -2.800392)', '2026-07-08 02:32:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341379 -2.800455)'), GeomFromEWKT('SRID=4674;POINT (-40.341184 -2.800392)'))) / (select extract(epoch from '2026-07-08 02:32:23'::timestamp) - extract(epoch from '2026-07-08 02:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341379 -2.800455)'), GeomFromEWKT('SRID=4674;POINT (-40.341184 -2.800392)'))) / (select extract(epoch from '2026-07-08 02:32:23'::timestamp) - extract(epoch from '2026-07-08 02:32: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'), 47637, 'SRID=4674;POINT (-40.340981 -2.800336)', '2026-07-08 02:32:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341184 -2.800392)'), GeomFromEWKT('SRID=4674;POINT (-40.340981 -2.800336)'))) / (select extract(epoch from '2026-07-08 02:32:33'::timestamp) - extract(epoch from '2026-07-08 02:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341184 -2.800392)'), GeomFromEWKT('SRID=4674;POINT (-40.340981 -2.800336)'))) / (select extract(epoch from '2026-07-08 02:32:33'::timestamp) - extract(epoch from '2026-07-08 02:32: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'), 47637, 'SRID=4674;POINT (-40.340775 -2.800267)', '2026-07-08 02:32:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340981 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.340775 -2.800267)'))) / (select extract(epoch from '2026-07-08 02:32:43'::timestamp) - extract(epoch from '2026-07-08 02:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340981 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.340775 -2.800267)'))) / (select extract(epoch from '2026-07-08 02:32:43'::timestamp) - extract(epoch from '2026-07-08 02:32: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'), 47637, 'SRID=4674;POINT (-40.340595 -2.800208)', '2026-07-08 02:32:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340775 -2.800267)'), GeomFromEWKT('SRID=4674;POINT (-40.340595 -2.800208)'))) / (select extract(epoch from '2026-07-08 02:32:52'::timestamp) - extract(epoch from '2026-07-08 02:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340775 -2.800267)'), GeomFromEWKT('SRID=4674;POINT (-40.340595 -2.800208)'))) / (select extract(epoch from '2026-07-08 02:32:52'::timestamp) - extract(epoch from '2026-07-08 02:32: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'), 47637, 'SRID=4674;POINT (-40.340404 -2.800132)', '2026-07-08 02:33:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340595 -2.800208)'), GeomFromEWKT('SRID=4674;POINT (-40.340404 -2.800132)'))) / (select extract(epoch from '2026-07-08 02:33:02'::timestamp) - extract(epoch from '2026-07-08 02:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340595 -2.800208)'), GeomFromEWKT('SRID=4674;POINT (-40.340404 -2.800132)'))) / (select extract(epoch from '2026-07-08 02:33:02'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.340225 -2.80008)', '2026-07-08 02:33:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340404 -2.800132)'), GeomFromEWKT('SRID=4674;POINT (-40.340225 -2.80008)'))) / (select extract(epoch from '2026-07-08 02:33:11'::timestamp) - extract(epoch from '2026-07-08 02:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340404 -2.800132)'), GeomFromEWKT('SRID=4674;POINT (-40.340225 -2.80008)'))) / (select extract(epoch from '2026-07-08 02:33:11'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.34011 -2.80006)', '2026-07-08 02:33:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340225 -2.80008)'), GeomFromEWKT('SRID=4674;POINT (-40.34011 -2.80006)'))) / (select extract(epoch from '2026-07-08 02:33:17'::timestamp) - extract(epoch from '2026-07-08 02:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340225 -2.80008)'), GeomFromEWKT('SRID=4674;POINT (-40.34011 -2.80006)'))) / (select extract(epoch from '2026-07-08 02:33:17'::timestamp) - extract(epoch from '2026-07-08 02:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.339972 -2.800022)', '2026-07-08 02:33:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34011 -2.80006)'), GeomFromEWKT('SRID=4674;POINT (-40.339972 -2.800022)'))) / (select extract(epoch from '2026-07-08 02:33:25'::timestamp) - extract(epoch from '2026-07-08 02:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34011 -2.80006)'), GeomFromEWKT('SRID=4674;POINT (-40.339972 -2.800022)'))) / (select extract(epoch from '2026-07-08 02:33:25'::timestamp) - extract(epoch from '2026-07-08 02:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.339813 -2.79996)', '2026-07-08 02:33:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339972 -2.800022)'), GeomFromEWKT('SRID=4674;POINT (-40.339813 -2.79996)'))) / (select extract(epoch from '2026-07-08 02:33:34'::timestamp) - extract(epoch from '2026-07-08 02:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339972 -2.800022)'), GeomFromEWKT('SRID=4674;POINT (-40.339813 -2.79996)'))) / (select extract(epoch from '2026-07-08 02:33:34'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.339644 -2.799894)', '2026-07-08 02:33:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339813 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.339644 -2.799894)'))) / (select extract(epoch from '2026-07-08 02:33:43'::timestamp) - extract(epoch from '2026-07-08 02:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339813 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.339644 -2.799894)'))) / (select extract(epoch from '2026-07-08 02:33:43'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.339471 -2.799823)', '2026-07-08 02:33:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339644 -2.799894)'), GeomFromEWKT('SRID=4674;POINT (-40.339471 -2.799823)'))) / (select extract(epoch from '2026-07-08 02:33:52'::timestamp) - extract(epoch from '2026-07-08 02:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339644 -2.799894)'), GeomFromEWKT('SRID=4674;POINT (-40.339471 -2.799823)'))) / (select extract(epoch from '2026-07-08 02:33:52'::timestamp) - extract(epoch from '2026-07-08 02:33: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'), 47637, 'SRID=4674;POINT (-40.339313 -2.799768)', '2026-07-08 02:34:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339471 -2.799823)'), GeomFromEWKT('SRID=4674;POINT (-40.339313 -2.799768)'))) / (select extract(epoch from '2026-07-08 02:34:00'::timestamp) - extract(epoch from '2026-07-08 02:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339471 -2.799823)'), GeomFromEWKT('SRID=4674;POINT (-40.339313 -2.799768)'))) / (select extract(epoch from '2026-07-08 02:34:00'::timestamp) - extract(epoch from '2026-07-08 02:33: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'), 47637, 'SRID=4674;POINT (-40.339142 -2.799713)', '2026-07-08 02:34:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339313 -2.799768)'), GeomFromEWKT('SRID=4674;POINT (-40.339142 -2.799713)'))) / (select extract(epoch from '2026-07-08 02:34:09'::timestamp) - extract(epoch from '2026-07-08 02:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339313 -2.799768)'), GeomFromEWKT('SRID=4674;POINT (-40.339142 -2.799713)'))) / (select extract(epoch from '2026-07-08 02:34:09'::timestamp) - extract(epoch from '2026-07-08 02:34: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'), 47637, 'SRID=4674;POINT (-40.338948 -2.799664)', '2026-07-08 02:34:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339142 -2.799713)'), GeomFromEWKT('SRID=4674;POINT (-40.338948 -2.799664)'))) / (select extract(epoch from '2026-07-08 02:34:19'::timestamp) - extract(epoch from '2026-07-08 02:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339142 -2.799713)'), GeomFromEWKT('SRID=4674;POINT (-40.338948 -2.799664)'))) / (select extract(epoch from '2026-07-08 02:34:19'::timestamp) - extract(epoch from '2026-07-08 02:34: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'), 47637, 'SRID=4674;POINT (-40.338807 -2.799625)', '2026-07-08 02:34:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338948 -2.799664)'), GeomFromEWKT('SRID=4674;POINT (-40.338807 -2.799625)'))) / (select extract(epoch from '2026-07-08 02:34:26'::timestamp) - extract(epoch from '2026-07-08 02:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338948 -2.799664)'), GeomFromEWKT('SRID=4674;POINT (-40.338807 -2.799625)'))) / (select extract(epoch from '2026-07-08 02:34:26'::timestamp) - extract(epoch from '2026-07-08 02:34: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'), 47637, 'SRID=4674;POINT (-40.338669 -2.799571)', '2026-07-08 02:34:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338807 -2.799625)'), GeomFromEWKT('SRID=4674;POINT (-40.338669 -2.799571)'))) / (select extract(epoch from '2026-07-08 02:34:33'::timestamp) - extract(epoch from '2026-07-08 02:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338807 -2.799625)'), GeomFromEWKT('SRID=4674;POINT (-40.338669 -2.799571)'))) / (select extract(epoch from '2026-07-08 02:34:33'::timestamp) - extract(epoch from '2026-07-08 02:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.338459 -2.79949)', '2026-07-08 02:34:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338669 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.338459 -2.79949)'))) / (select extract(epoch from '2026-07-08 02:34:44'::timestamp) - extract(epoch from '2026-07-08 02:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338669 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.338459 -2.79949)'))) / (select extract(epoch from '2026-07-08 02:34:44'::timestamp) - extract(epoch from '2026-07-08 02:34: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'), 47637, 'SRID=4674;POINT (-40.338305 -2.799439)', '2026-07-08 02:34:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338459 -2.79949)'), GeomFromEWKT('SRID=4674;POINT (-40.338305 -2.799439)'))) / (select extract(epoch from '2026-07-08 02:34:52'::timestamp) - extract(epoch from '2026-07-08 02:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338459 -2.79949)'), GeomFromEWKT('SRID=4674;POINT (-40.338305 -2.799439)'))) / (select extract(epoch from '2026-07-08 02:34:52'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.338192 -2.799409)', '2026-07-08 02:34:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338305 -2.799439)'), GeomFromEWKT('SRID=4674;POINT (-40.338192 -2.799409)'))) / (select extract(epoch from '2026-07-08 02:34:58'::timestamp) - extract(epoch from '2026-07-08 02:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338305 -2.799439)'), GeomFromEWKT('SRID=4674;POINT (-40.338192 -2.799409)'))) / (select extract(epoch from '2026-07-08 02:34:58'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.337994 -2.799348)', '2026-07-08 02:35:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338192 -2.799409)'), GeomFromEWKT('SRID=4674;POINT (-40.337994 -2.799348)'))) / (select extract(epoch from '2026-07-08 02:35:09'::timestamp) - extract(epoch from '2026-07-08 02:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338192 -2.799409)'), GeomFromEWKT('SRID=4674;POINT (-40.337994 -2.799348)'))) / (select extract(epoch from '2026-07-08 02:35:09'::timestamp) - extract(epoch from '2026-07-08 02:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.337803 -2.799307)', '2026-07-08 02:35:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337994 -2.799348)'), GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.799307)'))) / (select extract(epoch from '2026-07-08 02:35:19'::timestamp) - extract(epoch from '2026-07-08 02:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337994 -2.799348)'), GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.799307)'))) / (select extract(epoch from '2026-07-08 02:35:19'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.337611 -2.799256)', '2026-07-08 02:35:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.799307)'), GeomFromEWKT('SRID=4674;POINT (-40.337611 -2.799256)'))) / (select extract(epoch from '2026-07-08 02:35:29'::timestamp) - extract(epoch from '2026-07-08 02:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.799307)'), GeomFromEWKT('SRID=4674;POINT (-40.337611 -2.799256)'))) / (select extract(epoch from '2026-07-08 02:35:29'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.337462 -2.799193)', '2026-07-08 02:35:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337611 -2.799256)'), GeomFromEWKT('SRID=4674;POINT (-40.337462 -2.799193)'))) / (select extract(epoch from '2026-07-08 02:35:37'::timestamp) - extract(epoch from '2026-07-08 02:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337611 -2.799256)'), GeomFromEWKT('SRID=4674;POINT (-40.337462 -2.799193)'))) / (select extract(epoch from '2026-07-08 02:35:37'::timestamp) - extract(epoch from '2026-07-08 02:35: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'), 47637, 'SRID=4674;POINT (-40.33728 -2.799148)', '2026-07-08 02:35:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337462 -2.799193)'), GeomFromEWKT('SRID=4674;POINT (-40.33728 -2.799148)'))) / (select extract(epoch from '2026-07-08 02:35:46'::timestamp) - extract(epoch from '2026-07-08 02:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337462 -2.799193)'), GeomFromEWKT('SRID=4674;POINT (-40.33728 -2.799148)'))) / (select extract(epoch from '2026-07-08 02:35:46'::timestamp) - extract(epoch from '2026-07-08 02:35: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'), 47637, 'SRID=4674;POINT (-40.337111 -2.799101)', '2026-07-08 02:35:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33728 -2.799148)'), GeomFromEWKT('SRID=4674;POINT (-40.337111 -2.799101)'))) / (select extract(epoch from '2026-07-08 02:35:55'::timestamp) - extract(epoch from '2026-07-08 02:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33728 -2.799148)'), GeomFromEWKT('SRID=4674;POINT (-40.337111 -2.799101)'))) / (select extract(epoch from '2026-07-08 02:35:55'::timestamp) - extract(epoch from '2026-07-08 02:35: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'), 47637, 'SRID=4674;POINT (-40.336957 -2.799056)', '2026-07-08 02:36:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337111 -2.799101)'), GeomFromEWKT('SRID=4674;POINT (-40.336957 -2.799056)'))) / (select extract(epoch from '2026-07-08 02:36:03'::timestamp) - extract(epoch from '2026-07-08 02:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337111 -2.799101)'), GeomFromEWKT('SRID=4674;POINT (-40.336957 -2.799056)'))) / (select extract(epoch from '2026-07-08 02:36:03'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.336758 -2.799003)', '2026-07-08 02:36:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336957 -2.799056)'), GeomFromEWKT('SRID=4674;POINT (-40.336758 -2.799003)'))) / (select extract(epoch from '2026-07-08 02:36:13'::timestamp) - extract(epoch from '2026-07-08 02:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336957 -2.799056)'), GeomFromEWKT('SRID=4674;POINT (-40.336758 -2.799003)'))) / (select extract(epoch from '2026-07-08 02:36:13'::timestamp) - extract(epoch from '2026-07-08 02:36: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'), 47637, 'SRID=4674;POINT (-40.33659 -2.798949)', '2026-07-08 02:36:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336758 -2.799003)'), GeomFromEWKT('SRID=4674;POINT (-40.33659 -2.798949)'))) / (select extract(epoch from '2026-07-08 02:36:22'::timestamp) - extract(epoch from '2026-07-08 02:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336758 -2.799003)'), GeomFromEWKT('SRID=4674;POINT (-40.33659 -2.798949)'))) / (select extract(epoch from '2026-07-08 02:36:22'::timestamp) - extract(epoch from '2026-07-08 02:36: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'), 47637, 'SRID=4674;POINT (-40.336451 -2.798911)', '2026-07-08 02:36:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33659 -2.798949)'), GeomFromEWKT('SRID=4674;POINT (-40.336451 -2.798911)'))) / (select extract(epoch from '2026-07-08 02:36:29'::timestamp) - extract(epoch from '2026-07-08 02:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33659 -2.798949)'), GeomFromEWKT('SRID=4674;POINT (-40.336451 -2.798911)'))) / (select extract(epoch from '2026-07-08 02:36:29'::timestamp) - extract(epoch from '2026-07-08 02:36: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'), 47637, 'SRID=4674;POINT (-40.33631 -2.798877)', '2026-07-08 02:36:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336451 -2.798911)'), GeomFromEWKT('SRID=4674;POINT (-40.33631 -2.798877)'))) / (select extract(epoch from '2026-07-08 02:36:36'::timestamp) - extract(epoch from '2026-07-08 02:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336451 -2.798911)'), GeomFromEWKT('SRID=4674;POINT (-40.33631 -2.798877)'))) / (select extract(epoch from '2026-07-08 02:36:36'::timestamp) - extract(epoch from '2026-07-08 02:36: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'), 47637, 'SRID=4674;POINT (-40.336166 -2.798848)', '2026-07-08 02:36:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33631 -2.798877)'), GeomFromEWKT('SRID=4674;POINT (-40.336166 -2.798848)'))) / (select extract(epoch from '2026-07-08 02:36:43'::timestamp) - extract(epoch from '2026-07-08 02:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33631 -2.798877)'), GeomFromEWKT('SRID=4674;POINT (-40.336166 -2.798848)'))) / (select extract(epoch from '2026-07-08 02:36:43'::timestamp) - extract(epoch from '2026-07-08 02:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.336052 -2.79883)', '2026-07-08 02:36:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336166 -2.798848)'), GeomFromEWKT('SRID=4674;POINT (-40.336052 -2.79883)'))) / (select extract(epoch from '2026-07-08 02:36:49'::timestamp) - extract(epoch from '2026-07-08 02:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336166 -2.798848)'), GeomFromEWKT('SRID=4674;POINT (-40.336052 -2.79883)'))) / (select extract(epoch from '2026-07-08 02:36:49'::timestamp) - extract(epoch from '2026-07-08 02:36: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'), 47637, 'SRID=4674;POINT (-40.335912 -2.798782)', '2026-07-08 02:36:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336052 -2.79883)'), GeomFromEWKT('SRID=4674;POINT (-40.335912 -2.798782)'))) / (select extract(epoch from '2026-07-08 02:36:56'::timestamp) - extract(epoch from '2026-07-08 02:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336052 -2.79883)'), GeomFromEWKT('SRID=4674;POINT (-40.335912 -2.798782)'))) / (select extract(epoch from '2026-07-08 02:36:56'::timestamp) - extract(epoch from '2026-07-08 02:36: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'), 47637, 'SRID=4674;POINT (-40.33573 -2.798727)', '2026-07-08 02:37:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335912 -2.798782)'), GeomFromEWKT('SRID=4674;POINT (-40.33573 -2.798727)'))) / (select extract(epoch from '2026-07-08 02:37:05'::timestamp) - extract(epoch from '2026-07-08 02:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335912 -2.798782)'), GeomFromEWKT('SRID=4674;POINT (-40.33573 -2.798727)'))) / (select extract(epoch from '2026-07-08 02:37:05'::timestamp) - extract(epoch from '2026-07-08 02:36: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'), 47637, 'SRID=4674;POINT (-40.335576 -2.798669)', '2026-07-08 02:37:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33573 -2.798727)'), GeomFromEWKT('SRID=4674;POINT (-40.335576 -2.798669)'))) / (select extract(epoch from '2026-07-08 02:37:13'::timestamp) - extract(epoch from '2026-07-08 02:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33573 -2.798727)'), GeomFromEWKT('SRID=4674;POINT (-40.335576 -2.798669)'))) / (select extract(epoch from '2026-07-08 02:37:13'::timestamp) - extract(epoch from '2026-07-08 02:37: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'), 47637, 'SRID=4674;POINT (-40.335401 -2.798627)', '2026-07-08 02:37:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335576 -2.798669)'), GeomFromEWKT('SRID=4674;POINT (-40.335401 -2.798627)'))) / (select extract(epoch from '2026-07-08 02:37:22'::timestamp) - extract(epoch from '2026-07-08 02:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335576 -2.798669)'), GeomFromEWKT('SRID=4674;POINT (-40.335401 -2.798627)'))) / (select extract(epoch from '2026-07-08 02:37:22'::timestamp) - extract(epoch from '2026-07-08 02:37: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'), 47637, 'SRID=4674;POINT (-40.33523 -2.798575)', '2026-07-08 02:37:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335401 -2.798627)'), GeomFromEWKT('SRID=4674;POINT (-40.33523 -2.798575)'))) / (select extract(epoch from '2026-07-08 02:37:31'::timestamp) - extract(epoch from '2026-07-08 02:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335401 -2.798627)'), GeomFromEWKT('SRID=4674;POINT (-40.33523 -2.798575)'))) / (select extract(epoch from '2026-07-08 02:37:31'::timestamp) - extract(epoch from '2026-07-08 02:37: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'), 47637, 'SRID=4674;POINT (-40.335056 -2.798522)', '2026-07-08 02:37:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33523 -2.798575)'), GeomFromEWKT('SRID=4674;POINT (-40.335056 -2.798522)'))) / (select extract(epoch from '2026-07-08 02:37:40'::timestamp) - extract(epoch from '2026-07-08 02:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33523 -2.798575)'), GeomFromEWKT('SRID=4674;POINT (-40.335056 -2.798522)'))) / (select extract(epoch from '2026-07-08 02:37:40'::timestamp) - extract(epoch from '2026-07-08 02:37: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'), 47637, 'SRID=4674;POINT (-40.334908 -2.79847)', '2026-07-08 02:37:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335056 -2.798522)'), GeomFromEWKT('SRID=4674;POINT (-40.334908 -2.79847)'))) / (select extract(epoch from '2026-07-08 02:37:48'::timestamp) - extract(epoch from '2026-07-08 02:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335056 -2.798522)'), GeomFromEWKT('SRID=4674;POINT (-40.334908 -2.79847)'))) / (select extract(epoch from '2026-07-08 02:37:48'::timestamp) - extract(epoch from '2026-07-08 02:37: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'), 47637, 'SRID=4674;POINT (-40.334742 -2.798421)', '2026-07-08 02:37:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334908 -2.79847)'), GeomFromEWKT('SRID=4674;POINT (-40.334742 -2.798421)'))) / (select extract(epoch from '2026-07-08 02:37:57'::timestamp) - extract(epoch from '2026-07-08 02:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334908 -2.79847)'), GeomFromEWKT('SRID=4674;POINT (-40.334742 -2.798421)'))) / (select extract(epoch from '2026-07-08 02:37:57'::timestamp) - extract(epoch from '2026-07-08 02:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.334547 -2.79838)', '2026-07-08 02:38:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334742 -2.798421)'), GeomFromEWKT('SRID=4674;POINT (-40.334547 -2.79838)'))) / (select extract(epoch from '2026-07-08 02:38:07'::timestamp) - extract(epoch from '2026-07-08 02:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334742 -2.798421)'), GeomFromEWKT('SRID=4674;POINT (-40.334547 -2.79838)'))) / (select extract(epoch from '2026-07-08 02:38:07'::timestamp) - extract(epoch from '2026-07-08 02:37: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'), 47637, 'SRID=4674;POINT (-40.334342 -2.798332)', '2026-07-08 02:38:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334547 -2.79838)'), GeomFromEWKT('SRID=4674;POINT (-40.334342 -2.798332)'))) / (select extract(epoch from '2026-07-08 02:38:17'::timestamp) - extract(epoch from '2026-07-08 02:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334547 -2.79838)'), GeomFromEWKT('SRID=4674;POINT (-40.334342 -2.798332)'))) / (select extract(epoch from '2026-07-08 02:38:17'::timestamp) - extract(epoch from '2026-07-08 02:38:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.334194 -2.7983)', '2026-07-08 02:38:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334342 -2.798332)'), GeomFromEWKT('SRID=4674;POINT (-40.334194 -2.7983)'))) / (select extract(epoch from '2026-07-08 02:38:25'::timestamp) - extract(epoch from '2026-07-08 02:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334342 -2.798332)'), GeomFromEWKT('SRID=4674;POINT (-40.334194 -2.7983)'))) / (select extract(epoch from '2026-07-08 02:38:25'::timestamp) - extract(epoch from '2026-07-08 02:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.333991 -2.798258)', '2026-07-08 02:38:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334194 -2.7983)'), GeomFromEWKT('SRID=4674;POINT (-40.333991 -2.798258)'))) / (select extract(epoch from '2026-07-08 02:38:35'::timestamp) - extract(epoch from '2026-07-08 02:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334194 -2.7983)'), GeomFromEWKT('SRID=4674;POINT (-40.333991 -2.798258)'))) / (select extract(epoch from '2026-07-08 02:38:35'::timestamp) - extract(epoch from '2026-07-08 02:38: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'), 47637, 'SRID=4674;POINT (-40.333785 -2.798206)', '2026-07-08 02:38:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333991 -2.798258)'), GeomFromEWKT('SRID=4674;POINT (-40.333785 -2.798206)'))) / (select extract(epoch from '2026-07-08 02:38:45'::timestamp) - extract(epoch from '2026-07-08 02:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333991 -2.798258)'), GeomFromEWKT('SRID=4674;POINT (-40.333785 -2.798206)'))) / (select extract(epoch from '2026-07-08 02:38:45'::timestamp) - extract(epoch from '2026-07-08 02:38: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'), 47637, 'SRID=4674;POINT (-40.333628 -2.798165)', '2026-07-08 02:38:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333785 -2.798206)'), GeomFromEWKT('SRID=4674;POINT (-40.333628 -2.798165)'))) / (select extract(epoch from '2026-07-08 02:38:53'::timestamp) - extract(epoch from '2026-07-08 02:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333785 -2.798206)'), GeomFromEWKT('SRID=4674;POINT (-40.333628 -2.798165)'))) / (select extract(epoch from '2026-07-08 02:38:53'::timestamp) - extract(epoch from '2026-07-08 02:38: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'), 47637, 'SRID=4674;POINT (-40.333481 -2.79811)', '2026-07-08 02:39:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333628 -2.798165)'), GeomFromEWKT('SRID=4674;POINT (-40.333481 -2.79811)'))) / (select extract(epoch from '2026-07-08 02:39:01'::timestamp) - extract(epoch from '2026-07-08 02:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333628 -2.798165)'), GeomFromEWKT('SRID=4674;POINT (-40.333481 -2.79811)'))) / (select extract(epoch from '2026-07-08 02:39:01'::timestamp) - extract(epoch from '2026-07-08 02:38: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'), 47637, 'SRID=4674;POINT (-40.333282 -2.79805)', '2026-07-08 02:39:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333481 -2.79811)'), GeomFromEWKT('SRID=4674;POINT (-40.333282 -2.79805)'))) / (select extract(epoch from '2026-07-08 02:39:11'::timestamp) - extract(epoch from '2026-07-08 02:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333481 -2.79811)'), GeomFromEWKT('SRID=4674;POINT (-40.333282 -2.79805)'))) / (select extract(epoch from '2026-07-08 02:39:11'::timestamp) - extract(epoch from '2026-07-08 02:39: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'), 47637, 'SRID=4674;POINT (-40.333102 -2.79801)', '2026-07-08 02:39:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333282 -2.79805)'), GeomFromEWKT('SRID=4674;POINT (-40.333102 -2.79801)'))) / (select extract(epoch from '2026-07-08 02:39:20'::timestamp) - extract(epoch from '2026-07-08 02:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333282 -2.79805)'), GeomFromEWKT('SRID=4674;POINT (-40.333102 -2.79801)'))) / (select extract(epoch from '2026-07-08 02:39:20'::timestamp) - extract(epoch from '2026-07-08 02:39: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'), 47637, 'SRID=4674;POINT (-40.332916 -2.797969)', '2026-07-08 02:39:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333102 -2.79801)'), GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.797969)'))) / (select extract(epoch from '2026-07-08 02:39:29'::timestamp) - extract(epoch from '2026-07-08 02:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333102 -2.79801)'), GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.797969)'))) / (select extract(epoch from '2026-07-08 02:39:29'::timestamp) - extract(epoch from '2026-07-08 02:39: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'), 47637, 'SRID=4674;POINT (-40.332728 -2.797909)', '2026-07-08 02:39:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.797969)'), GeomFromEWKT('SRID=4674;POINT (-40.332728 -2.797909)'))) / (select extract(epoch from '2026-07-08 02:39:39'::timestamp) - extract(epoch from '2026-07-08 02:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.797969)'), GeomFromEWKT('SRID=4674;POINT (-40.332728 -2.797909)'))) / (select extract(epoch from '2026-07-08 02:39:39'::timestamp) - extract(epoch from '2026-07-08 02:39: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'), 47637, 'SRID=4674;POINT (-40.332527 -2.797851)', '2026-07-08 02:39:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332728 -2.797909)'), GeomFromEWKT('SRID=4674;POINT (-40.332527 -2.797851)'))) / (select extract(epoch from '2026-07-08 02:39:50'::timestamp) - extract(epoch from '2026-07-08 02:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332728 -2.797909)'), GeomFromEWKT('SRID=4674;POINT (-40.332527 -2.797851)'))) / (select extract(epoch from '2026-07-08 02:39:50'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.332375 -2.797802)', '2026-07-08 02:39:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332527 -2.797851)'), GeomFromEWKT('SRID=4674;POINT (-40.332375 -2.797802)'))) / (select extract(epoch from '2026-07-08 02:39:59'::timestamp) - extract(epoch from '2026-07-08 02:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332527 -2.797851)'), GeomFromEWKT('SRID=4674;POINT (-40.332375 -2.797802)'))) / (select extract(epoch from '2026-07-08 02:39:59'::timestamp) - extract(epoch from '2026-07-08 02:39: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'), 47637, 'SRID=4674;POINT (-40.332207 -2.797752)', '2026-07-08 02:40:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332375 -2.797802)'), GeomFromEWKT('SRID=4674;POINT (-40.332207 -2.797752)'))) / (select extract(epoch from '2026-07-08 02:40:08'::timestamp) - extract(epoch from '2026-07-08 02:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332375 -2.797802)'), GeomFromEWKT('SRID=4674;POINT (-40.332207 -2.797752)'))) / (select extract(epoch from '2026-07-08 02:40:08'::timestamp) - extract(epoch from '2026-07-08 02:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.332015 -2.797688)', '2026-07-08 02:40:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332207 -2.797752)'), GeomFromEWKT('SRID=4674;POINT (-40.332015 -2.797688)'))) / (select extract(epoch from '2026-07-08 02:40:18'::timestamp) - extract(epoch from '2026-07-08 02:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332207 -2.797752)'), GeomFromEWKT('SRID=4674;POINT (-40.332015 -2.797688)'))) / (select extract(epoch from '2026-07-08 02:40:18'::timestamp) - extract(epoch from '2026-07-08 02:40: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'), 47637, 'SRID=4674;POINT (-40.33187 -2.797637)', '2026-07-08 02:40:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332015 -2.797688)'), GeomFromEWKT('SRID=4674;POINT (-40.33187 -2.797637)'))) / (select extract(epoch from '2026-07-08 02:40:26'::timestamp) - extract(epoch from '2026-07-08 02:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332015 -2.797688)'), GeomFromEWKT('SRID=4674;POINT (-40.33187 -2.797637)'))) / (select extract(epoch from '2026-07-08 02:40:26'::timestamp) - extract(epoch from '2026-07-08 02:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.331679 -2.797586)', '2026-07-08 02:40:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33187 -2.797637)'), GeomFromEWKT('SRID=4674;POINT (-40.331679 -2.797586)'))) / (select extract(epoch from '2026-07-08 02:40:36'::timestamp) - extract(epoch from '2026-07-08 02:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33187 -2.797637)'), GeomFromEWKT('SRID=4674;POINT (-40.331679 -2.797586)'))) / (select extract(epoch from '2026-07-08 02:40:36'::timestamp) - extract(epoch from '2026-07-08 02:40: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'), 47637, 'SRID=4674;POINT (-40.3315 -2.79754)', '2026-07-08 02:40:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331679 -2.797586)'), GeomFromEWKT('SRID=4674;POINT (-40.3315 -2.79754)'))) / (select extract(epoch from '2026-07-08 02:40:45'::timestamp) - extract(epoch from '2026-07-08 02:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331679 -2.797586)'), GeomFromEWKT('SRID=4674;POINT (-40.3315 -2.79754)'))) / (select extract(epoch from '2026-07-08 02:40:45'::timestamp) - extract(epoch from '2026-07-08 02:40: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'), 47637, 'SRID=4674;POINT (-40.331334 -2.797503)', '2026-07-08 02:40:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3315 -2.79754)'), GeomFromEWKT('SRID=4674;POINT (-40.331334 -2.797503)'))) / (select extract(epoch from '2026-07-08 02:40:54'::timestamp) - extract(epoch from '2026-07-08 02:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3315 -2.79754)'), GeomFromEWKT('SRID=4674;POINT (-40.331334 -2.797503)'))) / (select extract(epoch from '2026-07-08 02:40:54'::timestamp) - extract(epoch from '2026-07-08 02:40: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'), 47637, 'SRID=4674;POINT (-40.331164 -2.797466)', '2026-07-08 02:41:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331334 -2.797503)'), GeomFromEWKT('SRID=4674;POINT (-40.331164 -2.797466)'))) / (select extract(epoch from '2026-07-08 02:41:03'::timestamp) - extract(epoch from '2026-07-08 02:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331334 -2.797503)'), GeomFromEWKT('SRID=4674;POINT (-40.331164 -2.797466)'))) / (select extract(epoch from '2026-07-08 02:41:03'::timestamp) - extract(epoch from '2026-07-08 02:40: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'), 47637, 'SRID=4674;POINT (-40.330994 -2.797416)', '2026-07-08 02:41:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331164 -2.797466)'), GeomFromEWKT('SRID=4674;POINT (-40.330994 -2.797416)'))) / (select extract(epoch from '2026-07-08 02:41:12'::timestamp) - extract(epoch from '2026-07-08 02:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331164 -2.797466)'), GeomFromEWKT('SRID=4674;POINT (-40.330994 -2.797416)'))) / (select extract(epoch from '2026-07-08 02:41:12'::timestamp) - extract(epoch from '2026-07-08 02:41: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'), 47637, 'SRID=4674;POINT (-40.330822 -2.797363)', '2026-07-08 02:41:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330994 -2.797416)'), GeomFromEWKT('SRID=4674;POINT (-40.330822 -2.797363)'))) / (select extract(epoch from '2026-07-08 02:41:21'::timestamp) - extract(epoch from '2026-07-08 02:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330994 -2.797416)'), GeomFromEWKT('SRID=4674;POINT (-40.330822 -2.797363)'))) / (select extract(epoch from '2026-07-08 02:41:21'::timestamp) - extract(epoch from '2026-07-08 02:41: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'), 47637, 'SRID=4674;POINT (-40.330637 -2.797335)', '2026-07-08 02:41:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330822 -2.797363)'), GeomFromEWKT('SRID=4674;POINT (-40.330637 -2.797335)'))) / (select extract(epoch from '2026-07-08 02:41:30'::timestamp) - extract(epoch from '2026-07-08 02:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330822 -2.797363)'), GeomFromEWKT('SRID=4674;POINT (-40.330637 -2.797335)'))) / (select extract(epoch from '2026-07-08 02:41:30'::timestamp) - extract(epoch from '2026-07-08 02:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.330514 -2.797301)', '2026-07-08 02:41:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330637 -2.797335)'), GeomFromEWKT('SRID=4674;POINT (-40.330514 -2.797301)'))) / (select extract(epoch from '2026-07-08 02:41:37'::timestamp) - extract(epoch from '2026-07-08 02:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330637 -2.797335)'), GeomFromEWKT('SRID=4674;POINT (-40.330514 -2.797301)'))) / (select extract(epoch from '2026-07-08 02:41:37'::timestamp) - extract(epoch from '2026-07-08 02:41: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'), 47637, 'SRID=4674;POINT (-40.330386 -2.797273)', '2026-07-08 02:41:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330514 -2.797301)'), GeomFromEWKT('SRID=4674;POINT (-40.330386 -2.797273)'))) / (select extract(epoch from '2026-07-08 02:41:44'::timestamp) - extract(epoch from '2026-07-08 02:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330514 -2.797301)'), GeomFromEWKT('SRID=4674;POINT (-40.330386 -2.797273)'))) / (select extract(epoch from '2026-07-08 02:41:44'::timestamp) - extract(epoch from '2026-07-08 02:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.330228 -2.797247)', '2026-07-08 02:41:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330386 -2.797273)'), GeomFromEWKT('SRID=4674;POINT (-40.330228 -2.797247)'))) / (select extract(epoch from '2026-07-08 02:41:52'::timestamp) - extract(epoch from '2026-07-08 02:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330386 -2.797273)'), GeomFromEWKT('SRID=4674;POINT (-40.330228 -2.797247)'))) / (select extract(epoch from '2026-07-08 02:41:52'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.330075 -2.797219)', '2026-07-08 02:42:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330228 -2.797247)'), GeomFromEWKT('SRID=4674;POINT (-40.330075 -2.797219)'))) / (select extract(epoch from '2026-07-08 02:42:00'::timestamp) - extract(epoch from '2026-07-08 02:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330228 -2.797247)'), GeomFromEWKT('SRID=4674;POINT (-40.330075 -2.797219)'))) / (select extract(epoch from '2026-07-08 02:42:00'::timestamp) - extract(epoch from '2026-07-08 02:41: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'), 47637, 'SRID=4674;POINT (-40.329882 -2.797162)', '2026-07-08 02:42:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330075 -2.797219)'), GeomFromEWKT('SRID=4674;POINT (-40.329882 -2.797162)'))) / (select extract(epoch from '2026-07-08 02:42:10'::timestamp) - extract(epoch from '2026-07-08 02:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330075 -2.797219)'), GeomFromEWKT('SRID=4674;POINT (-40.329882 -2.797162)'))) / (select extract(epoch from '2026-07-08 02:42:10'::timestamp) - extract(epoch from '2026-07-08 02:42: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'), 47637, 'SRID=4674;POINT (-40.329699 -2.797108)', '2026-07-08 02:42:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329882 -2.797162)'), GeomFromEWKT('SRID=4674;POINT (-40.329699 -2.797108)'))) / (select extract(epoch from '2026-07-08 02:42:19'::timestamp) - extract(epoch from '2026-07-08 02:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329882 -2.797162)'), GeomFromEWKT('SRID=4674;POINT (-40.329699 -2.797108)'))) / (select extract(epoch from '2026-07-08 02:42:19'::timestamp) - extract(epoch from '2026-07-08 02:42: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'), 47637, 'SRID=4674;POINT (-40.329507 -2.797061)', '2026-07-08 02:42:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329699 -2.797108)'), GeomFromEWKT('SRID=4674;POINT (-40.329507 -2.797061)'))) / (select extract(epoch from '2026-07-08 02:42:28'::timestamp) - extract(epoch from '2026-07-08 02:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329699 -2.797108)'), GeomFromEWKT('SRID=4674;POINT (-40.329507 -2.797061)'))) / (select extract(epoch from '2026-07-08 02:42:28'::timestamp) - extract(epoch from '2026-07-08 02:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.329285 -2.79701)', '2026-07-08 02:42:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329507 -2.797061)'), GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.79701)'))) / (select extract(epoch from '2026-07-08 02:42:39'::timestamp) - extract(epoch from '2026-07-08 02:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329507 -2.797061)'), GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.79701)'))) / (select extract(epoch from '2026-07-08 02:42:39'::timestamp) - extract(epoch from '2026-07-08 02:42: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'), 47637, 'SRID=4674;POINT (-40.329081 -2.796946)', '2026-07-08 02:42:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.79701)'), GeomFromEWKT('SRID=4674;POINT (-40.329081 -2.796946)'))) / (select extract(epoch from '2026-07-08 02:42:49'::timestamp) - extract(epoch from '2026-07-08 02:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329285 -2.79701)'), GeomFromEWKT('SRID=4674;POINT (-40.329081 -2.796946)'))) / (select extract(epoch from '2026-07-08 02:42:49'::timestamp) - extract(epoch from '2026-07-08 02:42: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'), 47637, 'SRID=4674;POINT (-40.328946 -2.796911)', '2026-07-08 02:42:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329081 -2.796946)'), GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.796911)'))) / (select extract(epoch from '2026-07-08 02:42:56'::timestamp) - extract(epoch from '2026-07-08 02:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329081 -2.796946)'), GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.796911)'))) / (select extract(epoch from '2026-07-08 02:42:56'::timestamp) - extract(epoch from '2026-07-08 02:42: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'), 47637, 'SRID=4674;POINT (-40.328802 -2.796884)', '2026-07-08 02:43:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.796911)'), GeomFromEWKT('SRID=4674;POINT (-40.328802 -2.796884)'))) / (select extract(epoch from '2026-07-08 02:43:04'::timestamp) - extract(epoch from '2026-07-08 02:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.796911)'), GeomFromEWKT('SRID=4674;POINT (-40.328802 -2.796884)'))) / (select extract(epoch from '2026-07-08 02:43:04'::timestamp) - extract(epoch from '2026-07-08 02:42: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'), 47637, 'SRID=4674;POINT (-40.328638 -2.796836)', '2026-07-08 02:43:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328802 -2.796884)'), GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.796836)'))) / (select extract(epoch from '2026-07-08 02:43:13'::timestamp) - extract(epoch from '2026-07-08 02:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328802 -2.796884)'), GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.796836)'))) / (select extract(epoch from '2026-07-08 02:43:13'::timestamp) - extract(epoch from '2026-07-08 02:43: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'), 47637, 'SRID=4674;POINT (-40.328506 -2.796788)', '2026-07-08 02:43:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.796836)'), GeomFromEWKT('SRID=4674;POINT (-40.328506 -2.796788)'))) / (select extract(epoch from '2026-07-08 02:43:21'::timestamp) - extract(epoch from '2026-07-08 02:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.796836)'), GeomFromEWKT('SRID=4674;POINT (-40.328506 -2.796788)'))) / (select extract(epoch from '2026-07-08 02:43:21'::timestamp) - extract(epoch from '2026-07-08 02:43: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'), 47637, 'SRID=4674;POINT (-40.328327 -2.796736)', '2026-07-08 02:43:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328506 -2.796788)'), GeomFromEWKT('SRID=4674;POINT (-40.328327 -2.796736)'))) / (select extract(epoch from '2026-07-08 02:43:30'::timestamp) - extract(epoch from '2026-07-08 02:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328506 -2.796788)'), GeomFromEWKT('SRID=4674;POINT (-40.328327 -2.796736)'))) / (select extract(epoch from '2026-07-08 02:43:30'::timestamp) - extract(epoch from '2026-07-08 02:43: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'), 47637, 'SRID=4674;POINT (-40.328142 -2.796683)', '2026-07-08 02:43:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328327 -2.796736)'), GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.796683)'))) / (select extract(epoch from '2026-07-08 02:43:40'::timestamp) - extract(epoch from '2026-07-08 02:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328327 -2.796736)'), GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.796683)'))) / (select extract(epoch from '2026-07-08 02:43:40'::timestamp) - extract(epoch from '2026-07-08 02:43: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'), 47637, 'SRID=4674;POINT (-40.328008 -2.796645)', '2026-07-08 02:43:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.796683)'), GeomFromEWKT('SRID=4674;POINT (-40.328008 -2.796645)'))) / (select extract(epoch from '2026-07-08 02:43:48'::timestamp) - extract(epoch from '2026-07-08 02:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.796683)'), GeomFromEWKT('SRID=4674;POINT (-40.328008 -2.796645)'))) / (select extract(epoch from '2026-07-08 02:43:48'::timestamp) - extract(epoch from '2026-07-08 02:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.327871 -2.796607)', '2026-07-08 02:43:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328008 -2.796645)'), GeomFromEWKT('SRID=4674;POINT (-40.327871 -2.796607)'))) / (select extract(epoch from '2026-07-08 02:43:56'::timestamp) - extract(epoch from '2026-07-08 02:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328008 -2.796645)'), GeomFromEWKT('SRID=4674;POINT (-40.327871 -2.796607)'))) / (select extract(epoch from '2026-07-08 02:43:56'::timestamp) - extract(epoch from '2026-07-08 02:43: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'), 47637, 'SRID=4674;POINT (-40.327696 -2.796565)', '2026-07-08 02:44:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327871 -2.796607)'), GeomFromEWKT('SRID=4674;POINT (-40.327696 -2.796565)'))) / (select extract(epoch from '2026-07-08 02:44:06'::timestamp) - extract(epoch from '2026-07-08 02:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327871 -2.796607)'), GeomFromEWKT('SRID=4674;POINT (-40.327696 -2.796565)'))) / (select extract(epoch from '2026-07-08 02:44:06'::timestamp) - extract(epoch from '2026-07-08 02:43: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'), 47637, 'SRID=4674;POINT (-40.327573 -2.796534)', '2026-07-08 02:44:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327696 -2.796565)'), GeomFromEWKT('SRID=4674;POINT (-40.327573 -2.796534)'))) / (select extract(epoch from '2026-07-08 02:44:13'::timestamp) - extract(epoch from '2026-07-08 02:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327696 -2.796565)'), GeomFromEWKT('SRID=4674;POINT (-40.327573 -2.796534)'))) / (select extract(epoch from '2026-07-08 02:44:13'::timestamp) - extract(epoch from '2026-07-08 02:44: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'), 47637, 'SRID=4674;POINT (-40.327359 -2.79649)', '2026-07-08 02:44:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327573 -2.796534)'), GeomFromEWKT('SRID=4674;POINT (-40.327359 -2.79649)'))) / (select extract(epoch from '2026-07-08 02:44:24'::timestamp) - extract(epoch from '2026-07-08 02:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327573 -2.796534)'), GeomFromEWKT('SRID=4674;POINT (-40.327359 -2.79649)'))) / (select extract(epoch from '2026-07-08 02:44:24'::timestamp) - extract(epoch from '2026-07-08 02:44: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'), 47637, 'SRID=4674;POINT (-40.327203 -2.796453)', '2026-07-08 02:44:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327359 -2.79649)'), GeomFromEWKT('SRID=4674;POINT (-40.327203 -2.796453)'))) / (select extract(epoch from '2026-07-08 02:44:32'::timestamp) - extract(epoch from '2026-07-08 02:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327359 -2.79649)'), GeomFromEWKT('SRID=4674;POINT (-40.327203 -2.796453)'))) / (select extract(epoch from '2026-07-08 02:44:32'::timestamp) - extract(epoch from '2026-07-08 02:44: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'), 47637, 'SRID=4674;POINT (-40.327005 -2.7964)', '2026-07-08 02:44:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327203 -2.796453)'), GeomFromEWKT('SRID=4674;POINT (-40.327005 -2.7964)'))) / (select extract(epoch from '2026-07-08 02:44:42'::timestamp) - extract(epoch from '2026-07-08 02:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327203 -2.796453)'), GeomFromEWKT('SRID=4674;POINT (-40.327005 -2.7964)'))) / (select extract(epoch from '2026-07-08 02:44:42'::timestamp) - extract(epoch from '2026-07-08 02:44: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'), 47637, 'SRID=4674;POINT (-40.32683 -2.796362)', '2026-07-08 02:44:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327005 -2.7964)'), GeomFromEWKT('SRID=4674;POINT (-40.32683 -2.796362)'))) / (select extract(epoch from '2026-07-08 02:44:51'::timestamp) - extract(epoch from '2026-07-08 02:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327005 -2.7964)'), GeomFromEWKT('SRID=4674;POINT (-40.32683 -2.796362)'))) / (select extract(epoch from '2026-07-08 02:44:51'::timestamp) - extract(epoch from '2026-07-08 02:44: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'), 47637, 'SRID=4674;POINT (-40.326664 -2.796315)', '2026-07-08 02:45:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32683 -2.796362)'), GeomFromEWKT('SRID=4674;POINT (-40.326664 -2.796315)'))) / (select extract(epoch from '2026-07-08 02:45:00'::timestamp) - extract(epoch from '2026-07-08 02:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32683 -2.796362)'), GeomFromEWKT('SRID=4674;POINT (-40.326664 -2.796315)'))) / (select extract(epoch from '2026-07-08 02:45:00'::timestamp) - extract(epoch from '2026-07-08 02:44: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'), 47637, 'SRID=4674;POINT (-40.326503 -2.796282)', '2026-07-08 02:45:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326664 -2.796315)'), GeomFromEWKT('SRID=4674;POINT (-40.326503 -2.796282)'))) / (select extract(epoch from '2026-07-08 02:45:08'::timestamp) - extract(epoch from '2026-07-08 02:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326664 -2.796315)'), GeomFromEWKT('SRID=4674;POINT (-40.326503 -2.796282)'))) / (select extract(epoch from '2026-07-08 02:45:08'::timestamp) - extract(epoch from '2026-07-08 02:45: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'), 47637, 'SRID=4674;POINT (-40.326338 -2.796255)', '2026-07-08 02:45:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326503 -2.796282)'), GeomFromEWKT('SRID=4674;POINT (-40.326338 -2.796255)'))) / (select extract(epoch from '2026-07-08 02:45:17'::timestamp) - extract(epoch from '2026-07-08 02:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326503 -2.796282)'), GeomFromEWKT('SRID=4674;POINT (-40.326338 -2.796255)'))) / (select extract(epoch from '2026-07-08 02:45:17'::timestamp) - extract(epoch from '2026-07-08 02:45: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'), 47637, 'SRID=4674;POINT (-40.326186 -2.796233)', '2026-07-08 02:45:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326338 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.326186 -2.796233)'))) / (select extract(epoch from '2026-07-08 02:45:25'::timestamp) - extract(epoch from '2026-07-08 02:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326338 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.326186 -2.796233)'))) / (select extract(epoch from '2026-07-08 02:45:25'::timestamp) - extract(epoch from '2026-07-08 02:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.326003 -2.796212)', '2026-07-08 02:45:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326186 -2.796233)'), GeomFromEWKT('SRID=4674;POINT (-40.326003 -2.796212)'))) / (select extract(epoch from '2026-07-08 02:45:34'::timestamp) - extract(epoch from '2026-07-08 02:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326186 -2.796233)'), GeomFromEWKT('SRID=4674;POINT (-40.326003 -2.796212)'))) / (select extract(epoch from '2026-07-08 02:45:34'::timestamp) - extract(epoch from '2026-07-08 02:45: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'), 47637, 'SRID=4674;POINT (-40.325837 -2.796188)', '2026-07-08 02:45:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326003 -2.796212)'), GeomFromEWKT('SRID=4674;POINT (-40.325837 -2.796188)'))) / (select extract(epoch from '2026-07-08 02:45:42'::timestamp) - extract(epoch from '2026-07-08 02:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326003 -2.796212)'), GeomFromEWKT('SRID=4674;POINT (-40.325837 -2.796188)'))) / (select extract(epoch from '2026-07-08 02:45:42'::timestamp) - extract(epoch from '2026-07-08 02:45: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'), 47637, 'SRID=4674;POINT (-40.325605 -2.796142)', '2026-07-08 02:45:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325837 -2.796188)'), GeomFromEWKT('SRID=4674;POINT (-40.325605 -2.796142)'))) / (select extract(epoch from '2026-07-08 02:45:53'::timestamp) - extract(epoch from '2026-07-08 02:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325837 -2.796188)'), GeomFromEWKT('SRID=4674;POINT (-40.325605 -2.796142)'))) / (select extract(epoch from '2026-07-08 02:45:53'::timestamp) - extract(epoch from '2026-07-08 02:45:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.325442 -2.796098)', '2026-07-08 02:46:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325605 -2.796142)'), GeomFromEWKT('SRID=4674;POINT (-40.325442 -2.796098)'))) / (select extract(epoch from '2026-07-08 02:46:01'::timestamp) - extract(epoch from '2026-07-08 02:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325605 -2.796142)'), GeomFromEWKT('SRID=4674;POINT (-40.325442 -2.796098)'))) / (select extract(epoch from '2026-07-08 02:46:01'::timestamp) - extract(epoch from '2026-07-08 02:45: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'), 47637, 'SRID=4674;POINT (-40.32526 -2.796052)', '2026-07-08 02:46:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325442 -2.796098)'), GeomFromEWKT('SRID=4674;POINT (-40.32526 -2.796052)'))) / (select extract(epoch from '2026-07-08 02:46:10'::timestamp) - extract(epoch from '2026-07-08 02:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325442 -2.796098)'), GeomFromEWKT('SRID=4674;POINT (-40.32526 -2.796052)'))) / (select extract(epoch from '2026-07-08 02:46:10'::timestamp) - extract(epoch from '2026-07-08 02:46: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'), 47637, 'SRID=4674;POINT (-40.325099 -2.796009)', '2026-07-08 02:46:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32526 -2.796052)'), GeomFromEWKT('SRID=4674;POINT (-40.325099 -2.796009)'))) / (select extract(epoch from '2026-07-08 02:46:18'::timestamp) - extract(epoch from '2026-07-08 02:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32526 -2.796052)'), GeomFromEWKT('SRID=4674;POINT (-40.325099 -2.796009)'))) / (select extract(epoch from '2026-07-08 02:46:18'::timestamp) - extract(epoch from '2026-07-08 02:46: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'), 47637, 'SRID=4674;POINT (-40.32497 -2.795983)', '2026-07-08 02:46:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325099 -2.796009)'), GeomFromEWKT('SRID=4674;POINT (-40.32497 -2.795983)'))) / (select extract(epoch from '2026-07-08 02:46:26'::timestamp) - extract(epoch from '2026-07-08 02:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325099 -2.796009)'), GeomFromEWKT('SRID=4674;POINT (-40.32497 -2.795983)'))) / (select extract(epoch from '2026-07-08 02:46:26'::timestamp) - extract(epoch from '2026-07-08 02:46: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'), 47637, 'SRID=4674;POINT (-40.324792 -2.795947)', '2026-07-08 02:46:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32497 -2.795983)'), GeomFromEWKT('SRID=4674;POINT (-40.324792 -2.795947)'))) / (select extract(epoch from '2026-07-08 02:46:36'::timestamp) - extract(epoch from '2026-07-08 02:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32497 -2.795983)'), GeomFromEWKT('SRID=4674;POINT (-40.324792 -2.795947)'))) / (select extract(epoch from '2026-07-08 02:46:36'::timestamp) - extract(epoch from '2026-07-08 02:46: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'), 47637, 'SRID=4674;POINT (-40.324596 -2.795904)', '2026-07-08 02:46:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324792 -2.795947)'), GeomFromEWKT('SRID=4674;POINT (-40.324596 -2.795904)'))) / (select extract(epoch from '2026-07-08 02:46:46'::timestamp) - extract(epoch from '2026-07-08 02:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324792 -2.795947)'), GeomFromEWKT('SRID=4674;POINT (-40.324596 -2.795904)'))) / (select extract(epoch from '2026-07-08 02:46:46'::timestamp) - extract(epoch from '2026-07-08 02:46: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'), 47637, 'SRID=4674;POINT (-40.324424 -2.79586)', '2026-07-08 02:46:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324596 -2.795904)'), GeomFromEWKT('SRID=4674;POINT (-40.324424 -2.79586)'))) / (select extract(epoch from '2026-07-08 02:46:55'::timestamp) - extract(epoch from '2026-07-08 02:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324596 -2.795904)'), GeomFromEWKT('SRID=4674;POINT (-40.324424 -2.79586)'))) / (select extract(epoch from '2026-07-08 02:46:55'::timestamp) - extract(epoch from '2026-07-08 02:46: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'), 47637, 'SRID=4674;POINT (-40.324285 -2.795818)', '2026-07-08 02:47:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324424 -2.79586)'), GeomFromEWKT('SRID=4674;POINT (-40.324285 -2.795818)'))) / (select extract(epoch from '2026-07-08 02:47:03'::timestamp) - extract(epoch from '2026-07-08 02:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324424 -2.79586)'), GeomFromEWKT('SRID=4674;POINT (-40.324285 -2.795818)'))) / (select extract(epoch from '2026-07-08 02:47:03'::timestamp) - extract(epoch from '2026-07-08 02:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.324133 -2.795783)', '2026-07-08 02:47:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324285 -2.795818)'), GeomFromEWKT('SRID=4674;POINT (-40.324133 -2.795783)'))) / (select extract(epoch from '2026-07-08 02:47:11'::timestamp) - extract(epoch from '2026-07-08 02:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324285 -2.795818)'), GeomFromEWKT('SRID=4674;POINT (-40.324133 -2.795783)'))) / (select extract(epoch from '2026-07-08 02:47:11'::timestamp) - extract(epoch from '2026-07-08 02:47: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'), 47637, 'SRID=4674;POINT (-40.323979 -2.795762)', '2026-07-08 02:47:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324133 -2.795783)'), GeomFromEWKT('SRID=4674;POINT (-40.323979 -2.795762)'))) / (select extract(epoch from '2026-07-08 02:47:19'::timestamp) - extract(epoch from '2026-07-08 02:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324133 -2.795783)'), GeomFromEWKT('SRID=4674;POINT (-40.323979 -2.795762)'))) / (select extract(epoch from '2026-07-08 02:47:19'::timestamp) - extract(epoch from '2026-07-08 02:47: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'), 47637, 'SRID=4674;POINT (-40.323844 -2.795748)', '2026-07-08 02:47:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323979 -2.795762)'), GeomFromEWKT('SRID=4674;POINT (-40.323844 -2.795748)'))) / (select extract(epoch from '2026-07-08 02:47:26'::timestamp) - extract(epoch from '2026-07-08 02:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323979 -2.795762)'), GeomFromEWKT('SRID=4674;POINT (-40.323844 -2.795748)'))) / (select extract(epoch from '2026-07-08 02:47:26'::timestamp) - extract(epoch from '2026-07-08 02:47: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'), 47637, 'SRID=4674;POINT (-40.323622 -2.795751)', '2026-07-08 02:47:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323844 -2.795748)'), GeomFromEWKT('SRID=4674;POINT (-40.323622 -2.795751)'))) / (select extract(epoch from '2026-07-08 02:47:37'::timestamp) - extract(epoch from '2026-07-08 02:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323844 -2.795748)'), GeomFromEWKT('SRID=4674;POINT (-40.323622 -2.795751)'))) / (select extract(epoch from '2026-07-08 02:47:37'::timestamp) - extract(epoch from '2026-07-08 02:47: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'), 47637, 'SRID=4674;POINT (-40.323451 -2.795737)', '2026-07-08 02:47:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323622 -2.795751)'), GeomFromEWKT('SRID=4674;POINT (-40.323451 -2.795737)'))) / (select extract(epoch from '2026-07-08 02:47:45'::timestamp) - extract(epoch from '2026-07-08 02:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323622 -2.795751)'), GeomFromEWKT('SRID=4674;POINT (-40.323451 -2.795737)'))) / (select extract(epoch from '2026-07-08 02:47:45'::timestamp) - extract(epoch from '2026-07-08 02:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.323306 -2.79572)', '2026-07-08 02:47:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323451 -2.795737)'), GeomFromEWKT('SRID=4674;POINT (-40.323306 -2.79572)'))) / (select extract(epoch from '2026-07-08 02:47:52'::timestamp) - extract(epoch from '2026-07-08 02:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323451 -2.795737)'), GeomFromEWKT('SRID=4674;POINT (-40.323306 -2.79572)'))) / (select extract(epoch from '2026-07-08 02:47:52'::timestamp) - extract(epoch from '2026-07-08 02:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.323144 -2.795718)', '2026-07-08 02:48:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323306 -2.79572)'), GeomFromEWKT('SRID=4674;POINT (-40.323144 -2.795718)'))) / (select extract(epoch from '2026-07-08 02:48:00'::timestamp) - extract(epoch from '2026-07-08 02:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323306 -2.79572)'), GeomFromEWKT('SRID=4674;POINT (-40.323144 -2.795718)'))) / (select extract(epoch from '2026-07-08 02:48:00'::timestamp) - extract(epoch from '2026-07-08 02:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.322947 -2.795706)', '2026-07-08 02:48:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323144 -2.795718)'), GeomFromEWKT('SRID=4674;POINT (-40.322947 -2.795706)'))) / (select extract(epoch from '2026-07-08 02:48:09'::timestamp) - extract(epoch from '2026-07-08 02:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323144 -2.795718)'), GeomFromEWKT('SRID=4674;POINT (-40.322947 -2.795706)'))) / (select extract(epoch from '2026-07-08 02:48:09'::timestamp) - extract(epoch from '2026-07-08 02:48: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'), 47637, 'SRID=4674;POINT (-40.322786 -2.795698)', '2026-07-08 02:48:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322947 -2.795706)'), GeomFromEWKT('SRID=4674;POINT (-40.322786 -2.795698)'))) / (select extract(epoch from '2026-07-08 02:48:17'::timestamp) - extract(epoch from '2026-07-08 02:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322947 -2.795706)'), GeomFromEWKT('SRID=4674;POINT (-40.322786 -2.795698)'))) / (select extract(epoch from '2026-07-08 02:48:17'::timestamp) - extract(epoch from '2026-07-08 02:48: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'), 47637, 'SRID=4674;POINT (-40.322538 -2.795671)', '2026-07-08 02:48:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322786 -2.795698)'), GeomFromEWKT('SRID=4674;POINT (-40.322538 -2.795671)'))) / (select extract(epoch from '2026-07-08 02:48:29'::timestamp) - extract(epoch from '2026-07-08 02:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322786 -2.795698)'), GeomFromEWKT('SRID=4674;POINT (-40.322538 -2.795671)'))) / (select extract(epoch from '2026-07-08 02:48:29'::timestamp) - extract(epoch from '2026-07-08 02:48: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'), 47637, 'SRID=4674;POINT (-40.32237 -2.795655)', '2026-07-08 02:48:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322538 -2.795671)'), GeomFromEWKT('SRID=4674;POINT (-40.32237 -2.795655)'))) / (select extract(epoch from '2026-07-08 02:48:37'::timestamp) - extract(epoch from '2026-07-08 02:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322538 -2.795671)'), GeomFromEWKT('SRID=4674;POINT (-40.32237 -2.795655)'))) / (select extract(epoch from '2026-07-08 02:48:37'::timestamp) - extract(epoch from '2026-07-08 02:48: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'), 47637, 'SRID=4674;POINT (-40.322161 -2.795656)', '2026-07-08 02:48:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32237 -2.795655)'), GeomFromEWKT('SRID=4674;POINT (-40.322161 -2.795656)'))) / (select extract(epoch from '2026-07-08 02:48:48'::timestamp) - extract(epoch from '2026-07-08 02:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32237 -2.795655)'), GeomFromEWKT('SRID=4674;POINT (-40.322161 -2.795656)'))) / (select extract(epoch from '2026-07-08 02:48:48'::timestamp) - extract(epoch from '2026-07-08 02:48: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'), 47637, 'SRID=4674;POINT (-40.321968 -2.795657)', '2026-07-08 02:48:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322161 -2.795656)'), GeomFromEWKT('SRID=4674;POINT (-40.321968 -2.795657)'))) / (select extract(epoch from '2026-07-08 02:48:58'::timestamp) - extract(epoch from '2026-07-08 02:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322161 -2.795656)'), GeomFromEWKT('SRID=4674;POINT (-40.321968 -2.795657)'))) / (select extract(epoch from '2026-07-08 02:48:58'::timestamp) - extract(epoch from '2026-07-08 02:48: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'), 47637, 'SRID=4674;POINT (-40.321798 -2.795663)', '2026-07-08 02:49:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321968 -2.795657)'), GeomFromEWKT('SRID=4674;POINT (-40.321798 -2.795663)'))) / (select extract(epoch from '2026-07-08 02:49:07'::timestamp) - extract(epoch from '2026-07-08 02:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321968 -2.795657)'), GeomFromEWKT('SRID=4674;POINT (-40.321798 -2.795663)'))) / (select extract(epoch from '2026-07-08 02:49:07'::timestamp) - extract(epoch from '2026-07-08 02:48: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'), 47637, 'SRID=4674;POINT (-40.321621 -2.795668)', '2026-07-08 02:49:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321798 -2.795663)'), GeomFromEWKT('SRID=4674;POINT (-40.321621 -2.795668)'))) / (select extract(epoch from '2026-07-08 02:49:16'::timestamp) - extract(epoch from '2026-07-08 02:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321798 -2.795663)'), GeomFromEWKT('SRID=4674;POINT (-40.321621 -2.795668)'))) / (select extract(epoch from '2026-07-08 02:49:16'::timestamp) - extract(epoch from '2026-07-08 02:49: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'), 47637, 'SRID=4674;POINT (-40.321418 -2.795687)', '2026-07-08 02:49:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321621 -2.795668)'), GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.795687)'))) / (select extract(epoch from '2026-07-08 02:49:26'::timestamp) - extract(epoch from '2026-07-08 02:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321621 -2.795668)'), GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.795687)'))) / (select extract(epoch from '2026-07-08 02:49:26'::timestamp) - extract(epoch from '2026-07-08 02:49: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'), 47637, 'SRID=4674;POINT (-40.321227 -2.795715)', '2026-07-08 02:49:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.795687)'), GeomFromEWKT('SRID=4674;POINT (-40.321227 -2.795715)'))) / (select extract(epoch from '2026-07-08 02:49:36'::timestamp) - extract(epoch from '2026-07-08 02:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.795687)'), GeomFromEWKT('SRID=4674;POINT (-40.321227 -2.795715)'))) / (select extract(epoch from '2026-07-08 02:49:36'::timestamp) - extract(epoch from '2026-07-08 02:49: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'), 47637, 'SRID=4674;POINT (-40.321054 -2.795707)', '2026-07-08 02:49:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321227 -2.795715)'), GeomFromEWKT('SRID=4674;POINT (-40.321054 -2.795707)'))) / (select extract(epoch from '2026-07-08 02:49:45'::timestamp) - extract(epoch from '2026-07-08 02:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321227 -2.795715)'), GeomFromEWKT('SRID=4674;POINT (-40.321054 -2.795707)'))) / (select extract(epoch from '2026-07-08 02:49:45'::timestamp) - extract(epoch from '2026-07-08 02:49: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'), 47637, 'SRID=4674;POINT (-40.320867 -2.795681)', '2026-07-08 02:49:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321054 -2.795707)'), GeomFromEWKT('SRID=4674;POINT (-40.320867 -2.795681)'))) / (select extract(epoch from '2026-07-08 02:49:54'::timestamp) - extract(epoch from '2026-07-08 02:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321054 -2.795707)'), GeomFromEWKT('SRID=4674;POINT (-40.320867 -2.795681)'))) / (select extract(epoch from '2026-07-08 02:49:54'::timestamp) - extract(epoch from '2026-07-08 02:49: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'), 47637, 'SRID=4674;POINT (-40.320637 -2.795641)', '2026-07-08 02:50:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320867 -2.795681)'), GeomFromEWKT('SRID=4674;POINT (-40.320637 -2.795641)'))) / (select extract(epoch from '2026-07-08 02:50:05'::timestamp) - extract(epoch from '2026-07-08 02:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320867 -2.795681)'), GeomFromEWKT('SRID=4674;POINT (-40.320637 -2.795641)'))) / (select extract(epoch from '2026-07-08 02:50:05'::timestamp) - extract(epoch from '2026-07-08 02:49:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.320481 -2.795621)', '2026-07-08 02:50:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320637 -2.795641)'), GeomFromEWKT('SRID=4674;POINT (-40.320481 -2.795621)'))) / (select extract(epoch from '2026-07-08 02:50:13'::timestamp) - extract(epoch from '2026-07-08 02:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320637 -2.795641)'), GeomFromEWKT('SRID=4674;POINT (-40.320481 -2.795621)'))) / (select extract(epoch from '2026-07-08 02:50:13'::timestamp) - extract(epoch from '2026-07-08 02:50: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'), 47637, 'SRID=4674;POINT (-40.320318 -2.795598)', '2026-07-08 02:50:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320481 -2.795621)'), GeomFromEWKT('SRID=4674;POINT (-40.320318 -2.795598)'))) / (select extract(epoch from '2026-07-08 02:50:21'::timestamp) - extract(epoch from '2026-07-08 02:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320481 -2.795621)'), GeomFromEWKT('SRID=4674;POINT (-40.320318 -2.795598)'))) / (select extract(epoch from '2026-07-08 02:50:21'::timestamp) - extract(epoch from '2026-07-08 02:50: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'), 47637, 'SRID=4674;POINT (-40.320143 -2.795579)', '2026-07-08 02:50:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320318 -2.795598)'), GeomFromEWKT('SRID=4674;POINT (-40.320143 -2.795579)'))) / (select extract(epoch from '2026-07-08 02:50:30'::timestamp) - extract(epoch from '2026-07-08 02:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320318 -2.795598)'), GeomFromEWKT('SRID=4674;POINT (-40.320143 -2.795579)'))) / (select extract(epoch from '2026-07-08 02:50:30'::timestamp) - extract(epoch from '2026-07-08 02:50: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'), 47637, 'SRID=4674;POINT (-40.320015 -2.795552)', '2026-07-08 02:50:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320143 -2.795579)'), GeomFromEWKT('SRID=4674;POINT (-40.320015 -2.795552)'))) / (select extract(epoch from '2026-07-08 02:50:37'::timestamp) - extract(epoch from '2026-07-08 02:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320143 -2.795579)'), GeomFromEWKT('SRID=4674;POINT (-40.320015 -2.795552)'))) / (select extract(epoch from '2026-07-08 02:50:37'::timestamp) - extract(epoch from '2026-07-08 02:50: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'), 47637, 'SRID=4674;POINT (-40.31988 -2.795513)', '2026-07-08 02:50:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320015 -2.795552)'), GeomFromEWKT('SRID=4674;POINT (-40.31988 -2.795513)'))) / (select extract(epoch from '2026-07-08 02:50:44'::timestamp) - extract(epoch from '2026-07-08 02:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320015 -2.795552)'), GeomFromEWKT('SRID=4674;POINT (-40.31988 -2.795513)'))) / (select extract(epoch from '2026-07-08 02:50:44'::timestamp) - extract(epoch from '2026-07-08 02:50: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'), 47637, 'SRID=4674;POINT (-40.319717 -2.795483)', '2026-07-08 02:50:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31988 -2.795513)'), GeomFromEWKT('SRID=4674;POINT (-40.319717 -2.795483)'))) / (select extract(epoch from '2026-07-08 02:50:53'::timestamp) - extract(epoch from '2026-07-08 02:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31988 -2.795513)'), GeomFromEWKT('SRID=4674;POINT (-40.319717 -2.795483)'))) / (select extract(epoch from '2026-07-08 02:50:53'::timestamp) - extract(epoch from '2026-07-08 02:50:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.31952 -2.795452)', '2026-07-08 02:51:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319717 -2.795483)'), GeomFromEWKT('SRID=4674;POINT (-40.31952 -2.795452)'))) / (select extract(epoch from '2026-07-08 02:51:03'::timestamp) - extract(epoch from '2026-07-08 02:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319717 -2.795483)'), GeomFromEWKT('SRID=4674;POINT (-40.31952 -2.795452)'))) / (select extract(epoch from '2026-07-08 02:51:03'::timestamp) - extract(epoch from '2026-07-08 02:50: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'), 47637, 'SRID=4674;POINT (-40.319332 -2.795423)', '2026-07-08 02:51:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31952 -2.795452)'), GeomFromEWKT('SRID=4674;POINT (-40.319332 -2.795423)'))) / (select extract(epoch from '2026-07-08 02:51:12'::timestamp) - extract(epoch from '2026-07-08 02:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31952 -2.795452)'), GeomFromEWKT('SRID=4674;POINT (-40.319332 -2.795423)'))) / (select extract(epoch from '2026-07-08 02:51:12'::timestamp) - extract(epoch from '2026-07-08 02:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.319162 -2.795424)', '2026-07-08 02:51:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319332 -2.795423)'), GeomFromEWKT('SRID=4674;POINT (-40.319162 -2.795424)'))) / (select extract(epoch from '2026-07-08 02:51:21'::timestamp) - extract(epoch from '2026-07-08 02:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319332 -2.795423)'), GeomFromEWKT('SRID=4674;POINT (-40.319162 -2.795424)'))) / (select extract(epoch from '2026-07-08 02:51:21'::timestamp) - extract(epoch from '2026-07-08 02:51: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'), 47637, 'SRID=4674;POINT (-40.319021 -2.795417)', '2026-07-08 02:51:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319162 -2.795424)'), GeomFromEWKT('SRID=4674;POINT (-40.319021 -2.795417)'))) / (select extract(epoch from '2026-07-08 02:51:29'::timestamp) - extract(epoch from '2026-07-08 02:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319162 -2.795424)'), GeomFromEWKT('SRID=4674;POINT (-40.319021 -2.795417)'))) / (select extract(epoch from '2026-07-08 02:51:29'::timestamp) - extract(epoch from '2026-07-08 02:51: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'), 47637, 'SRID=4674;POINT (-40.318828 -2.795422)', '2026-07-08 02:51:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319021 -2.795417)'), GeomFromEWKT('SRID=4674;POINT (-40.318828 -2.795422)'))) / (select extract(epoch from '2026-07-08 02:51:39'::timestamp) - extract(epoch from '2026-07-08 02:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319021 -2.795417)'), GeomFromEWKT('SRID=4674;POINT (-40.318828 -2.795422)'))) / (select extract(epoch from '2026-07-08 02:51:39'::timestamp) - extract(epoch from '2026-07-08 02:51: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'), 47637, 'SRID=4674;POINT (-40.318673 -2.795422)', '2026-07-08 02:51:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318828 -2.795422)'), GeomFromEWKT('SRID=4674;POINT (-40.318673 -2.795422)'))) / (select extract(epoch from '2026-07-08 02:51:47'::timestamp) - extract(epoch from '2026-07-08 02:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318828 -2.795422)'), GeomFromEWKT('SRID=4674;POINT (-40.318673 -2.795422)'))) / (select extract(epoch from '2026-07-08 02:51:47'::timestamp) - extract(epoch from '2026-07-08 02:51: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'), 47637, 'SRID=4674;POINT (-40.318458 -2.795422)', '2026-07-08 02:51:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318673 -2.795422)'), GeomFromEWKT('SRID=4674;POINT (-40.318458 -2.795422)'))) / (select extract(epoch from '2026-07-08 02:51:57'::timestamp) - extract(epoch from '2026-07-08 02:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318673 -2.795422)'), GeomFromEWKT('SRID=4674;POINT (-40.318458 -2.795422)'))) / (select extract(epoch from '2026-07-08 02:51:57'::timestamp) - extract(epoch from '2026-07-08 02:51: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'), 47637, 'SRID=4674;POINT (-40.318273 -2.795413)', '2026-07-08 02:52:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318458 -2.795422)'), GeomFromEWKT('SRID=4674;POINT (-40.318273 -2.795413)'))) / (select extract(epoch from '2026-07-08 02:52:07'::timestamp) - extract(epoch from '2026-07-08 02:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318458 -2.795422)'), GeomFromEWKT('SRID=4674;POINT (-40.318273 -2.795413)'))) / (select extract(epoch from '2026-07-08 02:52:07'::timestamp) - extract(epoch from '2026-07-08 02:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.318113 -2.79541)', '2026-07-08 02:52:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318273 -2.795413)'), GeomFromEWKT('SRID=4674;POINT (-40.318113 -2.79541)'))) / (select extract(epoch from '2026-07-08 02:52:15'::timestamp) - extract(epoch from '2026-07-08 02:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318273 -2.795413)'), GeomFromEWKT('SRID=4674;POINT (-40.318113 -2.79541)'))) / (select extract(epoch from '2026-07-08 02:52:15'::timestamp) - extract(epoch from '2026-07-08 02:52: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'), 47637, 'SRID=4674;POINT (-40.317926 -2.795401)', '2026-07-08 02:52:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318113 -2.79541)'), GeomFromEWKT('SRID=4674;POINT (-40.317926 -2.795401)'))) / (select extract(epoch from '2026-07-08 02:52:24'::timestamp) - extract(epoch from '2026-07-08 02:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318113 -2.79541)'), GeomFromEWKT('SRID=4674;POINT (-40.317926 -2.795401)'))) / (select extract(epoch from '2026-07-08 02:52:24'::timestamp) - extract(epoch from '2026-07-08 02:52:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.317801 -2.795389)', '2026-07-08 02:52:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317926 -2.795401)'), GeomFromEWKT('SRID=4674;POINT (-40.317801 -2.795389)'))) / (select extract(epoch from '2026-07-08 02:52:30'::timestamp) - extract(epoch from '2026-07-08 02:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317926 -2.795401)'), GeomFromEWKT('SRID=4674;POINT (-40.317801 -2.795389)'))) / (select extract(epoch from '2026-07-08 02:52:30'::timestamp) - extract(epoch from '2026-07-08 02:52: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'), 47637, 'SRID=4674;POINT (-40.31763 -2.795386)', '2026-07-08 02:52:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317801 -2.795389)'), GeomFromEWKT('SRID=4674;POINT (-40.31763 -2.795386)'))) / (select extract(epoch from '2026-07-08 02:52:39'::timestamp) - extract(epoch from '2026-07-08 02:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317801 -2.795389)'), GeomFromEWKT('SRID=4674;POINT (-40.31763 -2.795386)'))) / (select extract(epoch from '2026-07-08 02:52:39'::timestamp) - extract(epoch from '2026-07-08 02:52: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'), 47637, 'SRID=4674;POINT (-40.317469 -2.795407)', '2026-07-08 02:52:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31763 -2.795386)'), GeomFromEWKT('SRID=4674;POINT (-40.317469 -2.795407)'))) / (select extract(epoch from '2026-07-08 02:52:48'::timestamp) - extract(epoch from '2026-07-08 02:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31763 -2.795386)'), GeomFromEWKT('SRID=4674;POINT (-40.317469 -2.795407)'))) / (select extract(epoch from '2026-07-08 02:52:48'::timestamp) - extract(epoch from '2026-07-08 02:52:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.317303 -2.79543)', '2026-07-08 02:52:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317469 -2.795407)'), GeomFromEWKT('SRID=4674;POINT (-40.317303 -2.79543)'))) / (select extract(epoch from '2026-07-08 02:52:57'::timestamp) - extract(epoch from '2026-07-08 02:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317469 -2.795407)'), GeomFromEWKT('SRID=4674;POINT (-40.317303 -2.79543)'))) / (select extract(epoch from '2026-07-08 02:52:57'::timestamp) - extract(epoch from '2026-07-08 02:52: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'), 47637, 'SRID=4674;POINT (-40.317133 -2.795471)', '2026-07-08 02:53:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317303 -2.79543)'), GeomFromEWKT('SRID=4674;POINT (-40.317133 -2.795471)'))) / (select extract(epoch from '2026-07-08 02:53:06'::timestamp) - extract(epoch from '2026-07-08 02:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317303 -2.79543)'), GeomFromEWKT('SRID=4674;POINT (-40.317133 -2.795471)'))) / (select extract(epoch from '2026-07-08 02:53:06'::timestamp) - extract(epoch from '2026-07-08 02:52: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'), 47637, 'SRID=4674;POINT (-40.316984 -2.795501)', '2026-07-08 02:53:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317133 -2.795471)'), GeomFromEWKT('SRID=4674;POINT (-40.316984 -2.795501)'))) / (select extract(epoch from '2026-07-08 02:53:14'::timestamp) - extract(epoch from '2026-07-08 02:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317133 -2.795471)'), GeomFromEWKT('SRID=4674;POINT (-40.316984 -2.795501)'))) / (select extract(epoch from '2026-07-08 02:53:14'::timestamp) - extract(epoch from '2026-07-08 02:53: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'), 47637, 'SRID=4674;POINT (-40.316841 -2.795525)', '2026-07-08 02:53:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316984 -2.795501)'), GeomFromEWKT('SRID=4674;POINT (-40.316841 -2.795525)'))) / (select extract(epoch from '2026-07-08 02:53:22'::timestamp) - extract(epoch from '2026-07-08 02:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316984 -2.795501)'), GeomFromEWKT('SRID=4674;POINT (-40.316841 -2.795525)'))) / (select extract(epoch from '2026-07-08 02:53:22'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.316681 -2.795561)', '2026-07-08 02:53:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316841 -2.795525)'), GeomFromEWKT('SRID=4674;POINT (-40.316681 -2.795561)'))) / (select extract(epoch from '2026-07-08 02:53:31'::timestamp) - extract(epoch from '2026-07-08 02:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316841 -2.795525)'), GeomFromEWKT('SRID=4674;POINT (-40.316681 -2.795561)'))) / (select extract(epoch from '2026-07-08 02:53:31'::timestamp) - extract(epoch from '2026-07-08 02:53: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'), 47637, 'SRID=4674;POINT (-40.316564 -2.795575)', '2026-07-08 02:53:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316681 -2.795561)'), GeomFromEWKT('SRID=4674;POINT (-40.316564 -2.795575)'))) / (select extract(epoch from '2026-07-08 02:53:37'::timestamp) - extract(epoch from '2026-07-08 02:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316681 -2.795561)'), GeomFromEWKT('SRID=4674;POINT (-40.316564 -2.795575)'))) / (select extract(epoch from '2026-07-08 02:53:37'::timestamp) - extract(epoch from '2026-07-08 02:53: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'), 47637, 'SRID=4674;POINT (-40.316399 -2.795605)', '2026-07-08 02:53:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316564 -2.795575)'), GeomFromEWKT('SRID=4674;POINT (-40.316399 -2.795605)'))) / (select extract(epoch from '2026-07-08 02:53:45'::timestamp) - extract(epoch from '2026-07-08 02:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316564 -2.795575)'), GeomFromEWKT('SRID=4674;POINT (-40.316399 -2.795605)'))) / (select extract(epoch from '2026-07-08 02:53:45'::timestamp) - extract(epoch from '2026-07-08 02:53: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'), 47637, 'SRID=4674;POINT (-40.316242 -2.795647)', '2026-07-08 02:53:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316399 -2.795605)'), GeomFromEWKT('SRID=4674;POINT (-40.316242 -2.795647)'))) / (select extract(epoch from '2026-07-08 02:53:53'::timestamp) - extract(epoch from '2026-07-08 02:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316399 -2.795605)'), GeomFromEWKT('SRID=4674;POINT (-40.316242 -2.795647)'))) / (select extract(epoch from '2026-07-08 02:53:53'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.316071 -2.795677)', '2026-07-08 02:54:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316242 -2.795647)'), GeomFromEWKT('SRID=4674;POINT (-40.316071 -2.795677)'))) / (select extract(epoch from '2026-07-08 02:54:02'::timestamp) - extract(epoch from '2026-07-08 02:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316242 -2.795647)'), GeomFromEWKT('SRID=4674;POINT (-40.316071 -2.795677)'))) / (select extract(epoch from '2026-07-08 02:54:02'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.315987 -2.795697)', '2026-07-08 02:54:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316071 -2.795677)'), GeomFromEWKT('SRID=4674;POINT (-40.315987 -2.795697)'))) / (select extract(epoch from '2026-07-08 02:54:09'::timestamp) - extract(epoch from '2026-07-08 02:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316071 -2.795677)'), GeomFromEWKT('SRID=4674;POINT (-40.315987 -2.795697)'))) / (select extract(epoch from '2026-07-08 02:54:09'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.315922 -2.795703)', '2026-07-08 02:54:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315987 -2.795697)'), GeomFromEWKT('SRID=4674;POINT (-40.315922 -2.795703)'))) / (select extract(epoch from '2026-07-08 02:54:17'::timestamp) - extract(epoch from '2026-07-08 02:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315987 -2.795697)'), GeomFromEWKT('SRID=4674;POINT (-40.315922 -2.795703)'))) / (select extract(epoch from '2026-07-08 02:54:17'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.315881 -2.795709)', '2026-07-08 02:54:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315922 -2.795703)'), GeomFromEWKT('SRID=4674;POINT (-40.315881 -2.795709)'))) / (select extract(epoch from '2026-07-08 02:54:27'::timestamp) - extract(epoch from '2026-07-08 02:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315922 -2.795703)'), GeomFromEWKT('SRID=4674;POINT (-40.315881 -2.795709)'))) / (select extract(epoch from '2026-07-08 02:54:27'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.315855 -2.795711)', '2026-07-08 02:54:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315881 -2.795709)'), GeomFromEWKT('SRID=4674;POINT (-40.315855 -2.795711)'))) / (select extract(epoch from '2026-07-08 02:54:36'::timestamp) - extract(epoch from '2026-07-08 02:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315881 -2.795709)'), GeomFromEWKT('SRID=4674;POINT (-40.315855 -2.795711)'))) / (select extract(epoch from '2026-07-08 02:54:36'::timestamp) - extract(epoch from '2026-07-08 02:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.315843 -2.795706)', '2026-07-08 02:54:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315855 -2.795711)'), GeomFromEWKT('SRID=4674;POINT (-40.315843 -2.795706)'))) / (select extract(epoch from '2026-07-08 02:54:47'::timestamp) - extract(epoch from '2026-07-08 02:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315855 -2.795711)'), GeomFromEWKT('SRID=4674;POINT (-40.315843 -2.795706)'))) / (select extract(epoch from '2026-07-08 02:54:47'::timestamp) - extract(epoch from '2026-07-08 02:54: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'), 47637, 'SRID=4674;POINT (-40.315838 -2.795702)', '2026-07-08 02:54:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315843 -2.795706)'), GeomFromEWKT('SRID=4674;POINT (-40.315838 -2.795702)'))) / (select extract(epoch from '2026-07-08 02:54:59'::timestamp) - extract(epoch from '2026-07-08 02:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315843 -2.795706)'), GeomFromEWKT('SRID=4674;POINT (-40.315838 -2.795702)'))) / (select extract(epoch from '2026-07-08 02:54:59'::timestamp) - extract(epoch from '2026-07-08 02:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.315848 -2.795692)', '2026-07-08 02:55:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315838 -2.795702)'), GeomFromEWKT('SRID=4674;POINT (-40.315848 -2.795692)'))) / (select extract(epoch from '2026-07-08 02:55:14'::timestamp) - extract(epoch from '2026-07-08 02:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315838 -2.795702)'), GeomFromEWKT('SRID=4674;POINT (-40.315848 -2.795692)'))) / (select extract(epoch from '2026-07-08 02:55:14'::timestamp) - extract(epoch from '2026-07-08 02:54: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'), 47637, 'SRID=4674;POINT (-40.315844 -2.795676)', '2026-07-08 02:55:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315848 -2.795692)'), GeomFromEWKT('SRID=4674;POINT (-40.315844 -2.795676)'))) / (select extract(epoch from '2026-07-08 02:55:21'::timestamp) - extract(epoch from '2026-07-08 02:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315848 -2.795692)'), GeomFromEWKT('SRID=4674;POINT (-40.315844 -2.795676)'))) / (select extract(epoch from '2026-07-08 02:55:21'::timestamp) - extract(epoch from '2026-07-08 02:55: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'), 47637, 'SRID=4674;POINT (-40.315823 -2.795703)', '2026-07-08 02:55:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315844 -2.795676)'), GeomFromEWKT('SRID=4674;POINT (-40.315823 -2.795703)'))) / (select extract(epoch from '2026-07-08 02:55:29'::timestamp) - extract(epoch from '2026-07-08 02:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315844 -2.795676)'), GeomFromEWKT('SRID=4674;POINT (-40.315823 -2.795703)'))) / (select extract(epoch from '2026-07-08 02:55:29'::timestamp) - extract(epoch from '2026-07-08 02:55: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'), 47637, 'SRID=4674;POINT (-40.315748 -2.795758)', '2026-07-08 02:55:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315823 -2.795703)'), GeomFromEWKT('SRID=4674;POINT (-40.315748 -2.795758)'))) / (select extract(epoch from '2026-07-08 02:55:35'::timestamp) - extract(epoch from '2026-07-08 02:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315823 -2.795703)'), GeomFromEWKT('SRID=4674;POINT (-40.315748 -2.795758)'))) / (select extract(epoch from '2026-07-08 02:55:35'::timestamp) - extract(epoch from '2026-07-08 02:55: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'), 47637, 'SRID=4674;POINT (-40.315613 -2.795815)', '2026-07-08 02:55:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315748 -2.795758)'), GeomFromEWKT('SRID=4674;POINT (-40.315613 -2.795815)'))) / (select extract(epoch from '2026-07-08 02:55:42'::timestamp) - extract(epoch from '2026-07-08 02:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315748 -2.795758)'), GeomFromEWKT('SRID=4674;POINT (-40.315613 -2.795815)'))) / (select extract(epoch from '2026-07-08 02:55:42'::timestamp) - extract(epoch from '2026-07-08 02:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.315445 -2.79586)', '2026-07-08 02:55:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315613 -2.795815)'), GeomFromEWKT('SRID=4674;POINT (-40.315445 -2.79586)'))) / (select extract(epoch from '2026-07-08 02:55:50'::timestamp) - extract(epoch from '2026-07-08 02:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315613 -2.795815)'), GeomFromEWKT('SRID=4674;POINT (-40.315445 -2.79586)'))) / (select extract(epoch from '2026-07-08 02:55:50'::timestamp) - extract(epoch from '2026-07-08 02:55: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'), 47637, 'SRID=4674;POINT (-40.315295 -2.795892)', '2026-07-08 02:55:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315445 -2.79586)'), GeomFromEWKT('SRID=4674;POINT (-40.315295 -2.795892)'))) / (select extract(epoch from '2026-07-08 02:55:57'::timestamp) - extract(epoch from '2026-07-08 02:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315445 -2.79586)'), GeomFromEWKT('SRID=4674;POINT (-40.315295 -2.795892)'))) / (select extract(epoch from '2026-07-08 02:55:57'::timestamp) - extract(epoch from '2026-07-08 02:55: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'), 47637, 'SRID=4674;POINT (-40.315122 -2.795932)', '2026-07-08 02:56:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315295 -2.795892)'), GeomFromEWKT('SRID=4674;POINT (-40.315122 -2.795932)'))) / (select extract(epoch from '2026-07-08 02:56:05'::timestamp) - extract(epoch from '2026-07-08 02:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315295 -2.795892)'), GeomFromEWKT('SRID=4674;POINT (-40.315122 -2.795932)'))) / (select extract(epoch from '2026-07-08 02:56:05'::timestamp) - extract(epoch from '2026-07-08 02:55:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.314934 -2.795972)', '2026-07-08 02:56:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315122 -2.795932)'), GeomFromEWKT('SRID=4674;POINT (-40.314934 -2.795972)'))) / (select extract(epoch from '2026-07-08 02:56:14'::timestamp) - extract(epoch from '2026-07-08 02:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315122 -2.795932)'), GeomFromEWKT('SRID=4674;POINT (-40.314934 -2.795972)'))) / (select extract(epoch from '2026-07-08 02:56:14'::timestamp) - extract(epoch from '2026-07-08 02:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.314693 -2.796021)', '2026-07-08 02:56:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314934 -2.795972)'), GeomFromEWKT('SRID=4674;POINT (-40.314693 -2.796021)'))) / (select extract(epoch from '2026-07-08 02:56:25'::timestamp) - extract(epoch from '2026-07-08 02:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314934 -2.795972)'), GeomFromEWKT('SRID=4674;POINT (-40.314693 -2.796021)'))) / (select extract(epoch from '2026-07-08 02:56:25'::timestamp) - extract(epoch from '2026-07-08 02:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.314477 -2.796061)', '2026-07-08 02:56:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314693 -2.796021)'), GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.796061)'))) / (select extract(epoch from '2026-07-08 02:56:35'::timestamp) - extract(epoch from '2026-07-08 02:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314693 -2.796021)'), GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.796061)'))) / (select extract(epoch from '2026-07-08 02:56:35'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.314263 -2.796091)', '2026-07-08 02:56:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.796061)'), GeomFromEWKT('SRID=4674;POINT (-40.314263 -2.796091)'))) / (select extract(epoch from '2026-07-08 02:56:45'::timestamp) - extract(epoch from '2026-07-08 02:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.796061)'), GeomFromEWKT('SRID=4674;POINT (-40.314263 -2.796091)'))) / (select extract(epoch from '2026-07-08 02:56:45'::timestamp) - extract(epoch from '2026-07-08 02:56:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.314094 -2.796121)', '2026-07-08 02:56:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314263 -2.796091)'), GeomFromEWKT('SRID=4674;POINT (-40.314094 -2.796121)'))) / (select extract(epoch from '2026-07-08 02:56:53'::timestamp) - extract(epoch from '2026-07-08 02:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314263 -2.796091)'), GeomFromEWKT('SRID=4674;POINT (-40.314094 -2.796121)'))) / (select extract(epoch from '2026-07-08 02:56:53'::timestamp) - extract(epoch from '2026-07-08 02:56: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'), 47637, 'SRID=4674;POINT (-40.313862 -2.796169)', '2026-07-08 02:57:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314094 -2.796121)'), GeomFromEWKT('SRID=4674;POINT (-40.313862 -2.796169)'))) / (select extract(epoch from '2026-07-08 02:57:04'::timestamp) - extract(epoch from '2026-07-08 02:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314094 -2.796121)'), GeomFromEWKT('SRID=4674;POINT (-40.313862 -2.796169)'))) / (select extract(epoch from '2026-07-08 02:57:04'::timestamp) - extract(epoch from '2026-07-08 02:56: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'), 47637, 'SRID=4674;POINT (-40.313679 -2.796215)', '2026-07-08 02:57:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313862 -2.796169)'), GeomFromEWKT('SRID=4674;POINT (-40.313679 -2.796215)'))) / (select extract(epoch from '2026-07-08 02:57:13'::timestamp) - extract(epoch from '2026-07-08 02:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313862 -2.796169)'), GeomFromEWKT('SRID=4674;POINT (-40.313679 -2.796215)'))) / (select extract(epoch from '2026-07-08 02:57:13'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.313497 -2.796255)', '2026-07-08 02:57:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313679 -2.796215)'), GeomFromEWKT('SRID=4674;POINT (-40.313497 -2.796255)'))) / (select extract(epoch from '2026-07-08 02:57:22'::timestamp) - extract(epoch from '2026-07-08 02:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313679 -2.796215)'), GeomFromEWKT('SRID=4674;POINT (-40.313497 -2.796255)'))) / (select extract(epoch from '2026-07-08 02:57:22'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.313307 -2.796288)', '2026-07-08 02:57:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313497 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.313307 -2.796288)'))) / (select extract(epoch from '2026-07-08 02:57:31'::timestamp) - extract(epoch from '2026-07-08 02:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313497 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.313307 -2.796288)'))) / (select extract(epoch from '2026-07-08 02:57:31'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.31311 -2.796336)', '2026-07-08 02:57:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313307 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.31311 -2.796336)'))) / (select extract(epoch from '2026-07-08 02:57:41'::timestamp) - extract(epoch from '2026-07-08 02:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313307 -2.796288)'), GeomFromEWKT('SRID=4674;POINT (-40.31311 -2.796336)'))) / (select extract(epoch from '2026-07-08 02:57:41'::timestamp) - extract(epoch from '2026-07-08 02:57: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'), 47637, 'SRID=4674;POINT (-40.312876 -2.796381)', '2026-07-08 02:57:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31311 -2.796336)'), GeomFromEWKT('SRID=4674;POINT (-40.312876 -2.796381)'))) / (select extract(epoch from '2026-07-08 02:57:52'::timestamp) - extract(epoch from '2026-07-08 02:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31311 -2.796336)'), GeomFromEWKT('SRID=4674;POINT (-40.312876 -2.796381)'))) / (select extract(epoch from '2026-07-08 02:57:52'::timestamp) - extract(epoch from '2026-07-08 02:57: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'), 47637, 'SRID=4674;POINT (-40.31266 -2.796423)', '2026-07-08 02:58:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312876 -2.796381)'), GeomFromEWKT('SRID=4674;POINT (-40.31266 -2.796423)'))) / (select extract(epoch from '2026-07-08 02:58:02'::timestamp) - extract(epoch from '2026-07-08 02:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312876 -2.796381)'), GeomFromEWKT('SRID=4674;POINT (-40.31266 -2.796423)'))) / (select extract(epoch from '2026-07-08 02:58:02'::timestamp) - extract(epoch from '2026-07-08 02:57: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'), 47637, 'SRID=4674;POINT (-40.312468 -2.796466)', '2026-07-08 02:58:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31266 -2.796423)'), GeomFromEWKT('SRID=4674;POINT (-40.312468 -2.796466)'))) / (select extract(epoch from '2026-07-08 02:58:11'::timestamp) - extract(epoch from '2026-07-08 02:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31266 -2.796423)'), GeomFromEWKT('SRID=4674;POINT (-40.312468 -2.796466)'))) / (select extract(epoch from '2026-07-08 02:58:11'::timestamp) - extract(epoch from '2026-07-08 02:58: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'), 47637, 'SRID=4674;POINT (-40.312316 -2.796496)', '2026-07-08 02:58:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312468 -2.796466)'), GeomFromEWKT('SRID=4674;POINT (-40.312316 -2.796496)'))) / (select extract(epoch from '2026-07-08 02:58:18'::timestamp) - extract(epoch from '2026-07-08 02:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312468 -2.796466)'), GeomFromEWKT('SRID=4674;POINT (-40.312316 -2.796496)'))) / (select extract(epoch from '2026-07-08 02:58:18'::timestamp) - extract(epoch from '2026-07-08 02:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.312124 -2.796525)', '2026-07-08 02:58:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312316 -2.796496)'), GeomFromEWKT('SRID=4674;POINT (-40.312124 -2.796525)'))) / (select extract(epoch from '2026-07-08 02:58:27'::timestamp) - extract(epoch from '2026-07-08 02:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312316 -2.796496)'), GeomFromEWKT('SRID=4674;POINT (-40.312124 -2.796525)'))) / (select extract(epoch from '2026-07-08 02:58:27'::timestamp) - extract(epoch from '2026-07-08 02:58: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'), 47637, 'SRID=4674;POINT (-40.311934 -2.796553)', '2026-07-08 02:58:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312124 -2.796525)'), GeomFromEWKT('SRID=4674;POINT (-40.311934 -2.796553)'))) / (select extract(epoch from '2026-07-08 02:58:36'::timestamp) - extract(epoch from '2026-07-08 02:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312124 -2.796525)'), GeomFromEWKT('SRID=4674;POINT (-40.311934 -2.796553)'))) / (select extract(epoch from '2026-07-08 02:58:36'::timestamp) - extract(epoch from '2026-07-08 02:58: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'), 47637, 'SRID=4674;POINT (-40.311765 -2.796583)', '2026-07-08 02:58:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311934 -2.796553)'), GeomFromEWKT('SRID=4674;POINT (-40.311765 -2.796583)'))) / (select extract(epoch from '2026-07-08 02:58:44'::timestamp) - extract(epoch from '2026-07-08 02:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311934 -2.796553)'), GeomFromEWKT('SRID=4674;POINT (-40.311765 -2.796583)'))) / (select extract(epoch from '2026-07-08 02:58:44'::timestamp) - extract(epoch from '2026-07-08 02:58: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'), 47637, 'SRID=4674;POINT (-40.311561 -2.796625)', '2026-07-08 02:58:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311765 -2.796583)'), GeomFromEWKT('SRID=4674;POINT (-40.311561 -2.796625)'))) / (select extract(epoch from '2026-07-08 02:58:54'::timestamp) - extract(epoch from '2026-07-08 02:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311765 -2.796583)'), GeomFromEWKT('SRID=4674;POINT (-40.311561 -2.796625)'))) / (select extract(epoch from '2026-07-08 02:58:54'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.311395 -2.796652)', '2026-07-08 02:59:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311561 -2.796625)'), GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.796652)'))) / (select extract(epoch from '2026-07-08 02:59:02'::timestamp) - extract(epoch from '2026-07-08 02:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311561 -2.796625)'), GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.796652)'))) / (select extract(epoch from '2026-07-08 02:59:02'::timestamp) - extract(epoch from '2026-07-08 02:58: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'), 47637, 'SRID=4674;POINT (-40.311225 -2.796678)', '2026-07-08 02:59:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.796652)'), GeomFromEWKT('SRID=4674;POINT (-40.311225 -2.796678)'))) / (select extract(epoch from '2026-07-08 02:59:10'::timestamp) - extract(epoch from '2026-07-08 02:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.796652)'), GeomFromEWKT('SRID=4674;POINT (-40.311225 -2.796678)'))) / (select extract(epoch from '2026-07-08 02:59:10'::timestamp) - extract(epoch from '2026-07-08 02:59: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'), 47637, 'SRID=4674;POINT (-40.311007 -2.796717)', '2026-07-08 02:59:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311225 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.796717)'))) / (select extract(epoch from '2026-07-08 02:59:20'::timestamp) - extract(epoch from '2026-07-08 02:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311225 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.796717)'))) / (select extract(epoch from '2026-07-08 02:59:20'::timestamp) - extract(epoch from '2026-07-08 02:59: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'), 47637, 'SRID=4674;POINT (-40.310791 -2.796752)', '2026-07-08 02:59:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.796717)'), GeomFromEWKT('SRID=4674;POINT (-40.310791 -2.796752)'))) / (select extract(epoch from '2026-07-08 02:59:30'::timestamp) - extract(epoch from '2026-07-08 02:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311007 -2.796717)'), GeomFromEWKT('SRID=4674;POINT (-40.310791 -2.796752)'))) / (select extract(epoch from '2026-07-08 02:59:30'::timestamp) - extract(epoch from '2026-07-08 02:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.310597 -2.796781)', '2026-07-08 02:59:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310791 -2.796752)'), GeomFromEWKT('SRID=4674;POINT (-40.310597 -2.796781)'))) / (select extract(epoch from '2026-07-08 02:59:39'::timestamp) - extract(epoch from '2026-07-08 02:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310791 -2.796752)'), GeomFromEWKT('SRID=4674;POINT (-40.310597 -2.796781)'))) / (select extract(epoch from '2026-07-08 02:59:39'::timestamp) - extract(epoch from '2026-07-08 02:59: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'), 47637, 'SRID=4674;POINT (-40.310424 -2.796809)', '2026-07-08 02:59:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310597 -2.796781)'), GeomFromEWKT('SRID=4674;POINT (-40.310424 -2.796809)'))) / (select extract(epoch from '2026-07-08 02:59:47'::timestamp) - extract(epoch from '2026-07-08 02:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310597 -2.796781)'), GeomFromEWKT('SRID=4674;POINT (-40.310424 -2.796809)'))) / (select extract(epoch from '2026-07-08 02:59:47'::timestamp) - extract(epoch from '2026-07-08 02: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'), 47637, 'SRID=4674;POINT (-40.310188 -2.796848)', '2026-07-08 02:59:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310424 -2.796809)'), GeomFromEWKT('SRID=4674;POINT (-40.310188 -2.796848)'))) / (select extract(epoch from '2026-07-08 02:59:58'::timestamp) - extract(epoch from '2026-07-08 02:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310424 -2.796809)'), GeomFromEWKT('SRID=4674;POINT (-40.310188 -2.796848)'))) / (select extract(epoch from '2026-07-08 02:59:58'::timestamp) - extract(epoch from '2026-07-08 02:59: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'), 47637, 'SRID=4674;POINT (-40.310027 -2.796873)', '2026-07-08 03:00:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310188 -2.796848)'), GeomFromEWKT('SRID=4674;POINT (-40.310027 -2.796873)'))) / (select extract(epoch from '2026-07-08 03:00:06'::timestamp) - extract(epoch from '2026-07-08 02:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310188 -2.796848)'), GeomFromEWKT('SRID=4674;POINT (-40.310027 -2.796873)'))) / (select extract(epoch from '2026-07-08 03:00:06'::timestamp) - extract(epoch from '2026-07-08 02:59: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'), 47637, 'SRID=4674;POINT (-40.309793 -2.796908)', '2026-07-08 03:00:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310027 -2.796873)'), GeomFromEWKT('SRID=4674;POINT (-40.309793 -2.796908)'))) / (select extract(epoch from '2026-07-08 03:00:17'::timestamp) - extract(epoch from '2026-07-08 03:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310027 -2.796873)'), GeomFromEWKT('SRID=4674;POINT (-40.309793 -2.796908)'))) / (select extract(epoch from '2026-07-08 03:00:17'::timestamp) - extract(epoch from '2026-07-08 03:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.309596 -2.796956)', '2026-07-08 03:00:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309793 -2.796908)'), GeomFromEWKT('SRID=4674;POINT (-40.309596 -2.796956)'))) / (select extract(epoch from '2026-07-08 03:00:27'::timestamp) - extract(epoch from '2026-07-08 03:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309793 -2.796908)'), GeomFromEWKT('SRID=4674;POINT (-40.309596 -2.796956)'))) / (select extract(epoch from '2026-07-08 03:00:27'::timestamp) - extract(epoch from '2026-07-08 03:00: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'), 47637, 'SRID=4674;POINT (-40.309432 -2.796984)', '2026-07-08 03:00:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309596 -2.796956)'), GeomFromEWKT('SRID=4674;POINT (-40.309432 -2.796984)'))) / (select extract(epoch from '2026-07-08 03:00:35'::timestamp) - extract(epoch from '2026-07-08 03:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309596 -2.796956)'), GeomFromEWKT('SRID=4674;POINT (-40.309432 -2.796984)'))) / (select extract(epoch from '2026-07-08 03:00:35'::timestamp) - extract(epoch from '2026-07-08 03:00: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'), 47637, 'SRID=4674;POINT (-40.309257 -2.797045)', '2026-07-08 03:00:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309432 -2.796984)'), GeomFromEWKT('SRID=4674;POINT (-40.309257 -2.797045)'))) / (select extract(epoch from '2026-07-08 03:00:44'::timestamp) - extract(epoch from '2026-07-08 03:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309432 -2.796984)'), GeomFromEWKT('SRID=4674;POINT (-40.309257 -2.797045)'))) / (select extract(epoch from '2026-07-08 03:00:44'::timestamp) - extract(epoch from '2026-07-08 03:00: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'), 47637, 'SRID=4674;POINT (-40.309079 -2.7971)', '2026-07-08 03:00:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309257 -2.797045)'), GeomFromEWKT('SRID=4674;POINT (-40.309079 -2.7971)'))) / (select extract(epoch from '2026-07-08 03:00:53'::timestamp) - extract(epoch from '2026-07-08 03:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309257 -2.797045)'), GeomFromEWKT('SRID=4674;POINT (-40.309079 -2.7971)'))) / (select extract(epoch from '2026-07-08 03:00:53'::timestamp) - extract(epoch from '2026-07-08 03:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.308927 -2.797151)', '2026-07-08 03:01:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309079 -2.7971)'), GeomFromEWKT('SRID=4674;POINT (-40.308927 -2.797151)'))) / (select extract(epoch from '2026-07-08 03:01:01'::timestamp) - extract(epoch from '2026-07-08 03:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309079 -2.7971)'), GeomFromEWKT('SRID=4674;POINT (-40.308927 -2.797151)'))) / (select extract(epoch from '2026-07-08 03:01:01'::timestamp) - extract(epoch from '2026-07-08 03:00: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'), 47637, 'SRID=4674;POINT (-40.308775 -2.797208)', '2026-07-08 03:01:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308927 -2.797151)'), GeomFromEWKT('SRID=4674;POINT (-40.308775 -2.797208)'))) / (select extract(epoch from '2026-07-08 03:01:09'::timestamp) - extract(epoch from '2026-07-08 03:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308927 -2.797151)'), GeomFromEWKT('SRID=4674;POINT (-40.308775 -2.797208)'))) / (select extract(epoch from '2026-07-08 03:01:09'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.308645 -2.797267)', '2026-07-08 03:01:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308775 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-40.308645 -2.797267)'))) / (select extract(epoch from '2026-07-08 03:01:16'::timestamp) - extract(epoch from '2026-07-08 03:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308775 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-40.308645 -2.797267)'))) / (select extract(epoch from '2026-07-08 03:01:16'::timestamp) - extract(epoch from '2026-07-08 03:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30847 -2.797316)', '2026-07-08 03:01:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308645 -2.797267)'), GeomFromEWKT('SRID=4674;POINT (-40.30847 -2.797316)'))) / (select extract(epoch from '2026-07-08 03:01:25'::timestamp) - extract(epoch from '2026-07-08 03:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308645 -2.797267)'), GeomFromEWKT('SRID=4674;POINT (-40.30847 -2.797316)'))) / (select extract(epoch from '2026-07-08 03:01:25'::timestamp) - extract(epoch from '2026-07-08 03:01: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'), 47637, 'SRID=4674;POINT (-40.308382 -2.797345)', '2026-07-08 03:01:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30847 -2.797316)'), GeomFromEWKT('SRID=4674;POINT (-40.308382 -2.797345)'))) / (select extract(epoch from '2026-07-08 03:01:31'::timestamp) - extract(epoch from '2026-07-08 03:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30847 -2.797316)'), GeomFromEWKT('SRID=4674;POINT (-40.308382 -2.797345)'))) / (select extract(epoch from '2026-07-08 03:01:31'::timestamp) - extract(epoch from '2026-07-08 03:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.308315 -2.797372)', '2026-07-08 03:01:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308382 -2.797345)'), GeomFromEWKT('SRID=4674;POINT (-40.308315 -2.797372)'))) / (select extract(epoch from '2026-07-08 03:01:38'::timestamp) - extract(epoch from '2026-07-08 03:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308382 -2.797345)'), GeomFromEWKT('SRID=4674;POINT (-40.308315 -2.797372)'))) / (select extract(epoch from '2026-07-08 03:01:38'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.308242 -2.797395)', '2026-07-08 03:01:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308315 -2.797372)'), GeomFromEWKT('SRID=4674;POINT (-40.308242 -2.797395)'))) / (select extract(epoch from '2026-07-08 03:01:48'::timestamp) - extract(epoch from '2026-07-08 03:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308315 -2.797372)'), GeomFromEWKT('SRID=4674;POINT (-40.308242 -2.797395)'))) / (select extract(epoch from '2026-07-08 03:01:48'::timestamp) - extract(epoch from '2026-07-08 03:01: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'), 47637, 'SRID=4674;POINT (-40.308205 -2.797408)', '2026-07-08 03:01:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308242 -2.797395)'), GeomFromEWKT('SRID=4674;POINT (-40.308205 -2.797408)'))) / (select extract(epoch from '2026-07-08 03:01:57'::timestamp) - extract(epoch from '2026-07-08 03:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308242 -2.797395)'), GeomFromEWKT('SRID=4674;POINT (-40.308205 -2.797408)'))) / (select extract(epoch from '2026-07-08 03:01:57'::timestamp) - extract(epoch from '2026-07-08 03:01: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'), 47637, 'SRID=4674;POINT (-40.308182 -2.797413)', '2026-07-08 03:02:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308205 -2.797408)'), GeomFromEWKT('SRID=4674;POINT (-40.308182 -2.797413)'))) / (select extract(epoch from '2026-07-08 03:02:08'::timestamp) - extract(epoch from '2026-07-08 03:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308205 -2.797408)'), GeomFromEWKT('SRID=4674;POINT (-40.308182 -2.797413)'))) / (select extract(epoch from '2026-07-08 03:02:08'::timestamp) - extract(epoch from '2026-07-08 03:01: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'), 47637, 'SRID=4674;POINT (-40.308113 -2.797422)', '2026-07-08 03:02:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308182 -2.797413)'), GeomFromEWKT('SRID=4674;POINT (-40.308113 -2.797422)'))) / (select extract(epoch from '2026-07-08 03:02:18'::timestamp) - extract(epoch from '2026-07-08 03:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308182 -2.797413)'), GeomFromEWKT('SRID=4674;POINT (-40.308113 -2.797422)'))) / (select extract(epoch from '2026-07-08 03:02:18'::timestamp) - extract(epoch from '2026-07-08 03:02: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'), 47637, 'SRID=4674;POINT (-40.307989 -2.797456)', '2026-07-08 03:02:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308113 -2.797422)'), GeomFromEWKT('SRID=4674;POINT (-40.307989 -2.797456)'))) / (select extract(epoch from '2026-07-08 03:02:25'::timestamp) - extract(epoch from '2026-07-08 03:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308113 -2.797422)'), GeomFromEWKT('SRID=4674;POINT (-40.307989 -2.797456)'))) / (select extract(epoch from '2026-07-08 03:02:25'::timestamp) - extract(epoch from '2026-07-08 03:02: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'), 47637, 'SRID=4674;POINT (-40.307801 -2.797508)', '2026-07-08 03:02:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307989 -2.797456)'), GeomFromEWKT('SRID=4674;POINT (-40.307801 -2.797508)'))) / (select extract(epoch from '2026-07-08 03:02:34'::timestamp) - extract(epoch from '2026-07-08 03:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307989 -2.797456)'), GeomFromEWKT('SRID=4674;POINT (-40.307801 -2.797508)'))) / (select extract(epoch from '2026-07-08 03:02:34'::timestamp) - extract(epoch from '2026-07-08 03:02: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'), 47637, 'SRID=4674;POINT (-40.307598 -2.797546)', '2026-07-08 03:02:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307801 -2.797508)'), GeomFromEWKT('SRID=4674;POINT (-40.307598 -2.797546)'))) / (select extract(epoch from '2026-07-08 03:02:43'::timestamp) - extract(epoch from '2026-07-08 03:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307801 -2.797508)'), GeomFromEWKT('SRID=4674;POINT (-40.307598 -2.797546)'))) / (select extract(epoch from '2026-07-08 03:02:43'::timestamp) - extract(epoch from '2026-07-08 03:02: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'), 47637, 'SRID=4674;POINT (-40.307355 -2.797601)', '2026-07-08 03:02:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307598 -2.797546)'), GeomFromEWKT('SRID=4674;POINT (-40.307355 -2.797601)'))) / (select extract(epoch from '2026-07-08 03:02:54'::timestamp) - extract(epoch from '2026-07-08 03:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307598 -2.797546)'), GeomFromEWKT('SRID=4674;POINT (-40.307355 -2.797601)'))) / (select extract(epoch from '2026-07-08 03:02:54'::timestamp) - extract(epoch from '2026-07-08 03:02: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'), 47637, 'SRID=4674;POINT (-40.307165 -2.797646)', '2026-07-08 03:03:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307355 -2.797601)'), GeomFromEWKT('SRID=4674;POINT (-40.307165 -2.797646)'))) / (select extract(epoch from '2026-07-08 03:03:03'::timestamp) - extract(epoch from '2026-07-08 03:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307355 -2.797601)'), GeomFromEWKT('SRID=4674;POINT (-40.307165 -2.797646)'))) / (select extract(epoch from '2026-07-08 03:03:03'::timestamp) - extract(epoch from '2026-07-08 03:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.306925 -2.797704)', '2026-07-08 03:03:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307165 -2.797646)'), GeomFromEWKT('SRID=4674;POINT (-40.306925 -2.797704)'))) / (select extract(epoch from '2026-07-08 03:03:14'::timestamp) - extract(epoch from '2026-07-08 03:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307165 -2.797646)'), GeomFromEWKT('SRID=4674;POINT (-40.306925 -2.797704)'))) / (select extract(epoch from '2026-07-08 03:03:14'::timestamp) - extract(epoch from '2026-07-08 03:03:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.306712 -2.797747)', '2026-07-08 03:03:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306925 -2.797704)'), GeomFromEWKT('SRID=4674;POINT (-40.306712 -2.797747)'))) / (select extract(epoch from '2026-07-08 03:03:24'::timestamp) - extract(epoch from '2026-07-08 03:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306925 -2.797704)'), GeomFromEWKT('SRID=4674;POINT (-40.306712 -2.797747)'))) / (select extract(epoch from '2026-07-08 03:03:24'::timestamp) - extract(epoch from '2026-07-08 03:03: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'), 47637, 'SRID=4674;POINT (-40.306564 -2.797799)', '2026-07-08 03:03:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306712 -2.797747)'), GeomFromEWKT('SRID=4674;POINT (-40.306564 -2.797799)'))) / (select extract(epoch from '2026-07-08 03:03:32'::timestamp) - extract(epoch from '2026-07-08 03:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306712 -2.797747)'), GeomFromEWKT('SRID=4674;POINT (-40.306564 -2.797799)'))) / (select extract(epoch from '2026-07-08 03:03:32'::timestamp) - extract(epoch from '2026-07-08 03:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.306479 -2.797827)', '2026-07-08 03:03:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306564 -2.797799)'), GeomFromEWKT('SRID=4674;POINT (-40.306479 -2.797827)'))) / (select extract(epoch from '2026-07-08 03:03:39'::timestamp) - extract(epoch from '2026-07-08 03:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306564 -2.797799)'), GeomFromEWKT('SRID=4674;POINT (-40.306479 -2.797827)'))) / (select extract(epoch from '2026-07-08 03:03:39'::timestamp) - extract(epoch from '2026-07-08 03:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30642 -2.797858)', '2026-07-08 03:03:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306479 -2.797827)'), GeomFromEWKT('SRID=4674;POINT (-40.30642 -2.797858)'))) / (select extract(epoch from '2026-07-08 03:03:47'::timestamp) - extract(epoch from '2026-07-08 03:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306479 -2.797827)'), GeomFromEWKT('SRID=4674;POINT (-40.30642 -2.797858)'))) / (select extract(epoch from '2026-07-08 03:03:47'::timestamp) - extract(epoch from '2026-07-08 03:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.306366 -2.797896)', '2026-07-08 03:03:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30642 -2.797858)'), GeomFromEWKT('SRID=4674;POINT (-40.306366 -2.797896)'))) / (select extract(epoch from '2026-07-08 03:03:58'::timestamp) - extract(epoch from '2026-07-08 03:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30642 -2.797858)'), GeomFromEWKT('SRID=4674;POINT (-40.306366 -2.797896)'))) / (select extract(epoch from '2026-07-08 03:03:58'::timestamp) - extract(epoch from '2026-07-08 03:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.306312 -2.797919)', '2026-07-08 03:04:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306366 -2.797896)'), GeomFromEWKT('SRID=4674;POINT (-40.306312 -2.797919)'))) / (select extract(epoch from '2026-07-08 03:04:18'::timestamp) - extract(epoch from '2026-07-08 03:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306366 -2.797896)'), GeomFromEWKT('SRID=4674;POINT (-40.306312 -2.797919)'))) / (select extract(epoch from '2026-07-08 03:04:18'::timestamp) - extract(epoch from '2026-07-08 03:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.306269 -2.797926)', '2026-07-08 03:04:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306312 -2.797919)'), GeomFromEWKT('SRID=4674;POINT (-40.306269 -2.797926)'))) / (select extract(epoch from '2026-07-08 03:04:38'::timestamp) - extract(epoch from '2026-07-08 03:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306312 -2.797919)'), GeomFromEWKT('SRID=4674;POINT (-40.306269 -2.797926)'))) / (select extract(epoch from '2026-07-08 03:04:38'::timestamp) - extract(epoch from '2026-07-08 03:04: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'), 47637, 'SRID=4674;POINT (-40.306179 -2.797949)', '2026-07-08 03:04:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306269 -2.797926)'), GeomFromEWKT('SRID=4674;POINT (-40.306179 -2.797949)'))) / (select extract(epoch from '2026-07-08 03:04:44'::timestamp) - extract(epoch from '2026-07-08 03:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306269 -2.797926)'), GeomFromEWKT('SRID=4674;POINT (-40.306179 -2.797949)'))) / (select extract(epoch from '2026-07-08 03:04:44'::timestamp) - extract(epoch from '2026-07-08 03:04: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'), 47637, 'SRID=4674;POINT (-40.305999 -2.797992)', '2026-07-08 03:04:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306179 -2.797949)'), GeomFromEWKT('SRID=4674;POINT (-40.305999 -2.797992)'))) / (select extract(epoch from '2026-07-08 03:04:53'::timestamp) - extract(epoch from '2026-07-08 03:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306179 -2.797949)'), GeomFromEWKT('SRID=4674;POINT (-40.305999 -2.797992)'))) / (select extract(epoch from '2026-07-08 03:04:53'::timestamp) - extract(epoch from '2026-07-08 03:04: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'), 47637, 'SRID=4674;POINT (-40.30583 -2.798033)', '2026-07-08 03:05:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305999 -2.797992)'), GeomFromEWKT('SRID=4674;POINT (-40.30583 -2.798033)'))) / (select extract(epoch from '2026-07-08 03:05:01'::timestamp) - extract(epoch from '2026-07-08 03:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305999 -2.797992)'), GeomFromEWKT('SRID=4674;POINT (-40.30583 -2.798033)'))) / (select extract(epoch from '2026-07-08 03:05:01'::timestamp) - extract(epoch from '2026-07-08 03:04: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'), 47637, 'SRID=4674;POINT (-40.305685 -2.798061)', '2026-07-08 03:05:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30583 -2.798033)'), GeomFromEWKT('SRID=4674;POINT (-40.305685 -2.798061)'))) / (select extract(epoch from '2026-07-08 03:05:08'::timestamp) - extract(epoch from '2026-07-08 03:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30583 -2.798033)'), GeomFromEWKT('SRID=4674;POINT (-40.305685 -2.798061)'))) / (select extract(epoch from '2026-07-08 03:05:08'::timestamp) - extract(epoch from '2026-07-08 03:05: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'), 47637, 'SRID=4674;POINT (-40.305502 -2.798106)', '2026-07-08 03:05:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305685 -2.798061)'), GeomFromEWKT('SRID=4674;POINT (-40.305502 -2.798106)'))) / (select extract(epoch from '2026-07-08 03:05:17'::timestamp) - extract(epoch from '2026-07-08 03:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305685 -2.798061)'), GeomFromEWKT('SRID=4674;POINT (-40.305502 -2.798106)'))) / (select extract(epoch from '2026-07-08 03:05:17'::timestamp) - extract(epoch from '2026-07-08 03:05: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'), 47637, 'SRID=4674;POINT (-40.305318 -2.798157)', '2026-07-08 03:05:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305502 -2.798106)'), GeomFromEWKT('SRID=4674;POINT (-40.305318 -2.798157)'))) / (select extract(epoch from '2026-07-08 03:05:26'::timestamp) - extract(epoch from '2026-07-08 03:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305502 -2.798106)'), GeomFromEWKT('SRID=4674;POINT (-40.305318 -2.798157)'))) / (select extract(epoch from '2026-07-08 03:05:26'::timestamp) - extract(epoch from '2026-07-08 03:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.305113 -2.798221)', '2026-07-08 03:05:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305318 -2.798157)'), GeomFromEWKT('SRID=4674;POINT (-40.305113 -2.798221)'))) / (select extract(epoch from '2026-07-08 03:05:36'::timestamp) - extract(epoch from '2026-07-08 03:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305318 -2.798157)'), GeomFromEWKT('SRID=4674;POINT (-40.305113 -2.798221)'))) / (select extract(epoch from '2026-07-08 03:05:36'::timestamp) - extract(epoch from '2026-07-08 03:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.304928 -2.798269)', '2026-07-08 03:05:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305113 -2.798221)'), GeomFromEWKT('SRID=4674;POINT (-40.304928 -2.798269)'))) / (select extract(epoch from '2026-07-08 03:05:45'::timestamp) - extract(epoch from '2026-07-08 03:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305113 -2.798221)'), GeomFromEWKT('SRID=4674;POINT (-40.304928 -2.798269)'))) / (select extract(epoch from '2026-07-08 03:05:45'::timestamp) - extract(epoch from '2026-07-08 03:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.304728 -2.798338)', '2026-07-08 03:05:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304928 -2.798269)'), GeomFromEWKT('SRID=4674;POINT (-40.304728 -2.798338)'))) / (select extract(epoch from '2026-07-08 03:05:55'::timestamp) - extract(epoch from '2026-07-08 03:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304928 -2.798269)'), GeomFromEWKT('SRID=4674;POINT (-40.304728 -2.798338)'))) / (select extract(epoch from '2026-07-08 03:05:55'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.304521 -2.79841)', '2026-07-08 03:06:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304728 -2.798338)'), GeomFromEWKT('SRID=4674;POINT (-40.304521 -2.79841)'))) / (select extract(epoch from '2026-07-08 03:06:05'::timestamp) - extract(epoch from '2026-07-08 03:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304728 -2.798338)'), GeomFromEWKT('SRID=4674;POINT (-40.304521 -2.79841)'))) / (select extract(epoch from '2026-07-08 03:06:05'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.30434 -2.798485)', '2026-07-08 03:06:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304521 -2.79841)'), GeomFromEWKT('SRID=4674;POINT (-40.30434 -2.798485)'))) / (select extract(epoch from '2026-07-08 03:06:14'::timestamp) - extract(epoch from '2026-07-08 03:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304521 -2.79841)'), GeomFromEWKT('SRID=4674;POINT (-40.30434 -2.798485)'))) / (select extract(epoch from '2026-07-08 03:06:14'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.304142 -2.798558)', '2026-07-08 03:06:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30434 -2.798485)'), GeomFromEWKT('SRID=4674;POINT (-40.304142 -2.798558)'))) / (select extract(epoch from '2026-07-08 03:06:24'::timestamp) - extract(epoch from '2026-07-08 03:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30434 -2.798485)'), GeomFromEWKT('SRID=4674;POINT (-40.304142 -2.798558)'))) / (select extract(epoch from '2026-07-08 03:06:24'::timestamp) - extract(epoch from '2026-07-08 03:06: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'), 47637, 'SRID=4674;POINT (-40.303948 -2.798597)', '2026-07-08 03:06:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304142 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.303948 -2.798597)'))) / (select extract(epoch from '2026-07-08 03:06:33'::timestamp) - extract(epoch from '2026-07-08 03:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304142 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.303948 -2.798597)'))) / (select extract(epoch from '2026-07-08 03:06:33'::timestamp) - extract(epoch from '2026-07-08 03:06: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'), 47637, 'SRID=4674;POINT (-40.303706 -2.798583)', '2026-07-08 03:06:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303948 -2.798597)'), GeomFromEWKT('SRID=4674;POINT (-40.303706 -2.798583)'))) / (select extract(epoch from '2026-07-08 03:06:44'::timestamp) - extract(epoch from '2026-07-08 03:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303948 -2.798597)'), GeomFromEWKT('SRID=4674;POINT (-40.303706 -2.798583)'))) / (select extract(epoch from '2026-07-08 03:06:44'::timestamp) - extract(epoch from '2026-07-08 03:06: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'), 47637, 'SRID=4674;POINT (-40.30351 -2.798585)', '2026-07-08 03:06:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303706 -2.798583)'), GeomFromEWKT('SRID=4674;POINT (-40.30351 -2.798585)'))) / (select extract(epoch from '2026-07-08 03:06:53'::timestamp) - extract(epoch from '2026-07-08 03:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303706 -2.798583)'), GeomFromEWKT('SRID=4674;POINT (-40.30351 -2.798585)'))) / (select extract(epoch from '2026-07-08 03:06:53'::timestamp) - extract(epoch from '2026-07-08 03:06: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'), 47637, 'SRID=4674;POINT (-40.30335 -2.798586)', '2026-07-08 03:07:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30351 -2.798585)'), GeomFromEWKT('SRID=4674;POINT (-40.30335 -2.798586)'))) / (select extract(epoch from '2026-07-08 03:07:01'::timestamp) - extract(epoch from '2026-07-08 03:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30351 -2.798585)'), GeomFromEWKT('SRID=4674;POINT (-40.30335 -2.798586)'))) / (select extract(epoch from '2026-07-08 03:07:01'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.303128 -2.798579)', '2026-07-08 03:07:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30335 -2.798586)'), GeomFromEWKT('SRID=4674;POINT (-40.303128 -2.798579)'))) / (select extract(epoch from '2026-07-08 03:07:12'::timestamp) - extract(epoch from '2026-07-08 03:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30335 -2.798586)'), GeomFromEWKT('SRID=4674;POINT (-40.303128 -2.798579)'))) / (select extract(epoch from '2026-07-08 03:07:12'::timestamp) - extract(epoch from '2026-07-08 03:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.302912 -2.798594)', '2026-07-08 03:07:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303128 -2.798579)'), GeomFromEWKT('SRID=4674;POINT (-40.302912 -2.798594)'))) / (select extract(epoch from '2026-07-08 03:07:22'::timestamp) - extract(epoch from '2026-07-08 03:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303128 -2.798579)'), GeomFromEWKT('SRID=4674;POINT (-40.302912 -2.798594)'))) / (select extract(epoch from '2026-07-08 03:07:22'::timestamp) - extract(epoch from '2026-07-08 03:07: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'), 47637, 'SRID=4674;POINT (-40.302712 -2.7986)', '2026-07-08 03:07:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302912 -2.798594)'), GeomFromEWKT('SRID=4674;POINT (-40.302712 -2.7986)'))) / (select extract(epoch from '2026-07-08 03:07:31'::timestamp) - extract(epoch from '2026-07-08 03:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302912 -2.798594)'), GeomFromEWKT('SRID=4674;POINT (-40.302712 -2.7986)'))) / (select extract(epoch from '2026-07-08 03:07:31'::timestamp) - extract(epoch from '2026-07-08 03:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.302439 -2.798619)', '2026-07-08 03:07:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302712 -2.7986)'), GeomFromEWKT('SRID=4674;POINT (-40.302439 -2.798619)'))) / (select extract(epoch from '2026-07-08 03:07:44'::timestamp) - extract(epoch from '2026-07-08 03:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302712 -2.7986)'), GeomFromEWKT('SRID=4674;POINT (-40.302439 -2.798619)'))) / (select extract(epoch from '2026-07-08 03:07:44'::timestamp) - extract(epoch from '2026-07-08 03:07: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'), 47637, 'SRID=4674;POINT (-40.302288 -2.798624)', '2026-07-08 03:07:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302439 -2.798619)'), GeomFromEWKT('SRID=4674;POINT (-40.302288 -2.798624)'))) / (select extract(epoch from '2026-07-08 03:07:51'::timestamp) - extract(epoch from '2026-07-08 03:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302439 -2.798619)'), GeomFromEWKT('SRID=4674;POINT (-40.302288 -2.798624)'))) / (select extract(epoch from '2026-07-08 03:07:51'::timestamp) - extract(epoch from '2026-07-08 03:07:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.302132 -2.798624)', '2026-07-08 03:07:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302288 -2.798624)'), GeomFromEWKT('SRID=4674;POINT (-40.302132 -2.798624)'))) / (select extract(epoch from '2026-07-08 03:07:58'::timestamp) - extract(epoch from '2026-07-08 03:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302288 -2.798624)'), GeomFromEWKT('SRID=4674;POINT (-40.302132 -2.798624)'))) / (select extract(epoch from '2026-07-08 03:07:58'::timestamp) - extract(epoch from '2026-07-08 03:07: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'), 47637, 'SRID=4674;POINT (-40.301952 -2.798632)', '2026-07-08 03:08:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302132 -2.798624)'), GeomFromEWKT('SRID=4674;POINT (-40.301952 -2.798632)'))) / (select extract(epoch from '2026-07-08 03:08:06'::timestamp) - extract(epoch from '2026-07-08 03:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302132 -2.798624)'), GeomFromEWKT('SRID=4674;POINT (-40.301952 -2.798632)'))) / (select extract(epoch from '2026-07-08 03:08:06'::timestamp) - extract(epoch from '2026-07-08 03:07: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'), 47637, 'SRID=4674;POINT (-40.301753 -2.798643)', '2026-07-08 03:08:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301952 -2.798632)'), GeomFromEWKT('SRID=4674;POINT (-40.301753 -2.798643)'))) / (select extract(epoch from '2026-07-08 03:08:15'::timestamp) - extract(epoch from '2026-07-08 03:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301952 -2.798632)'), GeomFromEWKT('SRID=4674;POINT (-40.301753 -2.798643)'))) / (select extract(epoch from '2026-07-08 03:08:15'::timestamp) - extract(epoch from '2026-07-08 03:08: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'), 47637, 'SRID=4674;POINT (-40.301582 -2.798632)', '2026-07-08 03:08:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301753 -2.798643)'), GeomFromEWKT('SRID=4674;POINT (-40.301582 -2.798632)'))) / (select extract(epoch from '2026-07-08 03:08:23'::timestamp) - extract(epoch from '2026-07-08 03:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301753 -2.798643)'), GeomFromEWKT('SRID=4674;POINT (-40.301582 -2.798632)'))) / (select extract(epoch from '2026-07-08 03:08:23'::timestamp) - extract(epoch from '2026-07-08 03:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.30136 -2.798619)', '2026-07-08 03:08:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301582 -2.798632)'), GeomFromEWKT('SRID=4674;POINT (-40.30136 -2.798619)'))) / (select extract(epoch from '2026-07-08 03:08:33'::timestamp) - extract(epoch from '2026-07-08 03:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301582 -2.798632)'), GeomFromEWKT('SRID=4674;POINT (-40.30136 -2.798619)'))) / (select extract(epoch from '2026-07-08 03:08:33'::timestamp) - extract(epoch from '2026-07-08 03:08: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'), 47637, 'SRID=4674;POINT (-40.301182 -2.798617)', '2026-07-08 03:08:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30136 -2.798619)'), GeomFromEWKT('SRID=4674;POINT (-40.301182 -2.798617)'))) / (select extract(epoch from '2026-07-08 03:08:42'::timestamp) - extract(epoch from '2026-07-08 03:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30136 -2.798619)'), GeomFromEWKT('SRID=4674;POINT (-40.301182 -2.798617)'))) / (select extract(epoch from '2026-07-08 03:08:42'::timestamp) - extract(epoch from '2026-07-08 03:08: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'), 47637, 'SRID=4674;POINT (-40.30098 -2.798604)', '2026-07-08 03:08:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301182 -2.798617)'), GeomFromEWKT('SRID=4674;POINT (-40.30098 -2.798604)'))) / (select extract(epoch from '2026-07-08 03:08:52'::timestamp) - extract(epoch from '2026-07-08 03:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301182 -2.798617)'), GeomFromEWKT('SRID=4674;POINT (-40.30098 -2.798604)'))) / (select extract(epoch from '2026-07-08 03:08:52'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.30081 -2.798571)', '2026-07-08 03:09:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30098 -2.798604)'), GeomFromEWKT('SRID=4674;POINT (-40.30081 -2.798571)'))) / (select extract(epoch from '2026-07-08 03:09:00'::timestamp) - extract(epoch from '2026-07-08 03:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30098 -2.798604)'), GeomFromEWKT('SRID=4674;POINT (-40.30081 -2.798571)'))) / (select extract(epoch from '2026-07-08 03:09:00'::timestamp) - extract(epoch from '2026-07-08 03:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.300601 -2.798538)', '2026-07-08 03:09:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30081 -2.798571)'), GeomFromEWKT('SRID=4674;POINT (-40.300601 -2.798538)'))) / (select extract(epoch from '2026-07-08 03:09:10'::timestamp) - extract(epoch from '2026-07-08 03:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30081 -2.798571)'), GeomFromEWKT('SRID=4674;POINT (-40.300601 -2.798538)'))) / (select extract(epoch from '2026-07-08 03:09:10'::timestamp) - extract(epoch from '2026-07-08 03:09: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'), 47637, 'SRID=4674;POINT (-40.300377 -2.798512)', '2026-07-08 03:09:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300601 -2.798538)'), GeomFromEWKT('SRID=4674;POINT (-40.300377 -2.798512)'))) / (select extract(epoch from '2026-07-08 03:09:20'::timestamp) - extract(epoch from '2026-07-08 03:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300601 -2.798538)'), GeomFromEWKT('SRID=4674;POINT (-40.300377 -2.798512)'))) / (select extract(epoch from '2026-07-08 03:09:20'::timestamp) - extract(epoch from '2026-07-08 03:09: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'), 47637, 'SRID=4674;POINT (-40.300189 -2.798491)', '2026-07-08 03:09:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300377 -2.798512)'), GeomFromEWKT('SRID=4674;POINT (-40.300189 -2.798491)'))) / (select extract(epoch from '2026-07-08 03:09:29'::timestamp) - extract(epoch from '2026-07-08 03:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300377 -2.798512)'), GeomFromEWKT('SRID=4674;POINT (-40.300189 -2.798491)'))) / (select extract(epoch from '2026-07-08 03:09:29'::timestamp) - extract(epoch from '2026-07-08 03:09: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'), 47637, 'SRID=4674;POINT (-40.29997 -2.798474)', '2026-07-08 03:09:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300189 -2.798491)'), GeomFromEWKT('SRID=4674;POINT (-40.29997 -2.798474)'))) / (select extract(epoch from '2026-07-08 03:09:39'::timestamp) - extract(epoch from '2026-07-08 03:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300189 -2.798491)'), GeomFromEWKT('SRID=4674;POINT (-40.29997 -2.798474)'))) / (select extract(epoch from '2026-07-08 03:09:39'::timestamp) - extract(epoch from '2026-07-08 03:09: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'), 47637, 'SRID=4674;POINT (-40.299757 -2.798462)', '2026-07-08 03:09:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29997 -2.798474)'), GeomFromEWKT('SRID=4674;POINT (-40.299757 -2.798462)'))) / (select extract(epoch from '2026-07-08 03:09:49'::timestamp) - extract(epoch from '2026-07-08 03:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29997 -2.798474)'), GeomFromEWKT('SRID=4674;POINT (-40.299757 -2.798462)'))) / (select extract(epoch from '2026-07-08 03:09:49'::timestamp) - extract(epoch from '2026-07-08 03:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.299539 -2.798429)', '2026-07-08 03:09:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299757 -2.798462)'), GeomFromEWKT('SRID=4674;POINT (-40.299539 -2.798429)'))) / (select extract(epoch from '2026-07-08 03:09:59'::timestamp) - extract(epoch from '2026-07-08 03:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299757 -2.798462)'), GeomFromEWKT('SRID=4674;POINT (-40.299539 -2.798429)'))) / (select extract(epoch from '2026-07-08 03:09:59'::timestamp) - extract(epoch from '2026-07-08 03:09: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'), 47637, 'SRID=4674;POINT (-40.299281 -2.798393)', '2026-07-08 03:10:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299539 -2.798429)'), GeomFromEWKT('SRID=4674;POINT (-40.299281 -2.798393)'))) / (select extract(epoch from '2026-07-08 03:10:11'::timestamp) - extract(epoch from '2026-07-08 03:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299539 -2.798429)'), GeomFromEWKT('SRID=4674;POINT (-40.299281 -2.798393)'))) / (select extract(epoch from '2026-07-08 03:10:11'::timestamp) - extract(epoch from '2026-07-08 03:09: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'), 47637, 'SRID=4674;POINT (-40.29905 -2.798351)', '2026-07-08 03:10:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299281 -2.798393)'), GeomFromEWKT('SRID=4674;POINT (-40.29905 -2.798351)'))) / (select extract(epoch from '2026-07-08 03:10:22'::timestamp) - extract(epoch from '2026-07-08 03:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299281 -2.798393)'), GeomFromEWKT('SRID=4674;POINT (-40.29905 -2.798351)'))) / (select extract(epoch from '2026-07-08 03:10:22'::timestamp) - extract(epoch from '2026-07-08 03:10: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'), 47637, 'SRID=4674;POINT (-40.29886 -2.798332)', '2026-07-08 03:10:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29905 -2.798351)'), GeomFromEWKT('SRID=4674;POINT (-40.29886 -2.798332)'))) / (select extract(epoch from '2026-07-08 03:10:31'::timestamp) - extract(epoch from '2026-07-08 03:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29905 -2.798351)'), GeomFromEWKT('SRID=4674;POINT (-40.29886 -2.798332)'))) / (select extract(epoch from '2026-07-08 03:10:31'::timestamp) - extract(epoch from '2026-07-08 03:10: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'), 47637, 'SRID=4674;POINT (-40.298675 -2.798324)', '2026-07-08 03:10:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29886 -2.798332)'), GeomFromEWKT('SRID=4674;POINT (-40.298675 -2.798324)'))) / (select extract(epoch from '2026-07-08 03:10:40'::timestamp) - extract(epoch from '2026-07-08 03:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29886 -2.798332)'), GeomFromEWKT('SRID=4674;POINT (-40.298675 -2.798324)'))) / (select extract(epoch from '2026-07-08 03:10:40'::timestamp) - extract(epoch from '2026-07-08 03:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.298415 -2.798326)', '2026-07-08 03:10:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298675 -2.798324)'), GeomFromEWKT('SRID=4674;POINT (-40.298415 -2.798326)'))) / (select extract(epoch from '2026-07-08 03:10:52'::timestamp) - extract(epoch from '2026-07-08 03:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298675 -2.798324)'), GeomFromEWKT('SRID=4674;POINT (-40.298415 -2.798326)'))) / (select extract(epoch from '2026-07-08 03:10:52'::timestamp) - extract(epoch from '2026-07-08 03:10: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'), 47637, 'SRID=4674;POINT (-40.298145 -2.798344)', '2026-07-08 03:11:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298415 -2.798326)'), GeomFromEWKT('SRID=4674;POINT (-40.298145 -2.798344)'))) / (select extract(epoch from '2026-07-08 03:11:04'::timestamp) - extract(epoch from '2026-07-08 03:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298415 -2.798326)'), GeomFromEWKT('SRID=4674;POINT (-40.298145 -2.798344)'))) / (select extract(epoch from '2026-07-08 03:11:04'::timestamp) - extract(epoch from '2026-07-08 03:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297919 -2.798349)', '2026-07-08 03:11:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298145 -2.798344)'), GeomFromEWKT('SRID=4674;POINT (-40.297919 -2.798349)'))) / (select extract(epoch from '2026-07-08 03:11:14'::timestamp) - extract(epoch from '2026-07-08 03:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298145 -2.798344)'), GeomFromEWKT('SRID=4674;POINT (-40.297919 -2.798349)'))) / (select extract(epoch from '2026-07-08 03:11:14'::timestamp) - extract(epoch from '2026-07-08 03:11: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'), 47637, 'SRID=4674;POINT (-40.297702 -2.798313)', '2026-07-08 03:11:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297919 -2.798349)'), GeomFromEWKT('SRID=4674;POINT (-40.297702 -2.798313)'))) / (select extract(epoch from '2026-07-08 03:11:24'::timestamp) - extract(epoch from '2026-07-08 03:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297919 -2.798349)'), GeomFromEWKT('SRID=4674;POINT (-40.297702 -2.798313)'))) / (select extract(epoch from '2026-07-08 03:11:24'::timestamp) - extract(epoch from '2026-07-08 03:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297508 -2.798268)', '2026-07-08 03:11:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297702 -2.798313)'), GeomFromEWKT('SRID=4674;POINT (-40.297508 -2.798268)'))) / (select extract(epoch from '2026-07-08 03:11:33'::timestamp) - extract(epoch from '2026-07-08 03:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297702 -2.798313)'), GeomFromEWKT('SRID=4674;POINT (-40.297508 -2.798268)'))) / (select extract(epoch from '2026-07-08 03:11:33'::timestamp) - extract(epoch from '2026-07-08 03:11: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'), 47637, 'SRID=4674;POINT (-40.297347 -2.798227)', '2026-07-08 03:11:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297508 -2.798268)'), GeomFromEWKT('SRID=4674;POINT (-40.297347 -2.798227)'))) / (select extract(epoch from '2026-07-08 03:11:41'::timestamp) - extract(epoch from '2026-07-08 03:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297508 -2.798268)'), GeomFromEWKT('SRID=4674;POINT (-40.297347 -2.798227)'))) / (select extract(epoch from '2026-07-08 03:11:41'::timestamp) - extract(epoch from '2026-07-08 03:11:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297138 -2.79817)', '2026-07-08 03:11:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297347 -2.798227)'), GeomFromEWKT('SRID=4674;POINT (-40.297138 -2.79817)'))) / (select extract(epoch from '2026-07-08 03:11:51'::timestamp) - extract(epoch from '2026-07-08 03:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297347 -2.798227)'), GeomFromEWKT('SRID=4674;POINT (-40.297138 -2.79817)'))) / (select extract(epoch from '2026-07-08 03:11:51'::timestamp) - extract(epoch from '2026-07-08 03:11: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'), 47637, 'SRID=4674;POINT (-40.296964 -2.798125)', '2026-07-08 03:12:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297138 -2.79817)'), GeomFromEWKT('SRID=4674;POINT (-40.296964 -2.798125)'))) / (select extract(epoch from '2026-07-08 03:12:00'::timestamp) - extract(epoch from '2026-07-08 03:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297138 -2.79817)'), GeomFromEWKT('SRID=4674;POINT (-40.296964 -2.798125)'))) / (select extract(epoch from '2026-07-08 03:12:00'::timestamp) - extract(epoch from '2026-07-08 03:11:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296755 -2.798059)', '2026-07-08 03:12:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296964 -2.798125)'), GeomFromEWKT('SRID=4674;POINT (-40.296755 -2.798059)'))) / (select extract(epoch from '2026-07-08 03:12:10'::timestamp) - extract(epoch from '2026-07-08 03:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296964 -2.798125)'), GeomFromEWKT('SRID=4674;POINT (-40.296755 -2.798059)'))) / (select extract(epoch from '2026-07-08 03:12:10'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.296587 -2.797995)', '2026-07-08 03:12:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296755 -2.798059)'), GeomFromEWKT('SRID=4674;POINT (-40.296587 -2.797995)'))) / (select extract(epoch from '2026-07-08 03:12:19'::timestamp) - extract(epoch from '2026-07-08 03:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296755 -2.798059)'), GeomFromEWKT('SRID=4674;POINT (-40.296587 -2.797995)'))) / (select extract(epoch from '2026-07-08 03:12:19'::timestamp) - extract(epoch from '2026-07-08 03:12: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'), 47637, 'SRID=4674;POINT (-40.296396 -2.79792)', '2026-07-08 03:12:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296587 -2.797995)'), GeomFromEWKT('SRID=4674;POINT (-40.296396 -2.79792)'))) / (select extract(epoch from '2026-07-08 03:12:29'::timestamp) - extract(epoch from '2026-07-08 03:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296587 -2.797995)'), GeomFromEWKT('SRID=4674;POINT (-40.296396 -2.79792)'))) / (select extract(epoch from '2026-07-08 03:12:29'::timestamp) - extract(epoch from '2026-07-08 03:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296239 -2.797872)', '2026-07-08 03:12:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296396 -2.79792)'), GeomFromEWKT('SRID=4674;POINT (-40.296239 -2.797872)'))) / (select extract(epoch from '2026-07-08 03:12:37'::timestamp) - extract(epoch from '2026-07-08 03:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296396 -2.79792)'), GeomFromEWKT('SRID=4674;POINT (-40.296239 -2.797872)'))) / (select extract(epoch from '2026-07-08 03:12:37'::timestamp) - extract(epoch from '2026-07-08 03:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296017 -2.797837)', '2026-07-08 03:12:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296239 -2.797872)'), GeomFromEWKT('SRID=4674;POINT (-40.296017 -2.797837)'))) / (select extract(epoch from '2026-07-08 03:12:48'::timestamp) - extract(epoch from '2026-07-08 03:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296239 -2.797872)'), GeomFromEWKT('SRID=4674;POINT (-40.296017 -2.797837)'))) / (select extract(epoch from '2026-07-08 03:12:48'::timestamp) - extract(epoch from '2026-07-08 03:12: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'), 47637, 'SRID=4674;POINT (-40.295831 -2.797816)', '2026-07-08 03:12:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296017 -2.797837)'), GeomFromEWKT('SRID=4674;POINT (-40.295831 -2.797816)'))) / (select extract(epoch from '2026-07-08 03:12:57'::timestamp) - extract(epoch from '2026-07-08 03:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296017 -2.797837)'), GeomFromEWKT('SRID=4674;POINT (-40.295831 -2.797816)'))) / (select extract(epoch from '2026-07-08 03:12:57'::timestamp) - extract(epoch from '2026-07-08 03:12: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'), 47637, 'SRID=4674;POINT (-40.29562 -2.797776)', '2026-07-08 03:13:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295831 -2.797816)'), GeomFromEWKT('SRID=4674;POINT (-40.29562 -2.797776)'))) / (select extract(epoch from '2026-07-08 03:13:07'::timestamp) - extract(epoch from '2026-07-08 03:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295831 -2.797816)'), GeomFromEWKT('SRID=4674;POINT (-40.29562 -2.797776)'))) / (select extract(epoch from '2026-07-08 03:13:07'::timestamp) - extract(epoch from '2026-07-08 03:12: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'), 47637, 'SRID=4674;POINT (-40.295467 -2.797721)', '2026-07-08 03:13:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29562 -2.797776)'), GeomFromEWKT('SRID=4674;POINT (-40.295467 -2.797721)'))) / (select extract(epoch from '2026-07-08 03:13:15'::timestamp) - extract(epoch from '2026-07-08 03:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29562 -2.797776)'), GeomFromEWKT('SRID=4674;POINT (-40.295467 -2.797721)'))) / (select extract(epoch from '2026-07-08 03:13:15'::timestamp) - extract(epoch from '2026-07-08 03:13: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'), 47637, 'SRID=4674;POINT (-40.295319 -2.797688)', '2026-07-08 03:13:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295467 -2.797721)'), GeomFromEWKT('SRID=4674;POINT (-40.295319 -2.797688)'))) / (select extract(epoch from '2026-07-08 03:13:23'::timestamp) - extract(epoch from '2026-07-08 03:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295467 -2.797721)'), GeomFromEWKT('SRID=4674;POINT (-40.295319 -2.797688)'))) / (select extract(epoch from '2026-07-08 03:13:23'::timestamp) - extract(epoch from '2026-07-08 03:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295149 -2.797665)', '2026-07-08 03:13:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295319 -2.797688)'), GeomFromEWKT('SRID=4674;POINT (-40.295149 -2.797665)'))) / (select extract(epoch from '2026-07-08 03:13:32'::timestamp) - extract(epoch from '2026-07-08 03:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295319 -2.797688)'), GeomFromEWKT('SRID=4674;POINT (-40.295149 -2.797665)'))) / (select extract(epoch from '2026-07-08 03:13:32'::timestamp) - extract(epoch from '2026-07-08 03:13:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294966 -2.797638)', '2026-07-08 03:13:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295149 -2.797665)'), GeomFromEWKT('SRID=4674;POINT (-40.294966 -2.797638)'))) / (select extract(epoch from '2026-07-08 03:13:41'::timestamp) - extract(epoch from '2026-07-08 03:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295149 -2.797665)'), GeomFromEWKT('SRID=4674;POINT (-40.294966 -2.797638)'))) / (select extract(epoch from '2026-07-08 03:13:41'::timestamp) - extract(epoch from '2026-07-08 03:13: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'), 47637, 'SRID=4674;POINT (-40.294754 -2.797618)', '2026-07-08 03:13:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294966 -2.797638)'), GeomFromEWKT('SRID=4674;POINT (-40.294754 -2.797618)'))) / (select extract(epoch from '2026-07-08 03:13:51'::timestamp) - extract(epoch from '2026-07-08 03:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294966 -2.797638)'), GeomFromEWKT('SRID=4674;POINT (-40.294754 -2.797618)'))) / (select extract(epoch from '2026-07-08 03:13:51'::timestamp) - extract(epoch from '2026-07-08 03:13: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'), 47637, 'SRID=4674;POINT (-40.294564 -2.797596)', '2026-07-08 03:14:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294754 -2.797618)'), GeomFromEWKT('SRID=4674;POINT (-40.294564 -2.797596)'))) / (select extract(epoch from '2026-07-08 03:14:00'::timestamp) - extract(epoch from '2026-07-08 03:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294754 -2.797618)'), GeomFromEWKT('SRID=4674;POINT (-40.294564 -2.797596)'))) / (select extract(epoch from '2026-07-08 03:14:00'::timestamp) - extract(epoch from '2026-07-08 03:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294397 -2.797571)', '2026-07-08 03:14:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294564 -2.797596)'), GeomFromEWKT('SRID=4674;POINT (-40.294397 -2.797571)'))) / (select extract(epoch from '2026-07-08 03:14:08'::timestamp) - extract(epoch from '2026-07-08 03:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294564 -2.797596)'), GeomFromEWKT('SRID=4674;POINT (-40.294397 -2.797571)'))) / (select extract(epoch from '2026-07-08 03:14:08'::timestamp) - extract(epoch from '2026-07-08 03:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294201 -2.797551)', '2026-07-08 03:14:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294397 -2.797571)'), GeomFromEWKT('SRID=4674;POINT (-40.294201 -2.797551)'))) / (select extract(epoch from '2026-07-08 03:14:17'::timestamp) - extract(epoch from '2026-07-08 03:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294397 -2.797571)'), GeomFromEWKT('SRID=4674;POINT (-40.294201 -2.797551)'))) / (select extract(epoch from '2026-07-08 03:14:17'::timestamp) - extract(epoch from '2026-07-08 03:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.293946 -2.797511)', '2026-07-08 03:14:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294201 -2.797551)'), GeomFromEWKT('SRID=4674;POINT (-40.293946 -2.797511)'))) / (select extract(epoch from '2026-07-08 03:14:29'::timestamp) - extract(epoch from '2026-07-08 03:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294201 -2.797551)'), GeomFromEWKT('SRID=4674;POINT (-40.293946 -2.797511)'))) / (select extract(epoch from '2026-07-08 03:14:29'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.293758 -2.797484)', '2026-07-08 03:14:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293946 -2.797511)'), GeomFromEWKT('SRID=4674;POINT (-40.293758 -2.797484)'))) / (select extract(epoch from '2026-07-08 03:14:38'::timestamp) - extract(epoch from '2026-07-08 03:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293946 -2.797511)'), GeomFromEWKT('SRID=4674;POINT (-40.293758 -2.797484)'))) / (select extract(epoch from '2026-07-08 03:14:38'::timestamp) - extract(epoch from '2026-07-08 03:14: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'), 47637, 'SRID=4674;POINT (-40.29359 -2.797454)', '2026-07-08 03:14:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293758 -2.797484)'), GeomFromEWKT('SRID=4674;POINT (-40.29359 -2.797454)'))) / (select extract(epoch from '2026-07-08 03:14:46'::timestamp) - extract(epoch from '2026-07-08 03:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293758 -2.797484)'), GeomFromEWKT('SRID=4674;POINT (-40.29359 -2.797454)'))) / (select extract(epoch from '2026-07-08 03:14:46'::timestamp) - extract(epoch from '2026-07-08 03:14: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'), 47637, 'SRID=4674;POINT (-40.293397 -2.797404)', '2026-07-08 03:14:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29359 -2.797454)'), GeomFromEWKT('SRID=4674;POINT (-40.293397 -2.797404)'))) / (select extract(epoch from '2026-07-08 03:14:55'::timestamp) - extract(epoch from '2026-07-08 03:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29359 -2.797454)'), GeomFromEWKT('SRID=4674;POINT (-40.293397 -2.797404)'))) / (select extract(epoch from '2026-07-08 03:14:55'::timestamp) - extract(epoch from '2026-07-08 03:14: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'), 47637, 'SRID=4674;POINT (-40.293202 -2.797369)', '2026-07-08 03:15:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293397 -2.797404)'), GeomFromEWKT('SRID=4674;POINT (-40.293202 -2.797369)'))) / (select extract(epoch from '2026-07-08 03:15:04'::timestamp) - extract(epoch from '2026-07-08 03:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293397 -2.797404)'), GeomFromEWKT('SRID=4674;POINT (-40.293202 -2.797369)'))) / (select extract(epoch from '2026-07-08 03:15:04'::timestamp) - extract(epoch from '2026-07-08 03:14: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'), 47637, 'SRID=4674;POINT (-40.293007 -2.797357)', '2026-07-08 03:15:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293202 -2.797369)'), GeomFromEWKT('SRID=4674;POINT (-40.293007 -2.797357)'))) / (select extract(epoch from '2026-07-08 03:15:13'::timestamp) - extract(epoch from '2026-07-08 03:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293202 -2.797369)'), GeomFromEWKT('SRID=4674;POINT (-40.293007 -2.797357)'))) / (select extract(epoch from '2026-07-08 03:15:13'::timestamp) - extract(epoch from '2026-07-08 03:15: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'), 47637, 'SRID=4674;POINT (-40.29283 -2.797337)', '2026-07-08 03:15:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293007 -2.797357)'), GeomFromEWKT('SRID=4674;POINT (-40.29283 -2.797337)'))) / (select extract(epoch from '2026-07-08 03:15:22'::timestamp) - extract(epoch from '2026-07-08 03:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293007 -2.797357)'), GeomFromEWKT('SRID=4674;POINT (-40.29283 -2.797337)'))) / (select extract(epoch from '2026-07-08 03:15:22'::timestamp) - extract(epoch from '2026-07-08 03:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.292676 -2.797324)', '2026-07-08 03:15:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29283 -2.797337)'), GeomFromEWKT('SRID=4674;POINT (-40.292676 -2.797324)'))) / (select extract(epoch from '2026-07-08 03:15:30'::timestamp) - extract(epoch from '2026-07-08 03:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29283 -2.797337)'), GeomFromEWKT('SRID=4674;POINT (-40.292676 -2.797324)'))) / (select extract(epoch from '2026-07-08 03:15:30'::timestamp) - extract(epoch from '2026-07-08 03:15: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'), 47637, 'SRID=4674;POINT (-40.292499 -2.797322)', '2026-07-08 03:15:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292676 -2.797324)'), GeomFromEWKT('SRID=4674;POINT (-40.292499 -2.797322)'))) / (select extract(epoch from '2026-07-08 03:15:39'::timestamp) - extract(epoch from '2026-07-08 03:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292676 -2.797324)'), GeomFromEWKT('SRID=4674;POINT (-40.292499 -2.797322)'))) / (select extract(epoch from '2026-07-08 03:15:39'::timestamp) - extract(epoch from '2026-07-08 03:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.292339 -2.79731)', '2026-07-08 03:15:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292499 -2.797322)'), GeomFromEWKT('SRID=4674;POINT (-40.292339 -2.79731)'))) / (select extract(epoch from '2026-07-08 03:15:47'::timestamp) - extract(epoch from '2026-07-08 03:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292499 -2.797322)'), GeomFromEWKT('SRID=4674;POINT (-40.292339 -2.79731)'))) / (select extract(epoch from '2026-07-08 03:15:47'::timestamp) - extract(epoch from '2026-07-08 03:15: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'), 47637, 'SRID=4674;POINT (-40.292111 -2.797295)', '2026-07-08 03:15:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292339 -2.79731)'), GeomFromEWKT('SRID=4674;POINT (-40.292111 -2.797295)'))) / (select extract(epoch from '2026-07-08 03:15:58'::timestamp) - extract(epoch from '2026-07-08 03:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292339 -2.79731)'), GeomFromEWKT('SRID=4674;POINT (-40.292111 -2.797295)'))) / (select extract(epoch from '2026-07-08 03:15:58'::timestamp) - extract(epoch from '2026-07-08 03:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.29189 -2.797305)', '2026-07-08 03:16:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292111 -2.797295)'), GeomFromEWKT('SRID=4674;POINT (-40.29189 -2.797305)'))) / (select extract(epoch from '2026-07-08 03:16:09'::timestamp) - extract(epoch from '2026-07-08 03:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292111 -2.797295)'), GeomFromEWKT('SRID=4674;POINT (-40.29189 -2.797305)'))) / (select extract(epoch from '2026-07-08 03:16:09'::timestamp) - extract(epoch from '2026-07-08 03:15: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'), 47637, 'SRID=4674;POINT (-40.291706 -2.797315)', '2026-07-08 03:16:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29189 -2.797305)'), GeomFromEWKT('SRID=4674;POINT (-40.291706 -2.797315)'))) / (select extract(epoch from '2026-07-08 03:16:19'::timestamp) - extract(epoch from '2026-07-08 03:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29189 -2.797305)'), GeomFromEWKT('SRID=4674;POINT (-40.291706 -2.797315)'))) / (select extract(epoch from '2026-07-08 03:16:19'::timestamp) - extract(epoch from '2026-07-08 03:16: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'), 47637, 'SRID=4674;POINT (-40.291489 -2.797323)', '2026-07-08 03:16:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291706 -2.797315)'), GeomFromEWKT('SRID=4674;POINT (-40.291489 -2.797323)'))) / (select extract(epoch from '2026-07-08 03:16:31'::timestamp) - extract(epoch from '2026-07-08 03:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291706 -2.797315)'), GeomFromEWKT('SRID=4674;POINT (-40.291489 -2.797323)'))) / (select extract(epoch from '2026-07-08 03:16:31'::timestamp) - extract(epoch from '2026-07-08 03:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291329 -2.797348)', '2026-07-08 03:16:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291489 -2.797323)'), GeomFromEWKT('SRID=4674;POINT (-40.291329 -2.797348)'))) / (select extract(epoch from '2026-07-08 03:16:40'::timestamp) - extract(epoch from '2026-07-08 03:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291489 -2.797323)'), GeomFromEWKT('SRID=4674;POINT (-40.291329 -2.797348)'))) / (select extract(epoch from '2026-07-08 03:16:40'::timestamp) - extract(epoch from '2026-07-08 03:16: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'), 47637, 'SRID=4674;POINT (-40.291171 -2.797378)', '2026-07-08 03:16:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291329 -2.797348)'), GeomFromEWKT('SRID=4674;POINT (-40.291171 -2.797378)'))) / (select extract(epoch from '2026-07-08 03:16:49'::timestamp) - extract(epoch from '2026-07-08 03:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291329 -2.797348)'), GeomFromEWKT('SRID=4674;POINT (-40.291171 -2.797378)'))) / (select extract(epoch from '2026-07-08 03:16:49'::timestamp) - extract(epoch from '2026-07-08 03:16: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'), 47637, 'SRID=4674;POINT (-40.291046 -2.797405)', '2026-07-08 03:16:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291171 -2.797378)'), GeomFromEWKT('SRID=4674;POINT (-40.291046 -2.797405)'))) / (select extract(epoch from '2026-07-08 03:16:56'::timestamp) - extract(epoch from '2026-07-08 03:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291171 -2.797378)'), GeomFromEWKT('SRID=4674;POINT (-40.291046 -2.797405)'))) / (select extract(epoch from '2026-07-08 03:16:56'::timestamp) - extract(epoch from '2026-07-08 03:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.290907 -2.797439)', '2026-07-08 03:17:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291046 -2.797405)'), GeomFromEWKT('SRID=4674;POINT (-40.290907 -2.797439)'))) / (select extract(epoch from '2026-07-08 03:17:04'::timestamp) - extract(epoch from '2026-07-08 03:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291046 -2.797405)'), GeomFromEWKT('SRID=4674;POINT (-40.290907 -2.797439)'))) / (select extract(epoch from '2026-07-08 03:17:04'::timestamp) - extract(epoch from '2026-07-08 03:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.290744 -2.797472)', '2026-07-08 03:17:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290907 -2.797439)'), GeomFromEWKT('SRID=4674;POINT (-40.290744 -2.797472)'))) / (select extract(epoch from '2026-07-08 03:17:14'::timestamp) - extract(epoch from '2026-07-08 03:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290907 -2.797439)'), GeomFromEWKT('SRID=4674;POINT (-40.290744 -2.797472)'))) / (select extract(epoch from '2026-07-08 03:17:14'::timestamp) - extract(epoch from '2026-07-08 03:17: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'), 47637, 'SRID=4674;POINT (-40.290626 -2.797503)', '2026-07-08 03:17:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290744 -2.797472)'), GeomFromEWKT('SRID=4674;POINT (-40.290626 -2.797503)'))) / (select extract(epoch from '2026-07-08 03:17:21'::timestamp) - extract(epoch from '2026-07-08 03:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290744 -2.797472)'), GeomFromEWKT('SRID=4674;POINT (-40.290626 -2.797503)'))) / (select extract(epoch from '2026-07-08 03:17:21'::timestamp) - extract(epoch from '2026-07-08 03:17: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'), 47637, 'SRID=4674;POINT (-40.290525 -2.79749)', '2026-07-08 03:17:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290626 -2.797503)'), GeomFromEWKT('SRID=4674;POINT (-40.290525 -2.79749)'))) / (select extract(epoch from '2026-07-08 03:17:28'::timestamp) - extract(epoch from '2026-07-08 03:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290626 -2.797503)'), GeomFromEWKT('SRID=4674;POINT (-40.290525 -2.79749)'))) / (select extract(epoch from '2026-07-08 03:17:28'::timestamp) - extract(epoch from '2026-07-08 03:17: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'), 47637, 'SRID=4674;POINT (-40.290424 -2.797468)', '2026-07-08 03:17:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290525 -2.79749)'), GeomFromEWKT('SRID=4674;POINT (-40.290424 -2.797468)'))) / (select extract(epoch from '2026-07-08 03:17:37'::timestamp) - extract(epoch from '2026-07-08 03:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290525 -2.79749)'), GeomFromEWKT('SRID=4674;POINT (-40.290424 -2.797468)'))) / (select extract(epoch from '2026-07-08 03:17:37'::timestamp) - extract(epoch from '2026-07-08 03:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.290303 -2.797489)', '2026-07-08 03:17:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290424 -2.797468)'), GeomFromEWKT('SRID=4674;POINT (-40.290303 -2.797489)'))) / (select extract(epoch from '2026-07-08 03:17:45'::timestamp) - extract(epoch from '2026-07-08 03:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290424 -2.797468)'), GeomFromEWKT('SRID=4674;POINT (-40.290303 -2.797489)'))) / (select extract(epoch from '2026-07-08 03:17:45'::timestamp) - extract(epoch from '2026-07-08 03:17: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'), 47637, 'SRID=4674;POINT (-40.290138 -2.797518)', '2026-07-08 03:17:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290303 -2.797489)'), GeomFromEWKT('SRID=4674;POINT (-40.290138 -2.797518)'))) / (select extract(epoch from '2026-07-08 03:17:54'::timestamp) - extract(epoch from '2026-07-08 03:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290303 -2.797489)'), GeomFromEWKT('SRID=4674;POINT (-40.290138 -2.797518)'))) / (select extract(epoch from '2026-07-08 03:17:54'::timestamp) - extract(epoch from '2026-07-08 03:17: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'), 47637, 'SRID=4674;POINT (-40.289985 -2.797546)', '2026-07-08 03:18:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290138 -2.797518)'), GeomFromEWKT('SRID=4674;POINT (-40.289985 -2.797546)'))) / (select extract(epoch from '2026-07-08 03:18:02'::timestamp) - extract(epoch from '2026-07-08 03:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290138 -2.797518)'), GeomFromEWKT('SRID=4674;POINT (-40.289985 -2.797546)'))) / (select extract(epoch from '2026-07-08 03:18:02'::timestamp) - extract(epoch from '2026-07-08 03:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289866 -2.797566)', '2026-07-08 03:18:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289985 -2.797546)'), GeomFromEWKT('SRID=4674;POINT (-40.289866 -2.797566)'))) / (select extract(epoch from '2026-07-08 03:18:08'::timestamp) - extract(epoch from '2026-07-08 03:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289985 -2.797546)'), GeomFromEWKT('SRID=4674;POINT (-40.289866 -2.797566)'))) / (select extract(epoch from '2026-07-08 03:18:08'::timestamp) - extract(epoch from '2026-07-08 03:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289682 -2.79759)', '2026-07-08 03:18:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289866 -2.797566)'), GeomFromEWKT('SRID=4674;POINT (-40.289682 -2.79759)'))) / (select extract(epoch from '2026-07-08 03:18:17'::timestamp) - extract(epoch from '2026-07-08 03:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289866 -2.797566)'), GeomFromEWKT('SRID=4674;POINT (-40.289682 -2.79759)'))) / (select extract(epoch from '2026-07-08 03:18:17'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.289541 -2.797612)', '2026-07-08 03:18:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289682 -2.79759)'), GeomFromEWKT('SRID=4674;POINT (-40.289541 -2.797612)'))) / (select extract(epoch from '2026-07-08 03:18:24'::timestamp) - extract(epoch from '2026-07-08 03:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289682 -2.79759)'), GeomFromEWKT('SRID=4674;POINT (-40.289541 -2.797612)'))) / (select extract(epoch from '2026-07-08 03:18:24'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.289369 -2.797622)', '2026-07-08 03:18:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289541 -2.797612)'), GeomFromEWKT('SRID=4674;POINT (-40.289369 -2.797622)'))) / (select extract(epoch from '2026-07-08 03:18:33'::timestamp) - extract(epoch from '2026-07-08 03:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289541 -2.797612)'), GeomFromEWKT('SRID=4674;POINT (-40.289369 -2.797622)'))) / (select extract(epoch from '2026-07-08 03:18:33'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.289238 -2.797625)', '2026-07-08 03:18:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289369 -2.797622)'), GeomFromEWKT('SRID=4674;POINT (-40.289238 -2.797625)'))) / (select extract(epoch from '2026-07-08 03:18:40'::timestamp) - extract(epoch from '2026-07-08 03:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289369 -2.797622)'), GeomFromEWKT('SRID=4674;POINT (-40.289238 -2.797625)'))) / (select extract(epoch from '2026-07-08 03:18:40'::timestamp) - extract(epoch from '2026-07-08 03:18: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'), 47637, 'SRID=4674;POINT (-40.289127 -2.797641)', '2026-07-08 03:18:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289238 -2.797625)'), GeomFromEWKT('SRID=4674;POINT (-40.289127 -2.797641)'))) / (select extract(epoch from '2026-07-08 03:18:48'::timestamp) - extract(epoch from '2026-07-08 03:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289238 -2.797625)'), GeomFromEWKT('SRID=4674;POINT (-40.289127 -2.797641)'))) / (select extract(epoch from '2026-07-08 03:18:48'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.289061 -2.797655)', '2026-07-08 03:18:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289127 -2.797641)'), GeomFromEWKT('SRID=4674;POINT (-40.289061 -2.797655)'))) / (select extract(epoch from '2026-07-08 03:18:54'::timestamp) - extract(epoch from '2026-07-08 03:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289127 -2.797641)'), GeomFromEWKT('SRID=4674;POINT (-40.289061 -2.797655)'))) / (select extract(epoch from '2026-07-08 03:18:54'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.289034 -2.797661)', '2026-07-08 03:19:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289061 -2.797655)'), GeomFromEWKT('SRID=4674;POINT (-40.289034 -2.797661)'))) / (select extract(epoch from '2026-07-08 03:19:00'::timestamp) - extract(epoch from '2026-07-08 03:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289061 -2.797655)'), GeomFromEWKT('SRID=4674;POINT (-40.289034 -2.797661)'))) / (select extract(epoch from '2026-07-08 03:19:00'::timestamp) - extract(epoch from '2026-07-08 03:18: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'), 47637, 'SRID=4674;POINT (-40.288998 -2.797676)', '2026-07-08 03:19:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289034 -2.797661)'), GeomFromEWKT('SRID=4674;POINT (-40.288998 -2.797676)'))) / (select extract(epoch from '2026-07-08 03:19:09'::timestamp) - extract(epoch from '2026-07-08 03:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289034 -2.797661)'), GeomFromEWKT('SRID=4674;POINT (-40.288998 -2.797676)'))) / (select extract(epoch from '2026-07-08 03:19:09'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.288986 -2.797696)', '2026-07-08 03:19:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288998 -2.797676)'), GeomFromEWKT('SRID=4674;POINT (-40.288986 -2.797696)'))) / (select extract(epoch from '2026-07-08 03:19:20'::timestamp) - extract(epoch from '2026-07-08 03:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288998 -2.797676)'), GeomFromEWKT('SRID=4674;POINT (-40.288986 -2.797696)'))) / (select extract(epoch from '2026-07-08 03:19:20'::timestamp) - extract(epoch from '2026-07-08 03:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.288977 -2.797722)', '2026-07-08 03:19:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288986 -2.797696)'), GeomFromEWKT('SRID=4674;POINT (-40.288977 -2.797722)'))) / (select extract(epoch from '2026-07-08 03:19:37'::timestamp) - extract(epoch from '2026-07-08 03:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288986 -2.797696)'), GeomFromEWKT('SRID=4674;POINT (-40.288977 -2.797722)'))) / (select extract(epoch from '2026-07-08 03:19:37'::timestamp) - extract(epoch from '2026-07-08 03:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.288984 -2.797729)', '2026-07-08 03:19:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288977 -2.797722)'), GeomFromEWKT('SRID=4674;POINT (-40.288984 -2.797729)'))) / (select extract(epoch from '2026-07-08 03:19:48'::timestamp) - extract(epoch from '2026-07-08 03:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288977 -2.797722)'), GeomFromEWKT('SRID=4674;POINT (-40.288984 -2.797729)'))) / (select extract(epoch from '2026-07-08 03:19:48'::timestamp) - extract(epoch from '2026-07-08 03:19: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'), 47637, 'SRID=4674;POINT (-40.288995 -2.797737)', '2026-07-08 03:20:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288984 -2.797729)'), GeomFromEWKT('SRID=4674;POINT (-40.288995 -2.797737)'))) / (select extract(epoch from '2026-07-08 03:20:05'::timestamp) - extract(epoch from '2026-07-08 03:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288984 -2.797729)'), GeomFromEWKT('SRID=4674;POINT (-40.288995 -2.797737)'))) / (select extract(epoch from '2026-07-08 03:20:05'::timestamp) - extract(epoch from '2026-07-08 03:19: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'), 47637, 'SRID=4674;POINT (-40.289001 -2.797725)', '2026-07-08 03:20:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288995 -2.797737)'), GeomFromEWKT('SRID=4674;POINT (-40.289001 -2.797725)'))) / (select extract(epoch from '2026-07-08 03:20:16'::timestamp) - extract(epoch from '2026-07-08 03:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288995 -2.797737)'), GeomFromEWKT('SRID=4674;POINT (-40.289001 -2.797725)'))) / (select extract(epoch from '2026-07-08 03:20:16'::timestamp) - extract(epoch from '2026-07-08 03:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289018 -2.797704)', '2026-07-08 03:20:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289001 -2.797725)'), GeomFromEWKT('SRID=4674;POINT (-40.289018 -2.797704)'))) / (select extract(epoch from '2026-07-08 03:20:33'::timestamp) - extract(epoch from '2026-07-08 03:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289001 -2.797725)'), GeomFromEWKT('SRID=4674;POINT (-40.289018 -2.797704)'))) / (select extract(epoch from '2026-07-08 03:20:33'::timestamp) - extract(epoch from '2026-07-08 03:20: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'), 47637, 'SRID=4674;POINT (-40.289031 -2.797699)', '2026-07-08 03:20:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289018 -2.797704)'), GeomFromEWKT('SRID=4674;POINT (-40.289031 -2.797699)'))) / (select extract(epoch from '2026-07-08 03:20:41'::timestamp) - extract(epoch from '2026-07-08 03:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289018 -2.797704)'), GeomFromEWKT('SRID=4674;POINT (-40.289031 -2.797699)'))) / (select extract(epoch from '2026-07-08 03:20:41'::timestamp) - extract(epoch from '2026-07-08 03:20: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'), 47637, 'SRID=4674;POINT (-40.289063 -2.797679)', '2026-07-08 03:20:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289031 -2.797699)'), GeomFromEWKT('SRID=4674;POINT (-40.289063 -2.797679)'))) / (select extract(epoch from '2026-07-08 03:20:54'::timestamp) - extract(epoch from '2026-07-08 03:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289031 -2.797699)'), GeomFromEWKT('SRID=4674;POINT (-40.289063 -2.797679)'))) / (select extract(epoch from '2026-07-08 03:20:54'::timestamp) - extract(epoch from '2026-07-08 03:20: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'), 47637, 'SRID=4674;POINT (-40.289124 -2.797658)', '2026-07-08 03:21:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289063 -2.797679)'), GeomFromEWKT('SRID=4674;POINT (-40.289124 -2.797658)'))) / (select extract(epoch from '2026-07-08 03:21:12'::timestamp) - extract(epoch from '2026-07-08 03:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289063 -2.797679)'), GeomFromEWKT('SRID=4674;POINT (-40.289124 -2.797658)'))) / (select extract(epoch from '2026-07-08 03:21:12'::timestamp) - extract(epoch from '2026-07-08 03:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289161 -2.797637)', '2026-07-08 03:21:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289124 -2.797658)'), GeomFromEWKT('SRID=4674;POINT (-40.289161 -2.797637)'))) / (select extract(epoch from '2026-07-08 03:21:26'::timestamp) - extract(epoch from '2026-07-08 03:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289124 -2.797658)'), GeomFromEWKT('SRID=4674;POINT (-40.289161 -2.797637)'))) / (select extract(epoch from '2026-07-08 03:21:26'::timestamp) - extract(epoch from '2026-07-08 03:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289193 -2.797616)', '2026-07-08 03:21:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289161 -2.797637)'), GeomFromEWKT('SRID=4674;POINT (-40.289193 -2.797616)'))) / (select extract(epoch from '2026-07-08 03:21:39'::timestamp) - extract(epoch from '2026-07-08 03:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289161 -2.797637)'), GeomFromEWKT('SRID=4674;POINT (-40.289193 -2.797616)'))) / (select extract(epoch from '2026-07-08 03:21:39'::timestamp) - extract(epoch from '2026-07-08 03:21: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'), 47637, 'SRID=4674;POINT (-40.289219 -2.797599)', '2026-07-08 03:21:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289193 -2.797616)'), GeomFromEWKT('SRID=4674;POINT (-40.289219 -2.797599)'))) / (select extract(epoch from '2026-07-08 03:21:53'::timestamp) - extract(epoch from '2026-07-08 03:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289193 -2.797616)'), GeomFromEWKT('SRID=4674;POINT (-40.289219 -2.797599)'))) / (select extract(epoch from '2026-07-08 03:21:53'::timestamp) - extract(epoch from '2026-07-08 03:21: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'), 47637, 'SRID=4674;POINT (-40.289245 -2.797558)', '2026-07-08 03:22:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289219 -2.797599)'), GeomFromEWKT('SRID=4674;POINT (-40.289245 -2.797558)'))) / (select extract(epoch from '2026-07-08 03:22:21'::timestamp) - extract(epoch from '2026-07-08 03:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289219 -2.797599)'), GeomFromEWKT('SRID=4674;POINT (-40.289245 -2.797558)'))) / (select extract(epoch from '2026-07-08 03:22:21'::timestamp) - extract(epoch from '2026-07-08 03:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289268 -2.797551)', '2026-07-08 03:22:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289245 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.289268 -2.797551)'))) / (select extract(epoch from '2026-07-08 03:22:33'::timestamp) - extract(epoch from '2026-07-08 03:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289245 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.289268 -2.797551)'))) / (select extract(epoch from '2026-07-08 03:22:33'::timestamp) - extract(epoch from '2026-07-08 03:22: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'), 47637, 'SRID=4674;POINT (-40.289298 -2.797531)', '2026-07-08 03:22:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289268 -2.797551)'), GeomFromEWKT('SRID=4674;POINT (-40.289298 -2.797531)'))) / (select extract(epoch from '2026-07-08 03:22:53'::timestamp) - extract(epoch from '2026-07-08 03:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289268 -2.797551)'), GeomFromEWKT('SRID=4674;POINT (-40.289298 -2.797531)'))) / (select extract(epoch from '2026-07-08 03:22:53'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.289319 -2.797511)', '2026-07-08 03:23:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289298 -2.797531)'), GeomFromEWKT('SRID=4674;POINT (-40.289319 -2.797511)'))) / (select extract(epoch from '2026-07-08 03:23:10'::timestamp) - extract(epoch from '2026-07-08 03:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289298 -2.797531)'), GeomFromEWKT('SRID=4674;POINT (-40.289319 -2.797511)'))) / (select extract(epoch from '2026-07-08 03:23:10'::timestamp) - extract(epoch from '2026-07-08 03:22: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'), 47637, 'SRID=4674;POINT (-40.289335 -2.79749)', '2026-07-08 03:23:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289319 -2.797511)'), GeomFromEWKT('SRID=4674;POINT (-40.289335 -2.79749)'))) / (select extract(epoch from '2026-07-08 03:23:27'::timestamp) - extract(epoch from '2026-07-08 03:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289319 -2.797511)'), GeomFromEWKT('SRID=4674;POINT (-40.289335 -2.79749)'))) / (select extract(epoch from '2026-07-08 03:23:27'::timestamp) - extract(epoch from '2026-07-08 03:23: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'), 47637, 'SRID=4674;POINT (-40.28938 -2.797431)', '2026-07-08 03:24:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289335 -2.79749)'), GeomFromEWKT('SRID=4674;POINT (-40.28938 -2.797431)'))) / (select extract(epoch from '2026-07-08 03:24:05'::timestamp) - extract(epoch from '2026-07-08 03:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289335 -2.79749)'), GeomFromEWKT('SRID=4674;POINT (-40.28938 -2.797431)'))) / (select extract(epoch from '2026-07-08 03:24:05'::timestamp) - extract(epoch from '2026-07-08 03:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289391 -2.797376)', '2026-07-08 03:24:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28938 -2.797431)'), GeomFromEWKT('SRID=4674;POINT (-40.289391 -2.797376)'))) / (select extract(epoch from '2026-07-08 03:24:40'::timestamp) - extract(epoch from '2026-07-08 03:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28938 -2.797431)'), GeomFromEWKT('SRID=4674;POINT (-40.289391 -2.797376)'))) / (select extract(epoch from '2026-07-08 03:24:40'::timestamp) - extract(epoch from '2026-07-08 03:24: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'), 47637, 'SRID=4674;POINT (-40.289412 -2.797324)', '2026-07-08 03:25:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289391 -2.797376)'), GeomFromEWKT('SRID=4674;POINT (-40.289412 -2.797324)'))) / (select extract(epoch from '2026-07-08 03:25:07'::timestamp) - extract(epoch from '2026-07-08 03:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289391 -2.797376)'), GeomFromEWKT('SRID=4674;POINT (-40.289412 -2.797324)'))) / (select extract(epoch from '2026-07-08 03:25:07'::timestamp) - extract(epoch from '2026-07-08 03:24: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'), 47637, 'SRID=4674;POINT (-40.28944 -2.797253)', '2026-07-08 03:25:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289412 -2.797324)'), GeomFromEWKT('SRID=4674;POINT (-40.28944 -2.797253)'))) / (select extract(epoch from '2026-07-08 03:25:35'::timestamp) - extract(epoch from '2026-07-08 03:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289412 -2.797324)'), GeomFromEWKT('SRID=4674;POINT (-40.28944 -2.797253)'))) / (select extract(epoch from '2026-07-08 03:25:35'::timestamp) - extract(epoch from '2026-07-08 03:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289501 -2.797208)', '2026-07-08 03:26:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28944 -2.797253)'), GeomFromEWKT('SRID=4674;POINT (-40.289501 -2.797208)'))) / (select extract(epoch from '2026-07-08 03:26:02'::timestamp) - extract(epoch from '2026-07-08 03:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28944 -2.797253)'), GeomFromEWKT('SRID=4674;POINT (-40.289501 -2.797208)'))) / (select extract(epoch from '2026-07-08 03:26:02'::timestamp) - extract(epoch from '2026-07-08 03:25: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'), 47637, 'SRID=4674;POINT (-40.289545 -2.797179)', '2026-07-08 03:26:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289501 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-40.289545 -2.797179)'))) / (select extract(epoch from '2026-07-08 03:26:20'::timestamp) - extract(epoch from '2026-07-08 03:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289501 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-40.289545 -2.797179)'))) / (select extract(epoch from '2026-07-08 03:26:20'::timestamp) - extract(epoch from '2026-07-08 03:26: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'), 47637, 'SRID=4674;POINT (-40.28959 -2.797139)', '2026-07-08 03:26:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289545 -2.797179)'), GeomFromEWKT('SRID=4674;POINT (-40.28959 -2.797139)'))) / (select extract(epoch from '2026-07-08 03:26:40'::timestamp) - extract(epoch from '2026-07-08 03:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289545 -2.797179)'), GeomFromEWKT('SRID=4674;POINT (-40.28959 -2.797139)'))) / (select extract(epoch from '2026-07-08 03:26:40'::timestamp) - extract(epoch from '2026-07-08 03:26: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'), 47637, 'SRID=4674;POINT (-40.28964 -2.797103)', '2026-07-08 03:27:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28959 -2.797139)'), GeomFromEWKT('SRID=4674;POINT (-40.28964 -2.797103)'))) / (select extract(epoch from '2026-07-08 03:27:02'::timestamp) - extract(epoch from '2026-07-08 03:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28959 -2.797139)'), GeomFromEWKT('SRID=4674;POINT (-40.28964 -2.797103)'))) / (select extract(epoch from '2026-07-08 03:27:02'::timestamp) - extract(epoch from '2026-07-08 03:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.289692 -2.797062)', '2026-07-08 03:27:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28964 -2.797103)'), GeomFromEWKT('SRID=4674;POINT (-40.289692 -2.797062)'))) / (select extract(epoch from '2026-07-08 03:27:30'::timestamp) - extract(epoch from '2026-07-08 03:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28964 -2.797103)'), GeomFromEWKT('SRID=4674;POINT (-40.289692 -2.797062)'))) / (select extract(epoch from '2026-07-08 03:27:30'::timestamp) - extract(epoch from '2026-07-08 03:27: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'), 47637, 'SRID=4674;POINT (-40.289787 -2.796998)', '2026-07-08 03:28:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289692 -2.797062)'), GeomFromEWKT('SRID=4674;POINT (-40.289787 -2.796998)'))) / (select extract(epoch from '2026-07-08 03:28:13'::timestamp) - extract(epoch from '2026-07-08 03:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289692 -2.797062)'), GeomFromEWKT('SRID=4674;POINT (-40.289787 -2.796998)'))) / (select extract(epoch from '2026-07-08 03:28:13'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.289811 -2.79698)', '2026-07-08 03:28:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289787 -2.796998)'), GeomFromEWKT('SRID=4674;POINT (-40.289811 -2.79698)'))) / (select extract(epoch from '2026-07-08 03:28:25'::timestamp) - extract(epoch from '2026-07-08 03:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289787 -2.796998)'), GeomFromEWKT('SRID=4674;POINT (-40.289811 -2.79698)'))) / (select extract(epoch from '2026-07-08 03:28:25'::timestamp) - extract(epoch from '2026-07-08 03:28: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'), 47637, 'SRID=4674;POINT (-40.289832 -2.796956)', '2026-07-08 03:28:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289811 -2.79698)'), GeomFromEWKT('SRID=4674;POINT (-40.289832 -2.796956)'))) / (select extract(epoch from '2026-07-08 03:28:41'::timestamp) - extract(epoch from '2026-07-08 03:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289811 -2.79698)'), GeomFromEWKT('SRID=4674;POINT (-40.289832 -2.796956)'))) / (select extract(epoch from '2026-07-08 03:28:41'::timestamp) - extract(epoch from '2026-07-08 03:28: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'), 47637, 'SRID=4674;POINT (-40.289942 -2.796873)', '2026-07-08 03:29:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289832 -2.796956)'), GeomFromEWKT('SRID=4674;POINT (-40.289942 -2.796873)'))) / (select extract(epoch from '2026-07-08 03:29:25'::timestamp) - extract(epoch from '2026-07-08 03:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289832 -2.796956)'), GeomFromEWKT('SRID=4674;POINT (-40.289942 -2.796873)'))) / (select extract(epoch from '2026-07-08 03:29:25'::timestamp) - extract(epoch from '2026-07-08 03:28: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'), 47637, 'SRID=4674;POINT (-40.290057 -2.796835)', '2026-07-08 03:30:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289942 -2.796873)'), GeomFromEWKT('SRID=4674;POINT (-40.290057 -2.796835)'))) / (select extract(epoch from '2026-07-08 03:30:02'::timestamp) - extract(epoch from '2026-07-08 03:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289942 -2.796873)'), GeomFromEWKT('SRID=4674;POINT (-40.290057 -2.796835)'))) / (select extract(epoch from '2026-07-08 03:30:02'::timestamp) - extract(epoch from '2026-07-08 03:29: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'), 47637, 'SRID=4674;POINT (-40.290213 -2.796832)', '2026-07-08 03:30:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290057 -2.796835)'), GeomFromEWKT('SRID=4674;POINT (-40.290213 -2.796832)'))) / (select extract(epoch from '2026-07-08 03:30:42'::timestamp) - extract(epoch from '2026-07-08 03:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290057 -2.796835)'), GeomFromEWKT('SRID=4674;POINT (-40.290213 -2.796832)'))) / (select extract(epoch from '2026-07-08 03:30:42'::timestamp) - extract(epoch from '2026-07-08 03:30: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'), 47637, 'SRID=4674;POINT (-40.290304 -2.796829)', '2026-07-08 03:31:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290213 -2.796832)'), GeomFromEWKT('SRID=4674;POINT (-40.290304 -2.796829)'))) / (select extract(epoch from '2026-07-08 03:31:12'::timestamp) - extract(epoch from '2026-07-08 03:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290213 -2.796832)'), GeomFromEWKT('SRID=4674;POINT (-40.290304 -2.796829)'))) / (select extract(epoch from '2026-07-08 03:31:12'::timestamp) - extract(epoch from '2026-07-08 03:30: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'), 47637, 'SRID=4674;POINT (-40.290368 -2.796801)', '2026-07-08 03:31:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290304 -2.796829)'), GeomFromEWKT('SRID=4674;POINT (-40.290368 -2.796801)'))) / (select extract(epoch from '2026-07-08 03:31:44'::timestamp) - extract(epoch from '2026-07-08 03:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290304 -2.796829)'), GeomFromEWKT('SRID=4674;POINT (-40.290368 -2.796801)'))) / (select extract(epoch from '2026-07-08 03:31:44'::timestamp) - extract(epoch from '2026-07-08 03:31: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'), 47637, 'SRID=4674;POINT (-40.290488 -2.796785)', '2026-07-08 03:32:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290368 -2.796801)'), GeomFromEWKT('SRID=4674;POINT (-40.290488 -2.796785)'))) / (select extract(epoch from '2026-07-08 03:32:20'::timestamp) - extract(epoch from '2026-07-08 03:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290368 -2.796801)'), GeomFromEWKT('SRID=4674;POINT (-40.290488 -2.796785)'))) / (select extract(epoch from '2026-07-08 03:32:20'::timestamp) - extract(epoch from '2026-07-08 03:31: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'), 47637, 'SRID=4674;POINT (-40.290639 -2.796776)', '2026-07-08 03:33:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290488 -2.796785)'), GeomFromEWKT('SRID=4674;POINT (-40.290639 -2.796776)'))) / (select extract(epoch from '2026-07-08 03:33:05'::timestamp) - extract(epoch from '2026-07-08 03:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290488 -2.796785)'), GeomFromEWKT('SRID=4674;POINT (-40.290639 -2.796776)'))) / (select extract(epoch from '2026-07-08 03:33:05'::timestamp) - extract(epoch from '2026-07-08 03:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.29077 -2.796753)', '2026-07-08 03:33:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290639 -2.796776)'), GeomFromEWKT('SRID=4674;POINT (-40.29077 -2.796753)'))) / (select extract(epoch from '2026-07-08 03:33:36'::timestamp) - extract(epoch from '2026-07-08 03:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290639 -2.796776)'), GeomFromEWKT('SRID=4674;POINT (-40.29077 -2.796753)'))) / (select extract(epoch from '2026-07-08 03:33:36'::timestamp) - extract(epoch from '2026-07-08 03: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'), 47637, 'SRID=4674;POINT (-40.290886 -2.796749)', '2026-07-08 03:34:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29077 -2.796753)'), GeomFromEWKT('SRID=4674;POINT (-40.290886 -2.796749)'))) / (select extract(epoch from '2026-07-08 03:34:10'::timestamp) - extract(epoch from '2026-07-08 03:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29077 -2.796753)'), GeomFromEWKT('SRID=4674;POINT (-40.290886 -2.796749)'))) / (select extract(epoch from '2026-07-08 03:34:10'::timestamp) - extract(epoch from '2026-07-08 03:33: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'), 47637, 'SRID=4674;POINT (-40.291027 -2.796744)', '2026-07-08 03:34:42', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290886 -2.796749)'), GeomFromEWKT('SRID=4674;POINT (-40.291027 -2.796744)'))) / (select extract(epoch from '2026-07-08 03:34:42'::timestamp) - extract(epoch from '2026-07-08 03:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290886 -2.796749)'), GeomFromEWKT('SRID=4674;POINT (-40.291027 -2.796744)'))) / (select extract(epoch from '2026-07-08 03:34:42'::timestamp) - extract(epoch from '2026-07-08 03:34: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'), 47637, 'SRID=4674;POINT (-40.291167 -2.796744)', '2026-07-08 03:35:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291027 -2.796744)'), GeomFromEWKT('SRID=4674;POINT (-40.291167 -2.796744)'))) / (select extract(epoch from '2026-07-08 03:35:17'::timestamp) - extract(epoch from '2026-07-08 03:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291027 -2.796744)'), GeomFromEWKT('SRID=4674;POINT (-40.291167 -2.796744)'))) / (select extract(epoch from '2026-07-08 03:35:17'::timestamp) - extract(epoch from '2026-07-08 03:34: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'), 47637, 'SRID=4674;POINT (-40.291271 -2.796728)', '2026-07-08 03:35:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291167 -2.796744)'), GeomFromEWKT('SRID=4674;POINT (-40.291271 -2.796728)'))) / (select extract(epoch from '2026-07-08 03:35:54'::timestamp) - extract(epoch from '2026-07-08 03:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291167 -2.796744)'), GeomFromEWKT('SRID=4674;POINT (-40.291271 -2.796728)'))) / (select extract(epoch from '2026-07-08 03:35:54'::timestamp) - extract(epoch from '2026-07-08 03:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.291419 -2.796742)', '2026-07-08 03:36:27', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291271 -2.796728)'), GeomFromEWKT('SRID=4674;POINT (-40.291419 -2.796742)'))) / (select extract(epoch from '2026-07-08 03:36:27'::timestamp) - extract(epoch from '2026-07-08 03:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291271 -2.796728)'), GeomFromEWKT('SRID=4674;POINT (-40.291419 -2.796742)'))) / (select extract(epoch from '2026-07-08 03:36:27'::timestamp) - extract(epoch from '2026-07-08 03:35: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'), 47637, 'SRID=4674;POINT (-40.291579 -2.796743)', '2026-07-08 03:37:06', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291419 -2.796742)'), GeomFromEWKT('SRID=4674;POINT (-40.291579 -2.796743)'))) / (select extract(epoch from '2026-07-08 03:37:06'::timestamp) - extract(epoch from '2026-07-08 03:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291419 -2.796742)'), GeomFromEWKT('SRID=4674;POINT (-40.291579 -2.796743)'))) / (select extract(epoch from '2026-07-08 03:37:06'::timestamp) - extract(epoch from '2026-07-08 03:36: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'), 47637, 'SRID=4674;POINT (-40.291633 -2.796745)', '2026-07-08 03:37:23', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291579 -2.796743)'), GeomFromEWKT('SRID=4674;POINT (-40.291633 -2.796745)'))) / (select extract(epoch from '2026-07-08 03:37:23'::timestamp) - extract(epoch from '2026-07-08 03:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291579 -2.796743)'), GeomFromEWKT('SRID=4674;POINT (-40.291633 -2.796745)'))) / (select extract(epoch from '2026-07-08 03:37:23'::timestamp) - extract(epoch from '2026-07-08 03:37: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'), 47637, 'SRID=4674;POINT (-40.291779 -2.796726)', '2026-07-08 03:37:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291633 -2.796745)'), GeomFromEWKT('SRID=4674;POINT (-40.291779 -2.796726)'))) / (select extract(epoch from '2026-07-08 03:37:59'::timestamp) - extract(epoch from '2026-07-08 03:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291633 -2.796745)'), GeomFromEWKT('SRID=4674;POINT (-40.291779 -2.796726)'))) / (select extract(epoch from '2026-07-08 03:37:59'::timestamp) - extract(epoch from '2026-07-08 03:37: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'), 47637, 'SRID=4674;POINT (-40.291861 -2.796732)', '2026-07-08 03:38:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291779 -2.796726)'), GeomFromEWKT('SRID=4674;POINT (-40.291861 -2.796732)'))) / (select extract(epoch from '2026-07-08 03:38:31'::timestamp) - extract(epoch from '2026-07-08 03:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291779 -2.796726)'), GeomFromEWKT('SRID=4674;POINT (-40.291861 -2.796732)'))) / (select extract(epoch from '2026-07-08 03:38:31'::timestamp) - extract(epoch from '2026-07-08 03:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.292002 -2.796735)', '2026-07-08 03:39:13', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291861 -2.796732)'), GeomFromEWKT('SRID=4674;POINT (-40.292002 -2.796735)'))) / (select extract(epoch from '2026-07-08 03:39:13'::timestamp) - extract(epoch from '2026-07-08 03:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291861 -2.796732)'), GeomFromEWKT('SRID=4674;POINT (-40.292002 -2.796735)'))) / (select extract(epoch from '2026-07-08 03:39:13'::timestamp) - extract(epoch from '2026-07-08 03:38: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'), 47637, 'SRID=4674;POINT (-40.292148 -2.796723)', '2026-07-08 03:39:52', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292002 -2.796735)'), GeomFromEWKT('SRID=4674;POINT (-40.292148 -2.796723)'))) / (select extract(epoch from '2026-07-08 03:39:52'::timestamp) - extract(epoch from '2026-07-08 03:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292002 -2.796735)'), GeomFromEWKT('SRID=4674;POINT (-40.292148 -2.796723)'))) / (select extract(epoch from '2026-07-08 03:39:52'::timestamp) - extract(epoch from '2026-07-08 03:39: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'), 47637, 'SRID=4674;POINT (-40.292284 -2.796735)', '2026-07-08 03:40:34', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292148 -2.796723)'), GeomFromEWKT('SRID=4674;POINT (-40.292284 -2.796735)'))) / (select extract(epoch from '2026-07-08 03:40:34'::timestamp) - extract(epoch from '2026-07-08 03:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292148 -2.796723)'), GeomFromEWKT('SRID=4674;POINT (-40.292284 -2.796735)'))) / (select extract(epoch from '2026-07-08 03:40:34'::timestamp) - extract(epoch from '2026-07-08 03:39: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'), 47637, 'SRID=4674;POINT (-40.292422 -2.796717)', '2026-07-08 03:41:10', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292284 -2.796735)'), GeomFromEWKT('SRID=4674;POINT (-40.292422 -2.796717)'))) / (select extract(epoch from '2026-07-08 03:41:10'::timestamp) - extract(epoch from '2026-07-08 03:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292284 -2.796735)'), GeomFromEWKT('SRID=4674;POINT (-40.292422 -2.796717)'))) / (select extract(epoch from '2026-07-08 03:41:10'::timestamp) - extract(epoch from '2026-07-08 03:40: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'), 47637, 'SRID=4674;POINT (-40.292543 -2.796704)', '2026-07-08 03:41:52', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292422 -2.796717)'), GeomFromEWKT('SRID=4674;POINT (-40.292543 -2.796704)'))) / (select extract(epoch from '2026-07-08 03:41:52'::timestamp) - extract(epoch from '2026-07-08 03:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292422 -2.796717)'), GeomFromEWKT('SRID=4674;POINT (-40.292543 -2.796704)'))) / (select extract(epoch from '2026-07-08 03:41:52'::timestamp) - extract(epoch from '2026-07-08 03:41: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'), 47637, 'SRID=4674;POINT (-40.29267 -2.796685)', '2026-07-08 03:42:26', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292543 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.29267 -2.796685)'))) / (select extract(epoch from '2026-07-08 03:42:26'::timestamp) - extract(epoch from '2026-07-08 03:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292543 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.29267 -2.796685)'))) / (select extract(epoch from '2026-07-08 03:42:26'::timestamp) - extract(epoch from '2026-07-08 03:41: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'), 47637, 'SRID=4674;POINT (-40.292778 -2.79667)', '2026-07-08 03:43:02', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29267 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.292778 -2.79667)'))) / (select extract(epoch from '2026-07-08 03:43:02'::timestamp) - extract(epoch from '2026-07-08 03:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29267 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.292778 -2.79667)'))) / (select extract(epoch from '2026-07-08 03:43:02'::timestamp) - extract(epoch from '2026-07-08 03:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.292937 -2.796654)', '2026-07-08 03:43:51', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292778 -2.79667)'), GeomFromEWKT('SRID=4674;POINT (-40.292937 -2.796654)'))) / (select extract(epoch from '2026-07-08 03:43:51'::timestamp) - extract(epoch from '2026-07-08 03:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292778 -2.79667)'), GeomFromEWKT('SRID=4674;POINT (-40.292937 -2.796654)'))) / (select extract(epoch from '2026-07-08 03:43:51'::timestamp) - extract(epoch from '2026-07-08 03:43: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'), 47637, 'SRID=4674;POINT (-40.293067 -2.796655)', '2026-07-08 03:44:26', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292937 -2.796654)'), GeomFromEWKT('SRID=4674;POINT (-40.293067 -2.796655)'))) / (select extract(epoch from '2026-07-08 03:44:26'::timestamp) - extract(epoch from '2026-07-08 03:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292937 -2.796654)'), GeomFromEWKT('SRID=4674;POINT (-40.293067 -2.796655)'))) / (select extract(epoch from '2026-07-08 03:44:26'::timestamp) - extract(epoch from '2026-07-08 03:43: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'), 47637, 'SRID=4674;POINT (-40.293226 -2.796678)', '2026-07-08 03:45:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293067 -2.796655)'), GeomFromEWKT('SRID=4674;POINT (-40.293226 -2.796678)'))) / (select extract(epoch from '2026-07-08 03:45:08'::timestamp) - extract(epoch from '2026-07-08 03:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293067 -2.796655)'), GeomFromEWKT('SRID=4674;POINT (-40.293226 -2.796678)'))) / (select extract(epoch from '2026-07-08 03:45:08'::timestamp) - extract(epoch from '2026-07-08 03:44: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'), 47637, 'SRID=4674;POINT (-40.293345 -2.796671)', '2026-07-08 03:45:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293226 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.293345 -2.796671)'))) / (select extract(epoch from '2026-07-08 03:45:45'::timestamp) - extract(epoch from '2026-07-08 03:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293226 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.293345 -2.796671)'))) / (select extract(epoch from '2026-07-08 03:45:45'::timestamp) - extract(epoch from '2026-07-08 03:45: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'), 47637, 'SRID=4674;POINT (-40.29348 -2.796677)', '2026-07-08 03:46:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293345 -2.796671)'), GeomFromEWKT('SRID=4674;POINT (-40.29348 -2.796677)'))) / (select extract(epoch from '2026-07-08 03:46:27'::timestamp) - extract(epoch from '2026-07-08 03:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293345 -2.796671)'), GeomFromEWKT('SRID=4674;POINT (-40.29348 -2.796677)'))) / (select extract(epoch from '2026-07-08 03:46:27'::timestamp) - extract(epoch from '2026-07-08 03:45: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'), 47637, 'SRID=4674;POINT (-40.293578 -2.796657)', '2026-07-08 03:47:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29348 -2.796677)'), GeomFromEWKT('SRID=4674;POINT (-40.293578 -2.796657)'))) / (select extract(epoch from '2026-07-08 03:47:03'::timestamp) - extract(epoch from '2026-07-08 03:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29348 -2.796677)'), GeomFromEWKT('SRID=4674;POINT (-40.293578 -2.796657)'))) / (select extract(epoch from '2026-07-08 03:47:03'::timestamp) - extract(epoch from '2026-07-08 03:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.293701 -2.79664)', '2026-07-08 03:47:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293578 -2.796657)'), GeomFromEWKT('SRID=4674;POINT (-40.293701 -2.79664)'))) / (select extract(epoch from '2026-07-08 03:47:41'::timestamp) - extract(epoch from '2026-07-08 03:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293578 -2.796657)'), GeomFromEWKT('SRID=4674;POINT (-40.293701 -2.79664)'))) / (select extract(epoch from '2026-07-08 03:47:41'::timestamp) - extract(epoch from '2026-07-08 03:47: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'), 47637, 'SRID=4674;POINT (-40.293845 -2.796636)', '2026-07-08 03:48:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293701 -2.79664)'), GeomFromEWKT('SRID=4674;POINT (-40.293845 -2.796636)'))) / (select extract(epoch from '2026-07-08 03:48:20'::timestamp) - extract(epoch from '2026-07-08 03:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293701 -2.79664)'), GeomFromEWKT('SRID=4674;POINT (-40.293845 -2.796636)'))) / (select extract(epoch from '2026-07-08 03:48:20'::timestamp) - extract(epoch from '2026-07-08 03:47: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'), 47637, 'SRID=4674;POINT (-40.294023 -2.796636)', '2026-07-08 03:49:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293845 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.294023 -2.796636)'))) / (select extract(epoch from '2026-07-08 03:49:02'::timestamp) - extract(epoch from '2026-07-08 03:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293845 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.294023 -2.796636)'))) / (select extract(epoch from '2026-07-08 03:49:02'::timestamp) - extract(epoch from '2026-07-08 03:48: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'), 47637, 'SRID=4674;POINT (-40.294225 -2.796636)', '2026-07-08 03:49:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294023 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.294225 -2.796636)'))) / (select extract(epoch from '2026-07-08 03:49:47'::timestamp) - extract(epoch from '2026-07-08 03:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294023 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.294225 -2.796636)'))) / (select extract(epoch from '2026-07-08 03:49:47'::timestamp) - extract(epoch from '2026-07-08 03:49: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'), 47637, 'SRID=4674;POINT (-40.294364 -2.796625)', '2026-07-08 03:50:25', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294225 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.294364 -2.796625)'))) / (select extract(epoch from '2026-07-08 03:50:25'::timestamp) - extract(epoch from '2026-07-08 03:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294225 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.294364 -2.796625)'))) / (select extract(epoch from '2026-07-08 03:50:25'::timestamp) - extract(epoch from '2026-07-08 03:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.294552 -2.796642)', '2026-07-08 03:51:12', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294364 -2.796625)'), GeomFromEWKT('SRID=4674;POINT (-40.294552 -2.796642)'))) / (select extract(epoch from '2026-07-08 03:51:12'::timestamp) - extract(epoch from '2026-07-08 03:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294364 -2.796625)'), GeomFromEWKT('SRID=4674;POINT (-40.294552 -2.796642)'))) / (select extract(epoch from '2026-07-08 03:51:12'::timestamp) - extract(epoch from '2026-07-08 03:50: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'), 47637, 'SRID=4674;POINT (-40.294706 -2.79667)', '2026-07-08 03:51:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294552 -2.796642)'), GeomFromEWKT('SRID=4674;POINT (-40.294706 -2.79667)'))) / (select extract(epoch from '2026-07-08 03:51:53'::timestamp) - extract(epoch from '2026-07-08 03:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294552 -2.796642)'), GeomFromEWKT('SRID=4674;POINT (-40.294706 -2.79667)'))) / (select extract(epoch from '2026-07-08 03:51:53'::timestamp) - extract(epoch from '2026-07-08 03:51: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'), 47637, 'SRID=4674;POINT (-40.294872 -2.796697)', '2026-07-08 03:52:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294706 -2.79667)'), GeomFromEWKT('SRID=4674;POINT (-40.294872 -2.796697)'))) / (select extract(epoch from '2026-07-08 03:52:37'::timestamp) - extract(epoch from '2026-07-08 03:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294706 -2.79667)'), GeomFromEWKT('SRID=4674;POINT (-40.294872 -2.796697)'))) / (select extract(epoch from '2026-07-08 03:52:37'::timestamp) - extract(epoch from '2026-07-08 03:51: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'), 47637, 'SRID=4674;POINT (-40.294997 -2.796684)', '2026-07-08 03:53:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294872 -2.796697)'), GeomFromEWKT('SRID=4674;POINT (-40.294997 -2.796684)'))) / (select extract(epoch from '2026-07-08 03:53:19'::timestamp) - extract(epoch from '2026-07-08 03:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294872 -2.796697)'), GeomFromEWKT('SRID=4674;POINT (-40.294997 -2.796684)'))) / (select extract(epoch from '2026-07-08 03:53:19'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.295124 -2.796679)', '2026-07-08 03:54:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294997 -2.796684)'), GeomFromEWKT('SRID=4674;POINT (-40.295124 -2.796679)'))) / (select extract(epoch from '2026-07-08 03:54:01'::timestamp) - extract(epoch from '2026-07-08 03:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294997 -2.796684)'), GeomFromEWKT('SRID=4674;POINT (-40.295124 -2.796679)'))) / (select extract(epoch from '2026-07-08 03:54:01'::timestamp) - extract(epoch from '2026-07-08 03:53: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'), 47637, 'SRID=4674;POINT (-40.295259 -2.796678)', '2026-07-08 03:54:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295124 -2.796679)'), GeomFromEWKT('SRID=4674;POINT (-40.295259 -2.796678)'))) / (select extract(epoch from '2026-07-08 03:54:48'::timestamp) - extract(epoch from '2026-07-08 03:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295124 -2.796679)'), GeomFromEWKT('SRID=4674;POINT (-40.295259 -2.796678)'))) / (select extract(epoch from '2026-07-08 03:54:48'::timestamp) - extract(epoch from '2026-07-08 03:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.295355 -2.796673)', '2026-07-08 03:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295259 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.295355 -2.796673)'))) / (select extract(epoch from '2026-07-08 03:55:28'::timestamp) - extract(epoch from '2026-07-08 03:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295259 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.295355 -2.796673)'))) / (select extract(epoch from '2026-07-08 03:55:28'::timestamp) - extract(epoch from '2026-07-08 03:54: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'), 47637, 'SRID=4674;POINT (-40.295479 -2.796673)', '2026-07-08 03:56:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295355 -2.796673)'), GeomFromEWKT('SRID=4674;POINT (-40.295479 -2.796673)'))) / (select extract(epoch from '2026-07-08 03:56:11'::timestamp) - extract(epoch from '2026-07-08 03:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295355 -2.796673)'), GeomFromEWKT('SRID=4674;POINT (-40.295479 -2.796673)'))) / (select extract(epoch from '2026-07-08 03:56:11'::timestamp) - extract(epoch from '2026-07-08 03:55: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'), 47637, 'SRID=4674;POINT (-40.295572 -2.796667)', '2026-07-08 03:56:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295479 -2.796673)'), GeomFromEWKT('SRID=4674;POINT (-40.295572 -2.796667)'))) / (select extract(epoch from '2026-07-08 03:56:54'::timestamp) - extract(epoch from '2026-07-08 03:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295479 -2.796673)'), GeomFromEWKT('SRID=4674;POINT (-40.295572 -2.796667)'))) / (select extract(epoch from '2026-07-08 03:56:54'::timestamp) - extract(epoch from '2026-07-08 03:56: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'), 47637, 'SRID=4674;POINT (-40.295733 -2.796672)', '2026-07-08 03:57:45', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295572 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.295733 -2.796672)'))) / (select extract(epoch from '2026-07-08 03:57:45'::timestamp) - extract(epoch from '2026-07-08 03:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295572 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.295733 -2.796672)'))) / (select extract(epoch from '2026-07-08 03:57:45'::timestamp) - extract(epoch from '2026-07-08 03:56: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'), 47637, 'SRID=4674;POINT (-40.295865 -2.796688)', '2026-07-08 03:58:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295733 -2.796672)'), GeomFromEWKT('SRID=4674;POINT (-40.295865 -2.796688)'))) / (select extract(epoch from '2026-07-08 03:58:26'::timestamp) - extract(epoch from '2026-07-08 03:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295733 -2.796672)'), GeomFromEWKT('SRID=4674;POINT (-40.295865 -2.796688)'))) / (select extract(epoch from '2026-07-08 03:58:26'::timestamp) - extract(epoch from '2026-07-08 03:57: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'), 47637, 'SRID=4674;POINT (-40.295926 -2.796663)', '2026-07-08 03:59:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295865 -2.796688)'), GeomFromEWKT('SRID=4674;POINT (-40.295926 -2.796663)'))) / (select extract(epoch from '2026-07-08 03:59:04'::timestamp) - extract(epoch from '2026-07-08 03:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295865 -2.796688)'), GeomFromEWKT('SRID=4674;POINT (-40.295926 -2.796663)'))) / (select extract(epoch from '2026-07-08 03:59:04'::timestamp) - extract(epoch from '2026-07-08 03:58: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'), 47637, 'SRID=4674;POINT (-40.29602 -2.796622)', '2026-07-08 03:59:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295926 -2.796663)'), GeomFromEWKT('SRID=4674;POINT (-40.29602 -2.796622)'))) / (select extract(epoch from '2026-07-08 03:59:41'::timestamp) - extract(epoch from '2026-07-08 03:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295926 -2.796663)'), GeomFromEWKT('SRID=4674;POINT (-40.29602 -2.796622)'))) / (select extract(epoch from '2026-07-08 03:59:41'::timestamp) - extract(epoch from '2026-07-08 03:59: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'), 47637, 'SRID=4674;POINT (-40.296127 -2.796603)', '2026-07-08 04:00:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29602 -2.796622)'), GeomFromEWKT('SRID=4674;POINT (-40.296127 -2.796603)'))) / (select extract(epoch from '2026-07-08 04:00:26'::timestamp) - extract(epoch from '2026-07-08 03:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29602 -2.796622)'), GeomFromEWKT('SRID=4674;POINT (-40.296127 -2.796603)'))) / (select extract(epoch from '2026-07-08 04:00:26'::timestamp) - extract(epoch from '2026-07-08 03:59: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'), 47637, 'SRID=4674;POINT (-40.296255 -2.796576)', '2026-07-08 04:01:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296127 -2.796603)'), GeomFromEWKT('SRID=4674;POINT (-40.296255 -2.796576)'))) / (select extract(epoch from '2026-07-08 04:01:04'::timestamp) - extract(epoch from '2026-07-08 04:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296127 -2.796603)'), GeomFromEWKT('SRID=4674;POINT (-40.296255 -2.796576)'))) / (select extract(epoch from '2026-07-08 04:01:04'::timestamp) - extract(epoch from '2026-07-08 04:00:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296394 -2.796567)', '2026-07-08 04:01:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296255 -2.796576)'), GeomFromEWKT('SRID=4674;POINT (-40.296394 -2.796567)'))) / (select extract(epoch from '2026-07-08 04:01:44'::timestamp) - extract(epoch from '2026-07-08 04:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296255 -2.796576)'), GeomFromEWKT('SRID=4674;POINT (-40.296394 -2.796567)'))) / (select extract(epoch from '2026-07-08 04:01:44'::timestamp) - extract(epoch from '2026-07-08 04:01: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'), 47637, 'SRID=4674;POINT (-40.296512 -2.79656)', '2026-07-08 04:02:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296394 -2.796567)'), GeomFromEWKT('SRID=4674;POINT (-40.296512 -2.79656)'))) / (select extract(epoch from '2026-07-08 04:02:27'::timestamp) - extract(epoch from '2026-07-08 04:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296394 -2.796567)'), GeomFromEWKT('SRID=4674;POINT (-40.296512 -2.79656)'))) / (select extract(epoch from '2026-07-08 04:02:27'::timestamp) - extract(epoch from '2026-07-08 04:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296636 -2.796559)', '2026-07-08 04:03:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296512 -2.79656)'), GeomFromEWKT('SRID=4674;POINT (-40.296636 -2.796559)'))) / (select extract(epoch from '2026-07-08 04:03:08'::timestamp) - extract(epoch from '2026-07-08 04:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296512 -2.79656)'), GeomFromEWKT('SRID=4674;POINT (-40.296636 -2.796559)'))) / (select extract(epoch from '2026-07-08 04:03:08'::timestamp) - extract(epoch from '2026-07-08 04:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.296757 -2.796551)', '2026-07-08 04:03:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296636 -2.796559)'), GeomFromEWKT('SRID=4674;POINT (-40.296757 -2.796551)'))) / (select extract(epoch from '2026-07-08 04:03:47'::timestamp) - extract(epoch from '2026-07-08 04:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296636 -2.796559)'), GeomFromEWKT('SRID=4674;POINT (-40.296757 -2.796551)'))) / (select extract(epoch from '2026-07-08 04:03:47'::timestamp) - extract(epoch from '2026-07-08 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'), 47637, 'SRID=4674;POINT (-40.296866 -2.796542)', '2026-07-08 04:04:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296757 -2.796551)'), GeomFromEWKT('SRID=4674;POINT (-40.296866 -2.796542)'))) / (select extract(epoch from '2026-07-08 04:04:31'::timestamp) - extract(epoch from '2026-07-08 04:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296757 -2.796551)'), GeomFromEWKT('SRID=4674;POINT (-40.296866 -2.796542)'))) / (select extract(epoch from '2026-07-08 04:04:31'::timestamp) - extract(epoch from '2026-07-08 04:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297006 -2.79652)', '2026-07-08 04:05:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296866 -2.796542)'), GeomFromEWKT('SRID=4674;POINT (-40.297006 -2.79652)'))) / (select extract(epoch from '2026-07-08 04:05:13'::timestamp) - extract(epoch from '2026-07-08 04:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296866 -2.796542)'), GeomFromEWKT('SRID=4674;POINT (-40.297006 -2.79652)'))) / (select extract(epoch from '2026-07-08 04:05:13'::timestamp) - extract(epoch from '2026-07-08 04:04: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'), 47637, 'SRID=4674;POINT (-40.297103 -2.796509)', '2026-07-08 04:05:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297006 -2.79652)'), GeomFromEWKT('SRID=4674;POINT (-40.297103 -2.796509)'))) / (select extract(epoch from '2026-07-08 04:05:52'::timestamp) - extract(epoch from '2026-07-08 04:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297006 -2.79652)'), GeomFromEWKT('SRID=4674;POINT (-40.297103 -2.796509)'))) / (select extract(epoch from '2026-07-08 04:05:52'::timestamp) - extract(epoch from '2026-07-08 04:05: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'), 47637, 'SRID=4674;POINT (-40.297217 -2.796477)', '2026-07-08 04:06:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297103 -2.796509)'), GeomFromEWKT('SRID=4674;POINT (-40.297217 -2.796477)'))) / (select extract(epoch from '2026-07-08 04:06:36'::timestamp) - extract(epoch from '2026-07-08 04:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297103 -2.796509)'), GeomFromEWKT('SRID=4674;POINT (-40.297217 -2.796477)'))) / (select extract(epoch from '2026-07-08 04:06:36'::timestamp) - extract(epoch from '2026-07-08 04:05:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297281 -2.796453)', '2026-07-08 04:07:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297217 -2.796477)'), GeomFromEWKT('SRID=4674;POINT (-40.297281 -2.796453)'))) / (select extract(epoch from '2026-07-08 04:07:19'::timestamp) - extract(epoch from '2026-07-08 04:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297217 -2.796477)'), GeomFromEWKT('SRID=4674;POINT (-40.297281 -2.796453)'))) / (select extract(epoch from '2026-07-08 04:07:19'::timestamp) - extract(epoch from '2026-07-08 04:06: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'), 47637, 'SRID=4674;POINT (-40.297358 -2.796369)', '2026-07-08 04:08:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297281 -2.796453)'), GeomFromEWKT('SRID=4674;POINT (-40.297358 -2.796369)'))) / (select extract(epoch from '2026-07-08 04:08:00'::timestamp) - extract(epoch from '2026-07-08 04:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297281 -2.796453)'), GeomFromEWKT('SRID=4674;POINT (-40.297358 -2.796369)'))) / (select extract(epoch from '2026-07-08 04:08:00'::timestamp) - extract(epoch from '2026-07-08 04:07: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'), 47637, 'SRID=4674;POINT (-40.297448 -2.796329)', '2026-07-08 04:08:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297358 -2.796369)'), GeomFromEWKT('SRID=4674;POINT (-40.297448 -2.796329)'))) / (select extract(epoch from '2026-07-08 04:08:34'::timestamp) - extract(epoch from '2026-07-08 04:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297358 -2.796369)'), GeomFromEWKT('SRID=4674;POINT (-40.297448 -2.796329)'))) / (select extract(epoch from '2026-07-08 04:08:34'::timestamp) - extract(epoch from '2026-07-08 04: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'), 47637, 'SRID=4674;POINT (-40.297494 -2.796316)', '2026-07-08 04:08:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297448 -2.796329)'), GeomFromEWKT('SRID=4674;POINT (-40.297494 -2.796316)'))) / (select extract(epoch from '2026-07-08 04:08:56'::timestamp) - extract(epoch from '2026-07-08 04:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297448 -2.796329)'), GeomFromEWKT('SRID=4674;POINT (-40.297494 -2.796316)'))) / (select extract(epoch from '2026-07-08 04:08:56'::timestamp) - extract(epoch from '2026-07-08 04:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.297494 -2.796304)', '2026-07-08 04:09:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297494 -2.796316)'), GeomFromEWKT('SRID=4674;POINT (-40.297494 -2.796304)'))) / (select extract(epoch from '2026-07-08 04:09:07'::timestamp) - extract(epoch from '2026-07-08 04:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297494 -2.796316)'), GeomFromEWKT('SRID=4674;POINT (-40.297494 -2.796304)'))) / (select extract(epoch from '2026-07-08 04:09:07'::timestamp) - extract(epoch from '2026-07-08 04:08: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'), 47637, 'SRID=4674;POINT (-40.297506 -2.796304)', '2026-07-08 04:09:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297494 -2.796304)'), GeomFromEWKT('SRID=4674;POINT (-40.297506 -2.796304)'))) / (select extract(epoch from '2026-07-08 04:09:17'::timestamp) - extract(epoch from '2026-07-08 04:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297494 -2.796304)'), GeomFromEWKT('SRID=4674;POINT (-40.297506 -2.796304)'))) / (select extract(epoch from '2026-07-08 04:09:17'::timestamp) - extract(epoch from '2026-07-08 04:09: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'), 47637, 'SRID=4674;POINT (-40.297493 -2.796294)', '2026-07-08 04:09:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297506 -2.796304)'), GeomFromEWKT('SRID=4674;POINT (-40.297493 -2.796294)'))) / (select extract(epoch from '2026-07-08 04:09:26'::timestamp) - extract(epoch from '2026-07-08 04:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297506 -2.796304)'), GeomFromEWKT('SRID=4674;POINT (-40.297493 -2.796294)'))) / (select extract(epoch from '2026-07-08 04:09:26'::timestamp) - extract(epoch from '2026-07-08 04:09: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'), 47637, 'SRID=4674;POINT (-40.297505 -2.796286)', '2026-07-08 04:09:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297493 -2.796294)'), GeomFromEWKT('SRID=4674;POINT (-40.297505 -2.796286)'))) / (select extract(epoch from '2026-07-08 04:09:35'::timestamp) - extract(epoch from '2026-07-08 04:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297493 -2.796294)'), GeomFromEWKT('SRID=4674;POINT (-40.297505 -2.796286)'))) / (select extract(epoch from '2026-07-08 04:09:35'::timestamp) - extract(epoch from '2026-07-08 04:09: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'), 47637, 'SRID=4674;POINT (-40.297521 -2.796266)', '2026-07-08 04:09:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297505 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.297521 -2.796266)'))) / (select extract(epoch from '2026-07-08 04:09:45'::timestamp) - extract(epoch from '2026-07-08 04:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297505 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.297521 -2.796266)'))) / (select extract(epoch from '2026-07-08 04:09:45'::timestamp) - extract(epoch from '2026-07-08 04:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
