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'), 47815, 'SRID=4674;POINT (-40.357671 -2.80847)', '2026-07-25 04:57:10', 3, 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'), 47815, 'SRID=4674;POINT (-40.357638 -2.808375)', '2026-07-25 04:57:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357671 -2.80847)'), GeomFromEWKT('SRID=4674;POINT (-40.357638 -2.808375)'))) / (select extract(epoch from '2026-07-25 04:57:26'::timestamp) - extract(epoch from '2026-07-25 04:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357671 -2.80847)'), GeomFromEWKT('SRID=4674;POINT (-40.357638 -2.808375)'))) / (select extract(epoch from '2026-07-25 04:57:26'::timestamp) - extract(epoch from '2026-07-25 04:57: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'), 47815, 'SRID=4674;POINT (-40.357636 -2.808296)', '2026-07-25 04:57:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357638 -2.808375)'), GeomFromEWKT('SRID=4674;POINT (-40.357636 -2.808296)'))) / (select extract(epoch from '2026-07-25 04:57:38'::timestamp) - extract(epoch from '2026-07-25 04:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357638 -2.808375)'), GeomFromEWKT('SRID=4674;POINT (-40.357636 -2.808296)'))) / (select extract(epoch from '2026-07-25 04:57:38'::timestamp) - extract(epoch from '2026-07-25 04:57: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'), 47815, 'SRID=4674;POINT (-40.357667 -2.80823)', '2026-07-25 04:57:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357636 -2.808296)'), GeomFromEWKT('SRID=4674;POINT (-40.357667 -2.80823)'))) / (select extract(epoch from '2026-07-25 04:57:46'::timestamp) - extract(epoch from '2026-07-25 04:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357636 -2.808296)'), GeomFromEWKT('SRID=4674;POINT (-40.357667 -2.80823)'))) / (select extract(epoch from '2026-07-25 04:57:46'::timestamp) - extract(epoch from '2026-07-25 04:57: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'), 47815, 'SRID=4674;POINT (-40.357656 -2.808168)', '2026-07-25 04:57:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357667 -2.80823)'), GeomFromEWKT('SRID=4674;POINT (-40.357656 -2.808168)'))) / (select extract(epoch from '2026-07-25 04:57:55'::timestamp) - extract(epoch from '2026-07-25 04:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357667 -2.80823)'), GeomFromEWKT('SRID=4674;POINT (-40.357656 -2.808168)'))) / (select extract(epoch from '2026-07-25 04:57:55'::timestamp) - extract(epoch from '2026-07-25 04:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.35762 -2.808102)', '2026-07-25 04:58:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357656 -2.808168)'), GeomFromEWKT('SRID=4674;POINT (-40.35762 -2.808102)'))) / (select extract(epoch from '2026-07-25 04:58:06'::timestamp) - extract(epoch from '2026-07-25 04:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357656 -2.808168)'), GeomFromEWKT('SRID=4674;POINT (-40.35762 -2.808102)'))) / (select extract(epoch from '2026-07-25 04:58:06'::timestamp) - extract(epoch from '2026-07-25 04:57: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'), 47815, 'SRID=4674;POINT (-40.357622 -2.808047)', '2026-07-25 04:58:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35762 -2.808102)'), GeomFromEWKT('SRID=4674;POINT (-40.357622 -2.808047)'))) / (select extract(epoch from '2026-07-25 04:58:17'::timestamp) - extract(epoch from '2026-07-25 04:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35762 -2.808102)'), GeomFromEWKT('SRID=4674;POINT (-40.357622 -2.808047)'))) / (select extract(epoch from '2026-07-25 04:58:17'::timestamp) - extract(epoch from '2026-07-25 04:58: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'), 47815, 'SRID=4674;POINT (-40.357672 -2.807975)', '2026-07-25 04:58:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357622 -2.808047)'), GeomFromEWKT('SRID=4674;POINT (-40.357672 -2.807975)'))) / (select extract(epoch from '2026-07-25 04:58:28'::timestamp) - extract(epoch from '2026-07-25 04:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357622 -2.808047)'), GeomFromEWKT('SRID=4674;POINT (-40.357672 -2.807975)'))) / (select extract(epoch from '2026-07-25 04:58:28'::timestamp) - extract(epoch from '2026-07-25 04:58:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.357706 -2.807934)', '2026-07-25 04:58:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357672 -2.807975)'), GeomFromEWKT('SRID=4674;POINT (-40.357706 -2.807934)'))) / (select extract(epoch from '2026-07-25 04:58:37'::timestamp) - extract(epoch from '2026-07-25 04:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357672 -2.807975)'), GeomFromEWKT('SRID=4674;POINT (-40.357706 -2.807934)'))) / (select extract(epoch from '2026-07-25 04:58:37'::timestamp) - extract(epoch from '2026-07-25 04:58: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'), 47815, 'SRID=4674;POINT (-40.357718 -2.807908)', '2026-07-25 04:58:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357706 -2.807934)'), GeomFromEWKT('SRID=4674;POINT (-40.357718 -2.807908)'))) / (select extract(epoch from '2026-07-25 04:58:47'::timestamp) - extract(epoch from '2026-07-25 04:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357706 -2.807934)'), GeomFromEWKT('SRID=4674;POINT (-40.357718 -2.807908)'))) / (select extract(epoch from '2026-07-25 04:58:47'::timestamp) - extract(epoch from '2026-07-25 04:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.357719 -2.807876)', '2026-07-25 04:58:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357718 -2.807908)'), GeomFromEWKT('SRID=4674;POINT (-40.357719 -2.807876)'))) / (select extract(epoch from '2026-07-25 04:58:57'::timestamp) - extract(epoch from '2026-07-25 04:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357718 -2.807908)'), GeomFromEWKT('SRID=4674;POINT (-40.357719 -2.807876)'))) / (select extract(epoch from '2026-07-25 04:58:57'::timestamp) - extract(epoch from '2026-07-25 04:58: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'), 47815, 'SRID=4674;POINT (-40.357709 -2.807872)', '2026-07-25 04:59:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357719 -2.807876)'), GeomFromEWKT('SRID=4674;POINT (-40.357709 -2.807872)'))) / (select extract(epoch from '2026-07-25 04:59:10'::timestamp) - extract(epoch from '2026-07-25 04:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357719 -2.807876)'), GeomFromEWKT('SRID=4674;POINT (-40.357709 -2.807872)'))) / (select extract(epoch from '2026-07-25 04:59:10'::timestamp) - extract(epoch from '2026-07-25 04:58: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'), 47815, 'SRID=4674;POINT (-40.357699 -2.807887)', '2026-07-25 04:59:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357709 -2.807872)'), GeomFromEWKT('SRID=4674;POINT (-40.357699 -2.807887)'))) / (select extract(epoch from '2026-07-25 04:59:21'::timestamp) - extract(epoch from '2026-07-25 04:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357709 -2.807872)'), GeomFromEWKT('SRID=4674;POINT (-40.357699 -2.807887)'))) / (select extract(epoch from '2026-07-25 04:59:21'::timestamp) - extract(epoch from '2026-07-25 04: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'), 47815, 'SRID=4674;POINT (-40.357699 -2.807891)', '2026-07-25 04:59:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357699 -2.807887)'), GeomFromEWKT('SRID=4674;POINT (-40.357699 -2.807891)'))) / (select extract(epoch from '2026-07-25 04:59:30'::timestamp) - extract(epoch from '2026-07-25 04:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357699 -2.807887)'), GeomFromEWKT('SRID=4674;POINT (-40.357699 -2.807891)'))) / (select extract(epoch from '2026-07-25 04:59:30'::timestamp) - extract(epoch from '2026-07-25 04:59: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'), 47815, 'SRID=4674;POINT (-40.357704 -2.807904)', '2026-07-25 04:59:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357699 -2.807891)'), GeomFromEWKT('SRID=4674;POINT (-40.357704 -2.807904)'))) / (select extract(epoch from '2026-07-25 04:59:44'::timestamp) - extract(epoch from '2026-07-25 04:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357699 -2.807891)'), GeomFromEWKT('SRID=4674;POINT (-40.357704 -2.807904)'))) / (select extract(epoch from '2026-07-25 04:59:44'::timestamp) - extract(epoch from '2026-07-25 04: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'), 47815, 'SRID=4674;POINT (-40.357716 -2.807902)', '2026-07-25 04:59:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357704 -2.807904)'), GeomFromEWKT('SRID=4674;POINT (-40.357716 -2.807902)'))) / (select extract(epoch from '2026-07-25 04:59:58'::timestamp) - extract(epoch from '2026-07-25 04:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357704 -2.807904)'), GeomFromEWKT('SRID=4674;POINT (-40.357716 -2.807902)'))) / (select extract(epoch from '2026-07-25 04:59:58'::timestamp) - extract(epoch from '2026-07-25 04:59: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'), 47815, 'SRID=4674;POINT (-40.357725 -2.807902)', '2026-07-25 05:00:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357716 -2.807902)'), GeomFromEWKT('SRID=4674;POINT (-40.357725 -2.807902)'))) / (select extract(epoch from '2026-07-25 05:00:16'::timestamp) - extract(epoch from '2026-07-25 04:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357716 -2.807902)'), GeomFromEWKT('SRID=4674;POINT (-40.357725 -2.807902)'))) / (select extract(epoch from '2026-07-25 05:00:16'::timestamp) - extract(epoch from '2026-07-25 04: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'), 47815, 'SRID=4674;POINT (-40.357735 -2.807896)', '2026-07-25 05:00:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357725 -2.807902)'), GeomFromEWKT('SRID=4674;POINT (-40.357735 -2.807896)'))) / (select extract(epoch from '2026-07-25 05:00:28'::timestamp) - extract(epoch from '2026-07-25 05:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357725 -2.807902)'), GeomFromEWKT('SRID=4674;POINT (-40.357735 -2.807896)'))) / (select extract(epoch from '2026-07-25 05:00:28'::timestamp) - extract(epoch from '2026-07-25 05:00: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'), 47815, 'SRID=4674;POINT (-40.357738 -2.807882)', '2026-07-25 05:00:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357735 -2.807896)'), GeomFromEWKT('SRID=4674;POINT (-40.357738 -2.807882)'))) / (select extract(epoch from '2026-07-25 05:00:41'::timestamp) - extract(epoch from '2026-07-25 05:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357735 -2.807896)'), GeomFromEWKT('SRID=4674;POINT (-40.357738 -2.807882)'))) / (select extract(epoch from '2026-07-25 05:00:41'::timestamp) - extract(epoch from '2026-07-25 05:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.357743 -2.807873)', '2026-07-25 05:00:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357738 -2.807882)'), GeomFromEWKT('SRID=4674;POINT (-40.357743 -2.807873)'))) / (select extract(epoch from '2026-07-25 05:00:53'::timestamp) - extract(epoch from '2026-07-25 05:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357738 -2.807882)'), GeomFromEWKT('SRID=4674;POINT (-40.357743 -2.807873)'))) / (select extract(epoch from '2026-07-25 05:00:53'::timestamp) - extract(epoch from '2026-07-25 05:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.357749 -2.80785)', '2026-07-25 05:01:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357743 -2.807873)'), GeomFromEWKT('SRID=4674;POINT (-40.357749 -2.80785)'))) / (select extract(epoch from '2026-07-25 05:01:05'::timestamp) - extract(epoch from '2026-07-25 05:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357743 -2.807873)'), GeomFromEWKT('SRID=4674;POINT (-40.357749 -2.80785)'))) / (select extract(epoch from '2026-07-25 05:01:05'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.357761 -2.807847)', '2026-07-25 05:01:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357749 -2.80785)'), GeomFromEWKT('SRID=4674;POINT (-40.357761 -2.807847)'))) / (select extract(epoch from '2026-07-25 05:01:20'::timestamp) - extract(epoch from '2026-07-25 05:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357749 -2.80785)'), GeomFromEWKT('SRID=4674;POINT (-40.357761 -2.807847)'))) / (select extract(epoch from '2026-07-25 05:01:20'::timestamp) - extract(epoch from '2026-07-25 05:01: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'), 47815, 'SRID=4674;POINT (-40.357767 -2.807836)', '2026-07-25 05:01:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357761 -2.807847)'), GeomFromEWKT('SRID=4674;POINT (-40.357767 -2.807836)'))) / (select extract(epoch from '2026-07-25 05:01:29'::timestamp) - extract(epoch from '2026-07-25 05:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357761 -2.807847)'), GeomFromEWKT('SRID=4674;POINT (-40.357767 -2.807836)'))) / (select extract(epoch from '2026-07-25 05:01:29'::timestamp) - extract(epoch from '2026-07-25 05:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.357792 -2.807817)', '2026-07-25 05:01:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357767 -2.807836)'), GeomFromEWKT('SRID=4674;POINT (-40.357792 -2.807817)'))) / (select extract(epoch from '2026-07-25 05:01:45'::timestamp) - extract(epoch from '2026-07-25 05:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357767 -2.807836)'), GeomFromEWKT('SRID=4674;POINT (-40.357792 -2.807817)'))) / (select extract(epoch from '2026-07-25 05:01:45'::timestamp) - extract(epoch from '2026-07-25 05:01: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'), 47815, 'SRID=4674;POINT (-40.357807 -2.807819)', '2026-07-25 05:01:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357792 -2.807817)'), GeomFromEWKT('SRID=4674;POINT (-40.357807 -2.807819)'))) / (select extract(epoch from '2026-07-25 05:01:55'::timestamp) - extract(epoch from '2026-07-25 05:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357792 -2.807817)'), GeomFromEWKT('SRID=4674;POINT (-40.357807 -2.807819)'))) / (select extract(epoch from '2026-07-25 05:01:55'::timestamp) - extract(epoch from '2026-07-25 05:01: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'), 47815, 'SRID=4674;POINT (-40.357817 -2.807823)', '2026-07-25 05:02:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357807 -2.807819)'), GeomFromEWKT('SRID=4674;POINT (-40.357817 -2.807823)'))) / (select extract(epoch from '2026-07-25 05:02:10'::timestamp) - extract(epoch from '2026-07-25 05:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357807 -2.807819)'), GeomFromEWKT('SRID=4674;POINT (-40.357817 -2.807823)'))) / (select extract(epoch from '2026-07-25 05:02:10'::timestamp) - extract(epoch from '2026-07-25 05:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.357826 -2.807823)', '2026-07-25 05:02:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357817 -2.807823)'), GeomFromEWKT('SRID=4674;POINT (-40.357826 -2.807823)'))) / (select extract(epoch from '2026-07-25 05:02:23'::timestamp) - extract(epoch from '2026-07-25 05:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357817 -2.807823)'), GeomFromEWKT('SRID=4674;POINT (-40.357826 -2.807823)'))) / (select extract(epoch from '2026-07-25 05:02:23'::timestamp) - extract(epoch from '2026-07-25 05:02: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'), 47815, 'SRID=4674;POINT (-40.357845 -2.807814)', '2026-07-25 05:02:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357826 -2.807823)'), GeomFromEWKT('SRID=4674;POINT (-40.357845 -2.807814)'))) / (select extract(epoch from '2026-07-25 05:02:36'::timestamp) - extract(epoch from '2026-07-25 05:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357826 -2.807823)'), GeomFromEWKT('SRID=4674;POINT (-40.357845 -2.807814)'))) / (select extract(epoch from '2026-07-25 05:02:36'::timestamp) - extract(epoch from '2026-07-25 05:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.357877 -2.80782)', '2026-07-25 05:02:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357845 -2.807814)'), GeomFromEWKT('SRID=4674;POINT (-40.357877 -2.80782)'))) / (select extract(epoch from '2026-07-25 05:02:45'::timestamp) - extract(epoch from '2026-07-25 05:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357845 -2.807814)'), GeomFromEWKT('SRID=4674;POINT (-40.357877 -2.80782)'))) / (select extract(epoch from '2026-07-25 05:02:45'::timestamp) - extract(epoch from '2026-07-25 05:02: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'), 47815, 'SRID=4674;POINT (-40.357939 -2.807752)', '2026-07-25 05:02:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357877 -2.80782)'), GeomFromEWKT('SRID=4674;POINT (-40.357939 -2.807752)'))) / (select extract(epoch from '2026-07-25 05:02:53'::timestamp) - extract(epoch from '2026-07-25 05:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357877 -2.80782)'), GeomFromEWKT('SRID=4674;POINT (-40.357939 -2.807752)'))) / (select extract(epoch from '2026-07-25 05:02:53'::timestamp) - extract(epoch from '2026-07-25 05:02: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'), 47815, 'SRID=4674;POINT (-40.35789 -2.807624)', '2026-07-25 05:03:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357939 -2.807752)'), GeomFromEWKT('SRID=4674;POINT (-40.35789 -2.807624)'))) / (select extract(epoch from '2026-07-25 05:03:00'::timestamp) - extract(epoch from '2026-07-25 05:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357939 -2.807752)'), GeomFromEWKT('SRID=4674;POINT (-40.35789 -2.807624)'))) / (select extract(epoch from '2026-07-25 05:03:00'::timestamp) - extract(epoch from '2026-07-25 05:02: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'), 47815, 'SRID=4674;POINT (-40.357762 -2.807523)', '2026-07-25 05:03:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35789 -2.807624)'), GeomFromEWKT('SRID=4674;POINT (-40.357762 -2.807523)'))) / (select extract(epoch from '2026-07-25 05:03:06'::timestamp) - extract(epoch from '2026-07-25 05:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35789 -2.807624)'), GeomFromEWKT('SRID=4674;POINT (-40.357762 -2.807523)'))) / (select extract(epoch from '2026-07-25 05:03:06'::timestamp) - extract(epoch from '2026-07-25 05:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.357601 -2.807433)', '2026-07-25 05:03:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357762 -2.807523)'), GeomFromEWKT('SRID=4674;POINT (-40.357601 -2.807433)'))) / (select extract(epoch from '2026-07-25 05:03:14'::timestamp) - extract(epoch from '2026-07-25 05:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357762 -2.807523)'), GeomFromEWKT('SRID=4674;POINT (-40.357601 -2.807433)'))) / (select extract(epoch from '2026-07-25 05:03:14'::timestamp) - extract(epoch from '2026-07-25 05:03: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'), 47815, 'SRID=4674;POINT (-40.357458 -2.807353)', '2026-07-25 05:03:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357601 -2.807433)'), GeomFromEWKT('SRID=4674;POINT (-40.357458 -2.807353)'))) / (select extract(epoch from '2026-07-25 05:03:21'::timestamp) - extract(epoch from '2026-07-25 05:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357601 -2.807433)'), GeomFromEWKT('SRID=4674;POINT (-40.357458 -2.807353)'))) / (select extract(epoch from '2026-07-25 05:03:21'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.357262 -2.807283)', '2026-07-25 05:03:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357458 -2.807353)'), GeomFromEWKT('SRID=4674;POINT (-40.357262 -2.807283)'))) / (select extract(epoch from '2026-07-25 05:03:30'::timestamp) - extract(epoch from '2026-07-25 05:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357458 -2.807353)'), GeomFromEWKT('SRID=4674;POINT (-40.357262 -2.807283)'))) / (select extract(epoch from '2026-07-25 05:03:30'::timestamp) - extract(epoch from '2026-07-25 05:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.357085 -2.807237)', '2026-07-25 05:03:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357262 -2.807283)'), GeomFromEWKT('SRID=4674;POINT (-40.357085 -2.807237)'))) / (select extract(epoch from '2026-07-25 05:03:38'::timestamp) - extract(epoch from '2026-07-25 05:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357262 -2.807283)'), GeomFromEWKT('SRID=4674;POINT (-40.357085 -2.807237)'))) / (select extract(epoch from '2026-07-25 05:03:38'::timestamp) - extract(epoch from '2026-07-25 05:03: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'), 47815, 'SRID=4674;POINT (-40.356922 -2.807165)', '2026-07-25 05:03:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357085 -2.807237)'), GeomFromEWKT('SRID=4674;POINT (-40.356922 -2.807165)'))) / (select extract(epoch from '2026-07-25 05:03:46'::timestamp) - extract(epoch from '2026-07-25 05:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357085 -2.807237)'), GeomFromEWKT('SRID=4674;POINT (-40.356922 -2.807165)'))) / (select extract(epoch from '2026-07-25 05:03:46'::timestamp) - extract(epoch from '2026-07-25 05:03: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'), 47815, 'SRID=4674;POINT (-40.356796 -2.807033)', '2026-07-25 05:03:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356922 -2.807165)'), GeomFromEWKT('SRID=4674;POINT (-40.356796 -2.807033)'))) / (select extract(epoch from '2026-07-25 05:03:54'::timestamp) - extract(epoch from '2026-07-25 05:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356922 -2.807165)'), GeomFromEWKT('SRID=4674;POINT (-40.356796 -2.807033)'))) / (select extract(epoch from '2026-07-25 05:03:54'::timestamp) - extract(epoch from '2026-07-25 05:03: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'), 47815, 'SRID=4674;POINT (-40.356681 -2.806912)', '2026-07-25 05:04:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356796 -2.807033)'), GeomFromEWKT('SRID=4674;POINT (-40.356681 -2.806912)'))) / (select extract(epoch from '2026-07-25 05:04:01'::timestamp) - extract(epoch from '2026-07-25 05:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356796 -2.807033)'), GeomFromEWKT('SRID=4674;POINT (-40.356681 -2.806912)'))) / (select extract(epoch from '2026-07-25 05:04:01'::timestamp) - extract(epoch from '2026-07-25 05:03: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'), 47815, 'SRID=4674;POINT (-40.35653 -2.806705)', '2026-07-25 05:04:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356681 -2.806912)'), GeomFromEWKT('SRID=4674;POINT (-40.35653 -2.806705)'))) / (select extract(epoch from '2026-07-25 05:04:11'::timestamp) - extract(epoch from '2026-07-25 05:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356681 -2.806912)'), GeomFromEWKT('SRID=4674;POINT (-40.35653 -2.806705)'))) / (select extract(epoch from '2026-07-25 05:04:11'::timestamp) - extract(epoch from '2026-07-25 05:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.356403 -2.806561)', '2026-07-25 05:04:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35653 -2.806705)'), GeomFromEWKT('SRID=4674;POINT (-40.356403 -2.806561)'))) / (select extract(epoch from '2026-07-25 05:04:19'::timestamp) - extract(epoch from '2026-07-25 05:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35653 -2.806705)'), GeomFromEWKT('SRID=4674;POINT (-40.356403 -2.806561)'))) / (select extract(epoch from '2026-07-25 05:04:19'::timestamp) - extract(epoch from '2026-07-25 05:04: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'), 47815, 'SRID=4674;POINT (-40.356274 -2.806451)', '2026-07-25 05:04:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356403 -2.806561)'), GeomFromEWKT('SRID=4674;POINT (-40.356274 -2.806451)'))) / (select extract(epoch from '2026-07-25 05:04:26'::timestamp) - extract(epoch from '2026-07-25 05:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356403 -2.806561)'), GeomFromEWKT('SRID=4674;POINT (-40.356274 -2.806451)'))) / (select extract(epoch from '2026-07-25 05:04:26'::timestamp) - extract(epoch from '2026-07-25 05:04: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'), 47815, 'SRID=4674;POINT (-40.356138 -2.80638)', '2026-07-25 05:04:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356274 -2.806451)'), GeomFromEWKT('SRID=4674;POINT (-40.356138 -2.80638)'))) / (select extract(epoch from '2026-07-25 05:04:33'::timestamp) - extract(epoch from '2026-07-25 05:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356274 -2.806451)'), GeomFromEWKT('SRID=4674;POINT (-40.356138 -2.80638)'))) / (select extract(epoch from '2026-07-25 05:04:33'::timestamp) - extract(epoch from '2026-07-25 05:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.355984 -2.806282)', '2026-07-25 05:04:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356138 -2.80638)'), GeomFromEWKT('SRID=4674;POINT (-40.355984 -2.806282)'))) / (select extract(epoch from '2026-07-25 05:04:41'::timestamp) - extract(epoch from '2026-07-25 05:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356138 -2.80638)'), GeomFromEWKT('SRID=4674;POINT (-40.355984 -2.806282)'))) / (select extract(epoch from '2026-07-25 05:04:41'::timestamp) - extract(epoch from '2026-07-25 05:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.355779 -2.806196)', '2026-07-25 05:04:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355984 -2.806282)'), GeomFromEWKT('SRID=4674;POINT (-40.355779 -2.806196)'))) / (select extract(epoch from '2026-07-25 05:04:51'::timestamp) - extract(epoch from '2026-07-25 05:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355984 -2.806282)'), GeomFromEWKT('SRID=4674;POINT (-40.355779 -2.806196)'))) / (select extract(epoch from '2026-07-25 05:04:51'::timestamp) - extract(epoch from '2026-07-25 05:04: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'), 47815, 'SRID=4674;POINT (-40.35551 -2.806121)', '2026-07-25 05:05:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355779 -2.806196)'), GeomFromEWKT('SRID=4674;POINT (-40.35551 -2.806121)'))) / (select extract(epoch from '2026-07-25 05:05:03'::timestamp) - extract(epoch from '2026-07-25 05:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355779 -2.806196)'), GeomFromEWKT('SRID=4674;POINT (-40.35551 -2.806121)'))) / (select extract(epoch from '2026-07-25 05:05:03'::timestamp) - extract(epoch from '2026-07-25 05:04: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'), 47815, 'SRID=4674;POINT (-40.355317 -2.806081)', '2026-07-25 05:05:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35551 -2.806121)'), GeomFromEWKT('SRID=4674;POINT (-40.355317 -2.806081)'))) / (select extract(epoch from '2026-07-25 05:05:11'::timestamp) - extract(epoch from '2026-07-25 05:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35551 -2.806121)'), GeomFromEWKT('SRID=4674;POINT (-40.355317 -2.806081)'))) / (select extract(epoch from '2026-07-25 05:05:11'::timestamp) - extract(epoch from '2026-07-25 05:05: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'), 47815, 'SRID=4674;POINT (-40.355127 -2.806049)', '2026-07-25 05:05:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355317 -2.806081)'), GeomFromEWKT('SRID=4674;POINT (-40.355127 -2.806049)'))) / (select extract(epoch from '2026-07-25 05:05:19'::timestamp) - extract(epoch from '2026-07-25 05:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355317 -2.806081)'), GeomFromEWKT('SRID=4674;POINT (-40.355127 -2.806049)'))) / (select extract(epoch from '2026-07-25 05:05:19'::timestamp) - extract(epoch from '2026-07-25 05:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.354947 -2.806032)', '2026-07-25 05:05:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355127 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.354947 -2.806032)'))) / (select extract(epoch from '2026-07-25 05:05:27'::timestamp) - extract(epoch from '2026-07-25 05:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355127 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.354947 -2.806032)'))) / (select extract(epoch from '2026-07-25 05:05:27'::timestamp) - extract(epoch from '2026-07-25 05:05: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'), 47815, 'SRID=4674;POINT (-40.354789 -2.806025)', '2026-07-25 05:05:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354947 -2.806032)'), GeomFromEWKT('SRID=4674;POINT (-40.354789 -2.806025)'))) / (select extract(epoch from '2026-07-25 05:05:34'::timestamp) - extract(epoch from '2026-07-25 05:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354947 -2.806032)'), GeomFromEWKT('SRID=4674;POINT (-40.354789 -2.806025)'))) / (select extract(epoch from '2026-07-25 05:05:34'::timestamp) - extract(epoch from '2026-07-25 05:05: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'), 47815, 'SRID=4674;POINT (-40.354647 -2.805998)', '2026-07-25 05:05:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354789 -2.806025)'), GeomFromEWKT('SRID=4674;POINT (-40.354647 -2.805998)'))) / (select extract(epoch from '2026-07-25 05:05:40'::timestamp) - extract(epoch from '2026-07-25 05:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354789 -2.806025)'), GeomFromEWKT('SRID=4674;POINT (-40.354647 -2.805998)'))) / (select extract(epoch from '2026-07-25 05:05:40'::timestamp) - extract(epoch from '2026-07-25 05:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.354445 -2.805962)', '2026-07-25 05:05:48', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354647 -2.805998)'), GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.805962)'))) / (select extract(epoch from '2026-07-25 05:05:48'::timestamp) - extract(epoch from '2026-07-25 05:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354647 -2.805998)'), GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.805962)'))) / (select extract(epoch from '2026-07-25 05:05:48'::timestamp) - extract(epoch from '2026-07-25 05:05: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'), 47815, 'SRID=4674;POINT (-40.354289 -2.805934)', '2026-07-25 05:05:55', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.805962)'), GeomFromEWKT('SRID=4674;POINT (-40.354289 -2.805934)'))) / (select extract(epoch from '2026-07-25 05:05:55'::timestamp) - extract(epoch from '2026-07-25 05:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.805962)'), GeomFromEWKT('SRID=4674;POINT (-40.354289 -2.805934)'))) / (select extract(epoch from '2026-07-25 05:05:55'::timestamp) - extract(epoch from '2026-07-25 05:05:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.354115 -2.80591)', '2026-07-25 05:06:03', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354289 -2.805934)'), GeomFromEWKT('SRID=4674;POINT (-40.354115 -2.80591)'))) / (select extract(epoch from '2026-07-25 05:06:03'::timestamp) - extract(epoch from '2026-07-25 05:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354289 -2.805934)'), GeomFromEWKT('SRID=4674;POINT (-40.354115 -2.80591)'))) / (select extract(epoch from '2026-07-25 05:06:03'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.353914 -2.805837)', '2026-07-25 05:06:12', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354115 -2.80591)'), GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.805837)'))) / (select extract(epoch from '2026-07-25 05:06:12'::timestamp) - extract(epoch from '2026-07-25 05:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354115 -2.80591)'), GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.805837)'))) / (select extract(epoch from '2026-07-25 05:06:12'::timestamp) - extract(epoch from '2026-07-25 05:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.353763 -2.805742)', '2026-07-25 05:06:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.805837)'), GeomFromEWKT('SRID=4674;POINT (-40.353763 -2.805742)'))) / (select extract(epoch from '2026-07-25 05:06:20'::timestamp) - extract(epoch from '2026-07-25 05:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353914 -2.805837)'), GeomFromEWKT('SRID=4674;POINT (-40.353763 -2.805742)'))) / (select extract(epoch from '2026-07-25 05:06:20'::timestamp) - extract(epoch from '2026-07-25 05:06: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'), 47815, 'SRID=4674;POINT (-40.35357 -2.805678)', '2026-07-25 05:06:29', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353763 -2.805742)'), GeomFromEWKT('SRID=4674;POINT (-40.35357 -2.805678)'))) / (select extract(epoch from '2026-07-25 05:06:29'::timestamp) - extract(epoch from '2026-07-25 05:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353763 -2.805742)'), GeomFromEWKT('SRID=4674;POINT (-40.35357 -2.805678)'))) / (select extract(epoch from '2026-07-25 05:06:29'::timestamp) - extract(epoch from '2026-07-25 05:06: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'), 47815, 'SRID=4674;POINT (-40.353402 -2.805672)', '2026-07-25 05:06:36', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35357 -2.805678)'), GeomFromEWKT('SRID=4674;POINT (-40.353402 -2.805672)'))) / (select extract(epoch from '2026-07-25 05:06:36'::timestamp) - extract(epoch from '2026-07-25 05:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35357 -2.805678)'), GeomFromEWKT('SRID=4674;POINT (-40.353402 -2.805672)'))) / (select extract(epoch from '2026-07-25 05:06:36'::timestamp) - extract(epoch from '2026-07-25 05:06: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'), 47815, 'SRID=4674;POINT (-40.35321 -2.805677)', '2026-07-25 05:06:44', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353402 -2.805672)'), GeomFromEWKT('SRID=4674;POINT (-40.35321 -2.805677)'))) / (select extract(epoch from '2026-07-25 05:06:44'::timestamp) - extract(epoch from '2026-07-25 05:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353402 -2.805672)'), GeomFromEWKT('SRID=4674;POINT (-40.35321 -2.805677)'))) / (select extract(epoch from '2026-07-25 05:06:44'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.353003 -2.805709)', '2026-07-25 05:06:53', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35321 -2.805677)'), GeomFromEWKT('SRID=4674;POINT (-40.353003 -2.805709)'))) / (select extract(epoch from '2026-07-25 05:06:53'::timestamp) - extract(epoch from '2026-07-25 05:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35321 -2.805677)'), GeomFromEWKT('SRID=4674;POINT (-40.353003 -2.805709)'))) / (select extract(epoch from '2026-07-25 05:06:53'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.352806 -2.80572)', '2026-07-25 05:07:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353003 -2.805709)'), GeomFromEWKT('SRID=4674;POINT (-40.352806 -2.80572)'))) / (select extract(epoch from '2026-07-25 05:07:02'::timestamp) - extract(epoch from '2026-07-25 05:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353003 -2.805709)'), GeomFromEWKT('SRID=4674;POINT (-40.352806 -2.80572)'))) / (select extract(epoch from '2026-07-25 05:07:02'::timestamp) - extract(epoch from '2026-07-25 05:06:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.352601 -2.805715)', '2026-07-25 05:07:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352806 -2.80572)'), GeomFromEWKT('SRID=4674;POINT (-40.352601 -2.805715)'))) / (select extract(epoch from '2026-07-25 05:07:10'::timestamp) - extract(epoch from '2026-07-25 05:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352806 -2.80572)'), GeomFromEWKT('SRID=4674;POINT (-40.352601 -2.805715)'))) / (select extract(epoch from '2026-07-25 05:07:10'::timestamp) - extract(epoch from '2026-07-25 05:07: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'), 47815, 'SRID=4674;POINT (-40.352395 -2.8057)', '2026-07-25 05:07:19', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352601 -2.805715)'), GeomFromEWKT('SRID=4674;POINT (-40.352395 -2.8057)'))) / (select extract(epoch from '2026-07-25 05:07:19'::timestamp) - extract(epoch from '2026-07-25 05:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352601 -2.805715)'), GeomFromEWKT('SRID=4674;POINT (-40.352395 -2.8057)'))) / (select extract(epoch from '2026-07-25 05:07:19'::timestamp) - extract(epoch from '2026-07-25 05:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.352231 -2.805663)', '2026-07-25 05:07:26', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352395 -2.8057)'), GeomFromEWKT('SRID=4674;POINT (-40.352231 -2.805663)'))) / (select extract(epoch from '2026-07-25 05:07:26'::timestamp) - extract(epoch from '2026-07-25 05:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352395 -2.8057)'), GeomFromEWKT('SRID=4674;POINT (-40.352231 -2.805663)'))) / (select extract(epoch from '2026-07-25 05:07:26'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.352036 -2.80565)', '2026-07-25 05:07:34', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352231 -2.805663)'), GeomFromEWKT('SRID=4674;POINT (-40.352036 -2.80565)'))) / (select extract(epoch from '2026-07-25 05:07:34'::timestamp) - extract(epoch from '2026-07-25 05:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352231 -2.805663)'), GeomFromEWKT('SRID=4674;POINT (-40.352036 -2.80565)'))) / (select extract(epoch from '2026-07-25 05:07:34'::timestamp) - extract(epoch from '2026-07-25 05:07: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'), 47815, 'SRID=4674;POINT (-40.351846 -2.805631)', '2026-07-25 05:07:42', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352036 -2.80565)'), GeomFromEWKT('SRID=4674;POINT (-40.351846 -2.805631)'))) / (select extract(epoch from '2026-07-25 05:07:42'::timestamp) - extract(epoch from '2026-07-25 05:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352036 -2.80565)'), GeomFromEWKT('SRID=4674;POINT (-40.351846 -2.805631)'))) / (select extract(epoch from '2026-07-25 05:07:42'::timestamp) - extract(epoch from '2026-07-25 05:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.351675 -2.805601)', '2026-07-25 05:07:50', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351846 -2.805631)'), GeomFromEWKT('SRID=4674;POINT (-40.351675 -2.805601)'))) / (select extract(epoch from '2026-07-25 05:07:50'::timestamp) - extract(epoch from '2026-07-25 05:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351846 -2.805631)'), GeomFromEWKT('SRID=4674;POINT (-40.351675 -2.805601)'))) / (select extract(epoch from '2026-07-25 05:07:50'::timestamp) - extract(epoch from '2026-07-25 05:07: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'), 47815, 'SRID=4674;POINT (-40.351489 -2.805613)', '2026-07-25 05:07:58', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351675 -2.805601)'), GeomFromEWKT('SRID=4674;POINT (-40.351489 -2.805613)'))) / (select extract(epoch from '2026-07-25 05:07:58'::timestamp) - extract(epoch from '2026-07-25 05:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351675 -2.805601)'), GeomFromEWKT('SRID=4674;POINT (-40.351489 -2.805613)'))) / (select extract(epoch from '2026-07-25 05:07:58'::timestamp) - extract(epoch from '2026-07-25 05:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.351254 -2.805603)', '2026-07-25 05:08:07', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351489 -2.805613)'), GeomFromEWKT('SRID=4674;POINT (-40.351254 -2.805603)'))) / (select extract(epoch from '2026-07-25 05:08:07'::timestamp) - extract(epoch from '2026-07-25 05:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351489 -2.805613)'), GeomFromEWKT('SRID=4674;POINT (-40.351254 -2.805603)'))) / (select extract(epoch from '2026-07-25 05:08:07'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.351026 -2.805579)', '2026-07-25 05:08:16', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351254 -2.805603)'), GeomFromEWKT('SRID=4674;POINT (-40.351026 -2.805579)'))) / (select extract(epoch from '2026-07-25 05:08:16'::timestamp) - extract(epoch from '2026-07-25 05:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351254 -2.805603)'), GeomFromEWKT('SRID=4674;POINT (-40.351026 -2.805579)'))) / (select extract(epoch from '2026-07-25 05:08:16'::timestamp) - extract(epoch from '2026-07-25 05:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.350782 -2.805591)', '2026-07-25 05:08:26', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351026 -2.805579)'), GeomFromEWKT('SRID=4674;POINT (-40.350782 -2.805591)'))) / (select extract(epoch from '2026-07-25 05:08:26'::timestamp) - extract(epoch from '2026-07-25 05:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351026 -2.805579)'), GeomFromEWKT('SRID=4674;POINT (-40.350782 -2.805591)'))) / (select extract(epoch from '2026-07-25 05:08:26'::timestamp) - extract(epoch from '2026-07-25 05:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.350596 -2.805593)', '2026-07-25 05:08:34', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350782 -2.805591)'), GeomFromEWKT('SRID=4674;POINT (-40.350596 -2.805593)'))) / (select extract(epoch from '2026-07-25 05:08:34'::timestamp) - extract(epoch from '2026-07-25 05:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350782 -2.805591)'), GeomFromEWKT('SRID=4674;POINT (-40.350596 -2.805593)'))) / (select extract(epoch from '2026-07-25 05:08:34'::timestamp) - extract(epoch from '2026-07-25 05:08: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'), 47815, 'SRID=4674;POINT (-40.350406 -2.80559)', '2026-07-25 05:08:43', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350596 -2.805593)'), GeomFromEWKT('SRID=4674;POINT (-40.350406 -2.80559)'))) / (select extract(epoch from '2026-07-25 05:08:43'::timestamp) - extract(epoch from '2026-07-25 05:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350596 -2.805593)'), GeomFromEWKT('SRID=4674;POINT (-40.350406 -2.80559)'))) / (select extract(epoch from '2026-07-25 05:08:43'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.350196 -2.80559)', '2026-07-25 05:08:51', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350406 -2.80559)'), GeomFromEWKT('SRID=4674;POINT (-40.350196 -2.80559)'))) / (select extract(epoch from '2026-07-25 05:08:51'::timestamp) - extract(epoch from '2026-07-25 05:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350406 -2.80559)'), GeomFromEWKT('SRID=4674;POINT (-40.350196 -2.80559)'))) / (select extract(epoch from '2026-07-25 05:08:51'::timestamp) - extract(epoch from '2026-07-25 05:08: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'), 47815, 'SRID=4674;POINT (-40.350045 -2.805565)', '2026-07-25 05:08:58', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350196 -2.80559)'), GeomFromEWKT('SRID=4674;POINT (-40.350045 -2.805565)'))) / (select extract(epoch from '2026-07-25 05:08:58'::timestamp) - extract(epoch from '2026-07-25 05:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350196 -2.80559)'), GeomFromEWKT('SRID=4674;POINT (-40.350045 -2.805565)'))) / (select extract(epoch from '2026-07-25 05:08:58'::timestamp) - extract(epoch from '2026-07-25 05:08:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.349862 -2.805541)', '2026-07-25 05:09:06', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350045 -2.805565)'), GeomFromEWKT('SRID=4674;POINT (-40.349862 -2.805541)'))) / (select extract(epoch from '2026-07-25 05:09:06'::timestamp) - extract(epoch from '2026-07-25 05:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350045 -2.805565)'), GeomFromEWKT('SRID=4674;POINT (-40.349862 -2.805541)'))) / (select extract(epoch from '2026-07-25 05:09:06'::timestamp) - extract(epoch from '2026-07-25 05:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.349652 -2.805526)', '2026-07-25 05:09:15', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349862 -2.805541)'), GeomFromEWKT('SRID=4674;POINT (-40.349652 -2.805526)'))) / (select extract(epoch from '2026-07-25 05:09:15'::timestamp) - extract(epoch from '2026-07-25 05:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349862 -2.805541)'), GeomFromEWKT('SRID=4674;POINT (-40.349652 -2.805526)'))) / (select extract(epoch from '2026-07-25 05:09:15'::timestamp) - extract(epoch from '2026-07-25 05:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.349422 -2.80547)', '2026-07-25 05:09:26', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349652 -2.805526)'), GeomFromEWKT('SRID=4674;POINT (-40.349422 -2.80547)'))) / (select extract(epoch from '2026-07-25 05:09:26'::timestamp) - extract(epoch from '2026-07-25 05:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349652 -2.805526)'), GeomFromEWKT('SRID=4674;POINT (-40.349422 -2.80547)'))) / (select extract(epoch from '2026-07-25 05:09:26'::timestamp) - extract(epoch from '2026-07-25 05:09: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'), 47815, 'SRID=4674;POINT (-40.349228 -2.805456)', '2026-07-25 05:09:34', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349422 -2.80547)'), GeomFromEWKT('SRID=4674;POINT (-40.349228 -2.805456)'))) / (select extract(epoch from '2026-07-25 05:09:34'::timestamp) - extract(epoch from '2026-07-25 05:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349422 -2.80547)'), GeomFromEWKT('SRID=4674;POINT (-40.349228 -2.805456)'))) / (select extract(epoch from '2026-07-25 05:09:34'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.348996 -2.805464)', '2026-07-25 05:09:43', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349228 -2.805456)'), GeomFromEWKT('SRID=4674;POINT (-40.348996 -2.805464)'))) / (select extract(epoch from '2026-07-25 05:09:43'::timestamp) - extract(epoch from '2026-07-25 05:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349228 -2.805456)'), GeomFromEWKT('SRID=4674;POINT (-40.348996 -2.805464)'))) / (select extract(epoch from '2026-07-25 05:09:43'::timestamp) - extract(epoch from '2026-07-25 05:09: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'), 47815, 'SRID=4674;POINT (-40.34878 -2.805458)', '2026-07-25 05:09:52', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348996 -2.805464)'), GeomFromEWKT('SRID=4674;POINT (-40.34878 -2.805458)'))) / (select extract(epoch from '2026-07-25 05:09:52'::timestamp) - extract(epoch from '2026-07-25 05:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348996 -2.805464)'), GeomFromEWKT('SRID=4674;POINT (-40.34878 -2.805458)'))) / (select extract(epoch from '2026-07-25 05:09:52'::timestamp) - extract(epoch from '2026-07-25 05:09: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'), 47815, 'SRID=4674;POINT (-40.34858 -2.805453)', '2026-07-25 05:10:00', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34878 -2.805458)'), GeomFromEWKT('SRID=4674;POINT (-40.34858 -2.805453)'))) / (select extract(epoch from '2026-07-25 05:10:00'::timestamp) - extract(epoch from '2026-07-25 05:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34878 -2.805458)'), GeomFromEWKT('SRID=4674;POINT (-40.34858 -2.805453)'))) / (select extract(epoch from '2026-07-25 05:10:00'::timestamp) - extract(epoch from '2026-07-25 05:09: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'), 47815, 'SRID=4674;POINT (-40.348357 -2.805438)', '2026-07-25 05:10:10', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34858 -2.805453)'), GeomFromEWKT('SRID=4674;POINT (-40.348357 -2.805438)'))) / (select extract(epoch from '2026-07-25 05:10:10'::timestamp) - extract(epoch from '2026-07-25 05:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34858 -2.805453)'), GeomFromEWKT('SRID=4674;POINT (-40.348357 -2.805438)'))) / (select extract(epoch from '2026-07-25 05:10:10'::timestamp) - extract(epoch from '2026-07-25 05:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.348202 -2.805434)', '2026-07-25 05:10:17', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348357 -2.805438)'), GeomFromEWKT('SRID=4674;POINT (-40.348202 -2.805434)'))) / (select extract(epoch from '2026-07-25 05:10:17'::timestamp) - extract(epoch from '2026-07-25 05:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348357 -2.805438)'), GeomFromEWKT('SRID=4674;POINT (-40.348202 -2.805434)'))) / (select extract(epoch from '2026-07-25 05:10:17'::timestamp) - extract(epoch from '2026-07-25 05:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.34801 -2.805411)', '2026-07-25 05:10:25', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348202 -2.805434)'), GeomFromEWKT('SRID=4674;POINT (-40.34801 -2.805411)'))) / (select extract(epoch from '2026-07-25 05:10:25'::timestamp) - extract(epoch from '2026-07-25 05:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348202 -2.805434)'), GeomFromEWKT('SRID=4674;POINT (-40.34801 -2.805411)'))) / (select extract(epoch from '2026-07-25 05:10:25'::timestamp) - extract(epoch from '2026-07-25 05:10: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'), 47815, 'SRID=4674;POINT (-40.347804 -2.805398)', '2026-07-25 05:10:34', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34801 -2.805411)'), GeomFromEWKT('SRID=4674;POINT (-40.347804 -2.805398)'))) / (select extract(epoch from '2026-07-25 05:10:34'::timestamp) - extract(epoch from '2026-07-25 05:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34801 -2.805411)'), GeomFromEWKT('SRID=4674;POINT (-40.347804 -2.805398)'))) / (select extract(epoch from '2026-07-25 05:10:34'::timestamp) - extract(epoch from '2026-07-25 05:10: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'), 47815, 'SRID=4674;POINT (-40.34766 -2.805386)', '2026-07-25 05:10:40', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347804 -2.805398)'), GeomFromEWKT('SRID=4674;POINT (-40.34766 -2.805386)'))) / (select extract(epoch from '2026-07-25 05:10:40'::timestamp) - extract(epoch from '2026-07-25 05:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347804 -2.805398)'), GeomFromEWKT('SRID=4674;POINT (-40.34766 -2.805386)'))) / (select extract(epoch from '2026-07-25 05:10:40'::timestamp) - extract(epoch from '2026-07-25 05:10: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'), 47815, 'SRID=4674;POINT (-40.347495 -2.805384)', '2026-07-25 05:10:48', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34766 -2.805386)'), GeomFromEWKT('SRID=4674;POINT (-40.347495 -2.805384)'))) / (select extract(epoch from '2026-07-25 05:10:48'::timestamp) - extract(epoch from '2026-07-25 05:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34766 -2.805386)'), GeomFromEWKT('SRID=4674;POINT (-40.347495 -2.805384)'))) / (select extract(epoch from '2026-07-25 05:10:48'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.347306 -2.805391)', '2026-07-25 05:10:56', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347495 -2.805384)'), GeomFromEWKT('SRID=4674;POINT (-40.347306 -2.805391)'))) / (select extract(epoch from '2026-07-25 05:10:56'::timestamp) - extract(epoch from '2026-07-25 05:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347495 -2.805384)'), GeomFromEWKT('SRID=4674;POINT (-40.347306 -2.805391)'))) / (select extract(epoch from '2026-07-25 05:10:56'::timestamp) - extract(epoch from '2026-07-25 05:10:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.347072 -2.805382)', '2026-07-25 05:11:05', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347306 -2.805391)'), GeomFromEWKT('SRID=4674;POINT (-40.347072 -2.805382)'))) / (select extract(epoch from '2026-07-25 05:11:05'::timestamp) - extract(epoch from '2026-07-25 05:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347306 -2.805391)'), GeomFromEWKT('SRID=4674;POINT (-40.347072 -2.805382)'))) / (select extract(epoch from '2026-07-25 05:11:05'::timestamp) - extract(epoch from '2026-07-25 05:10: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'), 47815, 'SRID=4674;POINT (-40.346857 -2.805365)', '2026-07-25 05:11:14', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347072 -2.805382)'), GeomFromEWKT('SRID=4674;POINT (-40.346857 -2.805365)'))) / (select extract(epoch from '2026-07-25 05:11:14'::timestamp) - extract(epoch from '2026-07-25 05:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347072 -2.805382)'), GeomFromEWKT('SRID=4674;POINT (-40.346857 -2.805365)'))) / (select extract(epoch from '2026-07-25 05:11:14'::timestamp) - extract(epoch from '2026-07-25 05:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.346632 -2.805354)', '2026-07-25 05:11:24', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346857 -2.805365)'), GeomFromEWKT('SRID=4674;POINT (-40.346632 -2.805354)'))) / (select extract(epoch from '2026-07-25 05:11:24'::timestamp) - extract(epoch from '2026-07-25 05:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346857 -2.805365)'), GeomFromEWKT('SRID=4674;POINT (-40.346632 -2.805354)'))) / (select extract(epoch from '2026-07-25 05:11:24'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.346466 -2.805345)', '2026-07-25 05:11:31', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346632 -2.805354)'), GeomFromEWKT('SRID=4674;POINT (-40.346466 -2.805345)'))) / (select extract(epoch from '2026-07-25 05:11:31'::timestamp) - extract(epoch from '2026-07-25 05:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346632 -2.805354)'), GeomFromEWKT('SRID=4674;POINT (-40.346466 -2.805345)'))) / (select extract(epoch from '2026-07-25 05:11:31'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.34626 -2.805331)', '2026-07-25 05:11:40', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346466 -2.805345)'), GeomFromEWKT('SRID=4674;POINT (-40.34626 -2.805331)'))) / (select extract(epoch from '2026-07-25 05:11:40'::timestamp) - extract(epoch from '2026-07-25 05:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346466 -2.805345)'), GeomFromEWKT('SRID=4674;POINT (-40.34626 -2.805331)'))) / (select extract(epoch from '2026-07-25 05:11:40'::timestamp) - extract(epoch from '2026-07-25 05:11: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'), 47815, 'SRID=4674;POINT (-40.346096 -2.805313)', '2026-07-25 05:11:47', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34626 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.346096 -2.805313)'))) / (select extract(epoch from '2026-07-25 05:11:47'::timestamp) - extract(epoch from '2026-07-25 05:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34626 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.346096 -2.805313)'))) / (select extract(epoch from '2026-07-25 05:11:47'::timestamp) - extract(epoch from '2026-07-25 05:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.345932 -2.805298)', '2026-07-25 05:11:55', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346096 -2.805313)'), GeomFromEWKT('SRID=4674;POINT (-40.345932 -2.805298)'))) / (select extract(epoch from '2026-07-25 05:11:55'::timestamp) - extract(epoch from '2026-07-25 05:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346096 -2.805313)'), GeomFromEWKT('SRID=4674;POINT (-40.345932 -2.805298)'))) / (select extract(epoch from '2026-07-25 05:11:55'::timestamp) - extract(epoch from '2026-07-25 05:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.345753 -2.805276)', '2026-07-25 05:12:03', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345932 -2.805298)'), GeomFromEWKT('SRID=4674;POINT (-40.345753 -2.805276)'))) / (select extract(epoch from '2026-07-25 05:12:03'::timestamp) - extract(epoch from '2026-07-25 05:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345932 -2.805298)'), GeomFromEWKT('SRID=4674;POINT (-40.345753 -2.805276)'))) / (select extract(epoch from '2026-07-25 05:12:03'::timestamp) - extract(epoch from '2026-07-25 05:11: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'), 47815, 'SRID=4674;POINT (-40.345579 -2.805254)', '2026-07-25 05:12:10', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345753 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.345579 -2.805254)'))) / (select extract(epoch from '2026-07-25 05:12:10'::timestamp) - extract(epoch from '2026-07-25 05:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345753 -2.805276)'), GeomFromEWKT('SRID=4674;POINT (-40.345579 -2.805254)'))) / (select extract(epoch from '2026-07-25 05:12:10'::timestamp) - extract(epoch from '2026-07-25 05:12: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'), 47815, 'SRID=4674;POINT (-40.345372 -2.805215)', '2026-07-25 05:12:19', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345579 -2.805254)'), GeomFromEWKT('SRID=4674;POINT (-40.345372 -2.805215)'))) / (select extract(epoch from '2026-07-25 05:12:19'::timestamp) - extract(epoch from '2026-07-25 05:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345579 -2.805254)'), GeomFromEWKT('SRID=4674;POINT (-40.345372 -2.805215)'))) / (select extract(epoch from '2026-07-25 05:12:19'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.345214 -2.805187)', '2026-07-25 05:12:26', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345372 -2.805215)'), GeomFromEWKT('SRID=4674;POINT (-40.345214 -2.805187)'))) / (select extract(epoch from '2026-07-25 05:12:26'::timestamp) - extract(epoch from '2026-07-25 05:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345372 -2.805215)'), GeomFromEWKT('SRID=4674;POINT (-40.345214 -2.805187)'))) / (select extract(epoch from '2026-07-25 05:12:26'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.345035 -2.80513)', '2026-07-25 05:12:34', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345214 -2.805187)'), GeomFromEWKT('SRID=4674;POINT (-40.345035 -2.80513)'))) / (select extract(epoch from '2026-07-25 05:12:34'::timestamp) - extract(epoch from '2026-07-25 05:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345214 -2.805187)'), GeomFromEWKT('SRID=4674;POINT (-40.345035 -2.80513)'))) / (select extract(epoch from '2026-07-25 05:12:34'::timestamp) - extract(epoch from '2026-07-25 05:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.344863 -2.805078)', '2026-07-25 05:12:42', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345035 -2.80513)'), GeomFromEWKT('SRID=4674;POINT (-40.344863 -2.805078)'))) / (select extract(epoch from '2026-07-25 05:12:42'::timestamp) - extract(epoch from '2026-07-25 05:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345035 -2.80513)'), GeomFromEWKT('SRID=4674;POINT (-40.344863 -2.805078)'))) / (select extract(epoch from '2026-07-25 05:12:42'::timestamp) - extract(epoch from '2026-07-25 05:12: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'), 47815, 'SRID=4674;POINT (-40.344681 -2.805039)', '2026-07-25 05:12:50', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344863 -2.805078)'), GeomFromEWKT('SRID=4674;POINT (-40.344681 -2.805039)'))) / (select extract(epoch from '2026-07-25 05:12:50'::timestamp) - extract(epoch from '2026-07-25 05:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344863 -2.805078)'), GeomFromEWKT('SRID=4674;POINT (-40.344681 -2.805039)'))) / (select extract(epoch from '2026-07-25 05:12:50'::timestamp) - extract(epoch from '2026-07-25 05:12: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'), 47815, 'SRID=4674;POINT (-40.344436 -2.805022)', '2026-07-25 05:13:01', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344681 -2.805039)'), GeomFromEWKT('SRID=4674;POINT (-40.344436 -2.805022)'))) / (select extract(epoch from '2026-07-25 05:13:01'::timestamp) - extract(epoch from '2026-07-25 05:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344681 -2.805039)'), GeomFromEWKT('SRID=4674;POINT (-40.344436 -2.805022)'))) / (select extract(epoch from '2026-07-25 05:13:01'::timestamp) - extract(epoch from '2026-07-25 05:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.344204 -2.805016)', '2026-07-25 05:13:10', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344436 -2.805022)'), GeomFromEWKT('SRID=4674;POINT (-40.344204 -2.805016)'))) / (select extract(epoch from '2026-07-25 05:13:10'::timestamp) - extract(epoch from '2026-07-25 05:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344436 -2.805022)'), GeomFromEWKT('SRID=4674;POINT (-40.344204 -2.805016)'))) / (select extract(epoch from '2026-07-25 05:13:10'::timestamp) - extract(epoch from '2026-07-25 05:13: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'), 47815, 'SRID=4674;POINT (-40.344034 -2.805)', '2026-07-25 05:13:18', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344204 -2.805016)'), GeomFromEWKT('SRID=4674;POINT (-40.344034 -2.805)'))) / (select extract(epoch from '2026-07-25 05:13:18'::timestamp) - extract(epoch from '2026-07-25 05:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344204 -2.805016)'), GeomFromEWKT('SRID=4674;POINT (-40.344034 -2.805)'))) / (select extract(epoch from '2026-07-25 05:13:18'::timestamp) - extract(epoch from '2026-07-25 05:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.343817 -2.804969)', '2026-07-25 05:13:28', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344034 -2.805)'), GeomFromEWKT('SRID=4674;POINT (-40.343817 -2.804969)'))) / (select extract(epoch from '2026-07-25 05:13:28'::timestamp) - extract(epoch from '2026-07-25 05:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344034 -2.805)'), GeomFromEWKT('SRID=4674;POINT (-40.343817 -2.804969)'))) / (select extract(epoch from '2026-07-25 05:13:28'::timestamp) - extract(epoch from '2026-07-25 05:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.343603 -2.804974)', '2026-07-25 05:13:37', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343817 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.343603 -2.804974)'))) / (select extract(epoch from '2026-07-25 05:13:37'::timestamp) - extract(epoch from '2026-07-25 05:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343817 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.343603 -2.804974)'))) / (select extract(epoch from '2026-07-25 05:13:37'::timestamp) - extract(epoch from '2026-07-25 05:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.343422 -2.804976)', '2026-07-25 05:13:45', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343603 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.343422 -2.804976)'))) / (select extract(epoch from '2026-07-25 05:13:45'::timestamp) - extract(epoch from '2026-07-25 05:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343603 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.343422 -2.804976)'))) / (select extract(epoch from '2026-07-25 05:13:45'::timestamp) - extract(epoch from '2026-07-25 05:13: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'), 47815, 'SRID=4674;POINT (-40.343242 -2.804969)', '2026-07-25 05:13:53', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343422 -2.804976)'), GeomFromEWKT('SRID=4674;POINT (-40.343242 -2.804969)'))) / (select extract(epoch from '2026-07-25 05:13:53'::timestamp) - extract(epoch from '2026-07-25 05:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343422 -2.804976)'), GeomFromEWKT('SRID=4674;POINT (-40.343242 -2.804969)'))) / (select extract(epoch from '2026-07-25 05:13:53'::timestamp) - extract(epoch from '2026-07-25 05:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.343084 -2.804958)', '2026-07-25 05:14:00', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343242 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.343084 -2.804958)'))) / (select extract(epoch from '2026-07-25 05:14:00'::timestamp) - extract(epoch from '2026-07-25 05:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343242 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.343084 -2.804958)'))) / (select extract(epoch from '2026-07-25 05:14:00'::timestamp) - extract(epoch from '2026-07-25 05:13: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'), 47815, 'SRID=4674;POINT (-40.342895 -2.804961)', '2026-07-25 05:14:08', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343084 -2.804958)'), GeomFromEWKT('SRID=4674;POINT (-40.342895 -2.804961)'))) / (select extract(epoch from '2026-07-25 05:14:08'::timestamp) - extract(epoch from '2026-07-25 05:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343084 -2.804958)'), GeomFromEWKT('SRID=4674;POINT (-40.342895 -2.804961)'))) / (select extract(epoch from '2026-07-25 05:14:08'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.342698 -2.804956)', '2026-07-25 05:14:16', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342895 -2.804961)'), GeomFromEWKT('SRID=4674;POINT (-40.342698 -2.804956)'))) / (select extract(epoch from '2026-07-25 05:14:16'::timestamp) - extract(epoch from '2026-07-25 05:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342895 -2.804961)'), GeomFromEWKT('SRID=4674;POINT (-40.342698 -2.804956)'))) / (select extract(epoch from '2026-07-25 05:14:16'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.342528 -2.804958)', '2026-07-25 05:14:23', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342698 -2.804956)'), GeomFromEWKT('SRID=4674;POINT (-40.342528 -2.804958)'))) / (select extract(epoch from '2026-07-25 05:14:23'::timestamp) - extract(epoch from '2026-07-25 05:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342698 -2.804956)'), GeomFromEWKT('SRID=4674;POINT (-40.342528 -2.804958)'))) / (select extract(epoch from '2026-07-25 05:14:23'::timestamp) - extract(epoch from '2026-07-25 05:14: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'), 47815, 'SRID=4674;POINT (-40.342381 -2.804954)', '2026-07-25 05:14:30', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342528 -2.804958)'), GeomFromEWKT('SRID=4674;POINT (-40.342381 -2.804954)'))) / (select extract(epoch from '2026-07-25 05:14:30'::timestamp) - extract(epoch from '2026-07-25 05:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342528 -2.804958)'), GeomFromEWKT('SRID=4674;POINT (-40.342381 -2.804954)'))) / (select extract(epoch from '2026-07-25 05:14:30'::timestamp) - extract(epoch from '2026-07-25 05:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.342202 -2.804943)', '2026-07-25 05:14:38', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342381 -2.804954)'), GeomFromEWKT('SRID=4674;POINT (-40.342202 -2.804943)'))) / (select extract(epoch from '2026-07-25 05:14:38'::timestamp) - extract(epoch from '2026-07-25 05:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342381 -2.804954)'), GeomFromEWKT('SRID=4674;POINT (-40.342202 -2.804943)'))) / (select extract(epoch from '2026-07-25 05:14:38'::timestamp) - extract(epoch from '2026-07-25 05:14: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'), 47815, 'SRID=4674;POINT (-40.34201 -2.804937)', '2026-07-25 05:14:47', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342202 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.34201 -2.804937)'))) / (select extract(epoch from '2026-07-25 05:14:47'::timestamp) - extract(epoch from '2026-07-25 05:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342202 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.34201 -2.804937)'))) / (select extract(epoch from '2026-07-25 05:14:47'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.341865 -2.804931)', '2026-07-25 05:14:53', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34201 -2.804937)'), GeomFromEWKT('SRID=4674;POINT (-40.341865 -2.804931)'))) / (select extract(epoch from '2026-07-25 05:14:53'::timestamp) - extract(epoch from '2026-07-25 05:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34201 -2.804937)'), GeomFromEWKT('SRID=4674;POINT (-40.341865 -2.804931)'))) / (select extract(epoch from '2026-07-25 05:14:53'::timestamp) - extract(epoch from '2026-07-25 05:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.341647 -2.804936)', '2026-07-25 05:15:02', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341865 -2.804931)'), GeomFromEWKT('SRID=4674;POINT (-40.341647 -2.804936)'))) / (select extract(epoch from '2026-07-25 05:15:02'::timestamp) - extract(epoch from '2026-07-25 05:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341865 -2.804931)'), GeomFromEWKT('SRID=4674;POINT (-40.341647 -2.804936)'))) / (select extract(epoch from '2026-07-25 05:15:02'::timestamp) - extract(epoch from '2026-07-25 05:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.341473 -2.804921)', '2026-07-25 05:15:09', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341647 -2.804936)'), GeomFromEWKT('SRID=4674;POINT (-40.341473 -2.804921)'))) / (select extract(epoch from '2026-07-25 05:15:09'::timestamp) - extract(epoch from '2026-07-25 05:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341647 -2.804936)'), GeomFromEWKT('SRID=4674;POINT (-40.341473 -2.804921)'))) / (select extract(epoch from '2026-07-25 05:15:09'::timestamp) - extract(epoch from '2026-07-25 05:15: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'), 47815, 'SRID=4674;POINT (-40.34129 -2.804924)', '2026-07-25 05:15:17', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341473 -2.804921)'), GeomFromEWKT('SRID=4674;POINT (-40.34129 -2.804924)'))) / (select extract(epoch from '2026-07-25 05:15:17'::timestamp) - extract(epoch from '2026-07-25 05:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341473 -2.804921)'), GeomFromEWKT('SRID=4674;POINT (-40.34129 -2.804924)'))) / (select extract(epoch from '2026-07-25 05:15:17'::timestamp) - extract(epoch from '2026-07-25 05:15: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'), 47815, 'SRID=4674;POINT (-40.341104 -2.804918)', '2026-07-25 05:15:25', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34129 -2.804924)'), GeomFromEWKT('SRID=4674;POINT (-40.341104 -2.804918)'))) / (select extract(epoch from '2026-07-25 05:15:25'::timestamp) - extract(epoch from '2026-07-25 05:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34129 -2.804924)'), GeomFromEWKT('SRID=4674;POINT (-40.341104 -2.804918)'))) / (select extract(epoch from '2026-07-25 05:15:25'::timestamp) - extract(epoch from '2026-07-25 05:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.340896 -2.804913)', '2026-07-25 05:15:34', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341104 -2.804918)'), GeomFromEWKT('SRID=4674;POINT (-40.340896 -2.804913)'))) / (select extract(epoch from '2026-07-25 05:15:34'::timestamp) - extract(epoch from '2026-07-25 05:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341104 -2.804918)'), GeomFromEWKT('SRID=4674;POINT (-40.340896 -2.804913)'))) / (select extract(epoch from '2026-07-25 05:15:34'::timestamp) - extract(epoch from '2026-07-25 05:15: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'), 47815, 'SRID=4674;POINT (-40.340706 -2.8049)', '2026-07-25 05:15:43', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340896 -2.804913)'), GeomFromEWKT('SRID=4674;POINT (-40.340706 -2.8049)'))) / (select extract(epoch from '2026-07-25 05:15:43'::timestamp) - extract(epoch from '2026-07-25 05:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340896 -2.804913)'), GeomFromEWKT('SRID=4674;POINT (-40.340706 -2.8049)'))) / (select extract(epoch from '2026-07-25 05:15:43'::timestamp) - extract(epoch from '2026-07-25 05:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.340534 -2.804861)', '2026-07-25 05:15:51', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340706 -2.8049)'), GeomFromEWKT('SRID=4674;POINT (-40.340534 -2.804861)'))) / (select extract(epoch from '2026-07-25 05:15:51'::timestamp) - extract(epoch from '2026-07-25 05:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340706 -2.8049)'), GeomFromEWKT('SRID=4674;POINT (-40.340534 -2.804861)'))) / (select extract(epoch from '2026-07-25 05:15:51'::timestamp) - extract(epoch from '2026-07-25 05:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.340371 -2.804845)', '2026-07-25 05:15:58', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340534 -2.804861)'), GeomFromEWKT('SRID=4674;POINT (-40.340371 -2.804845)'))) / (select extract(epoch from '2026-07-25 05:15:58'::timestamp) - extract(epoch from '2026-07-25 05:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340534 -2.804861)'), GeomFromEWKT('SRID=4674;POINT (-40.340371 -2.804845)'))) / (select extract(epoch from '2026-07-25 05:15:58'::timestamp) - extract(epoch from '2026-07-25 05:15: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'), 47815, 'SRID=4674;POINT (-40.340175 -2.804833)', '2026-07-25 05:16:07', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340371 -2.804845)'), GeomFromEWKT('SRID=4674;POINT (-40.340175 -2.804833)'))) / (select extract(epoch from '2026-07-25 05:16:07'::timestamp) - extract(epoch from '2026-07-25 05:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340371 -2.804845)'), GeomFromEWKT('SRID=4674;POINT (-40.340175 -2.804833)'))) / (select extract(epoch from '2026-07-25 05:16:07'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.339937 -2.80483)', '2026-07-25 05:16:17', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340175 -2.804833)'), GeomFromEWKT('SRID=4674;POINT (-40.339937 -2.80483)'))) / (select extract(epoch from '2026-07-25 05:16:17'::timestamp) - extract(epoch from '2026-07-25 05:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340175 -2.804833)'), GeomFromEWKT('SRID=4674;POINT (-40.339937 -2.80483)'))) / (select extract(epoch from '2026-07-25 05:16:17'::timestamp) - extract(epoch from '2026-07-25 05:16: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'), 47815, 'SRID=4674;POINT (-40.339786 -2.804831)', '2026-07-25 05:16:24', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339937 -2.80483)'), GeomFromEWKT('SRID=4674;POINT (-40.339786 -2.804831)'))) / (select extract(epoch from '2026-07-25 05:16:24'::timestamp) - extract(epoch from '2026-07-25 05:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339937 -2.80483)'), GeomFromEWKT('SRID=4674;POINT (-40.339786 -2.804831)'))) / (select extract(epoch from '2026-07-25 05:16:24'::timestamp) - extract(epoch from '2026-07-25 05:16: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'), 47815, 'SRID=4674;POINT (-40.339571 -2.804823)', '2026-07-25 05:16:34', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339786 -2.804831)'), GeomFromEWKT('SRID=4674;POINT (-40.339571 -2.804823)'))) / (select extract(epoch from '2026-07-25 05:16:34'::timestamp) - extract(epoch from '2026-07-25 05:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339786 -2.804831)'), GeomFromEWKT('SRID=4674;POINT (-40.339571 -2.804823)'))) / (select extract(epoch from '2026-07-25 05:16:34'::timestamp) - extract(epoch from '2026-07-25 05:16: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'), 47815, 'SRID=4674;POINT (-40.339392 -2.804833)', '2026-07-25 05:16:42', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339571 -2.804823)'), GeomFromEWKT('SRID=4674;POINT (-40.339392 -2.804833)'))) / (select extract(epoch from '2026-07-25 05:16:42'::timestamp) - extract(epoch from '2026-07-25 05:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339571 -2.804823)'), GeomFromEWKT('SRID=4674;POINT (-40.339392 -2.804833)'))) / (select extract(epoch from '2026-07-25 05:16:42'::timestamp) - extract(epoch from '2026-07-25 05:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.339233 -2.804836)', '2026-07-25 05:16:49', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339392 -2.804833)'), GeomFromEWKT('SRID=4674;POINT (-40.339233 -2.804836)'))) / (select extract(epoch from '2026-07-25 05:16:49'::timestamp) - extract(epoch from '2026-07-25 05:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339392 -2.804833)'), GeomFromEWKT('SRID=4674;POINT (-40.339233 -2.804836)'))) / (select extract(epoch from '2026-07-25 05:16:49'::timestamp) - extract(epoch from '2026-07-25 05:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.338977 -2.804841)', '2026-07-25 05:17:00', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339233 -2.804836)'), GeomFromEWKT('SRID=4674;POINT (-40.338977 -2.804841)'))) / (select extract(epoch from '2026-07-25 05:17:00'::timestamp) - extract(epoch from '2026-07-25 05:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339233 -2.804836)'), GeomFromEWKT('SRID=4674;POINT (-40.338977 -2.804841)'))) / (select extract(epoch from '2026-07-25 05:17:00'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.338792 -2.804824)', '2026-07-25 05:17:08', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338977 -2.804841)'), GeomFromEWKT('SRID=4674;POINT (-40.338792 -2.804824)'))) / (select extract(epoch from '2026-07-25 05:17:08'::timestamp) - extract(epoch from '2026-07-25 05:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338977 -2.804841)'), GeomFromEWKT('SRID=4674;POINT (-40.338792 -2.804824)'))) / (select extract(epoch from '2026-07-25 05:17:08'::timestamp) - extract(epoch from '2026-07-25 05:17: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'), 47815, 'SRID=4674;POINT (-40.338644 -2.804826)', '2026-07-25 05:17:15', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338792 -2.804824)'), GeomFromEWKT('SRID=4674;POINT (-40.338644 -2.804826)'))) / (select extract(epoch from '2026-07-25 05:17:15'::timestamp) - extract(epoch from '2026-07-25 05:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338792 -2.804824)'), GeomFromEWKT('SRID=4674;POINT (-40.338644 -2.804826)'))) / (select extract(epoch from '2026-07-25 05:17:15'::timestamp) - extract(epoch from '2026-07-25 05:17: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'), 47815, 'SRID=4674;POINT (-40.338501 -2.804814)', '2026-07-25 05:17:22', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338644 -2.804826)'), GeomFromEWKT('SRID=4674;POINT (-40.338501 -2.804814)'))) / (select extract(epoch from '2026-07-25 05:17:22'::timestamp) - extract(epoch from '2026-07-25 05:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338644 -2.804826)'), GeomFromEWKT('SRID=4674;POINT (-40.338501 -2.804814)'))) / (select extract(epoch from '2026-07-25 05:17:22'::timestamp) - extract(epoch from '2026-07-25 05:17: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'), 47815, 'SRID=4674;POINT (-40.338348 -2.804806)', '2026-07-25 05:17:29', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338501 -2.804814)'), GeomFromEWKT('SRID=4674;POINT (-40.338348 -2.804806)'))) / (select extract(epoch from '2026-07-25 05:17:29'::timestamp) - extract(epoch from '2026-07-25 05:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338501 -2.804814)'), GeomFromEWKT('SRID=4674;POINT (-40.338348 -2.804806)'))) / (select extract(epoch from '2026-07-25 05:17:29'::timestamp) - extract(epoch from '2026-07-25 05:17: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'), 47815, 'SRID=4674;POINT (-40.338154 -2.804823)', '2026-07-25 05:17:37', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338348 -2.804806)'), GeomFromEWKT('SRID=4674;POINT (-40.338154 -2.804823)'))) / (select extract(epoch from '2026-07-25 05:17:37'::timestamp) - extract(epoch from '2026-07-25 05:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338348 -2.804806)'), GeomFromEWKT('SRID=4674;POINT (-40.338154 -2.804823)'))) / (select extract(epoch from '2026-07-25 05:17:37'::timestamp) - extract(epoch from '2026-07-25 05:17: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'), 47815, 'SRID=4674;POINT (-40.33793 -2.804823)', '2026-07-25 05:17:46', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338154 -2.804823)'), GeomFromEWKT('SRID=4674;POINT (-40.33793 -2.804823)'))) / (select extract(epoch from '2026-07-25 05:17:46'::timestamp) - extract(epoch from '2026-07-25 05:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338154 -2.804823)'), GeomFromEWKT('SRID=4674;POINT (-40.33793 -2.804823)'))) / (select extract(epoch from '2026-07-25 05:17:46'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.337795 -2.80483)', '2026-07-25 05:17:52', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33793 -2.804823)'), GeomFromEWKT('SRID=4674;POINT (-40.337795 -2.80483)'))) / (select extract(epoch from '2026-07-25 05:17:52'::timestamp) - extract(epoch from '2026-07-25 05:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33793 -2.804823)'), GeomFromEWKT('SRID=4674;POINT (-40.337795 -2.80483)'))) / (select extract(epoch from '2026-07-25 05:17:52'::timestamp) - extract(epoch from '2026-07-25 05:17: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'), 47815, 'SRID=4674;POINT (-40.337632 -2.804833)', '2026-07-25 05:17:59', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337795 -2.80483)'), GeomFromEWKT('SRID=4674;POINT (-40.337632 -2.804833)'))) / (select extract(epoch from '2026-07-25 05:17:59'::timestamp) - extract(epoch from '2026-07-25 05:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337795 -2.80483)'), GeomFromEWKT('SRID=4674;POINT (-40.337632 -2.804833)'))) / (select extract(epoch from '2026-07-25 05:17:59'::timestamp) - extract(epoch from '2026-07-25 05:17: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'), 47815, 'SRID=4674;POINT (-40.337453 -2.804824)', '2026-07-25 05:18:07', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337632 -2.804833)'), GeomFromEWKT('SRID=4674;POINT (-40.337453 -2.804824)'))) / (select extract(epoch from '2026-07-25 05:18:07'::timestamp) - extract(epoch from '2026-07-25 05:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337632 -2.804833)'), GeomFromEWKT('SRID=4674;POINT (-40.337453 -2.804824)'))) / (select extract(epoch from '2026-07-25 05:18:07'::timestamp) - extract(epoch from '2026-07-25 05:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.337196 -2.804804)', '2026-07-25 05:18:18', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337453 -2.804824)'), GeomFromEWKT('SRID=4674;POINT (-40.337196 -2.804804)'))) / (select extract(epoch from '2026-07-25 05:18:18'::timestamp) - extract(epoch from '2026-07-25 05:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337453 -2.804824)'), GeomFromEWKT('SRID=4674;POINT (-40.337196 -2.804804)'))) / (select extract(epoch from '2026-07-25 05:18:18'::timestamp) - extract(epoch from '2026-07-25 05:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.337006 -2.804789)', '2026-07-25 05:18:26', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337196 -2.804804)'), GeomFromEWKT('SRID=4674;POINT (-40.337006 -2.804789)'))) / (select extract(epoch from '2026-07-25 05:18:26'::timestamp) - extract(epoch from '2026-07-25 05:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337196 -2.804804)'), GeomFromEWKT('SRID=4674;POINT (-40.337006 -2.804789)'))) / (select extract(epoch from '2026-07-25 05:18:26'::timestamp) - extract(epoch from '2026-07-25 05:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.336851 -2.804788)', '2026-07-25 05:18:33', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337006 -2.804789)'), GeomFromEWKT('SRID=4674;POINT (-40.336851 -2.804788)'))) / (select extract(epoch from '2026-07-25 05:18:33'::timestamp) - extract(epoch from '2026-07-25 05:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337006 -2.804789)'), GeomFromEWKT('SRID=4674;POINT (-40.336851 -2.804788)'))) / (select extract(epoch from '2026-07-25 05:18:33'::timestamp) - extract(epoch from '2026-07-25 05:18: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'), 47815, 'SRID=4674;POINT (-40.336676 -2.804792)', '2026-07-25 05:18:41', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336851 -2.804788)'), GeomFromEWKT('SRID=4674;POINT (-40.336676 -2.804792)'))) / (select extract(epoch from '2026-07-25 05:18:41'::timestamp) - extract(epoch from '2026-07-25 05:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336851 -2.804788)'), GeomFromEWKT('SRID=4674;POINT (-40.336676 -2.804792)'))) / (select extract(epoch from '2026-07-25 05:18:41'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.336496 -2.804801)', '2026-07-25 05:18:49', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336676 -2.804792)'), GeomFromEWKT('SRID=4674;POINT (-40.336496 -2.804801)'))) / (select extract(epoch from '2026-07-25 05:18:49'::timestamp) - extract(epoch from '2026-07-25 05:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336676 -2.804792)'), GeomFromEWKT('SRID=4674;POINT (-40.336496 -2.804801)'))) / (select extract(epoch from '2026-07-25 05:18:49'::timestamp) - extract(epoch from '2026-07-25 05:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.336296 -2.804814)', '2026-07-25 05:18:58', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336496 -2.804801)'), GeomFromEWKT('SRID=4674;POINT (-40.336296 -2.804814)'))) / (select extract(epoch from '2026-07-25 05:18:58'::timestamp) - extract(epoch from '2026-07-25 05:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336496 -2.804801)'), GeomFromEWKT('SRID=4674;POINT (-40.336296 -2.804814)'))) / (select extract(epoch from '2026-07-25 05:18:58'::timestamp) - extract(epoch from '2026-07-25 05:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.336077 -2.804834)', '2026-07-25 05:19:07', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336296 -2.804814)'), GeomFromEWKT('SRID=4674;POINT (-40.336077 -2.804834)'))) / (select extract(epoch from '2026-07-25 05:19:07'::timestamp) - extract(epoch from '2026-07-25 05:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336296 -2.804814)'), GeomFromEWKT('SRID=4674;POINT (-40.336077 -2.804834)'))) / (select extract(epoch from '2026-07-25 05:19:07'::timestamp) - extract(epoch from '2026-07-25 05:18: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'), 47815, 'SRID=4674;POINT (-40.335897 -2.804856)', '2026-07-25 05:19:14', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336077 -2.804834)'), GeomFromEWKT('SRID=4674;POINT (-40.335897 -2.804856)'))) / (select extract(epoch from '2026-07-25 05:19:14'::timestamp) - extract(epoch from '2026-07-25 05:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336077 -2.804834)'), GeomFromEWKT('SRID=4674;POINT (-40.335897 -2.804856)'))) / (select extract(epoch from '2026-07-25 05:19:14'::timestamp) - extract(epoch from '2026-07-25 05:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.335706 -2.804883)', '2026-07-25 05:19:22', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335897 -2.804856)'), GeomFromEWKT('SRID=4674;POINT (-40.335706 -2.804883)'))) / (select extract(epoch from '2026-07-25 05:19:22'::timestamp) - extract(epoch from '2026-07-25 05:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335897 -2.804856)'), GeomFromEWKT('SRID=4674;POINT (-40.335706 -2.804883)'))) / (select extract(epoch from '2026-07-25 05:19:22'::timestamp) - extract(epoch from '2026-07-25 05:19: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'), 47815, 'SRID=4674;POINT (-40.335547 -2.804921)', '2026-07-25 05:19:30', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335706 -2.804883)'), GeomFromEWKT('SRID=4674;POINT (-40.335547 -2.804921)'))) / (select extract(epoch from '2026-07-25 05:19:30'::timestamp) - extract(epoch from '2026-07-25 05:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335706 -2.804883)'), GeomFromEWKT('SRID=4674;POINT (-40.335547 -2.804921)'))) / (select extract(epoch from '2026-07-25 05:19:30'::timestamp) - extract(epoch from '2026-07-25 05:19: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'), 47815, 'SRID=4674;POINT (-40.335381 -2.804943)', '2026-07-25 05:19:37', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335547 -2.804921)'), GeomFromEWKT('SRID=4674;POINT (-40.335381 -2.804943)'))) / (select extract(epoch from '2026-07-25 05:19:37'::timestamp) - extract(epoch from '2026-07-25 05:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335547 -2.804921)'), GeomFromEWKT('SRID=4674;POINT (-40.335381 -2.804943)'))) / (select extract(epoch from '2026-07-25 05:19:37'::timestamp) - extract(epoch from '2026-07-25 05:19: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'), 47815, 'SRID=4674;POINT (-40.335212 -2.804974)', '2026-07-25 05:19:45', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335381 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.335212 -2.804974)'))) / (select extract(epoch from '2026-07-25 05:19:45'::timestamp) - extract(epoch from '2026-07-25 05:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335381 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.335212 -2.804974)'))) / (select extract(epoch from '2026-07-25 05:19:45'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.335055 -2.805016)', '2026-07-25 05:19:52', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335212 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.335055 -2.805016)'))) / (select extract(epoch from '2026-07-25 05:19:52'::timestamp) - extract(epoch from '2026-07-25 05:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335212 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.335055 -2.805016)'))) / (select extract(epoch from '2026-07-25 05:19:52'::timestamp) - extract(epoch from '2026-07-25 05:19: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'), 47815, 'SRID=4674;POINT (-40.334842 -2.805049)', '2026-07-25 05:20:01', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335055 -2.805016)'), GeomFromEWKT('SRID=4674;POINT (-40.334842 -2.805049)'))) / (select extract(epoch from '2026-07-25 05:20:01'::timestamp) - extract(epoch from '2026-07-25 05:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335055 -2.805016)'), GeomFromEWKT('SRID=4674;POINT (-40.334842 -2.805049)'))) / (select extract(epoch from '2026-07-25 05:20:01'::timestamp) - extract(epoch from '2026-07-25 05:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.334699 -2.805083)', '2026-07-25 05:20:09', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334842 -2.805049)'), GeomFromEWKT('SRID=4674;POINT (-40.334699 -2.805083)'))) / (select extract(epoch from '2026-07-25 05:20:09'::timestamp) - extract(epoch from '2026-07-25 05:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334842 -2.805049)'), GeomFromEWKT('SRID=4674;POINT (-40.334699 -2.805083)'))) / (select extract(epoch from '2026-07-25 05:20:09'::timestamp) - extract(epoch from '2026-07-25 05:20: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'), 47815, 'SRID=4674;POINT (-40.334558 -2.805116)', '2026-07-25 05:20:16', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334699 -2.805083)'), GeomFromEWKT('SRID=4674;POINT (-40.334558 -2.805116)'))) / (select extract(epoch from '2026-07-25 05:20:16'::timestamp) - extract(epoch from '2026-07-25 05:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334699 -2.805083)'), GeomFromEWKT('SRID=4674;POINT (-40.334558 -2.805116)'))) / (select extract(epoch from '2026-07-25 05:20:16'::timestamp) - extract(epoch from '2026-07-25 05:20: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'), 47815, 'SRID=4674;POINT (-40.334342 -2.805167)', '2026-07-25 05:20:25', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334558 -2.805116)'), GeomFromEWKT('SRID=4674;POINT (-40.334342 -2.805167)'))) / (select extract(epoch from '2026-07-25 05:20:25'::timestamp) - extract(epoch from '2026-07-25 05:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334558 -2.805116)'), GeomFromEWKT('SRID=4674;POINT (-40.334342 -2.805167)'))) / (select extract(epoch from '2026-07-25 05:20:25'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.334194 -2.805206)', '2026-07-25 05:20:32', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334342 -2.805167)'), GeomFromEWKT('SRID=4674;POINT (-40.334194 -2.805206)'))) / (select extract(epoch from '2026-07-25 05:20:32'::timestamp) - extract(epoch from '2026-07-25 05:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334342 -2.805167)'), GeomFromEWKT('SRID=4674;POINT (-40.334194 -2.805206)'))) / (select extract(epoch from '2026-07-25 05:20:32'::timestamp) - extract(epoch from '2026-07-25 05:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.333989 -2.805254)', '2026-07-25 05:20:42', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334194 -2.805206)'), GeomFromEWKT('SRID=4674;POINT (-40.333989 -2.805254)'))) / (select extract(epoch from '2026-07-25 05:20:42'::timestamp) - extract(epoch from '2026-07-25 05:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334194 -2.805206)'), GeomFromEWKT('SRID=4674;POINT (-40.333989 -2.805254)'))) / (select extract(epoch from '2026-07-25 05:20:42'::timestamp) - extract(epoch from '2026-07-25 05:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.333815 -2.805275)', '2026-07-25 05:20:50', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333989 -2.805254)'), GeomFromEWKT('SRID=4674;POINT (-40.333815 -2.805275)'))) / (select extract(epoch from '2026-07-25 05:20:50'::timestamp) - extract(epoch from '2026-07-25 05:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333989 -2.805254)'), GeomFromEWKT('SRID=4674;POINT (-40.333815 -2.805275)'))) / (select extract(epoch from '2026-07-25 05:20:50'::timestamp) - extract(epoch from '2026-07-25 05:20: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'), 47815, 'SRID=4674;POINT (-40.333648 -2.805295)', '2026-07-25 05:20:57', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333815 -2.805275)'), GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.805295)'))) / (select extract(epoch from '2026-07-25 05:20:57'::timestamp) - extract(epoch from '2026-07-25 05:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333815 -2.805275)'), GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.805295)'))) / (select extract(epoch from '2026-07-25 05:20:57'::timestamp) - extract(epoch from '2026-07-25 05:20:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.333466 -2.805306)', '2026-07-25 05:21:05', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.805295)'), GeomFromEWKT('SRID=4674;POINT (-40.333466 -2.805306)'))) / (select extract(epoch from '2026-07-25 05:21:05'::timestamp) - extract(epoch from '2026-07-25 05:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.805295)'), GeomFromEWKT('SRID=4674;POINT (-40.333466 -2.805306)'))) / (select extract(epoch from '2026-07-25 05:21:05'::timestamp) - extract(epoch from '2026-07-25 05:20: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'), 47815, 'SRID=4674;POINT (-40.333296 -2.805295)', '2026-07-25 05:21:12', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333466 -2.805306)'), GeomFromEWKT('SRID=4674;POINT (-40.333296 -2.805295)'))) / (select extract(epoch from '2026-07-25 05:21:12'::timestamp) - extract(epoch from '2026-07-25 05:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333466 -2.805306)'), GeomFromEWKT('SRID=4674;POINT (-40.333296 -2.805295)'))) / (select extract(epoch from '2026-07-25 05:21:12'::timestamp) - extract(epoch from '2026-07-25 05:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.333096 -2.805277)', '2026-07-25 05:21:21', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333296 -2.805295)'), GeomFromEWKT('SRID=4674;POINT (-40.333096 -2.805277)'))) / (select extract(epoch from '2026-07-25 05:21:21'::timestamp) - extract(epoch from '2026-07-25 05:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333296 -2.805295)'), GeomFromEWKT('SRID=4674;POINT (-40.333096 -2.805277)'))) / (select extract(epoch from '2026-07-25 05:21:21'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.332917 -2.80525)', '2026-07-25 05:21:29', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333096 -2.805277)'), GeomFromEWKT('SRID=4674;POINT (-40.332917 -2.80525)'))) / (select extract(epoch from '2026-07-25 05:21:29'::timestamp) - extract(epoch from '2026-07-25 05:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333096 -2.805277)'), GeomFromEWKT('SRID=4674;POINT (-40.332917 -2.80525)'))) / (select extract(epoch from '2026-07-25 05:21:29'::timestamp) - extract(epoch from '2026-07-25 05:21: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'), 47815, 'SRID=4674;POINT (-40.332767 -2.805236)', '2026-07-25 05:21:36', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332917 -2.80525)'), GeomFromEWKT('SRID=4674;POINT (-40.332767 -2.805236)'))) / (select extract(epoch from '2026-07-25 05:21:36'::timestamp) - extract(epoch from '2026-07-25 05:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332917 -2.80525)'), GeomFromEWKT('SRID=4674;POINT (-40.332767 -2.805236)'))) / (select extract(epoch from '2026-07-25 05:21:36'::timestamp) - extract(epoch from '2026-07-25 05:21: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'), 47815, 'SRID=4674;POINT (-40.332577 -2.805205)', '2026-07-25 05:21:45', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332767 -2.805236)'), GeomFromEWKT('SRID=4674;POINT (-40.332577 -2.805205)'))) / (select extract(epoch from '2026-07-25 05:21:45'::timestamp) - extract(epoch from '2026-07-25 05:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332767 -2.805236)'), GeomFromEWKT('SRID=4674;POINT (-40.332577 -2.805205)'))) / (select extract(epoch from '2026-07-25 05:21:45'::timestamp) - extract(epoch from '2026-07-25 05:21:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.332352 -2.805151)', '2026-07-25 05:21:55', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332577 -2.805205)'), GeomFromEWKT('SRID=4674;POINT (-40.332352 -2.805151)'))) / (select extract(epoch from '2026-07-25 05:21:55'::timestamp) - extract(epoch from '2026-07-25 05:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332577 -2.805205)'), GeomFromEWKT('SRID=4674;POINT (-40.332352 -2.805151)'))) / (select extract(epoch from '2026-07-25 05:21:55'::timestamp) - extract(epoch from '2026-07-25 05:21:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.332205 -2.805108)', '2026-07-25 05:22:02', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332352 -2.805151)'), GeomFromEWKT('SRID=4674;POINT (-40.332205 -2.805108)'))) / (select extract(epoch from '2026-07-25 05:22:02'::timestamp) - extract(epoch from '2026-07-25 05:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332352 -2.805151)'), GeomFromEWKT('SRID=4674;POINT (-40.332205 -2.805108)'))) / (select extract(epoch from '2026-07-25 05:22:02'::timestamp) - extract(epoch from '2026-07-25 05:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.33197 -2.805066)', '2026-07-25 05:22:12', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332205 -2.805108)'), GeomFromEWKT('SRID=4674;POINT (-40.33197 -2.805066)'))) / (select extract(epoch from '2026-07-25 05:22:12'::timestamp) - extract(epoch from '2026-07-25 05:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332205 -2.805108)'), GeomFromEWKT('SRID=4674;POINT (-40.33197 -2.805066)'))) / (select extract(epoch from '2026-07-25 05:22:12'::timestamp) - extract(epoch from '2026-07-25 05:22:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.3318 -2.805042)', '2026-07-25 05:22:20', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33197 -2.805066)'), GeomFromEWKT('SRID=4674;POINT (-40.3318 -2.805042)'))) / (select extract(epoch from '2026-07-25 05:22:20'::timestamp) - extract(epoch from '2026-07-25 05:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33197 -2.805066)'), GeomFromEWKT('SRID=4674;POINT (-40.3318 -2.805042)'))) / (select extract(epoch from '2026-07-25 05:22:20'::timestamp) - extract(epoch from '2026-07-25 05:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.33165 -2.804995)', '2026-07-25 05:22:27', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3318 -2.805042)'), GeomFromEWKT('SRID=4674;POINT (-40.33165 -2.804995)'))) / (select extract(epoch from '2026-07-25 05:22:27'::timestamp) - extract(epoch from '2026-07-25 05:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3318 -2.805042)'), GeomFromEWKT('SRID=4674;POINT (-40.33165 -2.804995)'))) / (select extract(epoch from '2026-07-25 05:22:27'::timestamp) - extract(epoch from '2026-07-25 05:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.331473 -2.80493)', '2026-07-25 05:22:35', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33165 -2.804995)'), GeomFromEWKT('SRID=4674;POINT (-40.331473 -2.80493)'))) / (select extract(epoch from '2026-07-25 05:22:35'::timestamp) - extract(epoch from '2026-07-25 05:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33165 -2.804995)'), GeomFromEWKT('SRID=4674;POINT (-40.331473 -2.80493)'))) / (select extract(epoch from '2026-07-25 05:22:35'::timestamp) - extract(epoch from '2026-07-25 05:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.331309 -2.804884)', '2026-07-25 05:22:43', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331473 -2.80493)'), GeomFromEWKT('SRID=4674;POINT (-40.331309 -2.804884)'))) / (select extract(epoch from '2026-07-25 05:22:43'::timestamp) - extract(epoch from '2026-07-25 05:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331473 -2.80493)'), GeomFromEWKT('SRID=4674;POINT (-40.331309 -2.804884)'))) / (select extract(epoch from '2026-07-25 05:22:43'::timestamp) - extract(epoch from '2026-07-25 05:22: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'), 47815, 'SRID=4674;POINT (-40.33113 -2.804819)', '2026-07-25 05:22:51', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331309 -2.804884)'), GeomFromEWKT('SRID=4674;POINT (-40.33113 -2.804819)'))) / (select extract(epoch from '2026-07-25 05:22:51'::timestamp) - extract(epoch from '2026-07-25 05:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331309 -2.804884)'), GeomFromEWKT('SRID=4674;POINT (-40.33113 -2.804819)'))) / (select extract(epoch from '2026-07-25 05:22:51'::timestamp) - extract(epoch from '2026-07-25 05:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.330933 -2.804772)', '2026-07-25 05:23:00', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33113 -2.804819)'), GeomFromEWKT('SRID=4674;POINT (-40.330933 -2.804772)'))) / (select extract(epoch from '2026-07-25 05:23:00'::timestamp) - extract(epoch from '2026-07-25 05:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33113 -2.804819)'), GeomFromEWKT('SRID=4674;POINT (-40.330933 -2.804772)'))) / (select extract(epoch from '2026-07-25 05:23:00'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.330736 -2.804708)', '2026-07-25 05:23:09', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330933 -2.804772)'), GeomFromEWKT('SRID=4674;POINT (-40.330736 -2.804708)'))) / (select extract(epoch from '2026-07-25 05:23:09'::timestamp) - extract(epoch from '2026-07-25 05:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330933 -2.804772)'), GeomFromEWKT('SRID=4674;POINT (-40.330736 -2.804708)'))) / (select extract(epoch from '2026-07-25 05:23:09'::timestamp) - extract(epoch from '2026-07-25 05:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.330553 -2.80463)', '2026-07-25 05:23:17', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330736 -2.804708)'), GeomFromEWKT('SRID=4674;POINT (-40.330553 -2.80463)'))) / (select extract(epoch from '2026-07-25 05:23:17'::timestamp) - extract(epoch from '2026-07-25 05:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330736 -2.804708)'), GeomFromEWKT('SRID=4674;POINT (-40.330553 -2.80463)'))) / (select extract(epoch from '2026-07-25 05:23:17'::timestamp) - extract(epoch from '2026-07-25 05:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.330394 -2.804577)', '2026-07-25 05:23:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330553 -2.80463)'), GeomFromEWKT('SRID=4674;POINT (-40.330394 -2.804577)'))) / (select extract(epoch from '2026-07-25 05:23:25'::timestamp) - extract(epoch from '2026-07-25 05:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330553 -2.80463)'), GeomFromEWKT('SRID=4674;POINT (-40.330394 -2.804577)'))) / (select extract(epoch from '2026-07-25 05:23:25'::timestamp) - extract(epoch from '2026-07-25 05:23: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'), 47815, 'SRID=4674;POINT (-40.330225 -2.804511)', '2026-07-25 05:23:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330394 -2.804577)'), GeomFromEWKT('SRID=4674;POINT (-40.330225 -2.804511)'))) / (select extract(epoch from '2026-07-25 05:23:33'::timestamp) - extract(epoch from '2026-07-25 05:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330394 -2.804577)'), GeomFromEWKT('SRID=4674;POINT (-40.330225 -2.804511)'))) / (select extract(epoch from '2026-07-25 05:23:33'::timestamp) - extract(epoch from '2026-07-25 05:23: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'), 47815, 'SRID=4674;POINT (-40.32998 -2.804404)', '2026-07-25 05:23:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330225 -2.804511)'), GeomFromEWKT('SRID=4674;POINT (-40.32998 -2.804404)'))) / (select extract(epoch from '2026-07-25 05:23:44'::timestamp) - extract(epoch from '2026-07-25 05:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330225 -2.804511)'), GeomFromEWKT('SRID=4674;POINT (-40.32998 -2.804404)'))) / (select extract(epoch from '2026-07-25 05:23:44'::timestamp) - extract(epoch from '2026-07-25 05:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.329756 -2.804319)', '2026-07-25 05:23:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32998 -2.804404)'), GeomFromEWKT('SRID=4674;POINT (-40.329756 -2.804319)'))) / (select extract(epoch from '2026-07-25 05:23:54'::timestamp) - extract(epoch from '2026-07-25 05:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32998 -2.804404)'), GeomFromEWKT('SRID=4674;POINT (-40.329756 -2.804319)'))) / (select extract(epoch from '2026-07-25 05:23:54'::timestamp) - extract(epoch from '2026-07-25 05:23: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'), 47815, 'SRID=4674;POINT (-40.329611 -2.80426)', '2026-07-25 05:24:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329756 -2.804319)'), GeomFromEWKT('SRID=4674;POINT (-40.329611 -2.80426)'))) / (select extract(epoch from '2026-07-25 05:24:01'::timestamp) - extract(epoch from '2026-07-25 05:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329756 -2.804319)'), GeomFromEWKT('SRID=4674;POINT (-40.329611 -2.80426)'))) / (select extract(epoch from '2026-07-25 05:24:01'::timestamp) - extract(epoch from '2026-07-25 05:23: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'), 47815, 'SRID=4674;POINT (-40.329463 -2.804209)', '2026-07-25 05:24:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329611 -2.80426)'), GeomFromEWKT('SRID=4674;POINT (-40.329463 -2.804209)'))) / (select extract(epoch from '2026-07-25 05:24:08'::timestamp) - extract(epoch from '2026-07-25 05:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329611 -2.80426)'), GeomFromEWKT('SRID=4674;POINT (-40.329463 -2.804209)'))) / (select extract(epoch from '2026-07-25 05:24:08'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.329302 -2.804172)', '2026-07-25 05:24:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329463 -2.804209)'), GeomFromEWKT('SRID=4674;POINT (-40.329302 -2.804172)'))) / (select extract(epoch from '2026-07-25 05:24:15'::timestamp) - extract(epoch from '2026-07-25 05:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329463 -2.804209)'), GeomFromEWKT('SRID=4674;POINT (-40.329302 -2.804172)'))) / (select extract(epoch from '2026-07-25 05:24:15'::timestamp) - extract(epoch from '2026-07-25 05:24:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.329109 -2.804128)', '2026-07-25 05:24:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329302 -2.804172)'), GeomFromEWKT('SRID=4674;POINT (-40.329109 -2.804128)'))) / (select extract(epoch from '2026-07-25 05:24:24'::timestamp) - extract(epoch from '2026-07-25 05:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329302 -2.804172)'), GeomFromEWKT('SRID=4674;POINT (-40.329109 -2.804128)'))) / (select extract(epoch from '2026-07-25 05:24:24'::timestamp) - extract(epoch from '2026-07-25 05:24: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'), 47815, 'SRID=4674;POINT (-40.328917 -2.804069)', '2026-07-25 05:24:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329109 -2.804128)'), GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.804069)'))) / (select extract(epoch from '2026-07-25 05:24:33'::timestamp) - extract(epoch from '2026-07-25 05:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329109 -2.804128)'), GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.804069)'))) / (select extract(epoch from '2026-07-25 05:24:33'::timestamp) - extract(epoch from '2026-07-25 05:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.328741 -2.803997)', '2026-07-25 05:24:41', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.804069)'), GeomFromEWKT('SRID=4674;POINT (-40.328741 -2.803997)'))) / (select extract(epoch from '2026-07-25 05:24:41'::timestamp) - extract(epoch from '2026-07-25 05:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.804069)'), GeomFromEWKT('SRID=4674;POINT (-40.328741 -2.803997)'))) / (select extract(epoch from '2026-07-25 05:24:41'::timestamp) - extract(epoch from '2026-07-25 05:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.328529 -2.803892)', '2026-07-25 05:24:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328741 -2.803997)'), GeomFromEWKT('SRID=4674;POINT (-40.328529 -2.803892)'))) / (select extract(epoch from '2026-07-25 05:24:51'::timestamp) - extract(epoch from '2026-07-25 05:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328741 -2.803997)'), GeomFromEWKT('SRID=4674;POINT (-40.328529 -2.803892)'))) / (select extract(epoch from '2026-07-25 05:24:51'::timestamp) - extract(epoch from '2026-07-25 05:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.328343 -2.803798)', '2026-07-25 05:25:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328529 -2.803892)'), GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.803798)'))) / (select extract(epoch from '2026-07-25 05:25:00'::timestamp) - extract(epoch from '2026-07-25 05:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328529 -2.803892)'), GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.803798)'))) / (select extract(epoch from '2026-07-25 05:25:00'::timestamp) - extract(epoch from '2026-07-25 05:24: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'), 47815, 'SRID=4674;POINT (-40.328151 -2.803737)', '2026-07-25 05:25:08', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.803798)'), GeomFromEWKT('SRID=4674;POINT (-40.328151 -2.803737)'))) / (select extract(epoch from '2026-07-25 05:25:08'::timestamp) - extract(epoch from '2026-07-25 05:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.803798)'), GeomFromEWKT('SRID=4674;POINT (-40.328151 -2.803737)'))) / (select extract(epoch from '2026-07-25 05:25:08'::timestamp) - extract(epoch from '2026-07-25 05:25: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'), 47815, 'SRID=4674;POINT (-40.327983 -2.803673)', '2026-07-25 05:25:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328151 -2.803737)'), GeomFromEWKT('SRID=4674;POINT (-40.327983 -2.803673)'))) / (select extract(epoch from '2026-07-25 05:25:15'::timestamp) - extract(epoch from '2026-07-25 05:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328151 -2.803737)'), GeomFromEWKT('SRID=4674;POINT (-40.327983 -2.803673)'))) / (select extract(epoch from '2026-07-25 05:25:15'::timestamp) - extract(epoch from '2026-07-25 05:25: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'), 47815, 'SRID=4674;POINT (-40.32782 -2.803609)', '2026-07-25 05:25:23', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327983 -2.803673)'), GeomFromEWKT('SRID=4674;POINT (-40.32782 -2.803609)'))) / (select extract(epoch from '2026-07-25 05:25:23'::timestamp) - extract(epoch from '2026-07-25 05:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327983 -2.803673)'), GeomFromEWKT('SRID=4674;POINT (-40.32782 -2.803609)'))) / (select extract(epoch from '2026-07-25 05:25:23'::timestamp) - extract(epoch from '2026-07-25 05:25: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'), 47815, 'SRID=4674;POINT (-40.327639 -2.803524)', '2026-07-25 05:25:32', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32782 -2.803609)'), GeomFromEWKT('SRID=4674;POINT (-40.327639 -2.803524)'))) / (select extract(epoch from '2026-07-25 05:25:32'::timestamp) - extract(epoch from '2026-07-25 05:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32782 -2.803609)'), GeomFromEWKT('SRID=4674;POINT (-40.327639 -2.803524)'))) / (select extract(epoch from '2026-07-25 05:25:32'::timestamp) - extract(epoch from '2026-07-25 05:25: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'), 47815, 'SRID=4674;POINT (-40.327489 -2.803443)', '2026-07-25 05:25:39', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327639 -2.803524)'), GeomFromEWKT('SRID=4674;POINT (-40.327489 -2.803443)'))) / (select extract(epoch from '2026-07-25 05:25:39'::timestamp) - extract(epoch from '2026-07-25 05:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327639 -2.803524)'), GeomFromEWKT('SRID=4674;POINT (-40.327489 -2.803443)'))) / (select extract(epoch from '2026-07-25 05:25:39'::timestamp) - extract(epoch from '2026-07-25 05:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.327307 -2.803347)', '2026-07-25 05:25:48', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327489 -2.803443)'), GeomFromEWKT('SRID=4674;POINT (-40.327307 -2.803347)'))) / (select extract(epoch from '2026-07-25 05:25:48'::timestamp) - extract(epoch from '2026-07-25 05:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327489 -2.803443)'), GeomFromEWKT('SRID=4674;POINT (-40.327307 -2.803347)'))) / (select extract(epoch from '2026-07-25 05:25:48'::timestamp) - extract(epoch from '2026-07-25 05:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.327154 -2.803229)', '2026-07-25 05:25:56', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327307 -2.803347)'), GeomFromEWKT('SRID=4674;POINT (-40.327154 -2.803229)'))) / (select extract(epoch from '2026-07-25 05:25:56'::timestamp) - extract(epoch from '2026-07-25 05:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327307 -2.803347)'), GeomFromEWKT('SRID=4674;POINT (-40.327154 -2.803229)'))) / (select extract(epoch from '2026-07-25 05:25:56'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.327014 -2.803139)', '2026-07-25 05:26:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327154 -2.803229)'), GeomFromEWKT('SRID=4674;POINT (-40.327014 -2.803139)'))) / (select extract(epoch from '2026-07-25 05:26:03'::timestamp) - extract(epoch from '2026-07-25 05:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327154 -2.803229)'), GeomFromEWKT('SRID=4674;POINT (-40.327014 -2.803139)'))) / (select extract(epoch from '2026-07-25 05:26:03'::timestamp) - extract(epoch from '2026-07-25 05:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.326862 -2.803056)', '2026-07-25 05:26:10', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327014 -2.803139)'), GeomFromEWKT('SRID=4674;POINT (-40.326862 -2.803056)'))) / (select extract(epoch from '2026-07-25 05:26:10'::timestamp) - extract(epoch from '2026-07-25 05:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327014 -2.803139)'), GeomFromEWKT('SRID=4674;POINT (-40.326862 -2.803056)'))) / (select extract(epoch from '2026-07-25 05:26:10'::timestamp) - extract(epoch from '2026-07-25 05:26: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'), 47815, 'SRID=4674;POINT (-40.326687 -2.802971)', '2026-07-25 05:26:18', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326862 -2.803056)'), GeomFromEWKT('SRID=4674;POINT (-40.326687 -2.802971)'))) / (select extract(epoch from '2026-07-25 05:26:18'::timestamp) - extract(epoch from '2026-07-25 05:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326862 -2.803056)'), GeomFromEWKT('SRID=4674;POINT (-40.326687 -2.802971)'))) / (select extract(epoch from '2026-07-25 05:26:18'::timestamp) - extract(epoch from '2026-07-25 05:26: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'), 47815, 'SRID=4674;POINT (-40.326517 -2.802884)', '2026-07-25 05:26:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326687 -2.802971)'), GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.802884)'))) / (select extract(epoch from '2026-07-25 05:26:26'::timestamp) - extract(epoch from '2026-07-25 05:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326687 -2.802971)'), GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.802884)'))) / (select extract(epoch from '2026-07-25 05:26:26'::timestamp) - extract(epoch from '2026-07-25 05:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.326334 -2.802753)', '2026-07-25 05:26:36', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.802884)'), GeomFromEWKT('SRID=4674;POINT (-40.326334 -2.802753)'))) / (select extract(epoch from '2026-07-25 05:26:36'::timestamp) - extract(epoch from '2026-07-25 05:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.802884)'), GeomFromEWKT('SRID=4674;POINT (-40.326334 -2.802753)'))) / (select extract(epoch from '2026-07-25 05:26:36'::timestamp) - extract(epoch from '2026-07-25 05:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.326149 -2.80262)', '2026-07-25 05:26:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326334 -2.802753)'), GeomFromEWKT('SRID=4674;POINT (-40.326149 -2.80262)'))) / (select extract(epoch from '2026-07-25 05:26:46'::timestamp) - extract(epoch from '2026-07-25 05:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326334 -2.802753)'), GeomFromEWKT('SRID=4674;POINT (-40.326149 -2.80262)'))) / (select extract(epoch from '2026-07-25 05:26:46'::timestamp) - extract(epoch from '2026-07-25 05:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.325997 -2.802525)', '2026-07-25 05:26:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326149 -2.80262)'), GeomFromEWKT('SRID=4674;POINT (-40.325997 -2.802525)'))) / (select extract(epoch from '2026-07-25 05:26:54'::timestamp) - extract(epoch from '2026-07-25 05:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326149 -2.80262)'), GeomFromEWKT('SRID=4674;POINT (-40.325997 -2.802525)'))) / (select extract(epoch from '2026-07-25 05:26:54'::timestamp) - extract(epoch from '2026-07-25 05:26:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.325778 -2.802444)', '2026-07-25 05:27:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325997 -2.802525)'), GeomFromEWKT('SRID=4674;POINT (-40.325778 -2.802444)'))) / (select extract(epoch from '2026-07-25 05:27:04'::timestamp) - extract(epoch from '2026-07-25 05:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325997 -2.802525)'), GeomFromEWKT('SRID=4674;POINT (-40.325778 -2.802444)'))) / (select extract(epoch from '2026-07-25 05:27:04'::timestamp) - extract(epoch from '2026-07-25 05:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.325578 -2.802361)', '2026-07-25 05:27:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325778 -2.802444)'), GeomFromEWKT('SRID=4674;POINT (-40.325578 -2.802361)'))) / (select extract(epoch from '2026-07-25 05:27:14'::timestamp) - extract(epoch from '2026-07-25 05:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325778 -2.802444)'), GeomFromEWKT('SRID=4674;POINT (-40.325578 -2.802361)'))) / (select extract(epoch from '2026-07-25 05:27:14'::timestamp) - extract(epoch from '2026-07-25 05:27: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'), 47815, 'SRID=4674;POINT (-40.325413 -2.802303)', '2026-07-25 05:27:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325578 -2.802361)'), GeomFromEWKT('SRID=4674;POINT (-40.325413 -2.802303)'))) / (select extract(epoch from '2026-07-25 05:27:22'::timestamp) - extract(epoch from '2026-07-25 05:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325578 -2.802361)'), GeomFromEWKT('SRID=4674;POINT (-40.325413 -2.802303)'))) / (select extract(epoch from '2026-07-25 05:27:22'::timestamp) - extract(epoch from '2026-07-25 05:27: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'), 47815, 'SRID=4674;POINT (-40.325207 -2.802264)', '2026-07-25 05:27:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325413 -2.802303)'), GeomFromEWKT('SRID=4674;POINT (-40.325207 -2.802264)'))) / (select extract(epoch from '2026-07-25 05:27:32'::timestamp) - extract(epoch from '2026-07-25 05:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325413 -2.802303)'), GeomFromEWKT('SRID=4674;POINT (-40.325207 -2.802264)'))) / (select extract(epoch from '2026-07-25 05:27:32'::timestamp) - extract(epoch from '2026-07-25 05:27: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'), 47815, 'SRID=4674;POINT (-40.325027 -2.802197)', '2026-07-25 05:27:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325207 -2.802264)'), GeomFromEWKT('SRID=4674;POINT (-40.325027 -2.802197)'))) / (select extract(epoch from '2026-07-25 05:27:40'::timestamp) - extract(epoch from '2026-07-25 05:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325207 -2.802264)'), GeomFromEWKT('SRID=4674;POINT (-40.325027 -2.802197)'))) / (select extract(epoch from '2026-07-25 05:27:40'::timestamp) - extract(epoch from '2026-07-25 05:27: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'), 47815, 'SRID=4674;POINT (-40.324846 -2.802138)', '2026-07-25 05:27:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325027 -2.802197)'), GeomFromEWKT('SRID=4674;POINT (-40.324846 -2.802138)'))) / (select extract(epoch from '2026-07-25 05:27:48'::timestamp) - extract(epoch from '2026-07-25 05:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325027 -2.802197)'), GeomFromEWKT('SRID=4674;POINT (-40.324846 -2.802138)'))) / (select extract(epoch from '2026-07-25 05:27:48'::timestamp) - extract(epoch from '2026-07-25 05:27: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'), 47815, 'SRID=4674;POINT (-40.324619 -2.802035)', '2026-07-25 05:27:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324846 -2.802138)'), GeomFromEWKT('SRID=4674;POINT (-40.324619 -2.802035)'))) / (select extract(epoch from '2026-07-25 05:27:58'::timestamp) - extract(epoch from '2026-07-25 05:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324846 -2.802138)'), GeomFromEWKT('SRID=4674;POINT (-40.324619 -2.802035)'))) / (select extract(epoch from '2026-07-25 05:27:58'::timestamp) - extract(epoch from '2026-07-25 05:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.324457 -2.801958)', '2026-07-25 05:28:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324619 -2.802035)'), GeomFromEWKT('SRID=4674;POINT (-40.324457 -2.801958)'))) / (select extract(epoch from '2026-07-25 05:28:06'::timestamp) - extract(epoch from '2026-07-25 05:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324619 -2.802035)'), GeomFromEWKT('SRID=4674;POINT (-40.324457 -2.801958)'))) / (select extract(epoch from '2026-07-25 05:28:06'::timestamp) - extract(epoch from '2026-07-25 05:27: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'), 47815, 'SRID=4674;POINT (-40.324281 -2.801877)', '2026-07-25 05:28:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324457 -2.801958)'), GeomFromEWKT('SRID=4674;POINT (-40.324281 -2.801877)'))) / (select extract(epoch from '2026-07-25 05:28:14'::timestamp) - extract(epoch from '2026-07-25 05:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324457 -2.801958)'), GeomFromEWKT('SRID=4674;POINT (-40.324281 -2.801877)'))) / (select extract(epoch from '2026-07-25 05:28:14'::timestamp) - extract(epoch from '2026-07-25 05:28: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'), 47815, 'SRID=4674;POINT (-40.324079 -2.801801)', '2026-07-25 05:28:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324281 -2.801877)'), GeomFromEWKT('SRID=4674;POINT (-40.324079 -2.801801)'))) / (select extract(epoch from '2026-07-25 05:28:23'::timestamp) - extract(epoch from '2026-07-25 05:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324281 -2.801877)'), GeomFromEWKT('SRID=4674;POINT (-40.324079 -2.801801)'))) / (select extract(epoch from '2026-07-25 05:28:23'::timestamp) - extract(epoch from '2026-07-25 05:28: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'), 47815, 'SRID=4674;POINT (-40.323907 -2.801734)', '2026-07-25 05:28:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324079 -2.801801)'), GeomFromEWKT('SRID=4674;POINT (-40.323907 -2.801734)'))) / (select extract(epoch from '2026-07-25 05:28:31'::timestamp) - extract(epoch from '2026-07-25 05:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324079 -2.801801)'), GeomFromEWKT('SRID=4674;POINT (-40.323907 -2.801734)'))) / (select extract(epoch from '2026-07-25 05:28:31'::timestamp) - extract(epoch from '2026-07-25 05:28: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'), 47815, 'SRID=4674;POINT (-40.323741 -2.80166)', '2026-07-25 05:28:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323907 -2.801734)'), GeomFromEWKT('SRID=4674;POINT (-40.323741 -2.80166)'))) / (select extract(epoch from '2026-07-25 05:28:39'::timestamp) - extract(epoch from '2026-07-25 05:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323907 -2.801734)'), GeomFromEWKT('SRID=4674;POINT (-40.323741 -2.80166)'))) / (select extract(epoch from '2026-07-25 05:28:39'::timestamp) - extract(epoch from '2026-07-25 05:28: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'), 47815, 'SRID=4674;POINT (-40.323598 -2.80159)', '2026-07-25 05:28:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323741 -2.80166)'), GeomFromEWKT('SRID=4674;POINT (-40.323598 -2.80159)'))) / (select extract(epoch from '2026-07-25 05:28:47'::timestamp) - extract(epoch from '2026-07-25 05:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323741 -2.80166)'), GeomFromEWKT('SRID=4674;POINT (-40.323598 -2.80159)'))) / (select extract(epoch from '2026-07-25 05:28:47'::timestamp) - extract(epoch from '2026-07-25 05:28: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'), 47815, 'SRID=4674;POINT (-40.323474 -2.801529)', '2026-07-25 05:28:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323598 -2.80159)'), GeomFromEWKT('SRID=4674;POINT (-40.323474 -2.801529)'))) / (select extract(epoch from '2026-07-25 05:28:53'::timestamp) - extract(epoch from '2026-07-25 05:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323598 -2.80159)'), GeomFromEWKT('SRID=4674;POINT (-40.323474 -2.801529)'))) / (select extract(epoch from '2026-07-25 05:28:53'::timestamp) - extract(epoch from '2026-07-25 05:28: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'), 47815, 'SRID=4674;POINT (-40.323277 -2.801441)', '2026-07-25 05:29:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323474 -2.801529)'), GeomFromEWKT('SRID=4674;POINT (-40.323277 -2.801441)'))) / (select extract(epoch from '2026-07-25 05:29:02'::timestamp) - extract(epoch from '2026-07-25 05:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323474 -2.801529)'), GeomFromEWKT('SRID=4674;POINT (-40.323277 -2.801441)'))) / (select extract(epoch from '2026-07-25 05:29:02'::timestamp) - extract(epoch from '2026-07-25 05:28: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'), 47815, 'SRID=4674;POINT (-40.323091 -2.801344)', '2026-07-25 05:29:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323277 -2.801441)'), GeomFromEWKT('SRID=4674;POINT (-40.323091 -2.801344)'))) / (select extract(epoch from '2026-07-25 05:29:11'::timestamp) - extract(epoch from '2026-07-25 05:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323277 -2.801441)'), GeomFromEWKT('SRID=4674;POINT (-40.323091 -2.801344)'))) / (select extract(epoch from '2026-07-25 05:29:11'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.322902 -2.801218)', '2026-07-25 05:29:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323091 -2.801344)'), GeomFromEWKT('SRID=4674;POINT (-40.322902 -2.801218)'))) / (select extract(epoch from '2026-07-25 05:29:21'::timestamp) - extract(epoch from '2026-07-25 05:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323091 -2.801344)'), GeomFromEWKT('SRID=4674;POINT (-40.322902 -2.801218)'))) / (select extract(epoch from '2026-07-25 05:29:21'::timestamp) - extract(epoch from '2026-07-25 05:29: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'), 47815, 'SRID=4674;POINT (-40.32272 -2.801081)', '2026-07-25 05:29:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322902 -2.801218)'), GeomFromEWKT('SRID=4674;POINT (-40.32272 -2.801081)'))) / (select extract(epoch from '2026-07-25 05:29:31'::timestamp) - extract(epoch from '2026-07-25 05:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322902 -2.801218)'), GeomFromEWKT('SRID=4674;POINT (-40.32272 -2.801081)'))) / (select extract(epoch from '2026-07-25 05:29:31'::timestamp) - extract(epoch from '2026-07-25 05:29: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'), 47815, 'SRID=4674;POINT (-40.322555 -2.800951)', '2026-07-25 05:29:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32272 -2.801081)'), GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.800951)'))) / (select extract(epoch from '2026-07-25 05:29:40'::timestamp) - extract(epoch from '2026-07-25 05:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32272 -2.801081)'), GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.800951)'))) / (select extract(epoch from '2026-07-25 05:29:40'::timestamp) - extract(epoch from '2026-07-25 05:29: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'), 47815, 'SRID=4674;POINT (-40.322372 -2.800805)', '2026-07-25 05:29:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.800951)'), GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.800805)'))) / (select extract(epoch from '2026-07-25 05:29:49'::timestamp) - extract(epoch from '2026-07-25 05:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.800951)'), GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.800805)'))) / (select extract(epoch from '2026-07-25 05:29:49'::timestamp) - extract(epoch from '2026-07-25 05:29: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'), 47815, 'SRID=4674;POINT (-40.322215 -2.800687)', '2026-07-25 05:29:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.800805)'), GeomFromEWKT('SRID=4674;POINT (-40.322215 -2.800687)'))) / (select extract(epoch from '2026-07-25 05:29:57'::timestamp) - extract(epoch from '2026-07-25 05:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322372 -2.800805)'), GeomFromEWKT('SRID=4674;POINT (-40.322215 -2.800687)'))) / (select extract(epoch from '2026-07-25 05:29:57'::timestamp) - extract(epoch from '2026-07-25 05:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.322048 -2.800536)', '2026-07-25 05:30:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322215 -2.800687)'), GeomFromEWKT('SRID=4674;POINT (-40.322048 -2.800536)'))) / (select extract(epoch from '2026-07-25 05:30:06'::timestamp) - extract(epoch from '2026-07-25 05:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322215 -2.800687)'), GeomFromEWKT('SRID=4674;POINT (-40.322048 -2.800536)'))) / (select extract(epoch from '2026-07-25 05:30:06'::timestamp) - extract(epoch from '2026-07-25 05:29: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'), 47815, 'SRID=4674;POINT (-40.321932 -2.800406)', '2026-07-25 05:30:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322048 -2.800536)'), GeomFromEWKT('SRID=4674;POINT (-40.321932 -2.800406)'))) / (select extract(epoch from '2026-07-25 05:30:14'::timestamp) - extract(epoch from '2026-07-25 05:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322048 -2.800536)'), GeomFromEWKT('SRID=4674;POINT (-40.321932 -2.800406)'))) / (select extract(epoch from '2026-07-25 05:30:14'::timestamp) - extract(epoch from '2026-07-25 05:30: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'), 47815, 'SRID=4674;POINT (-40.321792 -2.800297)', '2026-07-25 05:30:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321932 -2.800406)'), GeomFromEWKT('SRID=4674;POINT (-40.321792 -2.800297)'))) / (select extract(epoch from '2026-07-25 05:30:22'::timestamp) - extract(epoch from '2026-07-25 05:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321932 -2.800406)'), GeomFromEWKT('SRID=4674;POINT (-40.321792 -2.800297)'))) / (select extract(epoch from '2026-07-25 05:30:22'::timestamp) - extract(epoch from '2026-07-25 05:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.321595 -2.800182)', '2026-07-25 05:30:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321792 -2.800297)'), GeomFromEWKT('SRID=4674;POINT (-40.321595 -2.800182)'))) / (select extract(epoch from '2026-07-25 05:30:32'::timestamp) - extract(epoch from '2026-07-25 05:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321792 -2.800297)'), GeomFromEWKT('SRID=4674;POINT (-40.321595 -2.800182)'))) / (select extract(epoch from '2026-07-25 05:30:32'::timestamp) - extract(epoch from '2026-07-25 05:30: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'), 47815, 'SRID=4674;POINT (-40.321447 -2.800105)', '2026-07-25 05:30:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321595 -2.800182)'), GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.800105)'))) / (select extract(epoch from '2026-07-25 05:30:40'::timestamp) - extract(epoch from '2026-07-25 05:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321595 -2.800182)'), GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.800105)'))) / (select extract(epoch from '2026-07-25 05:30:40'::timestamp) - extract(epoch from '2026-07-25 05:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.321249 -2.800016)', '2026-07-25 05:30:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.800105)'), GeomFromEWKT('SRID=4674;POINT (-40.321249 -2.800016)'))) / (select extract(epoch from '2026-07-25 05:30:50'::timestamp) - extract(epoch from '2026-07-25 05:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.800105)'), GeomFromEWKT('SRID=4674;POINT (-40.321249 -2.800016)'))) / (select extract(epoch from '2026-07-25 05:30:50'::timestamp) - extract(epoch from '2026-07-25 05:30: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'), 47815, 'SRID=4674;POINT (-40.321127 -2.79994)', '2026-07-25 05:30:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321249 -2.800016)'), GeomFromEWKT('SRID=4674;POINT (-40.321127 -2.79994)'))) / (select extract(epoch from '2026-07-25 05:30:57'::timestamp) - extract(epoch from '2026-07-25 05:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321249 -2.800016)'), GeomFromEWKT('SRID=4674;POINT (-40.321127 -2.79994)'))) / (select extract(epoch from '2026-07-25 05:30:57'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.32101 -2.799811)', '2026-07-25 05:31:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321127 -2.79994)'), GeomFromEWKT('SRID=4674;POINT (-40.32101 -2.799811)'))) / (select extract(epoch from '2026-07-25 05:31:05'::timestamp) - extract(epoch from '2026-07-25 05:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321127 -2.79994)'), GeomFromEWKT('SRID=4674;POINT (-40.32101 -2.799811)'))) / (select extract(epoch from '2026-07-25 05:31:05'::timestamp) - extract(epoch from '2026-07-25 05:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.320896 -2.799668)', '2026-07-25 05:31:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32101 -2.799811)'), GeomFromEWKT('SRID=4674;POINT (-40.320896 -2.799668)'))) / (select extract(epoch from '2026-07-25 05:31:13'::timestamp) - extract(epoch from '2026-07-25 05:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32101 -2.799811)'), GeomFromEWKT('SRID=4674;POINT (-40.320896 -2.799668)'))) / (select extract(epoch from '2026-07-25 05:31:13'::timestamp) - extract(epoch from '2026-07-25 05:31: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'), 47815, 'SRID=4674;POINT (-40.320766 -2.799534)', '2026-07-25 05:31:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320896 -2.799668)'), GeomFromEWKT('SRID=4674;POINT (-40.320766 -2.799534)'))) / (select extract(epoch from '2026-07-25 05:31:21'::timestamp) - extract(epoch from '2026-07-25 05:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320896 -2.799668)'), GeomFromEWKT('SRID=4674;POINT (-40.320766 -2.799534)'))) / (select extract(epoch from '2026-07-25 05:31:21'::timestamp) - extract(epoch from '2026-07-25 05:31: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'), 47815, 'SRID=4674;POINT (-40.320622 -2.799378)', '2026-07-25 05:31:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320766 -2.799534)'), GeomFromEWKT('SRID=4674;POINT (-40.320622 -2.799378)'))) / (select extract(epoch from '2026-07-25 05:31:30'::timestamp) - extract(epoch from '2026-07-25 05:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320766 -2.799534)'), GeomFromEWKT('SRID=4674;POINT (-40.320622 -2.799378)'))) / (select extract(epoch from '2026-07-25 05:31:30'::timestamp) - extract(epoch from '2026-07-25 05:31: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'), 47815, 'SRID=4674;POINT (-40.32045 -2.799219)', '2026-07-25 05:31:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320622 -2.799378)'), GeomFromEWKT('SRID=4674;POINT (-40.32045 -2.799219)'))) / (select extract(epoch from '2026-07-25 05:31:40'::timestamp) - extract(epoch from '2026-07-25 05:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320622 -2.799378)'), GeomFromEWKT('SRID=4674;POINT (-40.32045 -2.799219)'))) / (select extract(epoch from '2026-07-25 05:31:40'::timestamp) - extract(epoch from '2026-07-25 05:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.320313 -2.799076)', '2026-07-25 05:31:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32045 -2.799219)'), GeomFromEWKT('SRID=4674;POINT (-40.320313 -2.799076)'))) / (select extract(epoch from '2026-07-25 05:31:48'::timestamp) - extract(epoch from '2026-07-25 05:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32045 -2.799219)'), GeomFromEWKT('SRID=4674;POINT (-40.320313 -2.799076)'))) / (select extract(epoch from '2026-07-25 05:31:48'::timestamp) - extract(epoch from '2026-07-25 05:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.320133 -2.798891)', '2026-07-25 05:31:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320313 -2.799076)'), GeomFromEWKT('SRID=4674;POINT (-40.320133 -2.798891)'))) / (select extract(epoch from '2026-07-25 05:31:59'::timestamp) - extract(epoch from '2026-07-25 05:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320313 -2.799076)'), GeomFromEWKT('SRID=4674;POINT (-40.320133 -2.798891)'))) / (select extract(epoch from '2026-07-25 05:31:59'::timestamp) - extract(epoch from '2026-07-25 05:31: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'), 47815, 'SRID=4674;POINT (-40.319963 -2.798744)', '2026-07-25 05:32:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320133 -2.798891)'), GeomFromEWKT('SRID=4674;POINT (-40.319963 -2.798744)'))) / (select extract(epoch from '2026-07-25 05:32:08'::timestamp) - extract(epoch from '2026-07-25 05:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320133 -2.798891)'), GeomFromEWKT('SRID=4674;POINT (-40.319963 -2.798744)'))) / (select extract(epoch from '2026-07-25 05:32:08'::timestamp) - extract(epoch from '2026-07-25 05:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.319834 -2.798615)', '2026-07-25 05:32:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319963 -2.798744)'), GeomFromEWKT('SRID=4674;POINT (-40.319834 -2.798615)'))) / (select extract(epoch from '2026-07-25 05:32:16'::timestamp) - extract(epoch from '2026-07-25 05:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319963 -2.798744)'), GeomFromEWKT('SRID=4674;POINT (-40.319834 -2.798615)'))) / (select extract(epoch from '2026-07-25 05:32:16'::timestamp) - extract(epoch from '2026-07-25 05:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.319695 -2.798471)', '2026-07-25 05:32:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319834 -2.798615)'), GeomFromEWKT('SRID=4674;POINT (-40.319695 -2.798471)'))) / (select extract(epoch from '2026-07-25 05:32:25'::timestamp) - extract(epoch from '2026-07-25 05:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319834 -2.798615)'), GeomFromEWKT('SRID=4674;POINT (-40.319695 -2.798471)'))) / (select extract(epoch from '2026-07-25 05:32:25'::timestamp) - extract(epoch from '2026-07-25 05:32: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'), 47815, 'SRID=4674;POINT (-40.319583 -2.798339)', '2026-07-25 05:32:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319695 -2.798471)'), GeomFromEWKT('SRID=4674;POINT (-40.319583 -2.798339)'))) / (select extract(epoch from '2026-07-25 05:32:33'::timestamp) - extract(epoch from '2026-07-25 05:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319695 -2.798471)'), GeomFromEWKT('SRID=4674;POINT (-40.319583 -2.798339)'))) / (select extract(epoch from '2026-07-25 05:32:33'::timestamp) - extract(epoch from '2026-07-25 05:32: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'), 47815, 'SRID=4674;POINT (-40.319452 -2.798181)', '2026-07-25 05:32:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319583 -2.798339)'), GeomFromEWKT('SRID=4674;POINT (-40.319452 -2.798181)'))) / (select extract(epoch from '2026-07-25 05:32:42'::timestamp) - extract(epoch from '2026-07-25 05:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319583 -2.798339)'), GeomFromEWKT('SRID=4674;POINT (-40.319452 -2.798181)'))) / (select extract(epoch from '2026-07-25 05:32:42'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.319334 -2.798059)', '2026-07-25 05:32:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319452 -2.798181)'), GeomFromEWKT('SRID=4674;POINT (-40.319334 -2.798059)'))) / (select extract(epoch from '2026-07-25 05:32:49'::timestamp) - extract(epoch from '2026-07-25 05:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319452 -2.798181)'), GeomFromEWKT('SRID=4674;POINT (-40.319334 -2.798059)'))) / (select extract(epoch from '2026-07-25 05:32:49'::timestamp) - extract(epoch from '2026-07-25 05:32: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'), 47815, 'SRID=4674;POINT (-40.31918 -2.797921)', '2026-07-25 05:32:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319334 -2.798059)'), GeomFromEWKT('SRID=4674;POINT (-40.31918 -2.797921)'))) / (select extract(epoch from '2026-07-25 05:32:58'::timestamp) - extract(epoch from '2026-07-25 05:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319334 -2.798059)'), GeomFromEWKT('SRID=4674;POINT (-40.31918 -2.797921)'))) / (select extract(epoch from '2026-07-25 05:32:58'::timestamp) - extract(epoch from '2026-07-25 05:32: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'), 47815, 'SRID=4674;POINT (-40.319046 -2.797757)', '2026-07-25 05:33:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31918 -2.797921)'), GeomFromEWKT('SRID=4674;POINT (-40.319046 -2.797757)'))) / (select extract(epoch from '2026-07-25 05:33:07'::timestamp) - extract(epoch from '2026-07-25 05:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31918 -2.797921)'), GeomFromEWKT('SRID=4674;POINT (-40.319046 -2.797757)'))) / (select extract(epoch from '2026-07-25 05:33:07'::timestamp) - extract(epoch from '2026-07-25 05:32: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'), 47815, 'SRID=4674;POINT (-40.318933 -2.797606)', '2026-07-25 05:33:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319046 -2.797757)'), GeomFromEWKT('SRID=4674;POINT (-40.318933 -2.797606)'))) / (select extract(epoch from '2026-07-25 05:33:15'::timestamp) - extract(epoch from '2026-07-25 05:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319046 -2.797757)'), GeomFromEWKT('SRID=4674;POINT (-40.318933 -2.797606)'))) / (select extract(epoch from '2026-07-25 05:33:15'::timestamp) - extract(epoch from '2026-07-25 05:33: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'), 47815, 'SRID=4674;POINT (-40.31881 -2.797464)', '2026-07-25 05:33:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318933 -2.797606)'), GeomFromEWKT('SRID=4674;POINT (-40.31881 -2.797464)'))) / (select extract(epoch from '2026-07-25 05:33:23'::timestamp) - extract(epoch from '2026-07-25 05:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318933 -2.797606)'), GeomFromEWKT('SRID=4674;POINT (-40.31881 -2.797464)'))) / (select extract(epoch from '2026-07-25 05:33:23'::timestamp) - extract(epoch from '2026-07-25 05:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.318703 -2.797327)', '2026-07-25 05:33:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31881 -2.797464)'), GeomFromEWKT('SRID=4674;POINT (-40.318703 -2.797327)'))) / (select extract(epoch from '2026-07-25 05:33:30'::timestamp) - extract(epoch from '2026-07-25 05:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31881 -2.797464)'), GeomFromEWKT('SRID=4674;POINT (-40.318703 -2.797327)'))) / (select extract(epoch from '2026-07-25 05:33:30'::timestamp) - extract(epoch from '2026-07-25 05:33: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'), 47815, 'SRID=4674;POINT (-40.318555 -2.797175)', '2026-07-25 05:33:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318703 -2.797327)'), GeomFromEWKT('SRID=4674;POINT (-40.318555 -2.797175)'))) / (select extract(epoch from '2026-07-25 05:33:39'::timestamp) - extract(epoch from '2026-07-25 05:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318703 -2.797327)'), GeomFromEWKT('SRID=4674;POINT (-40.318555 -2.797175)'))) / (select extract(epoch from '2026-07-25 05:33:39'::timestamp) - extract(epoch from '2026-07-25 05:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.318411 -2.797053)', '2026-07-25 05:33:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318555 -2.797175)'), GeomFromEWKT('SRID=4674;POINT (-40.318411 -2.797053)'))) / (select extract(epoch from '2026-07-25 05:33:47'::timestamp) - extract(epoch from '2026-07-25 05:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318555 -2.797175)'), GeomFromEWKT('SRID=4674;POINT (-40.318411 -2.797053)'))) / (select extract(epoch from '2026-07-25 05:33:47'::timestamp) - extract(epoch from '2026-07-25 05:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.318249 -2.796904)', '2026-07-25 05:33:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318411 -2.797053)'), GeomFromEWKT('SRID=4674;POINT (-40.318249 -2.796904)'))) / (select extract(epoch from '2026-07-25 05:33:56'::timestamp) - extract(epoch from '2026-07-25 05:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318411 -2.797053)'), GeomFromEWKT('SRID=4674;POINT (-40.318249 -2.796904)'))) / (select extract(epoch from '2026-07-25 05:33:56'::timestamp) - extract(epoch from '2026-07-25 05:33: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'), 47815, 'SRID=4674;POINT (-40.318115 -2.796772)', '2026-07-25 05:34:04', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318249 -2.796904)'), GeomFromEWKT('SRID=4674;POINT (-40.318115 -2.796772)'))) / (select extract(epoch from '2026-07-25 05:34:04'::timestamp) - extract(epoch from '2026-07-25 05:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318249 -2.796904)'), GeomFromEWKT('SRID=4674;POINT (-40.318115 -2.796772)'))) / (select extract(epoch from '2026-07-25 05:34:04'::timestamp) - extract(epoch from '2026-07-25 05:33: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'), 47815, 'SRID=4674;POINT (-40.317969 -2.796669)', '2026-07-25 05:34:12', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318115 -2.796772)'), GeomFromEWKT('SRID=4674;POINT (-40.317969 -2.796669)'))) / (select extract(epoch from '2026-07-25 05:34:12'::timestamp) - extract(epoch from '2026-07-25 05:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318115 -2.796772)'), GeomFromEWKT('SRID=4674;POINT (-40.317969 -2.796669)'))) / (select extract(epoch from '2026-07-25 05:34:12'::timestamp) - extract(epoch from '2026-07-25 05:34: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'), 47815, 'SRID=4674;POINT (-40.317837 -2.79657)', '2026-07-25 05:34:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317969 -2.796669)'), GeomFromEWKT('SRID=4674;POINT (-40.317837 -2.79657)'))) / (select extract(epoch from '2026-07-25 05:34:20'::timestamp) - extract(epoch from '2026-07-25 05:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317969 -2.796669)'), GeomFromEWKT('SRID=4674;POINT (-40.317837 -2.79657)'))) / (select extract(epoch from '2026-07-25 05:34:20'::timestamp) - extract(epoch from '2026-07-25 05:34: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'), 47815, 'SRID=4674;POINT (-40.31769 -2.796464)', '2026-07-25 05:34:28', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317837 -2.79657)'), GeomFromEWKT('SRID=4674;POINT (-40.31769 -2.796464)'))) / (select extract(epoch from '2026-07-25 05:34:28'::timestamp) - extract(epoch from '2026-07-25 05:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317837 -2.79657)'), GeomFromEWKT('SRID=4674;POINT (-40.31769 -2.796464)'))) / (select extract(epoch from '2026-07-25 05:34:28'::timestamp) - extract(epoch from '2026-07-25 05:34:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.317548 -2.796387)', '2026-07-25 05:34:35', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31769 -2.796464)'), GeomFromEWKT('SRID=4674;POINT (-40.317548 -2.796387)'))) / (select extract(epoch from '2026-07-25 05:34:35'::timestamp) - extract(epoch from '2026-07-25 05:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31769 -2.796464)'), GeomFromEWKT('SRID=4674;POINT (-40.317548 -2.796387)'))) / (select extract(epoch from '2026-07-25 05:34:35'::timestamp) - extract(epoch from '2026-07-25 05:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.317385 -2.796278)', '2026-07-25 05:34:44', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317548 -2.796387)'), GeomFromEWKT('SRID=4674;POINT (-40.317385 -2.796278)'))) / (select extract(epoch from '2026-07-25 05:34:44'::timestamp) - extract(epoch from '2026-07-25 05:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317548 -2.796387)'), GeomFromEWKT('SRID=4674;POINT (-40.317385 -2.796278)'))) / (select extract(epoch from '2026-07-25 05:34:44'::timestamp) - extract(epoch from '2026-07-25 05:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.31722 -2.796157)', '2026-07-25 05:34:53', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317385 -2.796278)'), GeomFromEWKT('SRID=4674;POINT (-40.31722 -2.796157)'))) / (select extract(epoch from '2026-07-25 05:34:53'::timestamp) - extract(epoch from '2026-07-25 05:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317385 -2.796278)'), GeomFromEWKT('SRID=4674;POINT (-40.31722 -2.796157)'))) / (select extract(epoch from '2026-07-25 05:34:53'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.317053 -2.796036)', '2026-07-25 05:35:02', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31722 -2.796157)'), GeomFromEWKT('SRID=4674;POINT (-40.317053 -2.796036)'))) / (select extract(epoch from '2026-07-25 05:35:02'::timestamp) - extract(epoch from '2026-07-25 05:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31722 -2.796157)'), GeomFromEWKT('SRID=4674;POINT (-40.317053 -2.796036)'))) / (select extract(epoch from '2026-07-25 05:35:02'::timestamp) - extract(epoch from '2026-07-25 05:34: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'), 47815, 'SRID=4674;POINT (-40.316905 -2.795872)', '2026-07-25 05:35:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317053 -2.796036)'), GeomFromEWKT('SRID=4674;POINT (-40.316905 -2.795872)'))) / (select extract(epoch from '2026-07-25 05:35:11'::timestamp) - extract(epoch from '2026-07-25 05:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317053 -2.796036)'), GeomFromEWKT('SRID=4674;POINT (-40.316905 -2.795872)'))) / (select extract(epoch from '2026-07-25 05:35:11'::timestamp) - extract(epoch from '2026-07-25 05:35: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'), 47815, 'SRID=4674;POINT (-40.316766 -2.795717)', '2026-07-25 05:35:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316905 -2.795872)'), GeomFromEWKT('SRID=4674;POINT (-40.316766 -2.795717)'))) / (select extract(epoch from '2026-07-25 05:35:20'::timestamp) - extract(epoch from '2026-07-25 05:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316905 -2.795872)'), GeomFromEWKT('SRID=4674;POINT (-40.316766 -2.795717)'))) / (select extract(epoch from '2026-07-25 05:35:20'::timestamp) - extract(epoch from '2026-07-25 05:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.316599 -2.79555)', '2026-07-25 05:35:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316766 -2.795717)'), GeomFromEWKT('SRID=4674;POINT (-40.316599 -2.79555)'))) / (select extract(epoch from '2026-07-25 05:35:30'::timestamp) - extract(epoch from '2026-07-25 05:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316766 -2.795717)'), GeomFromEWKT('SRID=4674;POINT (-40.316599 -2.79555)'))) / (select extract(epoch from '2026-07-25 05:35:30'::timestamp) - extract(epoch from '2026-07-25 05:35: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'), 47815, 'SRID=4674;POINT (-40.316406 -2.79538)', '2026-07-25 05:35:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316599 -2.79555)'), GeomFromEWKT('SRID=4674;POINT (-40.316406 -2.79538)'))) / (select extract(epoch from '2026-07-25 05:35:41'::timestamp) - extract(epoch from '2026-07-25 05:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316599 -2.79555)'), GeomFromEWKT('SRID=4674;POINT (-40.316406 -2.79538)'))) / (select extract(epoch from '2026-07-25 05:35:41'::timestamp) - extract(epoch from '2026-07-25 05:35: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'), 47815, 'SRID=4674;POINT (-40.316258 -2.795209)', '2026-07-25 05:35:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316406 -2.79538)'), GeomFromEWKT('SRID=4674;POINT (-40.316258 -2.795209)'))) / (select extract(epoch from '2026-07-25 05:35:51'::timestamp) - extract(epoch from '2026-07-25 05:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316406 -2.79538)'), GeomFromEWKT('SRID=4674;POINT (-40.316258 -2.795209)'))) / (select extract(epoch from '2026-07-25 05:35:51'::timestamp) - extract(epoch from '2026-07-25 05:35: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'), 47815, 'SRID=4674;POINT (-40.316135 -2.795052)', '2026-07-25 05:36:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316258 -2.795209)'), GeomFromEWKT('SRID=4674;POINT (-40.316135 -2.795052)'))) / (select extract(epoch from '2026-07-25 05:36:00'::timestamp) - extract(epoch from '2026-07-25 05:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316258 -2.795209)'), GeomFromEWKT('SRID=4674;POINT (-40.316135 -2.795052)'))) / (select extract(epoch from '2026-07-25 05:36:00'::timestamp) - extract(epoch from '2026-07-25 05:35: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'), 47815, 'SRID=4674;POINT (-40.316015 -2.79491)', '2026-07-25 05:36:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316135 -2.795052)'), GeomFromEWKT('SRID=4674;POINT (-40.316015 -2.79491)'))) / (select extract(epoch from '2026-07-25 05:36:08'::timestamp) - extract(epoch from '2026-07-25 05:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316135 -2.795052)'), GeomFromEWKT('SRID=4674;POINT (-40.316015 -2.79491)'))) / (select extract(epoch from '2026-07-25 05:36:08'::timestamp) - extract(epoch from '2026-07-25 05:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.315861 -2.794792)', '2026-07-25 05:36:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316015 -2.79491)'), GeomFromEWKT('SRID=4674;POINT (-40.315861 -2.794792)'))) / (select extract(epoch from '2026-07-25 05:36:16'::timestamp) - extract(epoch from '2026-07-25 05:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316015 -2.79491)'), GeomFromEWKT('SRID=4674;POINT (-40.315861 -2.794792)'))) / (select extract(epoch from '2026-07-25 05:36:16'::timestamp) - extract(epoch from '2026-07-25 05:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.315719 -2.794668)', '2026-07-25 05:36:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315861 -2.794792)'), GeomFromEWKT('SRID=4674;POINT (-40.315719 -2.794668)'))) / (select extract(epoch from '2026-07-25 05:36:24'::timestamp) - extract(epoch from '2026-07-25 05:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315861 -2.794792)'), GeomFromEWKT('SRID=4674;POINT (-40.315719 -2.794668)'))) / (select extract(epoch from '2026-07-25 05:36:24'::timestamp) - extract(epoch from '2026-07-25 05:36:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.315574 -2.794537)', '2026-07-25 05:36:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315719 -2.794668)'), GeomFromEWKT('SRID=4674;POINT (-40.315574 -2.794537)'))) / (select extract(epoch from '2026-07-25 05:36:33'::timestamp) - extract(epoch from '2026-07-25 05:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315719 -2.794668)'), GeomFromEWKT('SRID=4674;POINT (-40.315574 -2.794537)'))) / (select extract(epoch from '2026-07-25 05:36:33'::timestamp) - extract(epoch from '2026-07-25 05:36: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'), 47815, 'SRID=4674;POINT (-40.315401 -2.794458)', '2026-07-25 05:36:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315574 -2.794537)'), GeomFromEWKT('SRID=4674;POINT (-40.315401 -2.794458)'))) / (select extract(epoch from '2026-07-25 05:36:41'::timestamp) - extract(epoch from '2026-07-25 05:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315574 -2.794537)'), GeomFromEWKT('SRID=4674;POINT (-40.315401 -2.794458)'))) / (select extract(epoch from '2026-07-25 05:36:41'::timestamp) - extract(epoch from '2026-07-25 05:36: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'), 47815, 'SRID=4674;POINT (-40.315243 -2.794427)', '2026-07-25 05:36:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315401 -2.794458)'), GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.794427)'))) / (select extract(epoch from '2026-07-25 05:36:49'::timestamp) - extract(epoch from '2026-07-25 05:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315401 -2.794458)'), GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.794427)'))) / (select extract(epoch from '2026-07-25 05:36:49'::timestamp) - extract(epoch from '2026-07-25 05:36: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'), 47815, 'SRID=4674;POINT (-40.315063 -2.794361)', '2026-07-25 05:36:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.794427)'), GeomFromEWKT('SRID=4674;POINT (-40.315063 -2.794361)'))) / (select extract(epoch from '2026-07-25 05:36:58'::timestamp) - extract(epoch from '2026-07-25 05:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315243 -2.794427)'), GeomFromEWKT('SRID=4674;POINT (-40.315063 -2.794361)'))) / (select extract(epoch from '2026-07-25 05:36:58'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.314928 -2.794232)', '2026-07-25 05:37:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315063 -2.794361)'), GeomFromEWKT('SRID=4674;POINT (-40.314928 -2.794232)'))) / (select extract(epoch from '2026-07-25 05:37:06'::timestamp) - extract(epoch from '2026-07-25 05:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315063 -2.794361)'), GeomFromEWKT('SRID=4674;POINT (-40.314928 -2.794232)'))) / (select extract(epoch from '2026-07-25 05:37:06'::timestamp) - extract(epoch from '2026-07-25 05:36: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'), 47815, 'SRID=4674;POINT (-40.314811 -2.794164)', '2026-07-25 05:37:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314928 -2.794232)'), GeomFromEWKT('SRID=4674;POINT (-40.314811 -2.794164)'))) / (select extract(epoch from '2026-07-25 05:37:13'::timestamp) - extract(epoch from '2026-07-25 05:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314928 -2.794232)'), GeomFromEWKT('SRID=4674;POINT (-40.314811 -2.794164)'))) / (select extract(epoch from '2026-07-25 05:37:13'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.314675 -2.794164)', '2026-07-25 05:37:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314811 -2.794164)'), GeomFromEWKT('SRID=4674;POINT (-40.314675 -2.794164)'))) / (select extract(epoch from '2026-07-25 05:37:20'::timestamp) - extract(epoch from '2026-07-25 05:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314811 -2.794164)'), GeomFromEWKT('SRID=4674;POINT (-40.314675 -2.794164)'))) / (select extract(epoch from '2026-07-25 05:37:20'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.314586 -2.79418)', '2026-07-25 05:37:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314675 -2.794164)'), GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.79418)'))) / (select extract(epoch from '2026-07-25 05:37:26'::timestamp) - extract(epoch from '2026-07-25 05:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314675 -2.794164)'), GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.79418)'))) / (select extract(epoch from '2026-07-25 05:37:26'::timestamp) - extract(epoch from '2026-07-25 05:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.314531 -2.794214)', '2026-07-25 05:37:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.79418)'), GeomFromEWKT('SRID=4674;POINT (-40.314531 -2.794214)'))) / (select extract(epoch from '2026-07-25 05:37:33'::timestamp) - extract(epoch from '2026-07-25 05:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314586 -2.79418)'), GeomFromEWKT('SRID=4674;POINT (-40.314531 -2.794214)'))) / (select extract(epoch from '2026-07-25 05:37:33'::timestamp) - extract(epoch from '2026-07-25 05:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.314493 -2.794257)', '2026-07-25 05:37:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314531 -2.794214)'), GeomFromEWKT('SRID=4674;POINT (-40.314493 -2.794257)'))) / (select extract(epoch from '2026-07-25 05:37:43'::timestamp) - extract(epoch from '2026-07-25 05:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314531 -2.794214)'), GeomFromEWKT('SRID=4674;POINT (-40.314493 -2.794257)'))) / (select extract(epoch from '2026-07-25 05:37:43'::timestamp) - extract(epoch from '2026-07-25 05:37: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'), 47815, 'SRID=4674;POINT (-40.314488 -2.794287)', '2026-07-25 05:37:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314493 -2.794257)'), GeomFromEWKT('SRID=4674;POINT (-40.314488 -2.794287)'))) / (select extract(epoch from '2026-07-25 05:37:52'::timestamp) - extract(epoch from '2026-07-25 05:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314493 -2.794257)'), GeomFromEWKT('SRID=4674;POINT (-40.314488 -2.794287)'))) / (select extract(epoch from '2026-07-25 05:37:52'::timestamp) - extract(epoch from '2026-07-25 05:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.3145 -2.794301)', '2026-07-25 05:38:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314488 -2.794287)'), GeomFromEWKT('SRID=4674;POINT (-40.3145 -2.794301)'))) / (select extract(epoch from '2026-07-25 05:38:03'::timestamp) - extract(epoch from '2026-07-25 05:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314488 -2.794287)'), GeomFromEWKT('SRID=4674;POINT (-40.3145 -2.794301)'))) / (select extract(epoch from '2026-07-25 05:38:03'::timestamp) - extract(epoch from '2026-07-25 05:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.314565 -2.794302)', '2026-07-25 05:38:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3145 -2.794301)'), GeomFromEWKT('SRID=4674;POINT (-40.314565 -2.794302)'))) / (select extract(epoch from '2026-07-25 05:38:29'::timestamp) - extract(epoch from '2026-07-25 05:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3145 -2.794301)'), GeomFromEWKT('SRID=4674;POINT (-40.314565 -2.794302)'))) / (select extract(epoch from '2026-07-25 05:38:29'::timestamp) - extract(epoch from '2026-07-25 05:38: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'), 47815, 'SRID=4674;POINT (-40.314565 -2.794269)', '2026-07-25 05:39:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314565 -2.794302)'), GeomFromEWKT('SRID=4674;POINT (-40.314565 -2.794269)'))) / (select extract(epoch from '2026-07-25 05:39:59'::timestamp) - extract(epoch from '2026-07-25 05:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314565 -2.794302)'), GeomFromEWKT('SRID=4674;POINT (-40.314565 -2.794269)'))) / (select extract(epoch from '2026-07-25 05:39:59'::timestamp) - extract(epoch from '2026-07-25 05:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.314526 -2.794312)', '2026-07-25 05:40:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314565 -2.794269)'), GeomFromEWKT('SRID=4674;POINT (-40.314526 -2.794312)'))) / (select extract(epoch from '2026-07-25 05:40:12'::timestamp) - extract(epoch from '2026-07-25 05:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314565 -2.794269)'), GeomFromEWKT('SRID=4674;POINT (-40.314526 -2.794312)'))) / (select extract(epoch from '2026-07-25 05:40:12'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.314433 -2.794308)', '2026-07-25 05:41:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314526 -2.794312)'), GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.794308)'))) / (select extract(epoch from '2026-07-25 05:41:06'::timestamp) - extract(epoch from '2026-07-25 05:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314526 -2.794312)'), GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.794308)'))) / (select extract(epoch from '2026-07-25 05:41:06'::timestamp) - extract(epoch from '2026-07-25 05:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.314364 -2.794321)', '2026-07-25 05:41:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.794308)'), GeomFromEWKT('SRID=4674;POINT (-40.314364 -2.794321)'))) / (select extract(epoch from '2026-07-25 05:41:22'::timestamp) - extract(epoch from '2026-07-25 05:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.794308)'), GeomFromEWKT('SRID=4674;POINT (-40.314364 -2.794321)'))) / (select extract(epoch from '2026-07-25 05:41:22'::timestamp) - extract(epoch from '2026-07-25 05:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.314329 -2.79432)', '2026-07-25 05:41:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314364 -2.794321)'), GeomFromEWKT('SRID=4674;POINT (-40.314329 -2.79432)'))) / (select extract(epoch from '2026-07-25 05:41:33'::timestamp) - extract(epoch from '2026-07-25 05:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314364 -2.794321)'), GeomFromEWKT('SRID=4674;POINT (-40.314329 -2.79432)'))) / (select extract(epoch from '2026-07-25 05:41:33'::timestamp) - extract(epoch from '2026-07-25 05:41: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'), 47815, 'SRID=4674;POINT (-40.314249 -2.794326)', '2026-07-25 05:42:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314329 -2.79432)'), GeomFromEWKT('SRID=4674;POINT (-40.314249 -2.794326)'))) / (select extract(epoch from '2026-07-25 05:42:24'::timestamp) - extract(epoch from '2026-07-25 05:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314329 -2.79432)'), GeomFromEWKT('SRID=4674;POINT (-40.314249 -2.794326)'))) / (select extract(epoch from '2026-07-25 05:42:24'::timestamp) - extract(epoch from '2026-07-25 05:41: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'), 47815, 'SRID=4674;POINT (-40.314214 -2.794317)', '2026-07-25 05:42:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314249 -2.794326)'), GeomFromEWKT('SRID=4674;POINT (-40.314214 -2.794317)'))) / (select extract(epoch from '2026-07-25 05:42:32'::timestamp) - extract(epoch from '2026-07-25 05:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314249 -2.794326)'), GeomFromEWKT('SRID=4674;POINT (-40.314214 -2.794317)'))) / (select extract(epoch from '2026-07-25 05:42:32'::timestamp) - extract(epoch from '2026-07-25 05:42: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'), 47815, 'SRID=4674;POINT (-40.314203 -2.79432)', '2026-07-25 05:42:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314214 -2.794317)'), GeomFromEWKT('SRID=4674;POINT (-40.314203 -2.79432)'))) / (select extract(epoch from '2026-07-25 05:42:44'::timestamp) - extract(epoch from '2026-07-25 05:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314214 -2.794317)'), GeomFromEWKT('SRID=4674;POINT (-40.314203 -2.79432)'))) / (select extract(epoch from '2026-07-25 05:42:44'::timestamp) - extract(epoch from '2026-07-25 05:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.314148 -2.794336)', '2026-07-25 05:42:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314203 -2.79432)'), GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.794336)'))) / (select extract(epoch from '2026-07-25 05:42:58'::timestamp) - extract(epoch from '2026-07-25 05:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314203 -2.79432)'), GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.794336)'))) / (select extract(epoch from '2026-07-25 05:42:58'::timestamp) - extract(epoch from '2026-07-25 05:42: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'), 47815, 'SRID=4674;POINT (-40.314097 -2.794332)', '2026-07-25 05:43:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.794336)'), GeomFromEWKT('SRID=4674;POINT (-40.314097 -2.794332)'))) / (select extract(epoch from '2026-07-25 05:43:15'::timestamp) - extract(epoch from '2026-07-25 05:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314148 -2.794336)'), GeomFromEWKT('SRID=4674;POINT (-40.314097 -2.794332)'))) / (select extract(epoch from '2026-07-25 05:43:15'::timestamp) - extract(epoch from '2026-07-25 05:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.31404 -2.794317)', '2026-07-25 05:43:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314097 -2.794332)'), GeomFromEWKT('SRID=4674;POINT (-40.31404 -2.794317)'))) / (select extract(epoch from '2026-07-25 05:43:27'::timestamp) - extract(epoch from '2026-07-25 05:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314097 -2.794332)'), GeomFromEWKT('SRID=4674;POINT (-40.31404 -2.794317)'))) / (select extract(epoch from '2026-07-25 05:43:27'::timestamp) - extract(epoch from '2026-07-25 05:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313939 -2.794309)', '2026-07-25 05:44:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31404 -2.794317)'), GeomFromEWKT('SRID=4674;POINT (-40.313939 -2.794309)'))) / (select extract(epoch from '2026-07-25 05:44:14'::timestamp) - extract(epoch from '2026-07-25 05:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31404 -2.794317)'), GeomFromEWKT('SRID=4674;POINT (-40.313939 -2.794309)'))) / (select extract(epoch from '2026-07-25 05:44:14'::timestamp) - extract(epoch from '2026-07-25 05:43: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'), 47815, 'SRID=4674;POINT (-40.313823 -2.794311)', '2026-07-25 05:44:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313939 -2.794309)'), GeomFromEWKT('SRID=4674;POINT (-40.313823 -2.794311)'))) / (select extract(epoch from '2026-07-25 05:44:46'::timestamp) - extract(epoch from '2026-07-25 05:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313939 -2.794309)'), GeomFromEWKT('SRID=4674;POINT (-40.313823 -2.794311)'))) / (select extract(epoch from '2026-07-25 05:44:46'::timestamp) - extract(epoch from '2026-07-25 05:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313795 -2.79432)', '2026-07-25 05:44:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313823 -2.794311)'), GeomFromEWKT('SRID=4674;POINT (-40.313795 -2.79432)'))) / (select extract(epoch from '2026-07-25 05:44:58'::timestamp) - extract(epoch from '2026-07-25 05:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313823 -2.794311)'), GeomFromEWKT('SRID=4674;POINT (-40.313795 -2.79432)'))) / (select extract(epoch from '2026-07-25 05:44:58'::timestamp) - extract(epoch from '2026-07-25 05:44: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'), 47815, 'SRID=4674;POINT (-40.313746 -2.794311)', '2026-07-25 05:45:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313795 -2.79432)'), GeomFromEWKT('SRID=4674;POINT (-40.313746 -2.794311)'))) / (select extract(epoch from '2026-07-25 05:45:09'::timestamp) - extract(epoch from '2026-07-25 05:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313795 -2.79432)'), GeomFromEWKT('SRID=4674;POINT (-40.313746 -2.794311)'))) / (select extract(epoch from '2026-07-25 05:45:09'::timestamp) - extract(epoch from '2026-07-25 05:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313699 -2.794324)', '2026-07-25 05:45:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313746 -2.794311)'), GeomFromEWKT('SRID=4674;POINT (-40.313699 -2.794324)'))) / (select extract(epoch from '2026-07-25 05:45:19'::timestamp) - extract(epoch from '2026-07-25 05:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313746 -2.794311)'), GeomFromEWKT('SRID=4674;POINT (-40.313699 -2.794324)'))) / (select extract(epoch from '2026-07-25 05:45:19'::timestamp) - extract(epoch from '2026-07-25 05:45: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'), 47815, 'SRID=4674;POINT (-40.31364 -2.794337)', '2026-07-25 05:45:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313699 -2.794324)'), GeomFromEWKT('SRID=4674;POINT (-40.31364 -2.794337)'))) / (select extract(epoch from '2026-07-25 05:45:32'::timestamp) - extract(epoch from '2026-07-25 05:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313699 -2.794324)'), GeomFromEWKT('SRID=4674;POINT (-40.31364 -2.794337)'))) / (select extract(epoch from '2026-07-25 05:45:32'::timestamp) - extract(epoch from '2026-07-25 05:45: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'), 47815, 'SRID=4674;POINT (-40.313587 -2.794327)', '2026-07-25 05:45:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31364 -2.794337)'), GeomFromEWKT('SRID=4674;POINT (-40.313587 -2.794327)'))) / (select extract(epoch from '2026-07-25 05:45:48'::timestamp) - extract(epoch from '2026-07-25 05:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31364 -2.794337)'), GeomFromEWKT('SRID=4674;POINT (-40.313587 -2.794327)'))) / (select extract(epoch from '2026-07-25 05:45:48'::timestamp) - extract(epoch from '2026-07-25 05:45: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'), 47815, 'SRID=4674;POINT (-40.313561 -2.79435)', '2026-07-25 05:46:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313587 -2.794327)'), GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.79435)'))) / (select extract(epoch from '2026-07-25 05:46:00'::timestamp) - extract(epoch from '2026-07-25 05:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313587 -2.794327)'), GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.79435)'))) / (select extract(epoch from '2026-07-25 05:46:00'::timestamp) - extract(epoch from '2026-07-25 05:45: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'), 47815, 'SRID=4674;POINT (-40.313517 -2.794355)', '2026-07-25 05:46:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.79435)'), GeomFromEWKT('SRID=4674;POINT (-40.313517 -2.794355)'))) / (select extract(epoch from '2026-07-25 05:46:12'::timestamp) - extract(epoch from '2026-07-25 05:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.79435)'), GeomFromEWKT('SRID=4674;POINT (-40.313517 -2.794355)'))) / (select extract(epoch from '2026-07-25 05:46:12'::timestamp) - extract(epoch from '2026-07-25 05:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313478 -2.794362)', '2026-07-25 05:46:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313517 -2.794355)'), GeomFromEWKT('SRID=4674;POINT (-40.313478 -2.794362)'))) / (select extract(epoch from '2026-07-25 05:46:26'::timestamp) - extract(epoch from '2026-07-25 05:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313517 -2.794355)'), GeomFromEWKT('SRID=4674;POINT (-40.313478 -2.794362)'))) / (select extract(epoch from '2026-07-25 05:46:26'::timestamp) - extract(epoch from '2026-07-25 05:46: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'), 47815, 'SRID=4674;POINT (-40.313451 -2.79437)', '2026-07-25 05:46:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313478 -2.794362)'), GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.79437)'))) / (select extract(epoch from '2026-07-25 05:46:35'::timestamp) - extract(epoch from '2026-07-25 05:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313478 -2.794362)'), GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.79437)'))) / (select extract(epoch from '2026-07-25 05:46:35'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.313427 -2.794384)', '2026-07-25 05:46:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.79437)'), GeomFromEWKT('SRID=4674;POINT (-40.313427 -2.794384)'))) / (select extract(epoch from '2026-07-25 05:46:42'::timestamp) - extract(epoch from '2026-07-25 05:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313451 -2.79437)'), GeomFromEWKT('SRID=4674;POINT (-40.313427 -2.794384)'))) / (select extract(epoch from '2026-07-25 05:46:42'::timestamp) - extract(epoch from '2026-07-25 05:46: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'), 47815, 'SRID=4674;POINT (-40.313397 -2.794396)', '2026-07-25 05:46:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313427 -2.794384)'), GeomFromEWKT('SRID=4674;POINT (-40.313397 -2.794396)'))) / (select extract(epoch from '2026-07-25 05:46:50'::timestamp) - extract(epoch from '2026-07-25 05:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313427 -2.794384)'), GeomFromEWKT('SRID=4674;POINT (-40.313397 -2.794396)'))) / (select extract(epoch from '2026-07-25 05:46:50'::timestamp) - extract(epoch from '2026-07-25 05:46: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'), 47815, 'SRID=4674;POINT (-40.313344 -2.794395)', '2026-07-25 05:47:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313397 -2.794396)'), GeomFromEWKT('SRID=4674;POINT (-40.313344 -2.794395)'))) / (select extract(epoch from '2026-07-25 05:47:03'::timestamp) - extract(epoch from '2026-07-25 05:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313397 -2.794396)'), GeomFromEWKT('SRID=4674;POINT (-40.313344 -2.794395)'))) / (select extract(epoch from '2026-07-25 05:47:03'::timestamp) - extract(epoch from '2026-07-25 05:46: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'), 47815, 'SRID=4674;POINT (-40.313297 -2.794399)', '2026-07-25 05:47:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313344 -2.794395)'), GeomFromEWKT('SRID=4674;POINT (-40.313297 -2.794399)'))) / (select extract(epoch from '2026-07-25 05:47:17'::timestamp) - extract(epoch from '2026-07-25 05:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313344 -2.794395)'), GeomFromEWKT('SRID=4674;POINT (-40.313297 -2.794399)'))) / (select extract(epoch from '2026-07-25 05:47:17'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.313233 -2.794415)', '2026-07-25 05:47:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313297 -2.794399)'), GeomFromEWKT('SRID=4674;POINT (-40.313233 -2.794415)'))) / (select extract(epoch from '2026-07-25 05:47:30'::timestamp) - extract(epoch from '2026-07-25 05:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313297 -2.794399)'), GeomFromEWKT('SRID=4674;POINT (-40.313233 -2.794415)'))) / (select extract(epoch from '2026-07-25 05:47:30'::timestamp) - extract(epoch from '2026-07-25 05:47: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'), 47815, 'SRID=4674;POINT (-40.313197 -2.794463)', '2026-07-25 05:47:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313233 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.313197 -2.794463)'))) / (select extract(epoch from '2026-07-25 05:47:43'::timestamp) - extract(epoch from '2026-07-25 05:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313233 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.313197 -2.794463)'))) / (select extract(epoch from '2026-07-25 05:47:43'::timestamp) - extract(epoch from '2026-07-25 05:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313188 -2.794469)', '2026-07-25 05:47:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313197 -2.794463)'), GeomFromEWKT('SRID=4674;POINT (-40.313188 -2.794469)'))) / (select extract(epoch from '2026-07-25 05:47:56'::timestamp) - extract(epoch from '2026-07-25 05:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313197 -2.794463)'), GeomFromEWKT('SRID=4674;POINT (-40.313188 -2.794469)'))) / (select extract(epoch from '2026-07-25 05:47:56'::timestamp) - extract(epoch from '2026-07-25 05:47: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'), 47815, 'SRID=4674;POINT (-40.313233 -2.794414)', '2026-07-25 05:49:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313188 -2.794469)'), GeomFromEWKT('SRID=4674;POINT (-40.313233 -2.794414)'))) / (select extract(epoch from '2026-07-25 05:49:37'::timestamp) - extract(epoch from '2026-07-25 05:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313188 -2.794469)'), GeomFromEWKT('SRID=4674;POINT (-40.313233 -2.794414)'))) / (select extract(epoch from '2026-07-25 05:49:37'::timestamp) - extract(epoch from '2026-07-25 05:47: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'), 47815, 'SRID=4674;POINT (-40.313246 -2.79439)', '2026-07-25 05:49:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313233 -2.794414)'), GeomFromEWKT('SRID=4674;POINT (-40.313246 -2.79439)'))) / (select extract(epoch from '2026-07-25 05:49:45'::timestamp) - extract(epoch from '2026-07-25 05:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313233 -2.794414)'), GeomFromEWKT('SRID=4674;POINT (-40.313246 -2.79439)'))) / (select extract(epoch from '2026-07-25 05:49:45'::timestamp) - extract(epoch from '2026-07-25 05:49: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'), 47815, 'SRID=4674;POINT (-40.313287 -2.794362)', '2026-07-25 05:50:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313246 -2.79439)'), GeomFromEWKT('SRID=4674;POINT (-40.313287 -2.794362)'))) / (select extract(epoch from '2026-07-25 05:50:26'::timestamp) - extract(epoch from '2026-07-25 05:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313246 -2.79439)'), GeomFromEWKT('SRID=4674;POINT (-40.313287 -2.794362)'))) / (select extract(epoch from '2026-07-25 05:50:26'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.313322 -2.794336)', '2026-07-25 05:50:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313287 -2.794362)'), GeomFromEWKT('SRID=4674;POINT (-40.313322 -2.794336)'))) / (select extract(epoch from '2026-07-25 05:50:40'::timestamp) - extract(epoch from '2026-07-25 05:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313287 -2.794362)'), GeomFromEWKT('SRID=4674;POINT (-40.313322 -2.794336)'))) / (select extract(epoch from '2026-07-25 05:50:40'::timestamp) - extract(epoch from '2026-07-25 05:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313404 -2.794288)', '2026-07-25 05:51:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313322 -2.794336)'), GeomFromEWKT('SRID=4674;POINT (-40.313404 -2.794288)'))) / (select extract(epoch from '2026-07-25 05:51:15'::timestamp) - extract(epoch from '2026-07-25 05:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313322 -2.794336)'), GeomFromEWKT('SRID=4674;POINT (-40.313404 -2.794288)'))) / (select extract(epoch from '2026-07-25 05:51:15'::timestamp) - extract(epoch from '2026-07-25 05:50: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'), 47815, 'SRID=4674;POINT (-40.313482 -2.794253)', '2026-07-25 05:51:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313404 -2.794288)'), GeomFromEWKT('SRID=4674;POINT (-40.313482 -2.794253)'))) / (select extract(epoch from '2026-07-25 05:51:48'::timestamp) - extract(epoch from '2026-07-25 05:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313404 -2.794288)'), GeomFromEWKT('SRID=4674;POINT (-40.313482 -2.794253)'))) / (select extract(epoch from '2026-07-25 05:51:48'::timestamp) - extract(epoch from '2026-07-25 05:51: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'), 47815, 'SRID=4674;POINT (-40.313473 -2.794313)', '2026-07-25 05:51:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313482 -2.794253)'), GeomFromEWKT('SRID=4674;POINT (-40.313473 -2.794313)'))) / (select extract(epoch from '2026-07-25 05:51:56'::timestamp) - extract(epoch from '2026-07-25 05:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313482 -2.794253)'), GeomFromEWKT('SRID=4674;POINT (-40.313473 -2.794313)'))) / (select extract(epoch from '2026-07-25 05:51:56'::timestamp) - extract(epoch from '2026-07-25 05:51: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'), 47815, 'SRID=4674;POINT (-40.31338 -2.794332)', '2026-07-25 05:52:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313473 -2.794313)'), GeomFromEWKT('SRID=4674;POINT (-40.31338 -2.794332)'))) / (select extract(epoch from '2026-07-25 05:52:05'::timestamp) - extract(epoch from '2026-07-25 05:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313473 -2.794313)'), GeomFromEWKT('SRID=4674;POINT (-40.31338 -2.794332)'))) / (select extract(epoch from '2026-07-25 05:52:05'::timestamp) - extract(epoch from '2026-07-25 05:51: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'), 47815, 'SRID=4674;POINT (-40.313235 -2.794309)', '2026-07-25 05:52:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31338 -2.794332)'), GeomFromEWKT('SRID=4674;POINT (-40.313235 -2.794309)'))) / (select extract(epoch from '2026-07-25 05:52:12'::timestamp) - extract(epoch from '2026-07-25 05:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31338 -2.794332)'), GeomFromEWKT('SRID=4674;POINT (-40.313235 -2.794309)'))) / (select extract(epoch from '2026-07-25 05:52:12'::timestamp) - extract(epoch from '2026-07-25 05:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313129 -2.794317)', '2026-07-25 05:52:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313235 -2.794309)'), GeomFromEWKT('SRID=4674;POINT (-40.313129 -2.794317)'))) / (select extract(epoch from '2026-07-25 05:52:18'::timestamp) - extract(epoch from '2026-07-25 05:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313235 -2.794309)'), GeomFromEWKT('SRID=4674;POINT (-40.313129 -2.794317)'))) / (select extract(epoch from '2026-07-25 05:52:18'::timestamp) - extract(epoch from '2026-07-25 05:52: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'), 47815, 'SRID=4674;POINT (-40.312989 -2.794339)', '2026-07-25 05:52:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313129 -2.794317)'), GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.794339)'))) / (select extract(epoch from '2026-07-25 05:52:25'::timestamp) - extract(epoch from '2026-07-25 05:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313129 -2.794317)'), GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.794339)'))) / (select extract(epoch from '2026-07-25 05:52:25'::timestamp) - extract(epoch from '2026-07-25 05:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.31287 -2.794415)', '2026-07-25 05:52:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.794339)'), GeomFromEWKT('SRID=4674;POINT (-40.31287 -2.794415)'))) / (select extract(epoch from '2026-07-25 05:52:32'::timestamp) - extract(epoch from '2026-07-25 05:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312989 -2.794339)'), GeomFromEWKT('SRID=4674;POINT (-40.31287 -2.794415)'))) / (select extract(epoch from '2026-07-25 05:52:32'::timestamp) - extract(epoch from '2026-07-25 05:52: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'), 47815, 'SRID=4674;POINT (-40.312812 -2.794485)', '2026-07-25 05:52:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31287 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.312812 -2.794485)'))) / (select extract(epoch from '2026-07-25 05:52:39'::timestamp) - extract(epoch from '2026-07-25 05:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31287 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.312812 -2.794485)'))) / (select extract(epoch from '2026-07-25 05:52:39'::timestamp) - extract(epoch from '2026-07-25 05:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.312812 -2.794489)', '2026-07-25 05:52:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312812 -2.794485)'), GeomFromEWKT('SRID=4674;POINT (-40.312812 -2.794489)'))) / (select extract(epoch from '2026-07-25 05:52:40'::timestamp) - extract(epoch from '2026-07-25 05:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312812 -2.794485)'), GeomFromEWKT('SRID=4674;POINT (-40.312812 -2.794489)'))) / (select extract(epoch from '2026-07-25 05:52:40'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.312818 -2.794522)', '2026-07-25 05:52:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312812 -2.794489)'), GeomFromEWKT('SRID=4674;POINT (-40.312818 -2.794522)'))) / (select extract(epoch from '2026-07-25 05:52:46'::timestamp) - extract(epoch from '2026-07-25 05:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312812 -2.794489)'), GeomFromEWKT('SRID=4674;POINT (-40.312818 -2.794522)'))) / (select extract(epoch from '2026-07-25 05:52:46'::timestamp) - extract(epoch from '2026-07-25 05:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.312854 -2.794567)', '2026-07-25 05:52:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312818 -2.794522)'), GeomFromEWKT('SRID=4674;POINT (-40.312854 -2.794567)'))) / (select extract(epoch from '2026-07-25 05:52:54'::timestamp) - extract(epoch from '2026-07-25 05:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312818 -2.794522)'), GeomFromEWKT('SRID=4674;POINT (-40.312854 -2.794567)'))) / (select extract(epoch from '2026-07-25 05:52:54'::timestamp) - extract(epoch from '2026-07-25 05:52: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'), 47815, 'SRID=4674;POINT (-40.312894 -2.794578)', '2026-07-25 05:53:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312854 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.312894 -2.794578)'))) / (select extract(epoch from '2026-07-25 05:53:01'::timestamp) - extract(epoch from '2026-07-25 05:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312854 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.312894 -2.794578)'))) / (select extract(epoch from '2026-07-25 05:53:01'::timestamp) - extract(epoch from '2026-07-25 05:52: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'), 47815, 'SRID=4674;POINT (-40.312866 -2.794529)', '2026-07-25 05:53:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312894 -2.794578)'), GeomFromEWKT('SRID=4674;POINT (-40.312866 -2.794529)'))) / (select extract(epoch from '2026-07-25 05:53:38'::timestamp) - extract(epoch from '2026-07-25 05:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312894 -2.794578)'), GeomFromEWKT('SRID=4674;POINT (-40.312866 -2.794529)'))) / (select extract(epoch from '2026-07-25 05:53:38'::timestamp) - extract(epoch from '2026-07-25 05:53: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'), 47815, 'SRID=4674;POINT (-40.31282 -2.794515)', '2026-07-25 05:53:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312866 -2.794529)'), GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.794515)'))) / (select extract(epoch from '2026-07-25 05:53:54'::timestamp) - extract(epoch from '2026-07-25 05:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312866 -2.794529)'), GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.794515)'))) / (select extract(epoch from '2026-07-25 05:53:54'::timestamp) - extract(epoch from '2026-07-25 05:53: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'), 47815, 'SRID=4674;POINT (-40.312778 -2.794486)', '2026-07-25 05:54:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.794515)'), GeomFromEWKT('SRID=4674;POINT (-40.312778 -2.794486)'))) / (select extract(epoch from '2026-07-25 05:54:10'::timestamp) - extract(epoch from '2026-07-25 05:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31282 -2.794515)'), GeomFromEWKT('SRID=4674;POINT (-40.312778 -2.794486)'))) / (select extract(epoch from '2026-07-25 05:54:10'::timestamp) - extract(epoch from '2026-07-25 05:53: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'), 47815, 'SRID=4674;POINT (-40.31273 -2.794489)', '2026-07-25 05:54:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312778 -2.794486)'), GeomFromEWKT('SRID=4674;POINT (-40.31273 -2.794489)'))) / (select extract(epoch from '2026-07-25 05:54:19'::timestamp) - extract(epoch from '2026-07-25 05:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312778 -2.794486)'), GeomFromEWKT('SRID=4674;POINT (-40.31273 -2.794489)'))) / (select extract(epoch from '2026-07-25 05:54:19'::timestamp) - extract(epoch from '2026-07-25 05:54: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'), 47815, 'SRID=4674;POINT (-40.312626 -2.794474)', '2026-07-25 05:54:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31273 -2.794489)'), GeomFromEWKT('SRID=4674;POINT (-40.312626 -2.794474)'))) / (select extract(epoch from '2026-07-25 05:54:41'::timestamp) - extract(epoch from '2026-07-25 05:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31273 -2.794489)'), GeomFromEWKT('SRID=4674;POINT (-40.312626 -2.794474)'))) / (select extract(epoch from '2026-07-25 05:54:41'::timestamp) - extract(epoch from '2026-07-25 05:54: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'), 47815, 'SRID=4674;POINT (-40.312545 -2.794483)', '2026-07-25 05:54:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312626 -2.794474)'), GeomFromEWKT('SRID=4674;POINT (-40.312545 -2.794483)'))) / (select extract(epoch from '2026-07-25 05:54:59'::timestamp) - extract(epoch from '2026-07-25 05:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312626 -2.794474)'), GeomFromEWKT('SRID=4674;POINT (-40.312545 -2.794483)'))) / (select extract(epoch from '2026-07-25 05:54:59'::timestamp) - extract(epoch from '2026-07-25 05:54: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'), 47815, 'SRID=4674;POINT (-40.312515 -2.794484)', '2026-07-25 05:55:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312545 -2.794483)'), GeomFromEWKT('SRID=4674;POINT (-40.312515 -2.794484)'))) / (select extract(epoch from '2026-07-25 05:55:14'::timestamp) - extract(epoch from '2026-07-25 05:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312545 -2.794483)'), GeomFromEWKT('SRID=4674;POINT (-40.312515 -2.794484)'))) / (select extract(epoch from '2026-07-25 05:55:14'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.312455 -2.794497)', '2026-07-25 05:55:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312515 -2.794484)'), GeomFromEWKT('SRID=4674;POINT (-40.312455 -2.794497)'))) / (select extract(epoch from '2026-07-25 05:55:36'::timestamp) - extract(epoch from '2026-07-25 05:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312515 -2.794484)'), GeomFromEWKT('SRID=4674;POINT (-40.312455 -2.794497)'))) / (select extract(epoch from '2026-07-25 05:55:36'::timestamp) - extract(epoch from '2026-07-25 05: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'), 47815, 'SRID=4674;POINT (-40.312385 -2.794493)', '2026-07-25 05:55:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312455 -2.794497)'), GeomFromEWKT('SRID=4674;POINT (-40.312385 -2.794493)'))) / (select extract(epoch from '2026-07-25 05:55:51'::timestamp) - extract(epoch from '2026-07-25 05:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312455 -2.794497)'), GeomFromEWKT('SRID=4674;POINT (-40.312385 -2.794493)'))) / (select extract(epoch from '2026-07-25 05:55:51'::timestamp) - extract(epoch from '2026-07-25 05:55: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'), 47815, 'SRID=4674;POINT (-40.312312 -2.794523)', '2026-07-25 05:56:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312385 -2.794493)'), GeomFromEWKT('SRID=4674;POINT (-40.312312 -2.794523)'))) / (select extract(epoch from '2026-07-25 05:56:07'::timestamp) - extract(epoch from '2026-07-25 05:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312385 -2.794493)'), GeomFromEWKT('SRID=4674;POINT (-40.312312 -2.794523)'))) / (select extract(epoch from '2026-07-25 05:56:07'::timestamp) - extract(epoch from '2026-07-25 05:55: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'), 47815, 'SRID=4674;POINT (-40.312305 -2.794521)', '2026-07-25 05:56:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312312 -2.794523)'), GeomFromEWKT('SRID=4674;POINT (-40.312305 -2.794521)'))) / (select extract(epoch from '2026-07-25 05:56:20'::timestamp) - extract(epoch from '2026-07-25 05:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312312 -2.794523)'), GeomFromEWKT('SRID=4674;POINT (-40.312305 -2.794521)'))) / (select extract(epoch from '2026-07-25 05:56:20'::timestamp) - extract(epoch from '2026-07-25 05:56: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'), 47815, 'SRID=4674;POINT (-40.312259 -2.794512)', '2026-07-25 05:56:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312305 -2.794521)'), GeomFromEWKT('SRID=4674;POINT (-40.312259 -2.794512)'))) / (select extract(epoch from '2026-07-25 05:56:40'::timestamp) - extract(epoch from '2026-07-25 05:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312305 -2.794521)'), GeomFromEWKT('SRID=4674;POINT (-40.312259 -2.794512)'))) / (select extract(epoch from '2026-07-25 05:56:40'::timestamp) - extract(epoch from '2026-07-25 05:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.312222 -2.794503)', '2026-07-25 05:56:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312259 -2.794512)'), GeomFromEWKT('SRID=4674;POINT (-40.312222 -2.794503)'))) / (select extract(epoch from '2026-07-25 05:56:50'::timestamp) - extract(epoch from '2026-07-25 05:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312259 -2.794512)'), GeomFromEWKT('SRID=4674;POINT (-40.312222 -2.794503)'))) / (select extract(epoch from '2026-07-25 05:56:50'::timestamp) - extract(epoch from '2026-07-25 05:56:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.312204 -2.794499)', '2026-07-25 05:56:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312222 -2.794503)'), GeomFromEWKT('SRID=4674;POINT (-40.312204 -2.794499)'))) / (select extract(epoch from '2026-07-25 05:56:59'::timestamp) - extract(epoch from '2026-07-25 05:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312222 -2.794503)'), GeomFromEWKT('SRID=4674;POINT (-40.312204 -2.794499)'))) / (select extract(epoch from '2026-07-25 05:56:59'::timestamp) - extract(epoch from '2026-07-25 05:56: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'), 47815, 'SRID=4674;POINT (-40.312134 -2.794512)', '2026-07-25 05:57:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312204 -2.794499)'), GeomFromEWKT('SRID=4674;POINT (-40.312134 -2.794512)'))) / (select extract(epoch from '2026-07-25 05:57:27'::timestamp) - extract(epoch from '2026-07-25 05:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312204 -2.794499)'), GeomFromEWKT('SRID=4674;POINT (-40.312134 -2.794512)'))) / (select extract(epoch from '2026-07-25 05:57:27'::timestamp) - extract(epoch from '2026-07-25 05:56: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'), 47815, 'SRID=4674;POINT (-40.312072 -2.79451)', '2026-07-25 05:57:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312134 -2.794512)'), GeomFromEWKT('SRID=4674;POINT (-40.312072 -2.79451)'))) / (select extract(epoch from '2026-07-25 05:57:42'::timestamp) - extract(epoch from '2026-07-25 05:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312134 -2.794512)'), GeomFromEWKT('SRID=4674;POINT (-40.312072 -2.79451)'))) / (select extract(epoch from '2026-07-25 05:57:42'::timestamp) - extract(epoch from '2026-07-25 05:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.312059 -2.794511)', '2026-07-25 05:57:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312072 -2.79451)'), GeomFromEWKT('SRID=4674;POINT (-40.312059 -2.794511)'))) / (select extract(epoch from '2026-07-25 05:57:56'::timestamp) - extract(epoch from '2026-07-25 05:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312072 -2.79451)'), GeomFromEWKT('SRID=4674;POINT (-40.312059 -2.794511)'))) / (select extract(epoch from '2026-07-25 05:57:56'::timestamp) - extract(epoch from '2026-07-25 05:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.311969 -2.794532)', '2026-07-25 05:58:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312059 -2.794511)'), GeomFromEWKT('SRID=4674;POINT (-40.311969 -2.794532)'))) / (select extract(epoch from '2026-07-25 05:58:13'::timestamp) - extract(epoch from '2026-07-25 05:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312059 -2.794511)'), GeomFromEWKT('SRID=4674;POINT (-40.311969 -2.794532)'))) / (select extract(epoch from '2026-07-25 05:58:13'::timestamp) - extract(epoch from '2026-07-25 05:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.311935 -2.794549)', '2026-07-25 05:58:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311969 -2.794532)'), GeomFromEWKT('SRID=4674;POINT (-40.311935 -2.794549)'))) / (select extract(epoch from '2026-07-25 05:58:22'::timestamp) - extract(epoch from '2026-07-25 05:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311969 -2.794532)'), GeomFromEWKT('SRID=4674;POINT (-40.311935 -2.794549)'))) / (select extract(epoch from '2026-07-25 05:58:22'::timestamp) - extract(epoch from '2026-07-25 05:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.311921 -2.794546)', '2026-07-25 05:58:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311935 -2.794549)'), GeomFromEWKT('SRID=4674;POINT (-40.311921 -2.794546)'))) / (select extract(epoch from '2026-07-25 05:58:30'::timestamp) - extract(epoch from '2026-07-25 05:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311935 -2.794549)'), GeomFromEWKT('SRID=4674;POINT (-40.311921 -2.794546)'))) / (select extract(epoch from '2026-07-25 05:58:30'::timestamp) - extract(epoch from '2026-07-25 05:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.3119 -2.794555)', '2026-07-25 05:58:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311921 -2.794546)'), GeomFromEWKT('SRID=4674;POINT (-40.3119 -2.794555)'))) / (select extract(epoch from '2026-07-25 05:58:38'::timestamp) - extract(epoch from '2026-07-25 05:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311921 -2.794546)'), GeomFromEWKT('SRID=4674;POINT (-40.3119 -2.794555)'))) / (select extract(epoch from '2026-07-25 05:58:38'::timestamp) - extract(epoch from '2026-07-25 05:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.311838 -2.794545)', '2026-07-25 05:58:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3119 -2.794555)'), GeomFromEWKT('SRID=4674;POINT (-40.311838 -2.794545)'))) / (select extract(epoch from '2026-07-25 05:58:55'::timestamp) - extract(epoch from '2026-07-25 05:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3119 -2.794555)'), GeomFromEWKT('SRID=4674;POINT (-40.311838 -2.794545)'))) / (select extract(epoch from '2026-07-25 05:58:55'::timestamp) - extract(epoch from '2026-07-25 05:58: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'), 47815, 'SRID=4674;POINT (-40.311773 -2.794548)', '2026-07-25 05:59:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311838 -2.794545)'), GeomFromEWKT('SRID=4674;POINT (-40.311773 -2.794548)'))) / (select extract(epoch from '2026-07-25 05:59:07'::timestamp) - extract(epoch from '2026-07-25 05:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311838 -2.794545)'), GeomFromEWKT('SRID=4674;POINT (-40.311773 -2.794548)'))) / (select extract(epoch from '2026-07-25 05:59:07'::timestamp) - extract(epoch from '2026-07-25 05:58: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'), 47815, 'SRID=4674;POINT (-40.311728 -2.794547)', '2026-07-25 05:59:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311773 -2.794548)'), GeomFromEWKT('SRID=4674;POINT (-40.311728 -2.794547)'))) / (select extract(epoch from '2026-07-25 05:59:19'::timestamp) - extract(epoch from '2026-07-25 05:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311773 -2.794548)'), GeomFromEWKT('SRID=4674;POINT (-40.311728 -2.794547)'))) / (select extract(epoch from '2026-07-25 05:59:19'::timestamp) - extract(epoch from '2026-07-25 05:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.311644 -2.794557)', '2026-07-25 05:59:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311728 -2.794547)'), GeomFromEWKT('SRID=4674;POINT (-40.311644 -2.794557)'))) / (select extract(epoch from '2026-07-25 05:59:36'::timestamp) - extract(epoch from '2026-07-25 05:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311728 -2.794547)'), GeomFromEWKT('SRID=4674;POINT (-40.311644 -2.794557)'))) / (select extract(epoch from '2026-07-25 05:59:36'::timestamp) - extract(epoch from '2026-07-25 05:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.311601 -2.794553)', '2026-07-25 05:59:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311644 -2.794557)'), GeomFromEWKT('SRID=4674;POINT (-40.311601 -2.794553)'))) / (select extract(epoch from '2026-07-25 05:59:52'::timestamp) - extract(epoch from '2026-07-25 05:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311644 -2.794557)'), GeomFromEWKT('SRID=4674;POINT (-40.311601 -2.794553)'))) / (select extract(epoch from '2026-07-25 05:59:52'::timestamp) - extract(epoch from '2026-07-25 05:59: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'), 47815, 'SRID=4674;POINT (-40.311536 -2.794557)', '2026-07-25 06:00:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311601 -2.794553)'), GeomFromEWKT('SRID=4674;POINT (-40.311536 -2.794557)'))) / (select extract(epoch from '2026-07-25 06:00:06'::timestamp) - extract(epoch from '2026-07-25 05:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311601 -2.794553)'), GeomFromEWKT('SRID=4674;POINT (-40.311536 -2.794557)'))) / (select extract(epoch from '2026-07-25 06:00:06'::timestamp) - extract(epoch from '2026-07-25 05:59: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'), 47815, 'SRID=4674;POINT (-40.311499 -2.794545)', '2026-07-25 06:00:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311536 -2.794557)'), GeomFromEWKT('SRID=4674;POINT (-40.311499 -2.794545)'))) / (select extract(epoch from '2026-07-25 06:00:14'::timestamp) - extract(epoch from '2026-07-25 06:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311536 -2.794557)'), GeomFromEWKT('SRID=4674;POINT (-40.311499 -2.794545)'))) / (select extract(epoch from '2026-07-25 06:00:14'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.311433 -2.794529)', '2026-07-25 06:00:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311499 -2.794545)'), GeomFromEWKT('SRID=4674;POINT (-40.311433 -2.794529)'))) / (select extract(epoch from '2026-07-25 06:00:30'::timestamp) - extract(epoch from '2026-07-25 06:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311499 -2.794545)'), GeomFromEWKT('SRID=4674;POINT (-40.311433 -2.794529)'))) / (select extract(epoch from '2026-07-25 06:00:30'::timestamp) - extract(epoch from '2026-07-25 06:00: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'), 47815, 'SRID=4674;POINT (-40.311369 -2.794568)', '2026-07-25 06:00:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311433 -2.794529)'), GeomFromEWKT('SRID=4674;POINT (-40.311369 -2.794568)'))) / (select extract(epoch from '2026-07-25 06:00:48'::timestamp) - extract(epoch from '2026-07-25 06:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311433 -2.794529)'), GeomFromEWKT('SRID=4674;POINT (-40.311369 -2.794568)'))) / (select extract(epoch from '2026-07-25 06:00:48'::timestamp) - extract(epoch from '2026-07-25 06:00: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'), 47815, 'SRID=4674;POINT (-40.311282 -2.794571)', '2026-07-25 06:01:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311369 -2.794568)'), GeomFromEWKT('SRID=4674;POINT (-40.311282 -2.794571)'))) / (select extract(epoch from '2026-07-25 06:01:04'::timestamp) - extract(epoch from '2026-07-25 06:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311369 -2.794568)'), GeomFromEWKT('SRID=4674;POINT (-40.311282 -2.794571)'))) / (select extract(epoch from '2026-07-25 06:01:04'::timestamp) - extract(epoch from '2026-07-25 06:00: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'), 47815, 'SRID=4674;POINT (-40.31119 -2.794598)', '2026-07-25 06:01:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311282 -2.794571)'), GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.794598)'))) / (select extract(epoch from '2026-07-25 06:01:21'::timestamp) - extract(epoch from '2026-07-25 06:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311282 -2.794571)'), GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.794598)'))) / (select extract(epoch from '2026-07-25 06:01:21'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.311145 -2.794602)', '2026-07-25 06:01:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.794598)'), GeomFromEWKT('SRID=4674;POINT (-40.311145 -2.794602)'))) / (select extract(epoch from '2026-07-25 06:01:36'::timestamp) - extract(epoch from '2026-07-25 06:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.794598)'), GeomFromEWKT('SRID=4674;POINT (-40.311145 -2.794602)'))) / (select extract(epoch from '2026-07-25 06:01:36'::timestamp) - extract(epoch from '2026-07-25 06:01: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'), 47815, 'SRID=4674;POINT (-40.311241 -2.794552)', '2026-07-25 06:03:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311145 -2.794602)'), GeomFromEWKT('SRID=4674;POINT (-40.311241 -2.794552)'))) / (select extract(epoch from '2026-07-25 06:03:40'::timestamp) - extract(epoch from '2026-07-25 06:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311145 -2.794602)'), GeomFromEWKT('SRID=4674;POINT (-40.311241 -2.794552)'))) / (select extract(epoch from '2026-07-25 06:03:40'::timestamp) - extract(epoch from '2026-07-25 06:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.311306 -2.794513)', '2026-07-25 06:04:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311241 -2.794552)'), GeomFromEWKT('SRID=4674;POINT (-40.311306 -2.794513)'))) / (select extract(epoch from '2026-07-25 06:04:13'::timestamp) - extract(epoch from '2026-07-25 06:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311241 -2.794552)'), GeomFromEWKT('SRID=4674;POINT (-40.311306 -2.794513)'))) / (select extract(epoch from '2026-07-25 06:04:13'::timestamp) - extract(epoch from '2026-07-25 06:03: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'), 47815, 'SRID=4674;POINT (-40.311395 -2.794465)', '2026-07-25 06:05:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311306 -2.794513)'), GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.794465)'))) / (select extract(epoch from '2026-07-25 06:05:02'::timestamp) - extract(epoch from '2026-07-25 06:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311306 -2.794513)'), GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.794465)'))) / (select extract(epoch from '2026-07-25 06:05:02'::timestamp) - extract(epoch from '2026-07-25 06:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.31144 -2.794444)', '2026-07-25 06:05:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.794465)'), GeomFromEWKT('SRID=4674;POINT (-40.31144 -2.794444)'))) / (select extract(epoch from '2026-07-25 06:05:27'::timestamp) - extract(epoch from '2026-07-25 06:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.794465)'), GeomFromEWKT('SRID=4674;POINT (-40.31144 -2.794444)'))) / (select extract(epoch from '2026-07-25 06:05:27'::timestamp) - extract(epoch from '2026-07-25 06:05: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'), 47815, 'SRID=4674;POINT (-40.311517 -2.794392)', '2026-07-25 06:05:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31144 -2.794444)'), GeomFromEWKT('SRID=4674;POINT (-40.311517 -2.794392)'))) / (select extract(epoch from '2026-07-25 06:05:55'::timestamp) - extract(epoch from '2026-07-25 06:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31144 -2.794444)'), GeomFromEWKT('SRID=4674;POINT (-40.311517 -2.794392)'))) / (select extract(epoch from '2026-07-25 06:05:55'::timestamp) - extract(epoch from '2026-07-25 06:05: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'), 47815, 'SRID=4674;POINT (-40.311584 -2.794274)', '2026-07-25 06:06:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311517 -2.794392)'), GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.794274)'))) / (select extract(epoch from '2026-07-25 06:06:06'::timestamp) - extract(epoch from '2026-07-25 06:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311517 -2.794392)'), GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.794274)'))) / (select extract(epoch from '2026-07-25 06:06:06'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.311549 -2.794159)', '2026-07-25 06:06:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.794274)'), GeomFromEWKT('SRID=4674;POINT (-40.311549 -2.794159)'))) / (select extract(epoch from '2026-07-25 06:06:14'::timestamp) - extract(epoch from '2026-07-25 06:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311584 -2.794274)'), GeomFromEWKT('SRID=4674;POINT (-40.311549 -2.794159)'))) / (select extract(epoch from '2026-07-25 06:06:14'::timestamp) - extract(epoch from '2026-07-25 06:06: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'), 47815, 'SRID=4674;POINT (-40.311514 -2.793982)', '2026-07-25 06:06:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311549 -2.794159)'), GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.793982)'))) / (select extract(epoch from '2026-07-25 06:06:22'::timestamp) - extract(epoch from '2026-07-25 06:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311549 -2.794159)'), GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.793982)'))) / (select extract(epoch from '2026-07-25 06:06:22'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.311433 -2.793858)', '2026-07-25 06:06:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.793982)'), GeomFromEWKT('SRID=4674;POINT (-40.311433 -2.793858)'))) / (select extract(epoch from '2026-07-25 06:06:29'::timestamp) - extract(epoch from '2026-07-25 06:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.793982)'), GeomFromEWKT('SRID=4674;POINT (-40.311433 -2.793858)'))) / (select extract(epoch from '2026-07-25 06:06:29'::timestamp) - extract(epoch from '2026-07-25 06:06: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'), 47815, 'SRID=4674;POINT (-40.311356 -2.793709)', '2026-07-25 06:06:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311433 -2.793858)'), GeomFromEWKT('SRID=4674;POINT (-40.311356 -2.793709)'))) / (select extract(epoch from '2026-07-25 06:06:36'::timestamp) - extract(epoch from '2026-07-25 06:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311433 -2.793858)'), GeomFromEWKT('SRID=4674;POINT (-40.311356 -2.793709)'))) / (select extract(epoch from '2026-07-25 06:06:36'::timestamp) - extract(epoch from '2026-07-25 06:06: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'), 47815, 'SRID=4674;POINT (-40.311307 -2.793611)', '2026-07-25 06:06:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311356 -2.793709)'), GeomFromEWKT('SRID=4674;POINT (-40.311307 -2.793611)'))) / (select extract(epoch from '2026-07-25 06:06:42'::timestamp) - extract(epoch from '2026-07-25 06:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311356 -2.793709)'), GeomFromEWKT('SRID=4674;POINT (-40.311307 -2.793611)'))) / (select extract(epoch from '2026-07-25 06:06:42'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.311279 -2.793433)', '2026-07-25 06:06:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311307 -2.793611)'), GeomFromEWKT('SRID=4674;POINT (-40.311279 -2.793433)'))) / (select extract(epoch from '2026-07-25 06:06:50'::timestamp) - extract(epoch from '2026-07-25 06:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311307 -2.793611)'), GeomFromEWKT('SRID=4674;POINT (-40.311279 -2.793433)'))) / (select extract(epoch from '2026-07-25 06:06:50'::timestamp) - extract(epoch from '2026-07-25 06:06: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'), 47815, 'SRID=4674;POINT (-40.31125 -2.793249)', '2026-07-25 06:06:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311279 -2.793433)'), GeomFromEWKT('SRID=4674;POINT (-40.31125 -2.793249)'))) / (select extract(epoch from '2026-07-25 06:06:58'::timestamp) - extract(epoch from '2026-07-25 06:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311279 -2.793433)'), GeomFromEWKT('SRID=4674;POINT (-40.31125 -2.793249)'))) / (select extract(epoch from '2026-07-25 06:06:58'::timestamp) - extract(epoch from '2026-07-25 06:06: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'), 47815, 'SRID=4674;POINT (-40.311206 -2.793097)', '2026-07-25 06:07:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31125 -2.793249)'), GeomFromEWKT('SRID=4674;POINT (-40.311206 -2.793097)'))) / (select extract(epoch from '2026-07-25 06:07:05'::timestamp) - extract(epoch from '2026-07-25 06:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31125 -2.793249)'), GeomFromEWKT('SRID=4674;POINT (-40.311206 -2.793097)'))) / (select extract(epoch from '2026-07-25 06:07:05'::timestamp) - extract(epoch from '2026-07-25 06:06: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'), 47815, 'SRID=4674;POINT (-40.311142 -2.792983)', '2026-07-25 06:07:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311206 -2.793097)'), GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.792983)'))) / (select extract(epoch from '2026-07-25 06:07:12'::timestamp) - extract(epoch from '2026-07-25 06:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311206 -2.793097)'), GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.792983)'))) / (select extract(epoch from '2026-07-25 06:07:12'::timestamp) - extract(epoch from '2026-07-25 06:07: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'), 47815, 'SRID=4674;POINT (-40.31111 -2.792828)', '2026-07-25 06:07:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.792983)'), GeomFromEWKT('SRID=4674;POINT (-40.31111 -2.792828)'))) / (select extract(epoch from '2026-07-25 06:07:21'::timestamp) - extract(epoch from '2026-07-25 06:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311142 -2.792983)'), GeomFromEWKT('SRID=4674;POINT (-40.31111 -2.792828)'))) / (select extract(epoch from '2026-07-25 06:07:21'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.311072 -2.792659)', '2026-07-25 06:07:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31111 -2.792828)'), GeomFromEWKT('SRID=4674;POINT (-40.311072 -2.792659)'))) / (select extract(epoch from '2026-07-25 06:07:29'::timestamp) - extract(epoch from '2026-07-25 06:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31111 -2.792828)'), GeomFromEWKT('SRID=4674;POINT (-40.311072 -2.792659)'))) / (select extract(epoch from '2026-07-25 06:07:29'::timestamp) - extract(epoch from '2026-07-25 06:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.311037 -2.792492)', '2026-07-25 06:07:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311072 -2.792659)'), GeomFromEWKT('SRID=4674;POINT (-40.311037 -2.792492)'))) / (select extract(epoch from '2026-07-25 06:07:37'::timestamp) - extract(epoch from '2026-07-25 06:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311072 -2.792659)'), GeomFromEWKT('SRID=4674;POINT (-40.311037 -2.792492)'))) / (select extract(epoch from '2026-07-25 06:07:37'::timestamp) - extract(epoch from '2026-07-25 06:07: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'), 47815, 'SRID=4674;POINT (-40.310988 -2.792247)', '2026-07-25 06:07:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311037 -2.792492)'), GeomFromEWKT('SRID=4674;POINT (-40.310988 -2.792247)'))) / (select extract(epoch from '2026-07-25 06:07:46'::timestamp) - extract(epoch from '2026-07-25 06:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311037 -2.792492)'), GeomFromEWKT('SRID=4674;POINT (-40.310988 -2.792247)'))) / (select extract(epoch from '2026-07-25 06:07:46'::timestamp) - extract(epoch from '2026-07-25 06:07: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'), 47815, 'SRID=4674;POINT (-40.310961 -2.792049)', '2026-07-25 06:07:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310988 -2.792247)'), GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.792049)'))) / (select extract(epoch from '2026-07-25 06:07:55'::timestamp) - extract(epoch from '2026-07-25 06:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310988 -2.792247)'), GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.792049)'))) / (select extract(epoch from '2026-07-25 06:07:55'::timestamp) - extract(epoch from '2026-07-25 06:07: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'), 47815, 'SRID=4674;POINT (-40.310934 -2.79187)', '2026-07-25 06:08:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.310934 -2.79187)'))) / (select extract(epoch from '2026-07-25 06:08:03'::timestamp) - extract(epoch from '2026-07-25 06:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.310934 -2.79187)'))) / (select extract(epoch from '2026-07-25 06:08:03'::timestamp) - extract(epoch from '2026-07-25 06:07: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'), 47815, 'SRID=4674;POINT (-40.310849 -2.79172)', '2026-07-25 06:08:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310934 -2.79187)'), GeomFromEWKT('SRID=4674;POINT (-40.310849 -2.79172)'))) / (select extract(epoch from '2026-07-25 06:08:11'::timestamp) - extract(epoch from '2026-07-25 06:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310934 -2.79187)'), GeomFromEWKT('SRID=4674;POINT (-40.310849 -2.79172)'))) / (select extract(epoch from '2026-07-25 06:08:11'::timestamp) - extract(epoch from '2026-07-25 06:08: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'), 47815, 'SRID=4674;POINT (-40.310786 -2.791533)', '2026-07-25 06:08:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310849 -2.79172)'), GeomFromEWKT('SRID=4674;POINT (-40.310786 -2.791533)'))) / (select extract(epoch from '2026-07-25 06:08:19'::timestamp) - extract(epoch from '2026-07-25 06:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310849 -2.79172)'), GeomFromEWKT('SRID=4674;POINT (-40.310786 -2.791533)'))) / (select extract(epoch from '2026-07-25 06:08:19'::timestamp) - extract(epoch from '2026-07-25 06:08: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'), 47815, 'SRID=4674;POINT (-40.310749 -2.791359)', '2026-07-25 06:08:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310786 -2.791533)'), GeomFromEWKT('SRID=4674;POINT (-40.310749 -2.791359)'))) / (select extract(epoch from '2026-07-25 06:08:28'::timestamp) - extract(epoch from '2026-07-25 06:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310786 -2.791533)'), GeomFromEWKT('SRID=4674;POINT (-40.310749 -2.791359)'))) / (select extract(epoch from '2026-07-25 06:08:28'::timestamp) - extract(epoch from '2026-07-25 06:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.31069 -2.79112)', '2026-07-25 06:08:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310749 -2.791359)'), GeomFromEWKT('SRID=4674;POINT (-40.31069 -2.79112)'))) / (select extract(epoch from '2026-07-25 06:08:37'::timestamp) - extract(epoch from '2026-07-25 06:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310749 -2.791359)'), GeomFromEWKT('SRID=4674;POINT (-40.31069 -2.79112)'))) / (select extract(epoch from '2026-07-25 06:08:37'::timestamp) - extract(epoch from '2026-07-25 06:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.310637 -2.79088)', '2026-07-25 06:08:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31069 -2.79112)'), GeomFromEWKT('SRID=4674;POINT (-40.310637 -2.79088)'))) / (select extract(epoch from '2026-07-25 06:08:46'::timestamp) - extract(epoch from '2026-07-25 06:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31069 -2.79112)'), GeomFromEWKT('SRID=4674;POINT (-40.310637 -2.79088)'))) / (select extract(epoch from '2026-07-25 06:08:46'::timestamp) - extract(epoch from '2026-07-25 06:08: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'), 47815, 'SRID=4674;POINT (-40.31056 -2.790791)', '2026-07-25 06:08:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310637 -2.79088)'), GeomFromEWKT('SRID=4674;POINT (-40.31056 -2.790791)'))) / (select extract(epoch from '2026-07-25 06:08:53'::timestamp) - extract(epoch from '2026-07-25 06:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310637 -2.79088)'), GeomFromEWKT('SRID=4674;POINT (-40.31056 -2.790791)'))) / (select extract(epoch from '2026-07-25 06:08:53'::timestamp) - extract(epoch from '2026-07-25 06:08: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'), 47815, 'SRID=4674;POINT (-40.31053 -2.790635)', '2026-07-25 06:09:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31056 -2.790791)'), GeomFromEWKT('SRID=4674;POINT (-40.31053 -2.790635)'))) / (select extract(epoch from '2026-07-25 06:09:01'::timestamp) - extract(epoch from '2026-07-25 06:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31056 -2.790791)'), GeomFromEWKT('SRID=4674;POINT (-40.31053 -2.790635)'))) / (select extract(epoch from '2026-07-25 06:09:01'::timestamp) - extract(epoch from '2026-07-25 06:08: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'), 47815, 'SRID=4674;POINT (-40.310501 -2.790511)', '2026-07-25 06:09:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31053 -2.790635)'), GeomFromEWKT('SRID=4674;POINT (-40.310501 -2.790511)'))) / (select extract(epoch from '2026-07-25 06:09:07'::timestamp) - extract(epoch from '2026-07-25 06:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31053 -2.790635)'), GeomFromEWKT('SRID=4674;POINT (-40.310501 -2.790511)'))) / (select extract(epoch from '2026-07-25 06:09:07'::timestamp) - extract(epoch from '2026-07-25 06:09: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'), 47815, 'SRID=4674;POINT (-40.310436 -2.790331)', '2026-07-25 06:09:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310501 -2.790511)'), GeomFromEWKT('SRID=4674;POINT (-40.310436 -2.790331)'))) / (select extract(epoch from '2026-07-25 06:09:15'::timestamp) - extract(epoch from '2026-07-25 06:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310501 -2.790511)'), GeomFromEWKT('SRID=4674;POINT (-40.310436 -2.790331)'))) / (select extract(epoch from '2026-07-25 06:09:15'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.310332 -2.790246)', '2026-07-25 06:09:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310436 -2.790331)'), GeomFromEWKT('SRID=4674;POINT (-40.310332 -2.790246)'))) / (select extract(epoch from '2026-07-25 06:09:22'::timestamp) - extract(epoch from '2026-07-25 06:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310436 -2.790331)'), GeomFromEWKT('SRID=4674;POINT (-40.310332 -2.790246)'))) / (select extract(epoch from '2026-07-25 06:09:22'::timestamp) - extract(epoch from '2026-07-25 06:09: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'), 47815, 'SRID=4674;POINT (-40.310205 -2.790186)', '2026-07-25 06:09:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310332 -2.790246)'), GeomFromEWKT('SRID=4674;POINT (-40.310205 -2.790186)'))) / (select extract(epoch from '2026-07-25 06:09:29'::timestamp) - extract(epoch from '2026-07-25 06:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310332 -2.790246)'), GeomFromEWKT('SRID=4674;POINT (-40.310205 -2.790186)'))) / (select extract(epoch from '2026-07-25 06:09:29'::timestamp) - extract(epoch from '2026-07-25 06:09: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'), 47815, 'SRID=4674;POINT (-40.310102 -2.79021)', '2026-07-25 06:09:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310205 -2.790186)'), GeomFromEWKT('SRID=4674;POINT (-40.310102 -2.79021)'))) / (select extract(epoch from '2026-07-25 06:09:36'::timestamp) - extract(epoch from '2026-07-25 06:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310205 -2.790186)'), GeomFromEWKT('SRID=4674;POINT (-40.310102 -2.79021)'))) / (select extract(epoch from '2026-07-25 06:09:36'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.310073 -2.790305)', '2026-07-25 06:09:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310102 -2.79021)'), GeomFromEWKT('SRID=4674;POINT (-40.310073 -2.790305)'))) / (select extract(epoch from '2026-07-25 06:09:48'::timestamp) - extract(epoch from '2026-07-25 06:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310102 -2.79021)'), GeomFromEWKT('SRID=4674;POINT (-40.310073 -2.790305)'))) / (select extract(epoch from '2026-07-25 06:09:48'::timestamp) - extract(epoch from '2026-07-25 06:09: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'), 47815, 'SRID=4674;POINT (-40.310079 -2.790322)', '2026-07-25 06:09:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310073 -2.790305)'), GeomFromEWKT('SRID=4674;POINT (-40.310079 -2.790322)'))) / (select extract(epoch from '2026-07-25 06:09:53'::timestamp) - extract(epoch from '2026-07-25 06:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310073 -2.790305)'), GeomFromEWKT('SRID=4674;POINT (-40.310079 -2.790322)'))) / (select extract(epoch from '2026-07-25 06:09:53'::timestamp) - extract(epoch from '2026-07-25 06:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.310083 -2.790346)', '2026-07-25 06:09:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310079 -2.790322)'), GeomFromEWKT('SRID=4674;POINT (-40.310083 -2.790346)'))) / (select extract(epoch from '2026-07-25 06:09:59'::timestamp) - extract(epoch from '2026-07-25 06:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310079 -2.790322)'), GeomFromEWKT('SRID=4674;POINT (-40.310083 -2.790346)'))) / (select extract(epoch from '2026-07-25 06:09:59'::timestamp) - extract(epoch from '2026-07-25 06:09: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'), 47815, 'SRID=4674;POINT (-40.3101 -2.790362)', '2026-07-25 06:10:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310083 -2.790346)'), GeomFromEWKT('SRID=4674;POINT (-40.3101 -2.790362)'))) / (select extract(epoch from '2026-07-25 06:10:05'::timestamp) - extract(epoch from '2026-07-25 06:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310083 -2.790346)'), GeomFromEWKT('SRID=4674;POINT (-40.3101 -2.790362)'))) / (select extract(epoch from '2026-07-25 06:10:05'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.310014 -2.790335)', '2026-07-25 06:12:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3101 -2.790362)'), GeomFromEWKT('SRID=4674;POINT (-40.310014 -2.790335)'))) / (select extract(epoch from '2026-07-25 06:12:16'::timestamp) - extract(epoch from '2026-07-25 06:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3101 -2.790362)'), GeomFromEWKT('SRID=4674;POINT (-40.310014 -2.790335)'))) / (select extract(epoch from '2026-07-25 06:12:16'::timestamp) - extract(epoch from '2026-07-25 06:10: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'), 47815, 'SRID=4674;POINT (-40.309911 -2.79036)', '2026-07-25 06:12:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310014 -2.790335)'), GeomFromEWKT('SRID=4674;POINT (-40.309911 -2.79036)'))) / (select extract(epoch from '2026-07-25 06:12:33'::timestamp) - extract(epoch from '2026-07-25 06:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310014 -2.790335)'), GeomFromEWKT('SRID=4674;POINT (-40.309911 -2.79036)'))) / (select extract(epoch from '2026-07-25 06:12:33'::timestamp) - extract(epoch from '2026-07-25 06:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.309828 -2.790365)', '2026-07-25 06:12:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309911 -2.79036)'), GeomFromEWKT('SRID=4674;POINT (-40.309828 -2.790365)'))) / (select extract(epoch from '2026-07-25 06:12:47'::timestamp) - extract(epoch from '2026-07-25 06:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309911 -2.79036)'), GeomFromEWKT('SRID=4674;POINT (-40.309828 -2.790365)'))) / (select extract(epoch from '2026-07-25 06:12:47'::timestamp) - extract(epoch from '2026-07-25 06:12: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'), 47815, 'SRID=4674;POINT (-40.309761 -2.79038)', '2026-07-25 06:13:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309828 -2.790365)'), GeomFromEWKT('SRID=4674;POINT (-40.309761 -2.79038)'))) / (select extract(epoch from '2026-07-25 06:13:00'::timestamp) - extract(epoch from '2026-07-25 06:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309828 -2.790365)'), GeomFromEWKT('SRID=4674;POINT (-40.309761 -2.79038)'))) / (select extract(epoch from '2026-07-25 06:13:00'::timestamp) - extract(epoch from '2026-07-25 06:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.309706 -2.790371)', '2026-07-25 06:13:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309761 -2.79038)'), GeomFromEWKT('SRID=4674;POINT (-40.309706 -2.790371)'))) / (select extract(epoch from '2026-07-25 06:13:09'::timestamp) - extract(epoch from '2026-07-25 06:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309761 -2.79038)'), GeomFromEWKT('SRID=4674;POINT (-40.309706 -2.790371)'))) / (select extract(epoch from '2026-07-25 06:13:09'::timestamp) - extract(epoch from '2026-07-25 06:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.309615 -2.79036)', '2026-07-25 06:13:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309706 -2.790371)'), GeomFromEWKT('SRID=4674;POINT (-40.309615 -2.79036)'))) / (select extract(epoch from '2026-07-25 06:13:23'::timestamp) - extract(epoch from '2026-07-25 06:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309706 -2.790371)'), GeomFromEWKT('SRID=4674;POINT (-40.309615 -2.79036)'))) / (select extract(epoch from '2026-07-25 06:13:23'::timestamp) - extract(epoch from '2026-07-25 06:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.309512 -2.790351)', '2026-07-25 06:13:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309615 -2.79036)'), GeomFromEWKT('SRID=4674;POINT (-40.309512 -2.790351)'))) / (select extract(epoch from '2026-07-25 06:13:41'::timestamp) - extract(epoch from '2026-07-25 06:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309615 -2.79036)'), GeomFromEWKT('SRID=4674;POINT (-40.309512 -2.790351)'))) / (select extract(epoch from '2026-07-25 06:13:41'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.309456 -2.790361)', '2026-07-25 06:13:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309512 -2.790351)'), GeomFromEWKT('SRID=4674;POINT (-40.309456 -2.790361)'))) / (select extract(epoch from '2026-07-25 06:13:57'::timestamp) - extract(epoch from '2026-07-25 06:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309512 -2.790351)'), GeomFromEWKT('SRID=4674;POINT (-40.309456 -2.790361)'))) / (select extract(epoch from '2026-07-25 06:13:57'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.30941 -2.790378)', '2026-07-25 06:14:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309456 -2.790361)'), GeomFromEWKT('SRID=4674;POINT (-40.30941 -2.790378)'))) / (select extract(epoch from '2026-07-25 06:14:09'::timestamp) - extract(epoch from '2026-07-25 06:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309456 -2.790361)'), GeomFromEWKT('SRID=4674;POINT (-40.30941 -2.790378)'))) / (select extract(epoch from '2026-07-25 06:14:09'::timestamp) - extract(epoch from '2026-07-25 06:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.309333 -2.79038)', '2026-07-25 06:14:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30941 -2.790378)'), GeomFromEWKT('SRID=4674;POINT (-40.309333 -2.79038)'))) / (select extract(epoch from '2026-07-25 06:14:24'::timestamp) - extract(epoch from '2026-07-25 06:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30941 -2.790378)'), GeomFromEWKT('SRID=4674;POINT (-40.309333 -2.79038)'))) / (select extract(epoch from '2026-07-25 06:14:24'::timestamp) - extract(epoch from '2026-07-25 06:14: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'), 47815, 'SRID=4674;POINT (-40.309299 -2.790377)', '2026-07-25 06:14:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309333 -2.79038)'), GeomFromEWKT('SRID=4674;POINT (-40.309299 -2.790377)'))) / (select extract(epoch from '2026-07-25 06:14:33'::timestamp) - extract(epoch from '2026-07-25 06:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309333 -2.79038)'), GeomFromEWKT('SRID=4674;POINT (-40.309299 -2.790377)'))) / (select extract(epoch from '2026-07-25 06:14:33'::timestamp) - extract(epoch from '2026-07-25 06:14: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'), 47815, 'SRID=4674;POINT (-40.309289 -2.790362)', '2026-07-25 06:14:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309299 -2.790377)'), GeomFromEWKT('SRID=4674;POINT (-40.309289 -2.790362)'))) / (select extract(epoch from '2026-07-25 06:14:40'::timestamp) - extract(epoch from '2026-07-25 06:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309299 -2.790377)'), GeomFromEWKT('SRID=4674;POINT (-40.309289 -2.790362)'))) / (select extract(epoch from '2026-07-25 06:14:40'::timestamp) - extract(epoch from '2026-07-25 06:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.309223 -2.790366)', '2026-07-25 06:14:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309289 -2.790362)'), GeomFromEWKT('SRID=4674;POINT (-40.309223 -2.790366)'))) / (select extract(epoch from '2026-07-25 06:14:56'::timestamp) - extract(epoch from '2026-07-25 06:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309289 -2.790362)'), GeomFromEWKT('SRID=4674;POINT (-40.309223 -2.790366)'))) / (select extract(epoch from '2026-07-25 06:14:56'::timestamp) - extract(epoch from '2026-07-25 06:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.309129 -2.790352)', '2026-07-25 06:15:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309223 -2.790366)'), GeomFromEWKT('SRID=4674;POINT (-40.309129 -2.790352)'))) / (select extract(epoch from '2026-07-25 06:15:13'::timestamp) - extract(epoch from '2026-07-25 06:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309223 -2.790366)'), GeomFromEWKT('SRID=4674;POINT (-40.309129 -2.790352)'))) / (select extract(epoch from '2026-07-25 06:15:13'::timestamp) - extract(epoch from '2026-07-25 06:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.309088 -2.790365)', '2026-07-25 06:15:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309129 -2.790352)'), GeomFromEWKT('SRID=4674;POINT (-40.309088 -2.790365)'))) / (select extract(epoch from '2026-07-25 06:15:26'::timestamp) - extract(epoch from '2026-07-25 06:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309129 -2.790352)'), GeomFromEWKT('SRID=4674;POINT (-40.309088 -2.790365)'))) / (select extract(epoch from '2026-07-25 06:15:26'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.309069 -2.790363)', '2026-07-25 06:15:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309088 -2.790365)'), GeomFromEWKT('SRID=4674;POINT (-40.309069 -2.790363)'))) / (select extract(epoch from '2026-07-25 06:15:40'::timestamp) - extract(epoch from '2026-07-25 06:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309088 -2.790365)'), GeomFromEWKT('SRID=4674;POINT (-40.309069 -2.790363)'))) / (select extract(epoch from '2026-07-25 06:15:40'::timestamp) - extract(epoch from '2026-07-25 06:15: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'), 47815, 'SRID=4674;POINT (-40.30901 -2.790373)', '2026-07-25 06:15:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309069 -2.790363)'), GeomFromEWKT('SRID=4674;POINT (-40.30901 -2.790373)'))) / (select extract(epoch from '2026-07-25 06:15:59'::timestamp) - extract(epoch from '2026-07-25 06:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309069 -2.790363)'), GeomFromEWKT('SRID=4674;POINT (-40.30901 -2.790373)'))) / (select extract(epoch from '2026-07-25 06:15:59'::timestamp) - extract(epoch from '2026-07-25 06:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.308892 -2.790391)', '2026-07-25 06:16:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30901 -2.790373)'), GeomFromEWKT('SRID=4674;POINT (-40.308892 -2.790391)'))) / (select extract(epoch from '2026-07-25 06:16:19'::timestamp) - extract(epoch from '2026-07-25 06:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30901 -2.790373)'), GeomFromEWKT('SRID=4674;POINT (-40.308892 -2.790391)'))) / (select extract(epoch from '2026-07-25 06:16:19'::timestamp) - extract(epoch from '2026-07-25 06:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.308834 -2.790402)', '2026-07-25 06:16:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308892 -2.790391)'), GeomFromEWKT('SRID=4674;POINT (-40.308834 -2.790402)'))) / (select extract(epoch from '2026-07-25 06:16:30'::timestamp) - extract(epoch from '2026-07-25 06:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308892 -2.790391)'), GeomFromEWKT('SRID=4674;POINT (-40.308834 -2.790402)'))) / (select extract(epoch from '2026-07-25 06:16:30'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.308717 -2.79042)', '2026-07-25 06:16:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308834 -2.790402)'), GeomFromEWKT('SRID=4674;POINT (-40.308717 -2.79042)'))) / (select extract(epoch from '2026-07-25 06:16:51'::timestamp) - extract(epoch from '2026-07-25 06:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308834 -2.790402)'), GeomFromEWKT('SRID=4674;POINT (-40.308717 -2.79042)'))) / (select extract(epoch from '2026-07-25 06:16:51'::timestamp) - extract(epoch from '2026-07-25 06:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.308656 -2.790433)', '2026-07-25 06:17:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308717 -2.79042)'), GeomFromEWKT('SRID=4674;POINT (-40.308656 -2.790433)'))) / (select extract(epoch from '2026-07-25 06:17:06'::timestamp) - extract(epoch from '2026-07-25 06:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308717 -2.79042)'), GeomFromEWKT('SRID=4674;POINT (-40.308656 -2.790433)'))) / (select extract(epoch from '2026-07-25 06:17:06'::timestamp) - extract(epoch from '2026-07-25 06:16: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'), 47815, 'SRID=4674;POINT (-40.30856 -2.790468)', '2026-07-25 06:17:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308656 -2.790433)'), GeomFromEWKT('SRID=4674;POINT (-40.30856 -2.790468)'))) / (select extract(epoch from '2026-07-25 06:17:24'::timestamp) - extract(epoch from '2026-07-25 06:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308656 -2.790433)'), GeomFromEWKT('SRID=4674;POINT (-40.30856 -2.790468)'))) / (select extract(epoch from '2026-07-25 06:17:24'::timestamp) - extract(epoch from '2026-07-25 06:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.308505 -2.790507)', '2026-07-25 06:17:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30856 -2.790468)'), GeomFromEWKT('SRID=4674;POINT (-40.308505 -2.790507)'))) / (select extract(epoch from '2026-07-25 06:17:40'::timestamp) - extract(epoch from '2026-07-25 06:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30856 -2.790468)'), GeomFromEWKT('SRID=4674;POINT (-40.308505 -2.790507)'))) / (select extract(epoch from '2026-07-25 06:17:40'::timestamp) - extract(epoch from '2026-07-25 06:17: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'), 47815, 'SRID=4674;POINT (-40.308464 -2.79054)', '2026-07-25 06:17:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308505 -2.790507)'), GeomFromEWKT('SRID=4674;POINT (-40.308464 -2.79054)'))) / (select extract(epoch from '2026-07-25 06:17:53'::timestamp) - extract(epoch from '2026-07-25 06:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308505 -2.790507)'), GeomFromEWKT('SRID=4674;POINT (-40.308464 -2.79054)'))) / (select extract(epoch from '2026-07-25 06:17:53'::timestamp) - extract(epoch from '2026-07-25 06:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.308414 -2.790548)', '2026-07-25 06:18:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308464 -2.79054)'), GeomFromEWKT('SRID=4674;POINT (-40.308414 -2.790548)'))) / (select extract(epoch from '2026-07-25 06:18:07'::timestamp) - extract(epoch from '2026-07-25 06:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308464 -2.79054)'), GeomFromEWKT('SRID=4674;POINT (-40.308414 -2.790548)'))) / (select extract(epoch from '2026-07-25 06:18:07'::timestamp) - extract(epoch from '2026-07-25 06:17: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'), 47815, 'SRID=4674;POINT (-40.308367 -2.790563)', '2026-07-25 06:18:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308414 -2.790548)'), GeomFromEWKT('SRID=4674;POINT (-40.308367 -2.790563)'))) / (select extract(epoch from '2026-07-25 06:18:17'::timestamp) - extract(epoch from '2026-07-25 06:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308414 -2.790548)'), GeomFromEWKT('SRID=4674;POINT (-40.308367 -2.790563)'))) / (select extract(epoch from '2026-07-25 06:18:17'::timestamp) - extract(epoch from '2026-07-25 06:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.308288 -2.790588)', '2026-07-25 06:18:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308367 -2.790563)'), GeomFromEWKT('SRID=4674;POINT (-40.308288 -2.790588)'))) / (select extract(epoch from '2026-07-25 06:18:34'::timestamp) - extract(epoch from '2026-07-25 06:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308367 -2.790563)'), GeomFromEWKT('SRID=4674;POINT (-40.308288 -2.790588)'))) / (select extract(epoch from '2026-07-25 06:18:34'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.308243 -2.790594)', '2026-07-25 06:18:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308288 -2.790588)'), GeomFromEWKT('SRID=4674;POINT (-40.308243 -2.790594)'))) / (select extract(epoch from '2026-07-25 06:18:45'::timestamp) - extract(epoch from '2026-07-25 06:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308288 -2.790588)'), GeomFromEWKT('SRID=4674;POINT (-40.308243 -2.790594)'))) / (select extract(epoch from '2026-07-25 06:18:45'::timestamp) - extract(epoch from '2026-07-25 06:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.308161 -2.790645)', '2026-07-25 06:19:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308243 -2.790594)'), GeomFromEWKT('SRID=4674;POINT (-40.308161 -2.790645)'))) / (select extract(epoch from '2026-07-25 06:19:03'::timestamp) - extract(epoch from '2026-07-25 06:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308243 -2.790594)'), GeomFromEWKT('SRID=4674;POINT (-40.308161 -2.790645)'))) / (select extract(epoch from '2026-07-25 06:19:03'::timestamp) - extract(epoch from '2026-07-25 06:18: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'), 47815, 'SRID=4674;POINT (-40.308156 -2.79065)', '2026-07-25 06:19:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308161 -2.790645)'), GeomFromEWKT('SRID=4674;POINT (-40.308156 -2.79065)'))) / (select extract(epoch from '2026-07-25 06:19:15'::timestamp) - extract(epoch from '2026-07-25 06:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308161 -2.790645)'), GeomFromEWKT('SRID=4674;POINT (-40.308156 -2.79065)'))) / (select extract(epoch from '2026-07-25 06:19:15'::timestamp) - extract(epoch from '2026-07-25 06:19: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'), 47815, 'SRID=4674;POINT (-40.308124 -2.790578)', '2026-07-25 06:20:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308156 -2.79065)'), GeomFromEWKT('SRID=4674;POINT (-40.308124 -2.790578)'))) / (select extract(epoch from '2026-07-25 06:20:33'::timestamp) - extract(epoch from '2026-07-25 06:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308156 -2.79065)'), GeomFromEWKT('SRID=4674;POINT (-40.308124 -2.790578)'))) / (select extract(epoch from '2026-07-25 06:20:33'::timestamp) - extract(epoch from '2026-07-25 06:19: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'), 47815, 'SRID=4674;POINT (-40.30814 -2.790468)', '2026-07-25 06:20:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308124 -2.790578)'), GeomFromEWKT('SRID=4674;POINT (-40.30814 -2.790468)'))) / (select extract(epoch from '2026-07-25 06:20:42'::timestamp) - extract(epoch from '2026-07-25 06:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308124 -2.790578)'), GeomFromEWKT('SRID=4674;POINT (-40.30814 -2.790468)'))) / (select extract(epoch from '2026-07-25 06:20:42'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.308213 -2.790395)', '2026-07-25 06:20:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30814 -2.790468)'), GeomFromEWKT('SRID=4674;POINT (-40.308213 -2.790395)'))) / (select extract(epoch from '2026-07-25 06:20:48'::timestamp) - extract(epoch from '2026-07-25 06:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30814 -2.790468)'), GeomFromEWKT('SRID=4674;POINT (-40.308213 -2.790395)'))) / (select extract(epoch from '2026-07-25 06:20:48'::timestamp) - extract(epoch from '2026-07-25 06:20: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'), 47815, 'SRID=4674;POINT (-40.308355 -2.790387)', '2026-07-25 06:20:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308213 -2.790395)'), GeomFromEWKT('SRID=4674;POINT (-40.308355 -2.790387)'))) / (select extract(epoch from '2026-07-25 06:20:55'::timestamp) - extract(epoch from '2026-07-25 06:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308213 -2.790395)'), GeomFromEWKT('SRID=4674;POINT (-40.308355 -2.790387)'))) / (select extract(epoch from '2026-07-25 06:20:55'::timestamp) - extract(epoch from '2026-07-25 06:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.308527 -2.790407)', '2026-07-25 06:21:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308355 -2.790387)'), GeomFromEWKT('SRID=4674;POINT (-40.308527 -2.790407)'))) / (select extract(epoch from '2026-07-25 06:21:01'::timestamp) - extract(epoch from '2026-07-25 06:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308355 -2.790387)'), GeomFromEWKT('SRID=4674;POINT (-40.308527 -2.790407)'))) / (select extract(epoch from '2026-07-25 06:21:01'::timestamp) - extract(epoch from '2026-07-25 06:20: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'), 47815, 'SRID=4674;POINT (-40.30877 -2.79035)', '2026-07-25 06:21:11', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308527 -2.790407)'), GeomFromEWKT('SRID=4674;POINT (-40.30877 -2.79035)'))) / (select extract(epoch from '2026-07-25 06:21:11'::timestamp) - extract(epoch from '2026-07-25 06:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308527 -2.790407)'), GeomFromEWKT('SRID=4674;POINT (-40.30877 -2.79035)'))) / (select extract(epoch from '2026-07-25 06:21:11'::timestamp) - extract(epoch from '2026-07-25 06:21: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'), 47815, 'SRID=4674;POINT (-40.308905 -2.790289)', '2026-07-25 06:21:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30877 -2.79035)'), GeomFromEWKT('SRID=4674;POINT (-40.308905 -2.790289)'))) / (select extract(epoch from '2026-07-25 06:21:17'::timestamp) - extract(epoch from '2026-07-25 06:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30877 -2.79035)'), GeomFromEWKT('SRID=4674;POINT (-40.308905 -2.790289)'))) / (select extract(epoch from '2026-07-25 06:21:17'::timestamp) - extract(epoch from '2026-07-25 06:21: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'), 47815, 'SRID=4674;POINT (-40.309046 -2.790192)', '2026-07-25 06:21:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308905 -2.790289)'), GeomFromEWKT('SRID=4674;POINT (-40.309046 -2.790192)'))) / (select extract(epoch from '2026-07-25 06:21:25'::timestamp) - extract(epoch from '2026-07-25 06:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308905 -2.790289)'), GeomFromEWKT('SRID=4674;POINT (-40.309046 -2.790192)'))) / (select extract(epoch from '2026-07-25 06:21:25'::timestamp) - extract(epoch from '2026-07-25 06:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.309174 -2.790139)', '2026-07-25 06:21:32', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309046 -2.790192)'), GeomFromEWKT('SRID=4674;POINT (-40.309174 -2.790139)'))) / (select extract(epoch from '2026-07-25 06:21:32'::timestamp) - extract(epoch from '2026-07-25 06:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309046 -2.790192)'), GeomFromEWKT('SRID=4674;POINT (-40.309174 -2.790139)'))) / (select extract(epoch from '2026-07-25 06:21:32'::timestamp) - extract(epoch from '2026-07-25 06:21: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'), 47815, 'SRID=4674;POINT (-40.30933 -2.790105)', '2026-07-25 06:21:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309174 -2.790139)'), GeomFromEWKT('SRID=4674;POINT (-40.30933 -2.790105)'))) / (select extract(epoch from '2026-07-25 06:21:40'::timestamp) - extract(epoch from '2026-07-25 06:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309174 -2.790139)'), GeomFromEWKT('SRID=4674;POINT (-40.30933 -2.790105)'))) / (select extract(epoch from '2026-07-25 06:21:40'::timestamp) - extract(epoch from '2026-07-25 06:21: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'), 47815, 'SRID=4674;POINT (-40.30948 -2.790069)', '2026-07-25 06:21:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30933 -2.790105)'), GeomFromEWKT('SRID=4674;POINT (-40.30948 -2.790069)'))) / (select extract(epoch from '2026-07-25 06:21:47'::timestamp) - extract(epoch from '2026-07-25 06:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30933 -2.790105)'), GeomFromEWKT('SRID=4674;POINT (-40.30948 -2.790069)'))) / (select extract(epoch from '2026-07-25 06:21:47'::timestamp) - extract(epoch from '2026-07-25 06:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.309635 -2.789994)', '2026-07-25 06:21:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30948 -2.790069)'), GeomFromEWKT('SRID=4674;POINT (-40.309635 -2.789994)'))) / (select extract(epoch from '2026-07-25 06:21:54'::timestamp) - extract(epoch from '2026-07-25 06:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30948 -2.790069)'), GeomFromEWKT('SRID=4674;POINT (-40.309635 -2.789994)'))) / (select extract(epoch from '2026-07-25 06:21:54'::timestamp) - extract(epoch from '2026-07-25 06:21: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'), 47815, 'SRID=4674;POINT (-40.309848 -2.789932)', '2026-07-25 06:22:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309635 -2.789994)'), GeomFromEWKT('SRID=4674;POINT (-40.309848 -2.789932)'))) / (select extract(epoch from '2026-07-25 06:22:03'::timestamp) - extract(epoch from '2026-07-25 06:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309635 -2.789994)'), GeomFromEWKT('SRID=4674;POINT (-40.309848 -2.789932)'))) / (select extract(epoch from '2026-07-25 06:22:03'::timestamp) - extract(epoch from '2026-07-25 06:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.310036 -2.78988)', '2026-07-25 06:22:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309848 -2.789932)'), GeomFromEWKT('SRID=4674;POINT (-40.310036 -2.78988)'))) / (select extract(epoch from '2026-07-25 06:22:12'::timestamp) - extract(epoch from '2026-07-25 06:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309848 -2.789932)'), GeomFromEWKT('SRID=4674;POINT (-40.310036 -2.78988)'))) / (select extract(epoch from '2026-07-25 06:22:12'::timestamp) - extract(epoch from '2026-07-25 06:22:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.310197 -2.789771)', '2026-07-25 06:22:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310036 -2.78988)'), GeomFromEWKT('SRID=4674;POINT (-40.310197 -2.789771)'))) / (select extract(epoch from '2026-07-25 06:22:21'::timestamp) - extract(epoch from '2026-07-25 06:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310036 -2.78988)'), GeomFromEWKT('SRID=4674;POINT (-40.310197 -2.789771)'))) / (select extract(epoch from '2026-07-25 06:22:21'::timestamp) - extract(epoch from '2026-07-25 06:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.310368 -2.789677)', '2026-07-25 06:22:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310197 -2.789771)'), GeomFromEWKT('SRID=4674;POINT (-40.310368 -2.789677)'))) / (select extract(epoch from '2026-07-25 06:22:30'::timestamp) - extract(epoch from '2026-07-25 06:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310197 -2.789771)'), GeomFromEWKT('SRID=4674;POINT (-40.310368 -2.789677)'))) / (select extract(epoch from '2026-07-25 06:22:30'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.310551 -2.789583)', '2026-07-25 06:22:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310368 -2.789677)'), GeomFromEWKT('SRID=4674;POINT (-40.310551 -2.789583)'))) / (select extract(epoch from '2026-07-25 06:22:39'::timestamp) - extract(epoch from '2026-07-25 06:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310368 -2.789677)'), GeomFromEWKT('SRID=4674;POINT (-40.310551 -2.789583)'))) / (select extract(epoch from '2026-07-25 06:22:39'::timestamp) - extract(epoch from '2026-07-25 06:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.310744 -2.789539)', '2026-07-25 06:22:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310551 -2.789583)'), GeomFromEWKT('SRID=4674;POINT (-40.310744 -2.789539)'))) / (select extract(epoch from '2026-07-25 06:22:47'::timestamp) - extract(epoch from '2026-07-25 06:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310551 -2.789583)'), GeomFromEWKT('SRID=4674;POINT (-40.310744 -2.789539)'))) / (select extract(epoch from '2026-07-25 06:22:47'::timestamp) - extract(epoch from '2026-07-25 06:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.310928 -2.789468)', '2026-07-25 06:22:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310744 -2.789539)'), GeomFromEWKT('SRID=4674;POINT (-40.310928 -2.789468)'))) / (select extract(epoch from '2026-07-25 06:22:56'::timestamp) - extract(epoch from '2026-07-25 06:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310744 -2.789539)'), GeomFromEWKT('SRID=4674;POINT (-40.310928 -2.789468)'))) / (select extract(epoch from '2026-07-25 06:22:56'::timestamp) - extract(epoch from '2026-07-25 06:22: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'), 47815, 'SRID=4674;POINT (-40.311085 -2.789406)', '2026-07-25 06:23:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310928 -2.789468)'), GeomFromEWKT('SRID=4674;POINT (-40.311085 -2.789406)'))) / (select extract(epoch from '2026-07-25 06:23:03'::timestamp) - extract(epoch from '2026-07-25 06:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310928 -2.789468)'), GeomFromEWKT('SRID=4674;POINT (-40.311085 -2.789406)'))) / (select extract(epoch from '2026-07-25 06:23:03'::timestamp) - extract(epoch from '2026-07-25 06:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.311237 -2.789308)', '2026-07-25 06:23:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311085 -2.789406)'), GeomFromEWKT('SRID=4674;POINT (-40.311237 -2.789308)'))) / (select extract(epoch from '2026-07-25 06:23:11'::timestamp) - extract(epoch from '2026-07-25 06:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311085 -2.789406)'), GeomFromEWKT('SRID=4674;POINT (-40.311237 -2.789308)'))) / (select extract(epoch from '2026-07-25 06:23:11'::timestamp) - extract(epoch from '2026-07-25 06:23: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'), 47815, 'SRID=4674;POINT (-40.311395 -2.789221)', '2026-07-25 06:23:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311237 -2.789308)'), GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.789221)'))) / (select extract(epoch from '2026-07-25 06:23:19'::timestamp) - extract(epoch from '2026-07-25 06:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311237 -2.789308)'), GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.789221)'))) / (select extract(epoch from '2026-07-25 06:23:19'::timestamp) - extract(epoch from '2026-07-25 06:23: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'), 47815, 'SRID=4674;POINT (-40.31157 -2.789157)', '2026-07-25 06:23:27', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.789221)'), GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.789157)'))) / (select extract(epoch from '2026-07-25 06:23:27'::timestamp) - extract(epoch from '2026-07-25 06:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311395 -2.789221)'), GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.789157)'))) / (select extract(epoch from '2026-07-25 06:23:27'::timestamp) - extract(epoch from '2026-07-25 06:23: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'), 47815, 'SRID=4674;POINT (-40.311709 -2.789124)', '2026-07-25 06:23:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.789157)'), GeomFromEWKT('SRID=4674;POINT (-40.311709 -2.789124)'))) / (select extract(epoch from '2026-07-25 06:23:34'::timestamp) - extract(epoch from '2026-07-25 06:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31157 -2.789157)'), GeomFromEWKT('SRID=4674;POINT (-40.311709 -2.789124)'))) / (select extract(epoch from '2026-07-25 06:23:34'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.31189 -2.789095)', '2026-07-25 06:23:42', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311709 -2.789124)'), GeomFromEWKT('SRID=4674;POINT (-40.31189 -2.789095)'))) / (select extract(epoch from '2026-07-25 06:23:42'::timestamp) - extract(epoch from '2026-07-25 06:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311709 -2.789124)'), GeomFromEWKT('SRID=4674;POINT (-40.31189 -2.789095)'))) / (select extract(epoch from '2026-07-25 06:23:42'::timestamp) - extract(epoch from '2026-07-25 06:23: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'), 47815, 'SRID=4674;POINT (-40.312059 -2.789059)', '2026-07-25 06:23:50', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31189 -2.789095)'), GeomFromEWKT('SRID=4674;POINT (-40.312059 -2.789059)'))) / (select extract(epoch from '2026-07-25 06:23:50'::timestamp) - extract(epoch from '2026-07-25 06:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31189 -2.789095)'), GeomFromEWKT('SRID=4674;POINT (-40.312059 -2.789059)'))) / (select extract(epoch from '2026-07-25 06:23:50'::timestamp) - extract(epoch from '2026-07-25 06:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.312252 -2.789028)', '2026-07-25 06:23:59', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312059 -2.789059)'), GeomFromEWKT('SRID=4674;POINT (-40.312252 -2.789028)'))) / (select extract(epoch from '2026-07-25 06:23:59'::timestamp) - extract(epoch from '2026-07-25 06:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312059 -2.789059)'), GeomFromEWKT('SRID=4674;POINT (-40.312252 -2.789028)'))) / (select extract(epoch from '2026-07-25 06:23:59'::timestamp) - extract(epoch from '2026-07-25 06: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'), 47815, 'SRID=4674;POINT (-40.312416 -2.78895)', '2026-07-25 06:24:07', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312252 -2.789028)'), GeomFromEWKT('SRID=4674;POINT (-40.312416 -2.78895)'))) / (select extract(epoch from '2026-07-25 06:24:07'::timestamp) - extract(epoch from '2026-07-25 06:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312252 -2.789028)'), GeomFromEWKT('SRID=4674;POINT (-40.312416 -2.78895)'))) / (select extract(epoch from '2026-07-25 06:24:07'::timestamp) - extract(epoch from '2026-07-25 06:23: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'), 47815, 'SRID=4674;POINT (-40.312605 -2.78888)', '2026-07-25 06:24:16', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312416 -2.78895)'), GeomFromEWKT('SRID=4674;POINT (-40.312605 -2.78888)'))) / (select extract(epoch from '2026-07-25 06:24:16'::timestamp) - extract(epoch from '2026-07-25 06:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312416 -2.78895)'), GeomFromEWKT('SRID=4674;POINT (-40.312605 -2.78888)'))) / (select extract(epoch from '2026-07-25 06:24:16'::timestamp) - extract(epoch from '2026-07-25 06:24: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'), 47815, 'SRID=4674;POINT (-40.312776 -2.78885)', '2026-07-25 06:24:24', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312605 -2.78888)'), GeomFromEWKT('SRID=4674;POINT (-40.312776 -2.78885)'))) / (select extract(epoch from '2026-07-25 06:24:24'::timestamp) - extract(epoch from '2026-07-25 06:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312605 -2.78888)'), GeomFromEWKT('SRID=4674;POINT (-40.312776 -2.78885)'))) / (select extract(epoch from '2026-07-25 06:24:24'::timestamp) - extract(epoch from '2026-07-25 06:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.312957 -2.788876)', '2026-07-25 06:24:31', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312776 -2.78885)'), GeomFromEWKT('SRID=4674;POINT (-40.312957 -2.788876)'))) / (select extract(epoch from '2026-07-25 06:24:31'::timestamp) - extract(epoch from '2026-07-25 06:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312776 -2.78885)'), GeomFromEWKT('SRID=4674;POINT (-40.312957 -2.788876)'))) / (select extract(epoch from '2026-07-25 06:24:31'::timestamp) - extract(epoch from '2026-07-25 06:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313149 -2.788888)', '2026-07-25 06:24:39', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312957 -2.788876)'), GeomFromEWKT('SRID=4674;POINT (-40.313149 -2.788888)'))) / (select extract(epoch from '2026-07-25 06:24:39'::timestamp) - extract(epoch from '2026-07-25 06:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312957 -2.788876)'), GeomFromEWKT('SRID=4674;POINT (-40.313149 -2.788888)'))) / (select extract(epoch from '2026-07-25 06:24:39'::timestamp) - extract(epoch from '2026-07-25 06:24: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'), 47815, 'SRID=4674;POINT (-40.313329 -2.788891)', '2026-07-25 06:24:47', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313149 -2.788888)'), GeomFromEWKT('SRID=4674;POINT (-40.313329 -2.788891)'))) / (select extract(epoch from '2026-07-25 06:24:47'::timestamp) - extract(epoch from '2026-07-25 06:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313149 -2.788888)'), GeomFromEWKT('SRID=4674;POINT (-40.313329 -2.788891)'))) / (select extract(epoch from '2026-07-25 06:24:47'::timestamp) - extract(epoch from '2026-07-25 06:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313552 -2.788923)', '2026-07-25 06:24:56', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313329 -2.788891)'), GeomFromEWKT('SRID=4674;POINT (-40.313552 -2.788923)'))) / (select extract(epoch from '2026-07-25 06:24:56'::timestamp) - extract(epoch from '2026-07-25 06:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313329 -2.788891)'), GeomFromEWKT('SRID=4674;POINT (-40.313552 -2.788923)'))) / (select extract(epoch from '2026-07-25 06:24:56'::timestamp) - extract(epoch from '2026-07-25 06:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313734 -2.788915)', '2026-07-25 06:25:03', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313552 -2.788923)'), GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.788915)'))) / (select extract(epoch from '2026-07-25 06:25:03'::timestamp) - extract(epoch from '2026-07-25 06:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313552 -2.788923)'), GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.788915)'))) / (select extract(epoch from '2026-07-25 06:25:03'::timestamp) - extract(epoch from '2026-07-25 06:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.31381 -2.788816)', '2026-07-25 06:25:09', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.788915)'), GeomFromEWKT('SRID=4674;POINT (-40.31381 -2.788816)'))) / (select extract(epoch from '2026-07-25 06:25:09'::timestamp) - extract(epoch from '2026-07-25 06:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.788915)'), GeomFromEWKT('SRID=4674;POINT (-40.31381 -2.788816)'))) / (select extract(epoch from '2026-07-25 06:25:09'::timestamp) - extract(epoch from '2026-07-25 06:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.313903 -2.788654)', '2026-07-25 06:25:17', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31381 -2.788816)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.788654)'))) / (select extract(epoch from '2026-07-25 06:25:17'::timestamp) - extract(epoch from '2026-07-25 06:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31381 -2.788816)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.788654)'))) / (select extract(epoch from '2026-07-25 06:25:17'::timestamp) - extract(epoch from '2026-07-25 06:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.314033 -2.788496)', '2026-07-25 06:25:26', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.788654)'), GeomFromEWKT('SRID=4674;POINT (-40.314033 -2.788496)'))) / (select extract(epoch from '2026-07-25 06:25:26'::timestamp) - extract(epoch from '2026-07-25 06:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.788654)'), GeomFromEWKT('SRID=4674;POINT (-40.314033 -2.788496)'))) / (select extract(epoch from '2026-07-25 06:25:26'::timestamp) - extract(epoch from '2026-07-25 06:25: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'), 47815, 'SRID=4674;POINT (-40.314103 -2.788437)', '2026-07-25 06:25:33', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314033 -2.788496)'), GeomFromEWKT('SRID=4674;POINT (-40.314103 -2.788437)'))) / (select extract(epoch from '2026-07-25 06:25:33'::timestamp) - extract(epoch from '2026-07-25 06:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314033 -2.788496)'), GeomFromEWKT('SRID=4674;POINT (-40.314103 -2.788437)'))) / (select extract(epoch from '2026-07-25 06:25:33'::timestamp) - extract(epoch from '2026-07-25 06:25: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'), 47815, 'SRID=4674;POINT (-40.314104 -2.788432)', '2026-07-25 06:25:34', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314103 -2.788437)'), GeomFromEWKT('SRID=4674;POINT (-40.314104 -2.788432)'))) / (select extract(epoch from '2026-07-25 06:25:34'::timestamp) - extract(epoch from '2026-07-25 06:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314103 -2.788437)'), GeomFromEWKT('SRID=4674;POINT (-40.314104 -2.788432)'))) / (select extract(epoch from '2026-07-25 06:25:34'::timestamp) - extract(epoch from '2026-07-25 06:25: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'), 47815, 'SRID=4674;POINT (-40.314206 -2.788432)', '2026-07-25 06:25:42', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314104 -2.788432)'), GeomFromEWKT('SRID=4674;POINT (-40.314206 -2.788432)'))) / (select extract(epoch from '2026-07-25 06:25:42'::timestamp) - extract(epoch from '2026-07-25 06:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314104 -2.788432)'), GeomFromEWKT('SRID=4674;POINT (-40.314206 -2.788432)'))) / (select extract(epoch from '2026-07-25 06:25:42'::timestamp) - extract(epoch from '2026-07-25 06:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47815, 'SRID=4674;POINT (-40.314412 -2.788501)', '2026-07-25 06:25:49', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314206 -2.788432)'), GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.788501)'))) / (select extract(epoch from '2026-07-25 06:25:49'::timestamp) - extract(epoch from '2026-07-25 06:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314206 -2.788432)'), GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.788501)'))) / (select extract(epoch from '2026-07-25 06:25:49'::timestamp) - extract(epoch from '2026-07-25 06:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
