 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.718138 -2.83879)', '2026-06-21 15:26:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718121 -2.838753)'), GeomFromEWKT('SRID=4674;POINT (-39.718138 -2.83879)'))) / (select extract(epoch from '2026-06-21 15:26:17'::timestamp) - extract(epoch from '2026-06-21 15:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718121 -2.838753)'), GeomFromEWKT('SRID=4674;POINT (-39.718138 -2.83879)'))) / (select extract(epoch from '2026-06-21 15:26:17'::timestamp) - extract(epoch from '2026-06-21 15:26: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'), 46821, 'SRID=4674;POINT (-39.718175 -2.838832)', '2026-06-21 15:26:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718138 -2.83879)'), GeomFromEWKT('SRID=4674;POINT (-39.718175 -2.838832)'))) / (select extract(epoch from '2026-06-21 15:26:19'::timestamp) - extract(epoch from '2026-06-21 15:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718138 -2.83879)'), GeomFromEWKT('SRID=4674;POINT (-39.718175 -2.838832)'))) / (select extract(epoch from '2026-06-21 15:26:19'::timestamp) - extract(epoch from '2026-06-21 15:26: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'), 46821, 'SRID=4674;POINT (-39.718211 -2.838869)', '2026-06-21 15:26:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718175 -2.838832)'), GeomFromEWKT('SRID=4674;POINT (-39.718211 -2.838869)'))) / (select extract(epoch from '2026-06-21 15:26:21'::timestamp) - extract(epoch from '2026-06-21 15:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718175 -2.838832)'), GeomFromEWKT('SRID=4674;POINT (-39.718211 -2.838869)'))) / (select extract(epoch from '2026-06-21 15:26:21'::timestamp) - extract(epoch from '2026-06-21 15:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.718234 -2.838902)', '2026-06-21 15:26:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718211 -2.838869)'), GeomFromEWKT('SRID=4674;POINT (-39.718234 -2.838902)'))) / (select extract(epoch from '2026-06-21 15:26:23'::timestamp) - extract(epoch from '2026-06-21 15:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718211 -2.838869)'), GeomFromEWKT('SRID=4674;POINT (-39.718234 -2.838902)'))) / (select extract(epoch from '2026-06-21 15:26:23'::timestamp) - extract(epoch from '2026-06-21 15:26: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'), 46821, 'SRID=4674;POINT (-39.718293 -2.838972)', '2026-06-21 15:26:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718234 -2.838902)'), GeomFromEWKT('SRID=4674;POINT (-39.718293 -2.838972)'))) / (select extract(epoch from '2026-06-21 15:26:27'::timestamp) - extract(epoch from '2026-06-21 15:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718234 -2.838902)'), GeomFromEWKT('SRID=4674;POINT (-39.718293 -2.838972)'))) / (select extract(epoch from '2026-06-21 15:26:27'::timestamp) - extract(epoch from '2026-06-21 15:26: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'), 46821, 'SRID=4674;POINT (-39.718351 -2.83905)', '2026-06-21 15:26:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718293 -2.838972)'), GeomFromEWKT('SRID=4674;POINT (-39.718351 -2.83905)'))) / (select extract(epoch from '2026-06-21 15:26:31'::timestamp) - extract(epoch from '2026-06-21 15:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718293 -2.838972)'), GeomFromEWKT('SRID=4674;POINT (-39.718351 -2.83905)'))) / (select extract(epoch from '2026-06-21 15:26:31'::timestamp) - extract(epoch from '2026-06-21 15:26: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'), 46821, 'SRID=4674;POINT (-39.718436 -2.839155)', '2026-06-21 15:26:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718351 -2.83905)'), GeomFromEWKT('SRID=4674;POINT (-39.718436 -2.839155)'))) / (select extract(epoch from '2026-06-21 15:26:37'::timestamp) - extract(epoch from '2026-06-21 15:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718351 -2.83905)'), GeomFromEWKT('SRID=4674;POINT (-39.718436 -2.839155)'))) / (select extract(epoch from '2026-06-21 15:26:37'::timestamp) - extract(epoch from '2026-06-21 15:26: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'), 46821, 'SRID=4674;POINT (-39.718526 -2.83926)', '2026-06-21 15:26:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718436 -2.839155)'), GeomFromEWKT('SRID=4674;POINT (-39.718526 -2.83926)'))) / (select extract(epoch from '2026-06-21 15:26:43'::timestamp) - extract(epoch from '2026-06-21 15:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718436 -2.839155)'), GeomFromEWKT('SRID=4674;POINT (-39.718526 -2.83926)'))) / (select extract(epoch from '2026-06-21 15:26:43'::timestamp) - extract(epoch from '2026-06-21 15:26: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'), 46821, 'SRID=4674;POINT (-39.7186 -2.839349)', '2026-06-21 15:26:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718526 -2.83926)'), GeomFromEWKT('SRID=4674;POINT (-39.7186 -2.839349)'))) / (select extract(epoch from '2026-06-21 15:26:48'::timestamp) - extract(epoch from '2026-06-21 15:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718526 -2.83926)'), GeomFromEWKT('SRID=4674;POINT (-39.7186 -2.839349)'))) / (select extract(epoch from '2026-06-21 15:26:48'::timestamp) - extract(epoch from '2026-06-21 15:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.718667 -2.839427)', '2026-06-21 15:26:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7186 -2.839349)'), GeomFromEWKT('SRID=4674;POINT (-39.718667 -2.839427)'))) / (select extract(epoch from '2026-06-21 15:26:53'::timestamp) - extract(epoch from '2026-06-21 15:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7186 -2.839349)'), GeomFromEWKT('SRID=4674;POINT (-39.718667 -2.839427)'))) / (select extract(epoch from '2026-06-21 15:26:53'::timestamp) - extract(epoch from '2026-06-21 15:26: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'), 46821, 'SRID=4674;POINT (-39.718784 -2.839567)', '2026-06-21 15:27:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718667 -2.839427)'), GeomFromEWKT('SRID=4674;POINT (-39.718784 -2.839567)'))) / (select extract(epoch from '2026-06-21 15:27:01'::timestamp) - extract(epoch from '2026-06-21 15:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718667 -2.839427)'), GeomFromEWKT('SRID=4674;POINT (-39.718784 -2.839567)'))) / (select extract(epoch from '2026-06-21 15:27:01'::timestamp) - extract(epoch from '2026-06-21 15:26: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'), 46821, 'SRID=4674;POINT (-39.718859 -2.839666)', '2026-06-21 15:27:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718784 -2.839567)'), GeomFromEWKT('SRID=4674;POINT (-39.718859 -2.839666)'))) / (select extract(epoch from '2026-06-21 15:27:07'::timestamp) - extract(epoch from '2026-06-21 15:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718784 -2.839567)'), GeomFromEWKT('SRID=4674;POINT (-39.718859 -2.839666)'))) / (select extract(epoch from '2026-06-21 15:27:07'::timestamp) - extract(epoch from '2026-06-21 15:27: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'), 46821, 'SRID=4674;POINT (-39.718952 -2.839793)', '2026-06-21 15:27:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718859 -2.839666)'), GeomFromEWKT('SRID=4674;POINT (-39.718952 -2.839793)'))) / (select extract(epoch from '2026-06-21 15:27:14'::timestamp) - extract(epoch from '2026-06-21 15:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718859 -2.839666)'), GeomFromEWKT('SRID=4674;POINT (-39.718952 -2.839793)'))) / (select extract(epoch from '2026-06-21 15:27:14'::timestamp) - extract(epoch from '2026-06-21 15:27: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'), 46821, 'SRID=4674;POINT (-39.719015 -2.839881)', '2026-06-21 15:27:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718952 -2.839793)'), GeomFromEWKT('SRID=4674;POINT (-39.719015 -2.839881)'))) / (select extract(epoch from '2026-06-21 15:27:19'::timestamp) - extract(epoch from '2026-06-21 15:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.718952 -2.839793)'), GeomFromEWKT('SRID=4674;POINT (-39.719015 -2.839881)'))) / (select extract(epoch from '2026-06-21 15:27:19'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.719079 -2.839987)', '2026-06-21 15:27:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719015 -2.839881)'), GeomFromEWKT('SRID=4674;POINT (-39.719079 -2.839987)'))) / (select extract(epoch from '2026-06-21 15:27:24'::timestamp) - extract(epoch from '2026-06-21 15:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719015 -2.839881)'), GeomFromEWKT('SRID=4674;POINT (-39.719079 -2.839987)'))) / (select extract(epoch from '2026-06-21 15:27:24'::timestamp) - extract(epoch from '2026-06-21 15:27: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'), 46821, 'SRID=4674;POINT (-39.719138 -2.840086)', '2026-06-21 15:27:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719079 -2.839987)'), GeomFromEWKT('SRID=4674;POINT (-39.719138 -2.840086)'))) / (select extract(epoch from '2026-06-21 15:27:29'::timestamp) - extract(epoch from '2026-06-21 15:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719079 -2.839987)'), GeomFromEWKT('SRID=4674;POINT (-39.719138 -2.840086)'))) / (select extract(epoch from '2026-06-21 15:27:29'::timestamp) - extract(epoch from '2026-06-21 15:27: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'), 46821, 'SRID=4674;POINT (-39.719234 -2.840192)', '2026-06-21 15:27:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719138 -2.840086)'), GeomFromEWKT('SRID=4674;POINT (-39.719234 -2.840192)'))) / (select extract(epoch from '2026-06-21 15:27:35'::timestamp) - extract(epoch from '2026-06-21 15:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719138 -2.840086)'), GeomFromEWKT('SRID=4674;POINT (-39.719234 -2.840192)'))) / (select extract(epoch from '2026-06-21 15:27:35'::timestamp) - extract(epoch from '2026-06-21 15:27: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'), 46821, 'SRID=4674;POINT (-39.719301 -2.840285)', '2026-06-21 15:27:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719234 -2.840192)'), GeomFromEWKT('SRID=4674;POINT (-39.719301 -2.840285)'))) / (select extract(epoch from '2026-06-21 15:27:40'::timestamp) - extract(epoch from '2026-06-21 15:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719234 -2.840192)'), GeomFromEWKT('SRID=4674;POINT (-39.719301 -2.840285)'))) / (select extract(epoch from '2026-06-21 15:27:40'::timestamp) - extract(epoch from '2026-06-21 15:27: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'), 46821, 'SRID=4674;POINT (-39.719365 -2.840381)', '2026-06-21 15:27:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719301 -2.840285)'), GeomFromEWKT('SRID=4674;POINT (-39.719365 -2.840381)'))) / (select extract(epoch from '2026-06-21 15:27:45'::timestamp) - extract(epoch from '2026-06-21 15:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719301 -2.840285)'), GeomFromEWKT('SRID=4674;POINT (-39.719365 -2.840381)'))) / (select extract(epoch from '2026-06-21 15:27:45'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.719454 -2.840515)', '2026-06-21 15:27:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719365 -2.840381)'), GeomFromEWKT('SRID=4674;POINT (-39.719454 -2.840515)'))) / (select extract(epoch from '2026-06-21 15:27:52'::timestamp) - extract(epoch from '2026-06-21 15:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719365 -2.840381)'), GeomFromEWKT('SRID=4674;POINT (-39.719454 -2.840515)'))) / (select extract(epoch from '2026-06-21 15:27:52'::timestamp) - extract(epoch from '2026-06-21 15:27: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'), 46821, 'SRID=4674;POINT (-39.719547 -2.840641)', '2026-06-21 15:27:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719454 -2.840515)'), GeomFromEWKT('SRID=4674;POINT (-39.719547 -2.840641)'))) / (select extract(epoch from '2026-06-21 15:27:59'::timestamp) - extract(epoch from '2026-06-21 15:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719454 -2.840515)'), GeomFromEWKT('SRID=4674;POINT (-39.719547 -2.840641)'))) / (select extract(epoch from '2026-06-21 15:27:59'::timestamp) - extract(epoch from '2026-06-21 15:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.719651 -2.840776)', '2026-06-21 15:28:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719547 -2.840641)'), GeomFromEWKT('SRID=4674;POINT (-39.719651 -2.840776)'))) / (select extract(epoch from '2026-06-21 15:28:06'::timestamp) - extract(epoch from '2026-06-21 15:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719547 -2.840641)'), GeomFromEWKT('SRID=4674;POINT (-39.719651 -2.840776)'))) / (select extract(epoch from '2026-06-21 15:28:06'::timestamp) - extract(epoch from '2026-06-21 15:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.719723 -2.840867)', '2026-06-21 15:28:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719651 -2.840776)'), GeomFromEWKT('SRID=4674;POINT (-39.719723 -2.840867)'))) / (select extract(epoch from '2026-06-21 15:28:11'::timestamp) - extract(epoch from '2026-06-21 15:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719651 -2.840776)'), GeomFromEWKT('SRID=4674;POINT (-39.719723 -2.840867)'))) / (select extract(epoch from '2026-06-21 15:28:11'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.719809 -2.840971)', '2026-06-21 15:28:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719723 -2.840867)'), GeomFromEWKT('SRID=4674;POINT (-39.719809 -2.840971)'))) / (select extract(epoch from '2026-06-21 15:28:17'::timestamp) - extract(epoch from '2026-06-21 15:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719723 -2.840867)'), GeomFromEWKT('SRID=4674;POINT (-39.719809 -2.840971)'))) / (select extract(epoch from '2026-06-21 15:28:17'::timestamp) - extract(epoch from '2026-06-21 15:28: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'), 46821, 'SRID=4674;POINT (-39.719885 -2.841052)', '2026-06-21 15:28:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719809 -2.840971)'), GeomFromEWKT('SRID=4674;POINT (-39.719885 -2.841052)'))) / (select extract(epoch from '2026-06-21 15:28:22'::timestamp) - extract(epoch from '2026-06-21 15:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719809 -2.840971)'), GeomFromEWKT('SRID=4674;POINT (-39.719885 -2.841052)'))) / (select extract(epoch from '2026-06-21 15:28:22'::timestamp) - extract(epoch from '2026-06-21 15:28: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'), 46821, 'SRID=4674;POINT (-39.719945 -2.841117)', '2026-06-21 15:28:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719885 -2.841052)'), GeomFromEWKT('SRID=4674;POINT (-39.719945 -2.841117)'))) / (select extract(epoch from '2026-06-21 15:28:26'::timestamp) - extract(epoch from '2026-06-21 15:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719885 -2.841052)'), GeomFromEWKT('SRID=4674;POINT (-39.719945 -2.841117)'))) / (select extract(epoch from '2026-06-21 15:28:26'::timestamp) - extract(epoch from '2026-06-21 15:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.720006 -2.841192)', '2026-06-21 15:28:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719945 -2.841117)'), GeomFromEWKT('SRID=4674;POINT (-39.720006 -2.841192)'))) / (select extract(epoch from '2026-06-21 15:28:31'::timestamp) - extract(epoch from '2026-06-21 15:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.719945 -2.841117)'), GeomFromEWKT('SRID=4674;POINT (-39.720006 -2.841192)'))) / (select extract(epoch from '2026-06-21 15:28:31'::timestamp) - extract(epoch from '2026-06-21 15:28: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'), 46821, 'SRID=4674;POINT (-39.720089 -2.841282)', '2026-06-21 15:28:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720006 -2.841192)'), GeomFromEWKT('SRID=4674;POINT (-39.720089 -2.841282)'))) / (select extract(epoch from '2026-06-21 15:28:37'::timestamp) - extract(epoch from '2026-06-21 15:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720006 -2.841192)'), GeomFromEWKT('SRID=4674;POINT (-39.720089 -2.841282)'))) / (select extract(epoch from '2026-06-21 15:28:37'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.720154 -2.841356)', '2026-06-21 15:28:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720089 -2.841282)'), GeomFromEWKT('SRID=4674;POINT (-39.720154 -2.841356)'))) / (select extract(epoch from '2026-06-21 15:28:42'::timestamp) - extract(epoch from '2026-06-21 15:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720089 -2.841282)'), GeomFromEWKT('SRID=4674;POINT (-39.720154 -2.841356)'))) / (select extract(epoch from '2026-06-21 15:28:42'::timestamp) - extract(epoch from '2026-06-21 15:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.720232 -2.841465)', '2026-06-21 15:28:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720154 -2.841356)'), GeomFromEWKT('SRID=4674;POINT (-39.720232 -2.841465)'))) / (select extract(epoch from '2026-06-21 15:28:48'::timestamp) - extract(epoch from '2026-06-21 15:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720154 -2.841356)'), GeomFromEWKT('SRID=4674;POINT (-39.720232 -2.841465)'))) / (select extract(epoch from '2026-06-21 15:28:48'::timestamp) - extract(epoch from '2026-06-21 15:28: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'), 46821, 'SRID=4674;POINT (-39.72031 -2.841593)', '2026-06-21 15:28:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720232 -2.841465)'), GeomFromEWKT('SRID=4674;POINT (-39.72031 -2.841593)'))) / (select extract(epoch from '2026-06-21 15:28:55'::timestamp) - extract(epoch from '2026-06-21 15:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720232 -2.841465)'), GeomFromEWKT('SRID=4674;POINT (-39.72031 -2.841593)'))) / (select extract(epoch from '2026-06-21 15:28:55'::timestamp) - extract(epoch from '2026-06-21 15:28: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'), 46821, 'SRID=4674;POINT (-39.720361 -2.841666)', '2026-06-21 15:28:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72031 -2.841593)'), GeomFromEWKT('SRID=4674;POINT (-39.720361 -2.841666)'))) / (select extract(epoch from '2026-06-21 15:28:59'::timestamp) - extract(epoch from '2026-06-21 15:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72031 -2.841593)'), GeomFromEWKT('SRID=4674;POINT (-39.720361 -2.841666)'))) / (select extract(epoch from '2026-06-21 15:28:59'::timestamp) - extract(epoch from '2026-06-21 15:28: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'), 46821, 'SRID=4674;POINT (-39.720422 -2.841754)', '2026-06-21 15:29:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720361 -2.841666)'), GeomFromEWKT('SRID=4674;POINT (-39.720422 -2.841754)'))) / (select extract(epoch from '2026-06-21 15:29:04'::timestamp) - extract(epoch from '2026-06-21 15:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720361 -2.841666)'), GeomFromEWKT('SRID=4674;POINT (-39.720422 -2.841754)'))) / (select extract(epoch from '2026-06-21 15:29:04'::timestamp) - extract(epoch from '2026-06-21 15:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.720485 -2.841853)', '2026-06-21 15:29:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720422 -2.841754)'), GeomFromEWKT('SRID=4674;POINT (-39.720485 -2.841853)'))) / (select extract(epoch from '2026-06-21 15:29:09'::timestamp) - extract(epoch from '2026-06-21 15:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720422 -2.841754)'), GeomFromEWKT('SRID=4674;POINT (-39.720485 -2.841853)'))) / (select extract(epoch from '2026-06-21 15:29:09'::timestamp) - extract(epoch from '2026-06-21 15:29: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'), 46821, 'SRID=4674;POINT (-39.720504 -2.841895)', '2026-06-21 15:29:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720485 -2.841853)'), GeomFromEWKT('SRID=4674;POINT (-39.720504 -2.841895)'))) / (select extract(epoch from '2026-06-21 15:29:11'::timestamp) - extract(epoch from '2026-06-21 15:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720485 -2.841853)'), GeomFromEWKT('SRID=4674;POINT (-39.720504 -2.841895)'))) / (select extract(epoch from '2026-06-21 15:29:11'::timestamp) - extract(epoch from '2026-06-21 15:29: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'), 46821, 'SRID=4674;POINT (-39.720534 -2.841932)', '2026-06-21 15:29:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720504 -2.841895)'), GeomFromEWKT('SRID=4674;POINT (-39.720534 -2.841932)'))) / (select extract(epoch from '2026-06-21 15:29:13'::timestamp) - extract(epoch from '2026-06-21 15:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720504 -2.841895)'), GeomFromEWKT('SRID=4674;POINT (-39.720534 -2.841932)'))) / (select extract(epoch from '2026-06-21 15:29:13'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.720611 -2.842055)', '2026-06-21 15:29:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720534 -2.841932)'), GeomFromEWKT('SRID=4674;POINT (-39.720611 -2.842055)'))) / (select extract(epoch from '2026-06-21 15:29:19'::timestamp) - extract(epoch from '2026-06-21 15:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720534 -2.841932)'), GeomFromEWKT('SRID=4674;POINT (-39.720611 -2.842055)'))) / (select extract(epoch from '2026-06-21 15:29:19'::timestamp) - extract(epoch from '2026-06-21 15:29: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'), 46821, 'SRID=4674;POINT (-39.720639 -2.842094)', '2026-06-21 15:29:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720611 -2.842055)'), GeomFromEWKT('SRID=4674;POINT (-39.720639 -2.842094)'))) / (select extract(epoch from '2026-06-21 15:29:21'::timestamp) - extract(epoch from '2026-06-21 15:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720611 -2.842055)'), GeomFromEWKT('SRID=4674;POINT (-39.720639 -2.842094)'))) / (select extract(epoch from '2026-06-21 15:29:21'::timestamp) - extract(epoch from '2026-06-21 15:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.720672 -2.842129)', '2026-06-21 15:29:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720639 -2.842094)'), GeomFromEWKT('SRID=4674;POINT (-39.720672 -2.842129)'))) / (select extract(epoch from '2026-06-21 15:29:23'::timestamp) - extract(epoch from '2026-06-21 15:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720639 -2.842094)'), GeomFromEWKT('SRID=4674;POINT (-39.720672 -2.842129)'))) / (select extract(epoch from '2026-06-21 15:29:23'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.720736 -2.842243)', '2026-06-21 15:29:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720672 -2.842129)'), GeomFromEWKT('SRID=4674;POINT (-39.720736 -2.842243)'))) / (select extract(epoch from '2026-06-21 15:29:28'::timestamp) - extract(epoch from '2026-06-21 15:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720672 -2.842129)'), GeomFromEWKT('SRID=4674;POINT (-39.720736 -2.842243)'))) / (select extract(epoch from '2026-06-21 15:29:28'::timestamp) - extract(epoch from '2026-06-21 15:29: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'), 46821, 'SRID=4674;POINT (-39.720786 -2.842336)', '2026-06-21 15:29:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720736 -2.842243)'), GeomFromEWKT('SRID=4674;POINT (-39.720786 -2.842336)'))) / (select extract(epoch from '2026-06-21 15:29:33'::timestamp) - extract(epoch from '2026-06-21 15:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720736 -2.842243)'), GeomFromEWKT('SRID=4674;POINT (-39.720786 -2.842336)'))) / (select extract(epoch from '2026-06-21 15:29:33'::timestamp) - extract(epoch from '2026-06-21 15:29:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.720872 -2.842453)', '2026-06-21 15:29:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720786 -2.842336)'), GeomFromEWKT('SRID=4674;POINT (-39.720872 -2.842453)'))) / (select extract(epoch from '2026-06-21 15:29:39'::timestamp) - extract(epoch from '2026-06-21 15:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720786 -2.842336)'), GeomFromEWKT('SRID=4674;POINT (-39.720872 -2.842453)'))) / (select extract(epoch from '2026-06-21 15:29:39'::timestamp) - extract(epoch from '2026-06-21 15:29: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'), 46821, 'SRID=4674;POINT (-39.720929 -2.842545)', '2026-06-21 15:29:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720872 -2.842453)'), GeomFromEWKT('SRID=4674;POINT (-39.720929 -2.842545)'))) / (select extract(epoch from '2026-06-21 15:29:44'::timestamp) - extract(epoch from '2026-06-21 15:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720872 -2.842453)'), GeomFromEWKT('SRID=4674;POINT (-39.720929 -2.842545)'))) / (select extract(epoch from '2026-06-21 15:29:44'::timestamp) - extract(epoch from '2026-06-21 15:29: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'), 46821, 'SRID=4674;POINT (-39.720984 -2.842621)', '2026-06-21 15:29:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720929 -2.842545)'), GeomFromEWKT('SRID=4674;POINT (-39.720984 -2.842621)'))) / (select extract(epoch from '2026-06-21 15:29:48'::timestamp) - extract(epoch from '2026-06-21 15:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720929 -2.842545)'), GeomFromEWKT('SRID=4674;POINT (-39.720984 -2.842621)'))) / (select extract(epoch from '2026-06-21 15:29:48'::timestamp) - extract(epoch from '2026-06-21 15:29: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'), 46821, 'SRID=4674;POINT (-39.721043 -2.842713)', '2026-06-21 15:29:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720984 -2.842621)'), GeomFromEWKT('SRID=4674;POINT (-39.721043 -2.842713)'))) / (select extract(epoch from '2026-06-21 15:29:53'::timestamp) - extract(epoch from '2026-06-21 15:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.720984 -2.842621)'), GeomFromEWKT('SRID=4674;POINT (-39.721043 -2.842713)'))) / (select extract(epoch from '2026-06-21 15:29:53'::timestamp) - extract(epoch from '2026-06-21 15:29: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'), 46821, 'SRID=4674;POINT (-39.721105 -2.842795)', '2026-06-21 15:29:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721043 -2.842713)'), GeomFromEWKT('SRID=4674;POINT (-39.721105 -2.842795)'))) / (select extract(epoch from '2026-06-21 15:29:58'::timestamp) - extract(epoch from '2026-06-21 15:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721043 -2.842713)'), GeomFromEWKT('SRID=4674;POINT (-39.721105 -2.842795)'))) / (select extract(epoch from '2026-06-21 15:29:58'::timestamp) - extract(epoch from '2026-06-21 15:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.721173 -2.84288)', '2026-06-21 15:30:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721105 -2.842795)'), GeomFromEWKT('SRID=4674;POINT (-39.721173 -2.84288)'))) / (select extract(epoch from '2026-06-21 15:30:03'::timestamp) - extract(epoch from '2026-06-21 15:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721105 -2.842795)'), GeomFromEWKT('SRID=4674;POINT (-39.721173 -2.84288)'))) / (select extract(epoch from '2026-06-21 15:30:03'::timestamp) - extract(epoch from '2026-06-21 15:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.721218 -2.842948)', '2026-06-21 15:30:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721173 -2.84288)'), GeomFromEWKT('SRID=4674;POINT (-39.721218 -2.842948)'))) / (select extract(epoch from '2026-06-21 15:30:07'::timestamp) - extract(epoch from '2026-06-21 15:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721173 -2.84288)'), GeomFromEWKT('SRID=4674;POINT (-39.721218 -2.842948)'))) / (select extract(epoch from '2026-06-21 15:30:07'::timestamp) - extract(epoch from '2026-06-21 15:30: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'), 46821, 'SRID=4674;POINT (-39.721237 -2.842964)', '2026-06-21 15:30:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721218 -2.842948)'), GeomFromEWKT('SRID=4674;POINT (-39.721237 -2.842964)'))) / (select extract(epoch from '2026-06-21 15:30:08'::timestamp) - extract(epoch from '2026-06-21 15:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721218 -2.842948)'), GeomFromEWKT('SRID=4674;POINT (-39.721237 -2.842964)'))) / (select extract(epoch from '2026-06-21 15:30:08'::timestamp) - extract(epoch from '2026-06-21 15:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.721315 -2.843068)', '2026-06-21 15:30:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721237 -2.842964)'), GeomFromEWKT('SRID=4674;POINT (-39.721315 -2.843068)'))) / (select extract(epoch from '2026-06-21 15:30:14'::timestamp) - extract(epoch from '2026-06-21 15:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721237 -2.842964)'), GeomFromEWKT('SRID=4674;POINT (-39.721315 -2.843068)'))) / (select extract(epoch from '2026-06-21 15:30:14'::timestamp) - extract(epoch from '2026-06-21 15:30: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'), 46821, 'SRID=4674;POINT (-39.721402 -2.84318)', '2026-06-21 15:30:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721315 -2.843068)'), GeomFromEWKT('SRID=4674;POINT (-39.721402 -2.84318)'))) / (select extract(epoch from '2026-06-21 15:30:20'::timestamp) - extract(epoch from '2026-06-21 15:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721315 -2.843068)'), GeomFromEWKT('SRID=4674;POINT (-39.721402 -2.84318)'))) / (select extract(epoch from '2026-06-21 15:30:20'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.721459 -2.843256)', '2026-06-21 15:30:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721402 -2.84318)'), GeomFromEWKT('SRID=4674;POINT (-39.721459 -2.843256)'))) / (select extract(epoch from '2026-06-21 15:30:24'::timestamp) - extract(epoch from '2026-06-21 15:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721402 -2.84318)'), GeomFromEWKT('SRID=4674;POINT (-39.721459 -2.843256)'))) / (select extract(epoch from '2026-06-21 15:30:24'::timestamp) - extract(epoch from '2026-06-21 15:30: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'), 46821, 'SRID=4674;POINT (-39.721534 -2.843368)', '2026-06-21 15:30:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721459 -2.843256)'), GeomFromEWKT('SRID=4674;POINT (-39.721534 -2.843368)'))) / (select extract(epoch from '2026-06-21 15:30:30'::timestamp) - extract(epoch from '2026-06-21 15:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721459 -2.843256)'), GeomFromEWKT('SRID=4674;POINT (-39.721534 -2.843368)'))) / (select extract(epoch from '2026-06-21 15:30:30'::timestamp) - extract(epoch from '2026-06-21 15:30: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'), 46821, 'SRID=4674;POINT (-39.721615 -2.843473)', '2026-06-21 15:30:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721534 -2.843368)'), GeomFromEWKT('SRID=4674;POINT (-39.721615 -2.843473)'))) / (select extract(epoch from '2026-06-21 15:30:36'::timestamp) - extract(epoch from '2026-06-21 15:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721534 -2.843368)'), GeomFromEWKT('SRID=4674;POINT (-39.721615 -2.843473)'))) / (select extract(epoch from '2026-06-21 15:30:36'::timestamp) - extract(epoch from '2026-06-21 15:30: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'), 46821, 'SRID=4674;POINT (-39.721707 -2.843605)', '2026-06-21 15:30:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721615 -2.843473)'), GeomFromEWKT('SRID=4674;POINT (-39.721707 -2.843605)'))) / (select extract(epoch from '2026-06-21 15:30:43'::timestamp) - extract(epoch from '2026-06-21 15:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721615 -2.843473)'), GeomFromEWKT('SRID=4674;POINT (-39.721707 -2.843605)'))) / (select extract(epoch from '2026-06-21 15:30:43'::timestamp) - extract(epoch from '2026-06-21 15:30: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'), 46821, 'SRID=4674;POINT (-39.721796 -2.843722)', '2026-06-21 15:30:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721707 -2.843605)'), GeomFromEWKT('SRID=4674;POINT (-39.721796 -2.843722)'))) / (select extract(epoch from '2026-06-21 15:30:49'::timestamp) - extract(epoch from '2026-06-21 15:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721707 -2.843605)'), GeomFromEWKT('SRID=4674;POINT (-39.721796 -2.843722)'))) / (select extract(epoch from '2026-06-21 15:30:49'::timestamp) - extract(epoch from '2026-06-21 15:30: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'), 46821, 'SRID=4674;POINT (-39.72186 -2.843809)', '2026-06-21 15:30:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721796 -2.843722)'), GeomFromEWKT('SRID=4674;POINT (-39.72186 -2.843809)'))) / (select extract(epoch from '2026-06-21 15:30:54'::timestamp) - extract(epoch from '2026-06-21 15:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721796 -2.843722)'), GeomFromEWKT('SRID=4674;POINT (-39.72186 -2.843809)'))) / (select extract(epoch from '2026-06-21 15:30:54'::timestamp) - extract(epoch from '2026-06-21 15:30: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'), 46821, 'SRID=4674;POINT (-39.721905 -2.843876)', '2026-06-21 15:30:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72186 -2.843809)'), GeomFromEWKT('SRID=4674;POINT (-39.721905 -2.843876)'))) / (select extract(epoch from '2026-06-21 15:30:58'::timestamp) - extract(epoch from '2026-06-21 15:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72186 -2.843809)'), GeomFromEWKT('SRID=4674;POINT (-39.721905 -2.843876)'))) / (select extract(epoch from '2026-06-21 15:30:58'::timestamp) - extract(epoch from '2026-06-21 15:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.722 -2.844008)', '2026-06-21 15:31:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721905 -2.843876)'), GeomFromEWKT('SRID=4674;POINT (-39.722 -2.844008)'))) / (select extract(epoch from '2026-06-21 15:31:05'::timestamp) - extract(epoch from '2026-06-21 15:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.721905 -2.843876)'), GeomFromEWKT('SRID=4674;POINT (-39.722 -2.844008)'))) / (select extract(epoch from '2026-06-21 15:31:05'::timestamp) - extract(epoch from '2026-06-21 15:30: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'), 46821, 'SRID=4674;POINT (-39.722062 -2.844081)', '2026-06-21 15:31:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722 -2.844008)'), GeomFromEWKT('SRID=4674;POINT (-39.722062 -2.844081)'))) / (select extract(epoch from '2026-06-21 15:31:09'::timestamp) - extract(epoch from '2026-06-21 15:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722 -2.844008)'), GeomFromEWKT('SRID=4674;POINT (-39.722062 -2.844081)'))) / (select extract(epoch from '2026-06-21 15:31:09'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.722108 -2.844156)', '2026-06-21 15:31:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722062 -2.844081)'), GeomFromEWKT('SRID=4674;POINT (-39.722108 -2.844156)'))) / (select extract(epoch from '2026-06-21 15:31:13'::timestamp) - extract(epoch from '2026-06-21 15:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722062 -2.844081)'), GeomFromEWKT('SRID=4674;POINT (-39.722108 -2.844156)'))) / (select extract(epoch from '2026-06-21 15:31:13'::timestamp) - extract(epoch from '2026-06-21 15:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.722192 -2.844275)', '2026-06-21 15:31:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722108 -2.844156)'), GeomFromEWKT('SRID=4674;POINT (-39.722192 -2.844275)'))) / (select extract(epoch from '2026-06-21 15:31:19'::timestamp) - extract(epoch from '2026-06-21 15:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722108 -2.844156)'), GeomFromEWKT('SRID=4674;POINT (-39.722192 -2.844275)'))) / (select extract(epoch from '2026-06-21 15:31:19'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.72227 -2.8444)', '2026-06-21 15:31:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722192 -2.844275)'), GeomFromEWKT('SRID=4674;POINT (-39.72227 -2.8444)'))) / (select extract(epoch from '2026-06-21 15:31:25'::timestamp) - extract(epoch from '2026-06-21 15:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722192 -2.844275)'), GeomFromEWKT('SRID=4674;POINT (-39.72227 -2.8444)'))) / (select extract(epoch from '2026-06-21 15:31:25'::timestamp) - extract(epoch from '2026-06-21 15:31: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'), 46821, 'SRID=4674;POINT (-39.722341 -2.844499)', '2026-06-21 15:31:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72227 -2.8444)'), GeomFromEWKT('SRID=4674;POINT (-39.722341 -2.844499)'))) / (select extract(epoch from '2026-06-21 15:31:30'::timestamp) - extract(epoch from '2026-06-21 15:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72227 -2.8444)'), GeomFromEWKT('SRID=4674;POINT (-39.722341 -2.844499)'))) / (select extract(epoch from '2026-06-21 15:31:30'::timestamp) - extract(epoch from '2026-06-21 15:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.722423 -2.844576)', '2026-06-21 15:31:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722341 -2.844499)'), GeomFromEWKT('SRID=4674;POINT (-39.722423 -2.844576)'))) / (select extract(epoch from '2026-06-21 15:31:35'::timestamp) - extract(epoch from '2026-06-21 15:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722341 -2.844499)'), GeomFromEWKT('SRID=4674;POINT (-39.722423 -2.844576)'))) / (select extract(epoch from '2026-06-21 15:31:35'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.722503 -2.844665)', '2026-06-21 15:31:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722423 -2.844576)'), GeomFromEWKT('SRID=4674;POINT (-39.722503 -2.844665)'))) / (select extract(epoch from '2026-06-21 15:31:40'::timestamp) - extract(epoch from '2026-06-21 15:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722423 -2.844576)'), GeomFromEWKT('SRID=4674;POINT (-39.722503 -2.844665)'))) / (select extract(epoch from '2026-06-21 15:31:40'::timestamp) - extract(epoch from '2026-06-21 15:31: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'), 46821, 'SRID=4674;POINT (-39.722582 -2.844769)', '2026-06-21 15:31:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722503 -2.844665)'), GeomFromEWKT('SRID=4674;POINT (-39.722582 -2.844769)'))) / (select extract(epoch from '2026-06-21 15:31:46'::timestamp) - extract(epoch from '2026-06-21 15:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722503 -2.844665)'), GeomFromEWKT('SRID=4674;POINT (-39.722582 -2.844769)'))) / (select extract(epoch from '2026-06-21 15:31:46'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.722651 -2.84487)', '2026-06-21 15:31:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722582 -2.844769)'), GeomFromEWKT('SRID=4674;POINT (-39.722651 -2.84487)'))) / (select extract(epoch from '2026-06-21 15:31:51'::timestamp) - extract(epoch from '2026-06-21 15:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722582 -2.844769)'), GeomFromEWKT('SRID=4674;POINT (-39.722651 -2.84487)'))) / (select extract(epoch from '2026-06-21 15:31:51'::timestamp) - extract(epoch from '2026-06-21 15:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.722726 -2.844961)', '2026-06-21 15:31:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722651 -2.84487)'), GeomFromEWKT('SRID=4674;POINT (-39.722726 -2.844961)'))) / (select extract(epoch from '2026-06-21 15:31:56'::timestamp) - extract(epoch from '2026-06-21 15:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722651 -2.84487)'), GeomFromEWKT('SRID=4674;POINT (-39.722726 -2.844961)'))) / (select extract(epoch from '2026-06-21 15:31:56'::timestamp) - extract(epoch from '2026-06-21 15:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.722812 -2.84508)', '2026-06-21 15:32:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722726 -2.844961)'), GeomFromEWKT('SRID=4674;POINT (-39.722812 -2.84508)'))) / (select extract(epoch from '2026-06-21 15:32:02'::timestamp) - extract(epoch from '2026-06-21 15:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722726 -2.844961)'), GeomFromEWKT('SRID=4674;POINT (-39.722812 -2.84508)'))) / (select extract(epoch from '2026-06-21 15:32:02'::timestamp) - extract(epoch from '2026-06-21 15:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.722907 -2.845218)', '2026-06-21 15:32:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722812 -2.84508)'), GeomFromEWKT('SRID=4674;POINT (-39.722907 -2.845218)'))) / (select extract(epoch from '2026-06-21 15:32:09'::timestamp) - extract(epoch from '2026-06-21 15:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722812 -2.84508)'), GeomFromEWKT('SRID=4674;POINT (-39.722907 -2.845218)'))) / (select extract(epoch from '2026-06-21 15:32:09'::timestamp) - extract(epoch from '2026-06-21 15:32: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'), 46821, 'SRID=4674;POINT (-39.722973 -2.845312)', '2026-06-21 15:32:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722907 -2.845218)'), GeomFromEWKT('SRID=4674;POINT (-39.722973 -2.845312)'))) / (select extract(epoch from '2026-06-21 15:32:14'::timestamp) - extract(epoch from '2026-06-21 15:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722907 -2.845218)'), GeomFromEWKT('SRID=4674;POINT (-39.722973 -2.845312)'))) / (select extract(epoch from '2026-06-21 15:32:14'::timestamp) - extract(epoch from '2026-06-21 15:32: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'), 46821, 'SRID=4674;POINT (-39.723038 -2.845404)', '2026-06-21 15:32:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722973 -2.845312)'), GeomFromEWKT('SRID=4674;POINT (-39.723038 -2.845404)'))) / (select extract(epoch from '2026-06-21 15:32:19'::timestamp) - extract(epoch from '2026-06-21 15:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.722973 -2.845312)'), GeomFromEWKT('SRID=4674;POINT (-39.723038 -2.845404)'))) / (select extract(epoch from '2026-06-21 15:32:19'::timestamp) - extract(epoch from '2026-06-21 15:32: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'), 46821, 'SRID=4674;POINT (-39.723118 -2.845495)', '2026-06-21 15:32:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723038 -2.845404)'), GeomFromEWKT('SRID=4674;POINT (-39.723118 -2.845495)'))) / (select extract(epoch from '2026-06-21 15:32:25'::timestamp) - extract(epoch from '2026-06-21 15:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723038 -2.845404)'), GeomFromEWKT('SRID=4674;POINT (-39.723118 -2.845495)'))) / (select extract(epoch from '2026-06-21 15:32:25'::timestamp) - extract(epoch from '2026-06-21 15:32: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'), 46821, 'SRID=4674;POINT (-39.723189 -2.845587)', '2026-06-21 15:32:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723118 -2.845495)'), GeomFromEWKT('SRID=4674;POINT (-39.723189 -2.845587)'))) / (select extract(epoch from '2026-06-21 15:32:30'::timestamp) - extract(epoch from '2026-06-21 15:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723118 -2.845495)'), GeomFromEWKT('SRID=4674;POINT (-39.723189 -2.845587)'))) / (select extract(epoch from '2026-06-21 15:32:30'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.723204 -2.845602)', '2026-06-21 15:32:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723189 -2.845587)'), GeomFromEWKT('SRID=4674;POINT (-39.723204 -2.845602)'))) / (select extract(epoch from '2026-06-21 15:32:31'::timestamp) - extract(epoch from '2026-06-21 15:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723189 -2.845587)'), GeomFromEWKT('SRID=4674;POINT (-39.723204 -2.845602)'))) / (select extract(epoch from '2026-06-21 15:32:31'::timestamp) - extract(epoch from '2026-06-21 15:32: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'), 46821, 'SRID=4674;POINT (-39.723264 -2.845696)', '2026-06-21 15:32:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723204 -2.845602)'), GeomFromEWKT('SRID=4674;POINT (-39.723264 -2.845696)'))) / (select extract(epoch from '2026-06-21 15:32:36'::timestamp) - extract(epoch from '2026-06-21 15:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723204 -2.845602)'), GeomFromEWKT('SRID=4674;POINT (-39.723264 -2.845696)'))) / (select extract(epoch from '2026-06-21 15:32:36'::timestamp) - extract(epoch from '2026-06-21 15:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.723337 -2.845821)', '2026-06-21 15:32:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723264 -2.845696)'), GeomFromEWKT('SRID=4674;POINT (-39.723337 -2.845821)'))) / (select extract(epoch from '2026-06-21 15:32:42'::timestamp) - extract(epoch from '2026-06-21 15:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723264 -2.845696)'), GeomFromEWKT('SRID=4674;POINT (-39.723337 -2.845821)'))) / (select extract(epoch from '2026-06-21 15:32:42'::timestamp) - extract(epoch from '2026-06-21 15:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.723408 -2.845932)', '2026-06-21 15:32:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723337 -2.845821)'), GeomFromEWKT('SRID=4674;POINT (-39.723408 -2.845932)'))) / (select extract(epoch from '2026-06-21 15:32:48'::timestamp) - extract(epoch from '2026-06-21 15:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723337 -2.845821)'), GeomFromEWKT('SRID=4674;POINT (-39.723408 -2.845932)'))) / (select extract(epoch from '2026-06-21 15:32:48'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.72347 -2.84601)', '2026-06-21 15:32:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723408 -2.845932)'), GeomFromEWKT('SRID=4674;POINT (-39.72347 -2.84601)'))) / (select extract(epoch from '2026-06-21 15:32:52'::timestamp) - extract(epoch from '2026-06-21 15:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723408 -2.845932)'), GeomFromEWKT('SRID=4674;POINT (-39.72347 -2.84601)'))) / (select extract(epoch from '2026-06-21 15:32:52'::timestamp) - extract(epoch from '2026-06-21 15:32: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'), 46821, 'SRID=4674;POINT (-39.723568 -2.846141)', '2026-06-21 15:32:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72347 -2.84601)'), GeomFromEWKT('SRID=4674;POINT (-39.723568 -2.846141)'))) / (select extract(epoch from '2026-06-21 15:32:59'::timestamp) - extract(epoch from '2026-06-21 15:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72347 -2.84601)'), GeomFromEWKT('SRID=4674;POINT (-39.723568 -2.846141)'))) / (select extract(epoch from '2026-06-21 15:32:59'::timestamp) - extract(epoch from '2026-06-21 15:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.723577 -2.846158)', '2026-06-21 15:33:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723568 -2.846141)'), GeomFromEWKT('SRID=4674;POINT (-39.723577 -2.846158)'))) / (select extract(epoch from '2026-06-21 15:33:00'::timestamp) - extract(epoch from '2026-06-21 15:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723568 -2.846141)'), GeomFromEWKT('SRID=4674;POINT (-39.723577 -2.846158)'))) / (select extract(epoch from '2026-06-21 15:33:00'::timestamp) - extract(epoch from '2026-06-21 15:32: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'), 46821, 'SRID=4674;POINT (-39.723625 -2.846214)', '2026-06-21 15:33:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723577 -2.846158)'), GeomFromEWKT('SRID=4674;POINT (-39.723625 -2.846214)'))) / (select extract(epoch from '2026-06-21 15:33:03'::timestamp) - extract(epoch from '2026-06-21 15:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723577 -2.846158)'), GeomFromEWKT('SRID=4674;POINT (-39.723625 -2.846214)'))) / (select extract(epoch from '2026-06-21 15:33:03'::timestamp) - extract(epoch from '2026-06-21 15:33: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'), 46821, 'SRID=4674;POINT (-39.723639 -2.846234)', '2026-06-21 15:33:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723625 -2.846214)'), GeomFromEWKT('SRID=4674;POINT (-39.723639 -2.846234)'))) / (select extract(epoch from '2026-06-21 15:33:04'::timestamp) - extract(epoch from '2026-06-21 15:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723625 -2.846214)'), GeomFromEWKT('SRID=4674;POINT (-39.723639 -2.846234)'))) / (select extract(epoch from '2026-06-21 15:33:04'::timestamp) - extract(epoch from '2026-06-21 15:33: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'), 46821, 'SRID=4674;POINT (-39.723663 -2.846289)', '2026-06-21 15:33:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723639 -2.846234)'), GeomFromEWKT('SRID=4674;POINT (-39.723663 -2.846289)'))) / (select extract(epoch from '2026-06-21 15:33:07'::timestamp) - extract(epoch from '2026-06-21 15:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723639 -2.846234)'), GeomFromEWKT('SRID=4674;POINT (-39.723663 -2.846289)'))) / (select extract(epoch from '2026-06-21 15:33:07'::timestamp) - extract(epoch from '2026-06-21 15:33: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'), 46821, 'SRID=4674;POINT (-39.723754 -2.846439)', '2026-06-21 15:33:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723663 -2.846289)'), GeomFromEWKT('SRID=4674;POINT (-39.723754 -2.846439)'))) / (select extract(epoch from '2026-06-21 15:33:14'::timestamp) - extract(epoch from '2026-06-21 15:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723663 -2.846289)'), GeomFromEWKT('SRID=4674;POINT (-39.723754 -2.846439)'))) / (select extract(epoch from '2026-06-21 15:33:14'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.723834 -2.846587)', '2026-06-21 15:33:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723754 -2.846439)'), GeomFromEWKT('SRID=4674;POINT (-39.723834 -2.846587)'))) / (select extract(epoch from '2026-06-21 15:33:21'::timestamp) - extract(epoch from '2026-06-21 15:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723754 -2.846439)'), GeomFromEWKT('SRID=4674;POINT (-39.723834 -2.846587)'))) / (select extract(epoch from '2026-06-21 15:33:21'::timestamp) - extract(epoch from '2026-06-21 15:33: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'), 46821, 'SRID=4674;POINT (-39.723911 -2.846717)', '2026-06-21 15:33:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723834 -2.846587)'), GeomFromEWKT('SRID=4674;POINT (-39.723911 -2.846717)'))) / (select extract(epoch from '2026-06-21 15:33:27'::timestamp) - extract(epoch from '2026-06-21 15:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723834 -2.846587)'), GeomFromEWKT('SRID=4674;POINT (-39.723911 -2.846717)'))) / (select extract(epoch from '2026-06-21 15:33:27'::timestamp) - extract(epoch from '2026-06-21 15:33: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'), 46821, 'SRID=4674;POINT (-39.723997 -2.84686)', '2026-06-21 15:33:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723911 -2.846717)'), GeomFromEWKT('SRID=4674;POINT (-39.723997 -2.84686)'))) / (select extract(epoch from '2026-06-21 15:33:34'::timestamp) - extract(epoch from '2026-06-21 15:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723911 -2.846717)'), GeomFromEWKT('SRID=4674;POINT (-39.723997 -2.84686)'))) / (select extract(epoch from '2026-06-21 15:33:34'::timestamp) - extract(epoch from '2026-06-21 15:33: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'), 46821, 'SRID=4674;POINT (-39.724075 -2.846964)', '2026-06-21 15:33:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723997 -2.84686)'), GeomFromEWKT('SRID=4674;POINT (-39.724075 -2.846964)'))) / (select extract(epoch from '2026-06-21 15:33:39'::timestamp) - extract(epoch from '2026-06-21 15:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.723997 -2.84686)'), GeomFromEWKT('SRID=4674;POINT (-39.724075 -2.846964)'))) / (select extract(epoch from '2026-06-21 15:33:39'::timestamp) - extract(epoch from '2026-06-21 15:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.724154 -2.847086)', '2026-06-21 15:33:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724075 -2.846964)'), GeomFromEWKT('SRID=4674;POINT (-39.724154 -2.847086)'))) / (select extract(epoch from '2026-06-21 15:33:45'::timestamp) - extract(epoch from '2026-06-21 15:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724075 -2.846964)'), GeomFromEWKT('SRID=4674;POINT (-39.724154 -2.847086)'))) / (select extract(epoch from '2026-06-21 15:33:45'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.724251 -2.847219)', '2026-06-21 15:33:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724154 -2.847086)'), GeomFromEWKT('SRID=4674;POINT (-39.724251 -2.847219)'))) / (select extract(epoch from '2026-06-21 15:33:52'::timestamp) - extract(epoch from '2026-06-21 15:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724154 -2.847086)'), GeomFromEWKT('SRID=4674;POINT (-39.724251 -2.847219)'))) / (select extract(epoch from '2026-06-21 15:33:52'::timestamp) - extract(epoch from '2026-06-21 15:33: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'), 46821, 'SRID=4674;POINT (-39.724357 -2.847326)', '2026-06-21 15:33:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724251 -2.847219)'), GeomFromEWKT('SRID=4674;POINT (-39.724357 -2.847326)'))) / (select extract(epoch from '2026-06-21 15:33:58'::timestamp) - extract(epoch from '2026-06-21 15:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724251 -2.847219)'), GeomFromEWKT('SRID=4674;POINT (-39.724357 -2.847326)'))) / (select extract(epoch from '2026-06-21 15:33:58'::timestamp) - extract(epoch from '2026-06-21 15:33:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.724446 -2.847425)', '2026-06-21 15:34:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724357 -2.847326)'), GeomFromEWKT('SRID=4674;POINT (-39.724446 -2.847425)'))) / (select extract(epoch from '2026-06-21 15:34:04'::timestamp) - extract(epoch from '2026-06-21 15:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724357 -2.847326)'), GeomFromEWKT('SRID=4674;POINT (-39.724446 -2.847425)'))) / (select extract(epoch from '2026-06-21 15:34:04'::timestamp) - extract(epoch from '2026-06-21 15:33: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'), 46821, 'SRID=4674;POINT (-39.724542 -2.847536)', '2026-06-21 15:34:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724446 -2.847425)'), GeomFromEWKT('SRID=4674;POINT (-39.724542 -2.847536)'))) / (select extract(epoch from '2026-06-21 15:34:10'::timestamp) - extract(epoch from '2026-06-21 15:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724446 -2.847425)'), GeomFromEWKT('SRID=4674;POINT (-39.724542 -2.847536)'))) / (select extract(epoch from '2026-06-21 15:34:10'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.724563 -2.847574)', '2026-06-21 15:34:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724542 -2.847536)'), GeomFromEWKT('SRID=4674;POINT (-39.724563 -2.847574)'))) / (select extract(epoch from '2026-06-21 15:34:12'::timestamp) - extract(epoch from '2026-06-21 15:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724542 -2.847536)'), GeomFromEWKT('SRID=4674;POINT (-39.724563 -2.847574)'))) / (select extract(epoch from '2026-06-21 15:34:12'::timestamp) - extract(epoch from '2026-06-21 15:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.724602 -2.847613)', '2026-06-21 15:34:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724563 -2.847574)'), GeomFromEWKT('SRID=4674;POINT (-39.724602 -2.847613)'))) / (select extract(epoch from '2026-06-21 15:34:14'::timestamp) - extract(epoch from '2026-06-21 15:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724563 -2.847574)'), GeomFromEWKT('SRID=4674;POINT (-39.724602 -2.847613)'))) / (select extract(epoch from '2026-06-21 15:34:14'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.724671 -2.847703)', '2026-06-21 15:34:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724602 -2.847613)'), GeomFromEWKT('SRID=4674;POINT (-39.724671 -2.847703)'))) / (select extract(epoch from '2026-06-21 15:34:19'::timestamp) - extract(epoch from '2026-06-21 15:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724602 -2.847613)'), GeomFromEWKT('SRID=4674;POINT (-39.724671 -2.847703)'))) / (select extract(epoch from '2026-06-21 15:34:19'::timestamp) - extract(epoch from '2026-06-21 15:34: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'), 46821, 'SRID=4674;POINT (-39.724723 -2.847758)', '2026-06-21 15:34:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724671 -2.847703)'), GeomFromEWKT('SRID=4674;POINT (-39.724723 -2.847758)'))) / (select extract(epoch from '2026-06-21 15:34:22'::timestamp) - extract(epoch from '2026-06-21 15:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724671 -2.847703)'), GeomFromEWKT('SRID=4674;POINT (-39.724723 -2.847758)'))) / (select extract(epoch from '2026-06-21 15:34:22'::timestamp) - extract(epoch from '2026-06-21 15:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.724729 -2.847772)', '2026-06-21 15:34:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724723 -2.847758)'), GeomFromEWKT('SRID=4674;POINT (-39.724729 -2.847772)'))) / (select extract(epoch from '2026-06-21 15:34:23'::timestamp) - extract(epoch from '2026-06-21 15:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724723 -2.847758)'), GeomFromEWKT('SRID=4674;POINT (-39.724729 -2.847772)'))) / (select extract(epoch from '2026-06-21 15:34:23'::timestamp) - extract(epoch from '2026-06-21 15:34: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'), 46821, 'SRID=4674;POINT (-39.724799 -2.84785)', '2026-06-21 15:34:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724729 -2.847772)'), GeomFromEWKT('SRID=4674;POINT (-39.724799 -2.84785)'))) / (select extract(epoch from '2026-06-21 15:34:28'::timestamp) - extract(epoch from '2026-06-21 15:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724729 -2.847772)'), GeomFromEWKT('SRID=4674;POINT (-39.724799 -2.84785)'))) / (select extract(epoch from '2026-06-21 15:34:28'::timestamp) - extract(epoch from '2026-06-21 15:34: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'), 46821, 'SRID=4674;POINT (-39.724822 -2.847888)', '2026-06-21 15:34:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724799 -2.84785)'), GeomFromEWKT('SRID=4674;POINT (-39.724822 -2.847888)'))) / (select extract(epoch from '2026-06-21 15:34:30'::timestamp) - extract(epoch from '2026-06-21 15:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724799 -2.84785)'), GeomFromEWKT('SRID=4674;POINT (-39.724822 -2.847888)'))) / (select extract(epoch from '2026-06-21 15:34:30'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.724862 -2.847927)', '2026-06-21 15:34:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724822 -2.847888)'), GeomFromEWKT('SRID=4674;POINT (-39.724862 -2.847927)'))) / (select extract(epoch from '2026-06-21 15:34:32'::timestamp) - extract(epoch from '2026-06-21 15:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724822 -2.847888)'), GeomFromEWKT('SRID=4674;POINT (-39.724862 -2.847927)'))) / (select extract(epoch from '2026-06-21 15:34:32'::timestamp) - extract(epoch from '2026-06-21 15:34: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'), 46821, 'SRID=4674;POINT (-39.724956 -2.84804)', '2026-06-21 15:34:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724862 -2.847927)'), GeomFromEWKT('SRID=4674;POINT (-39.724956 -2.84804)'))) / (select extract(epoch from '2026-06-21 15:34:38'::timestamp) - extract(epoch from '2026-06-21 15:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724862 -2.847927)'), GeomFromEWKT('SRID=4674;POINT (-39.724956 -2.84804)'))) / (select extract(epoch from '2026-06-21 15:34:38'::timestamp) - extract(epoch from '2026-06-21 15:34: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'), 46821, 'SRID=4674;POINT (-39.725044 -2.848162)', '2026-06-21 15:34:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724956 -2.84804)'), GeomFromEWKT('SRID=4674;POINT (-39.725044 -2.848162)'))) / (select extract(epoch from '2026-06-21 15:34:44'::timestamp) - extract(epoch from '2026-06-21 15:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.724956 -2.84804)'), GeomFromEWKT('SRID=4674;POINT (-39.725044 -2.848162)'))) / (select extract(epoch from '2026-06-21 15:34:44'::timestamp) - extract(epoch from '2026-06-21 15:34: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'), 46821, 'SRID=4674;POINT (-39.725088 -2.848232)', '2026-06-21 15:34:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725044 -2.848162)'), GeomFromEWKT('SRID=4674;POINT (-39.725088 -2.848232)'))) / (select extract(epoch from '2026-06-21 15:34:48'::timestamp) - extract(epoch from '2026-06-21 15:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725044 -2.848162)'), GeomFromEWKT('SRID=4674;POINT (-39.725088 -2.848232)'))) / (select extract(epoch from '2026-06-21 15:34:48'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.725148 -2.848328)', '2026-06-21 15:34:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725088 -2.848232)'), GeomFromEWKT('SRID=4674;POINT (-39.725148 -2.848328)'))) / (select extract(epoch from '2026-06-21 15:34:52'::timestamp) - extract(epoch from '2026-06-21 15:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725088 -2.848232)'), GeomFromEWKT('SRID=4674;POINT (-39.725148 -2.848328)'))) / (select extract(epoch from '2026-06-21 15:34:52'::timestamp) - extract(epoch from '2026-06-21 15:34: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'), 46821, 'SRID=4674;POINT (-39.725218 -2.848431)', '2026-06-21 15:34:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725148 -2.848328)'), GeomFromEWKT('SRID=4674;POINT (-39.725218 -2.848431)'))) / (select extract(epoch from '2026-06-21 15:34:57'::timestamp) - extract(epoch from '2026-06-21 15:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725148 -2.848328)'), GeomFromEWKT('SRID=4674;POINT (-39.725218 -2.848431)'))) / (select extract(epoch from '2026-06-21 15:34:57'::timestamp) - extract(epoch from '2026-06-21 15:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.725268 -2.848492)', '2026-06-21 15:35:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725218 -2.848431)'), GeomFromEWKT('SRID=4674;POINT (-39.725268 -2.848492)'))) / (select extract(epoch from '2026-06-21 15:35:01'::timestamp) - extract(epoch from '2026-06-21 15:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725218 -2.848431)'), GeomFromEWKT('SRID=4674;POINT (-39.725268 -2.848492)'))) / (select extract(epoch from '2026-06-21 15:35:01'::timestamp) - extract(epoch from '2026-06-21 15:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.725337 -2.848557)', '2026-06-21 15:35:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725268 -2.848492)'), GeomFromEWKT('SRID=4674;POINT (-39.725337 -2.848557)'))) / (select extract(epoch from '2026-06-21 15:35:05'::timestamp) - extract(epoch from '2026-06-21 15:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725268 -2.848492)'), GeomFromEWKT('SRID=4674;POINT (-39.725337 -2.848557)'))) / (select extract(epoch from '2026-06-21 15:35:05'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46821, 'SRID=4674;POINT (-39.725403 -2.848649)', '2026-06-21 15:35:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725337 -2.848557)'), GeomFromEWKT('SRID=4674;POINT (-39.725403 -2.848649)'))) / (select extract(epoch from '2026-06-21 15:35:10'::timestamp) - extract(epoch from '2026-06-21 15:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725337 -2.848557)'), GeomFromEWKT('SRID=4674;POINT (-39.725403 -2.848649)'))) / (select extract(epoch from '2026-06-21 15:35:10'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46821, 'SRID=4674;POINT (-39.725467 -2.84874)', '2026-06-21 15:35:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725403 -2.848649)'), GeomFromEWKT('SRID=4674;POINT (-39.725467 -2.84874)'))) / (select extract(epoch from '2026-06-21 15:35:15'::timestamp) - extract(epoch from '2026-06-21 15:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725403 -2.848649)'), GeomFromEWKT('SRID=4674;POINT (-39.725467 -2.84874)'))) / (select extract(epoch from '2026-06-21 15:35:15'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46821, 'SRID=4674;POINT (-39.725527 -2.848831)', '2026-06-21 15:35:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725467 -2.84874)'), GeomFromEWKT('SRID=4674;POINT (-39.725527 -2.848831)'))) / (select extract(epoch from '2026-06-21 15:35:20'::timestamp) - extract(epoch from '2026-06-21 15:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725467 -2.84874)'), GeomFromEWKT('SRID=4674;POINT (-39.725527 -2.848831)'))) / (select extract(epoch from '2026-06-21 15:35:20'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46821, 'SRID=4674;POINT (-39.725547 -2.84885)', '2026-06-21 15:35:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725527 -2.848831)'), GeomFromEWKT('SRID=4674;POINT (-39.725547 -2.84885)'))) / (select extract(epoch from '2026-06-21 15:35:21'::timestamp) - extract(epoch from '2026-06-21 15:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725527 -2.848831)'), GeomFromEWKT('SRID=4674;POINT (-39.725547 -2.84885)'))) / (select extract(epoch from '2026-06-21 15:35:21'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.725604 -2.848933)', '2026-06-21 15:35:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725547 -2.84885)'), GeomFromEWKT('SRID=4674;POINT (-39.725604 -2.848933)'))) / (select extract(epoch from '2026-06-21 15:35:25'::timestamp) - extract(epoch from '2026-06-21 15:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725547 -2.84885)'), GeomFromEWKT('SRID=4674;POINT (-39.725604 -2.848933)'))) / (select extract(epoch from '2026-06-21 15:35:25'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46821, 'SRID=4674;POINT (-39.725685 -2.849028)', '2026-06-21 15:35:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725604 -2.848933)'), GeomFromEWKT('SRID=4674;POINT (-39.725685 -2.849028)'))) / (select extract(epoch from '2026-06-21 15:35:30'::timestamp) - extract(epoch from '2026-06-21 15:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725604 -2.848933)'), GeomFromEWKT('SRID=4674;POINT (-39.725685 -2.849028)'))) / (select extract(epoch from '2026-06-21 15:35:30'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46821, 'SRID=4674;POINT (-39.725751 -2.849114)', '2026-06-21 15:35:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725685 -2.849028)'), GeomFromEWKT('SRID=4674;POINT (-39.725751 -2.849114)'))) / (select extract(epoch from '2026-06-21 15:35:34'::timestamp) - extract(epoch from '2026-06-21 15:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725685 -2.849028)'), GeomFromEWKT('SRID=4674;POINT (-39.725751 -2.849114)'))) / (select extract(epoch from '2026-06-21 15:35:34'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.725834 -2.849236)', '2026-06-21 15:35:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725751 -2.849114)'), GeomFromEWKT('SRID=4674;POINT (-39.725834 -2.849236)'))) / (select extract(epoch from '2026-06-21 15:35:40'::timestamp) - extract(epoch from '2026-06-21 15:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725751 -2.849114)'), GeomFromEWKT('SRID=4674;POINT (-39.725834 -2.849236)'))) / (select extract(epoch from '2026-06-21 15:35:40'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46821, 'SRID=4674;POINT (-39.725953 -2.849386)', '2026-06-21 15:35:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725834 -2.849236)'), GeomFromEWKT('SRID=4674;POINT (-39.725953 -2.849386)'))) / (select extract(epoch from '2026-06-21 15:35:48'::timestamp) - extract(epoch from '2026-06-21 15:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725834 -2.849236)'), GeomFromEWKT('SRID=4674;POINT (-39.725953 -2.849386)'))) / (select extract(epoch from '2026-06-21 15:35:48'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46821, 'SRID=4674;POINT (-39.726041 -2.849497)', '2026-06-21 15:35:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725953 -2.849386)'), GeomFromEWKT('SRID=4674;POINT (-39.726041 -2.849497)'))) / (select extract(epoch from '2026-06-21 15:35:54'::timestamp) - extract(epoch from '2026-06-21 15:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.725953 -2.849386)'), GeomFromEWKT('SRID=4674;POINT (-39.726041 -2.849497)'))) / (select extract(epoch from '2026-06-21 15:35:54'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46821, 'SRID=4674;POINT (-39.726105 -2.849602)', '2026-06-21 15:35:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726041 -2.849497)'), GeomFromEWKT('SRID=4674;POINT (-39.726105 -2.849602)'))) / (select extract(epoch from '2026-06-21 15:35:59'::timestamp) - extract(epoch from '2026-06-21 15:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726041 -2.849497)'), GeomFromEWKT('SRID=4674;POINT (-39.726105 -2.849602)'))) / (select extract(epoch from '2026-06-21 15:35:59'::timestamp) - extract(epoch from '2026-06-21 15:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.72617 -2.849686)', '2026-06-21 15:36:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726105 -2.849602)'), GeomFromEWKT('SRID=4674;POINT (-39.72617 -2.849686)'))) / (select extract(epoch from '2026-06-21 15:36:03'::timestamp) - extract(epoch from '2026-06-21 15:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726105 -2.849602)'), GeomFromEWKT('SRID=4674;POINT (-39.72617 -2.849686)'))) / (select extract(epoch from '2026-06-21 15:36:03'::timestamp) - extract(epoch from '2026-06-21 15:35: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'), 46821, 'SRID=4674;POINT (-39.726266 -2.849801)', '2026-06-21 15:36:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72617 -2.849686)'), GeomFromEWKT('SRID=4674;POINT (-39.726266 -2.849801)'))) / (select extract(epoch from '2026-06-21 15:36:09'::timestamp) - extract(epoch from '2026-06-21 15:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72617 -2.849686)'), GeomFromEWKT('SRID=4674;POINT (-39.726266 -2.849801)'))) / (select extract(epoch from '2026-06-21 15:36:09'::timestamp) - extract(epoch from '2026-06-21 15:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.726392 -2.849932)', '2026-06-21 15:36:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726266 -2.849801)'), GeomFromEWKT('SRID=4674;POINT (-39.726392 -2.849932)'))) / (select extract(epoch from '2026-06-21 15:36:17'::timestamp) - extract(epoch from '2026-06-21 15:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726266 -2.849801)'), GeomFromEWKT('SRID=4674;POINT (-39.726392 -2.849932)'))) / (select extract(epoch from '2026-06-21 15:36:17'::timestamp) - extract(epoch from '2026-06-21 15:36: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'), 46821, 'SRID=4674;POINT (-39.726486 -2.850025)', '2026-06-21 15:36:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726392 -2.849932)'), GeomFromEWKT('SRID=4674;POINT (-39.726486 -2.850025)'))) / (select extract(epoch from '2026-06-21 15:36:22'::timestamp) - extract(epoch from '2026-06-21 15:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726392 -2.849932)'), GeomFromEWKT('SRID=4674;POINT (-39.726486 -2.850025)'))) / (select extract(epoch from '2026-06-21 15:36:22'::timestamp) - extract(epoch from '2026-06-21 15:36:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.726556 -2.850127)', '2026-06-21 15:36:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726486 -2.850025)'), GeomFromEWKT('SRID=4674;POINT (-39.726556 -2.850127)'))) / (select extract(epoch from '2026-06-21 15:36:28'::timestamp) - extract(epoch from '2026-06-21 15:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726486 -2.850025)'), GeomFromEWKT('SRID=4674;POINT (-39.726556 -2.850127)'))) / (select extract(epoch from '2026-06-21 15:36:28'::timestamp) - extract(epoch from '2026-06-21 15:36:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.726636 -2.850233)', '2026-06-21 15:36:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726556 -2.850127)'), GeomFromEWKT('SRID=4674;POINT (-39.726636 -2.850233)'))) / (select extract(epoch from '2026-06-21 15:36:34'::timestamp) - extract(epoch from '2026-06-21 15:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726556 -2.850127)'), GeomFromEWKT('SRID=4674;POINT (-39.726636 -2.850233)'))) / (select extract(epoch from '2026-06-21 15:36:34'::timestamp) - extract(epoch from '2026-06-21 15:36: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'), 46821, 'SRID=4674;POINT (-39.726721 -2.850333)', '2026-06-21 15:36:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726636 -2.850233)'), GeomFromEWKT('SRID=4674;POINT (-39.726721 -2.850333)'))) / (select extract(epoch from '2026-06-21 15:36:40'::timestamp) - extract(epoch from '2026-06-21 15:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726636 -2.850233)'), GeomFromEWKT('SRID=4674;POINT (-39.726721 -2.850333)'))) / (select extract(epoch from '2026-06-21 15:36:40'::timestamp) - extract(epoch from '2026-06-21 15:36: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'), 46821, 'SRID=4674;POINT (-39.72681 -2.850433)', '2026-06-21 15:36:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726721 -2.850333)'), GeomFromEWKT('SRID=4674;POINT (-39.72681 -2.850433)'))) / (select extract(epoch from '2026-06-21 15:36:46'::timestamp) - extract(epoch from '2026-06-21 15:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726721 -2.850333)'), GeomFromEWKT('SRID=4674;POINT (-39.72681 -2.850433)'))) / (select extract(epoch from '2026-06-21 15:36:46'::timestamp) - extract(epoch from '2026-06-21 15:36: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'), 46821, 'SRID=4674;POINT (-39.726871 -2.850517)', '2026-06-21 15:36:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72681 -2.850433)'), GeomFromEWKT('SRID=4674;POINT (-39.726871 -2.850517)'))) / (select extract(epoch from '2026-06-21 15:36:51'::timestamp) - extract(epoch from '2026-06-21 15:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72681 -2.850433)'), GeomFromEWKT('SRID=4674;POINT (-39.726871 -2.850517)'))) / (select extract(epoch from '2026-06-21 15:36:51'::timestamp) - extract(epoch from '2026-06-21 15:36: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'), 46821, 'SRID=4674;POINT (-39.726984 -2.850661)', '2026-06-21 15:36:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726871 -2.850517)'), GeomFromEWKT('SRID=4674;POINT (-39.726984 -2.850661)'))) / (select extract(epoch from '2026-06-21 15:36:59'::timestamp) - extract(epoch from '2026-06-21 15:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726871 -2.850517)'), GeomFromEWKT('SRID=4674;POINT (-39.726984 -2.850661)'))) / (select extract(epoch from '2026-06-21 15:36:59'::timestamp) - extract(epoch from '2026-06-21 15:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.727064 -2.850766)', '2026-06-21 15:37:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726984 -2.850661)'), GeomFromEWKT('SRID=4674;POINT (-39.727064 -2.850766)'))) / (select extract(epoch from '2026-06-21 15:37:05'::timestamp) - extract(epoch from '2026-06-21 15:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.726984 -2.850661)'), GeomFromEWKT('SRID=4674;POINT (-39.727064 -2.850766)'))) / (select extract(epoch from '2026-06-21 15:37:05'::timestamp) - extract(epoch from '2026-06-21 15:36: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'), 46821, 'SRID=4674;POINT (-39.727155 -2.850883)', '2026-06-21 15:37:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727064 -2.850766)'), GeomFromEWKT('SRID=4674;POINT (-39.727155 -2.850883)'))) / (select extract(epoch from '2026-06-21 15:37:11'::timestamp) - extract(epoch from '2026-06-21 15:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727064 -2.850766)'), GeomFromEWKT('SRID=4674;POINT (-39.727155 -2.850883)'))) / (select extract(epoch from '2026-06-21 15:37:11'::timestamp) - extract(epoch from '2026-06-21 15:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.727243 -2.850993)', '2026-06-21 15:37:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727155 -2.850883)'), GeomFromEWKT('SRID=4674;POINT (-39.727243 -2.850993)'))) / (select extract(epoch from '2026-06-21 15:37:17'::timestamp) - extract(epoch from '2026-06-21 15:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727155 -2.850883)'), GeomFromEWKT('SRID=4674;POINT (-39.727243 -2.850993)'))) / (select extract(epoch from '2026-06-21 15:37:17'::timestamp) - extract(epoch from '2026-06-21 15:37: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'), 46821, 'SRID=4674;POINT (-39.727321 -2.851091)', '2026-06-21 15:37:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727243 -2.850993)'), GeomFromEWKT('SRID=4674;POINT (-39.727321 -2.851091)'))) / (select extract(epoch from '2026-06-21 15:37:22'::timestamp) - extract(epoch from '2026-06-21 15:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727243 -2.850993)'), GeomFromEWKT('SRID=4674;POINT (-39.727321 -2.851091)'))) / (select extract(epoch from '2026-06-21 15:37:22'::timestamp) - extract(epoch from '2026-06-21 15:37: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'), 46821, 'SRID=4674;POINT (-39.727387 -2.851184)', '2026-06-21 15:37:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727321 -2.851091)'), GeomFromEWKT('SRID=4674;POINT (-39.727387 -2.851184)'))) / (select extract(epoch from '2026-06-21 15:37:27'::timestamp) - extract(epoch from '2026-06-21 15:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727321 -2.851091)'), GeomFromEWKT('SRID=4674;POINT (-39.727387 -2.851184)'))) / (select extract(epoch from '2026-06-21 15:37:27'::timestamp) - extract(epoch from '2026-06-21 15:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.727482 -2.851314)', '2026-06-21 15:37:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727387 -2.851184)'), GeomFromEWKT('SRID=4674;POINT (-39.727482 -2.851314)'))) / (select extract(epoch from '2026-06-21 15:37:34'::timestamp) - extract(epoch from '2026-06-21 15:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727387 -2.851184)'), GeomFromEWKT('SRID=4674;POINT (-39.727482 -2.851314)'))) / (select extract(epoch from '2026-06-21 15:37:34'::timestamp) - extract(epoch from '2026-06-21 15:37: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'), 46821, 'SRID=4674;POINT (-39.727573 -2.851444)', '2026-06-21 15:37:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727482 -2.851314)'), GeomFromEWKT('SRID=4674;POINT (-39.727573 -2.851444)'))) / (select extract(epoch from '2026-06-21 15:37:41'::timestamp) - extract(epoch from '2026-06-21 15:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727482 -2.851314)'), GeomFromEWKT('SRID=4674;POINT (-39.727573 -2.851444)'))) / (select extract(epoch from '2026-06-21 15:37:41'::timestamp) - extract(epoch from '2026-06-21 15:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.727641 -2.851553)', '2026-06-21 15:37:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727573 -2.851444)'), GeomFromEWKT('SRID=4674;POINT (-39.727641 -2.851553)'))) / (select extract(epoch from '2026-06-21 15:37:47'::timestamp) - extract(epoch from '2026-06-21 15:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727573 -2.851444)'), GeomFromEWKT('SRID=4674;POINT (-39.727641 -2.851553)'))) / (select extract(epoch from '2026-06-21 15:37:47'::timestamp) - extract(epoch from '2026-06-21 15:37: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'), 46821, 'SRID=4674;POINT (-39.727714 -2.851665)', '2026-06-21 15:37:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727641 -2.851553)'), GeomFromEWKT('SRID=4674;POINT (-39.727714 -2.851665)'))) / (select extract(epoch from '2026-06-21 15:37:53'::timestamp) - extract(epoch from '2026-06-21 15:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727641 -2.851553)'), GeomFromEWKT('SRID=4674;POINT (-39.727714 -2.851665)'))) / (select extract(epoch from '2026-06-21 15:37:53'::timestamp) - extract(epoch from '2026-06-21 15:37: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'), 46821, 'SRID=4674;POINT (-39.727786 -2.851771)', '2026-06-21 15:37:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727714 -2.851665)'), GeomFromEWKT('SRID=4674;POINT (-39.727786 -2.851771)'))) / (select extract(epoch from '2026-06-21 15:37:59'::timestamp) - extract(epoch from '2026-06-21 15:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727714 -2.851665)'), GeomFromEWKT('SRID=4674;POINT (-39.727786 -2.851771)'))) / (select extract(epoch from '2026-06-21 15:37:59'::timestamp) - extract(epoch from '2026-06-21 15:37: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'), 46821, 'SRID=4674;POINT (-39.727848 -2.85186)', '2026-06-21 15:38:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727786 -2.851771)'), GeomFromEWKT('SRID=4674;POINT (-39.727848 -2.85186)'))) / (select extract(epoch from '2026-06-21 15:38:04'::timestamp) - extract(epoch from '2026-06-21 15:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727786 -2.851771)'), GeomFromEWKT('SRID=4674;POINT (-39.727848 -2.85186)'))) / (select extract(epoch from '2026-06-21 15:38:04'::timestamp) - extract(epoch from '2026-06-21 15:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.727905 -2.851939)', '2026-06-21 15:38:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727848 -2.85186)'), GeomFromEWKT('SRID=4674;POINT (-39.727905 -2.851939)'))) / (select extract(epoch from '2026-06-21 15:38:08'::timestamp) - extract(epoch from '2026-06-21 15:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727848 -2.85186)'), GeomFromEWKT('SRID=4674;POINT (-39.727905 -2.851939)'))) / (select extract(epoch from '2026-06-21 15:38:08'::timestamp) - extract(epoch from '2026-06-21 15:38: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'), 46821, 'SRID=4674;POINT (-39.72797 -2.852032)', '2026-06-21 15:38:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727905 -2.851939)'), GeomFromEWKT('SRID=4674;POINT (-39.72797 -2.852032)'))) / (select extract(epoch from '2026-06-21 15:38:13'::timestamp) - extract(epoch from '2026-06-21 15:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.727905 -2.851939)'), GeomFromEWKT('SRID=4674;POINT (-39.72797 -2.852032)'))) / (select extract(epoch from '2026-06-21 15:38:13'::timestamp) - extract(epoch from '2026-06-21 15:38: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'), 46821, 'SRID=4674;POINT (-39.728015 -2.852105)', '2026-06-21 15:38:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72797 -2.852032)'), GeomFromEWKT('SRID=4674;POINT (-39.728015 -2.852105)'))) / (select extract(epoch from '2026-06-21 15:38:17'::timestamp) - extract(epoch from '2026-06-21 15:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72797 -2.852032)'), GeomFromEWKT('SRID=4674;POINT (-39.728015 -2.852105)'))) / (select extract(epoch from '2026-06-21 15:38:17'::timestamp) - extract(epoch from '2026-06-21 15:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.728085 -2.85219)', '2026-06-21 15:38:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728015 -2.852105)'), GeomFromEWKT('SRID=4674;POINT (-39.728085 -2.85219)'))) / (select extract(epoch from '2026-06-21 15:38:22'::timestamp) - extract(epoch from '2026-06-21 15:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728015 -2.852105)'), GeomFromEWKT('SRID=4674;POINT (-39.728085 -2.85219)'))) / (select extract(epoch from '2026-06-21 15:38:22'::timestamp) - extract(epoch from '2026-06-21 15:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.728157 -2.852301)', '2026-06-21 15:38:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728085 -2.85219)'), GeomFromEWKT('SRID=4674;POINT (-39.728157 -2.852301)'))) / (select extract(epoch from '2026-06-21 15:38:28'::timestamp) - extract(epoch from '2026-06-21 15:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728085 -2.85219)'), GeomFromEWKT('SRID=4674;POINT (-39.728157 -2.852301)'))) / (select extract(epoch from '2026-06-21 15:38:28'::timestamp) - extract(epoch from '2026-06-21 15:38: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'), 46821, 'SRID=4674;POINT (-39.728219 -2.852393)', '2026-06-21 15:38:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728157 -2.852301)'), GeomFromEWKT('SRID=4674;POINT (-39.728219 -2.852393)'))) / (select extract(epoch from '2026-06-21 15:38:32'::timestamp) - extract(epoch from '2026-06-21 15:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728157 -2.852301)'), GeomFromEWKT('SRID=4674;POINT (-39.728219 -2.852393)'))) / (select extract(epoch from '2026-06-21 15:38:32'::timestamp) - extract(epoch from '2026-06-21 15:38: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'), 46821, 'SRID=4674;POINT (-39.728304 -2.852497)', '2026-06-21 15:38:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728219 -2.852393)'), GeomFromEWKT('SRID=4674;POINT (-39.728304 -2.852497)'))) / (select extract(epoch from '2026-06-21 15:38:38'::timestamp) - extract(epoch from '2026-06-21 15:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728219 -2.852393)'), GeomFromEWKT('SRID=4674;POINT (-39.728304 -2.852497)'))) / (select extract(epoch from '2026-06-21 15:38:38'::timestamp) - extract(epoch from '2026-06-21 15:38: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'), 46821, 'SRID=4674;POINT (-39.728418 -2.852638)', '2026-06-21 15:38:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728304 -2.852497)'), GeomFromEWKT('SRID=4674;POINT (-39.728418 -2.852638)'))) / (select extract(epoch from '2026-06-21 15:38:45'::timestamp) - extract(epoch from '2026-06-21 15:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728304 -2.852497)'), GeomFromEWKT('SRID=4674;POINT (-39.728418 -2.852638)'))) / (select extract(epoch from '2026-06-21 15:38:45'::timestamp) - extract(epoch from '2026-06-21 15:38: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'), 46821, 'SRID=4674;POINT (-39.728514 -2.85277)', '2026-06-21 15:38:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728418 -2.852638)'), GeomFromEWKT('SRID=4674;POINT (-39.728514 -2.85277)'))) / (select extract(epoch from '2026-06-21 15:38:52'::timestamp) - extract(epoch from '2026-06-21 15:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728418 -2.852638)'), GeomFromEWKT('SRID=4674;POINT (-39.728514 -2.85277)'))) / (select extract(epoch from '2026-06-21 15:38:52'::timestamp) - extract(epoch from '2026-06-21 15:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.728605 -2.852907)', '2026-06-21 15:38:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728514 -2.85277)'), GeomFromEWKT('SRID=4674;POINT (-39.728605 -2.852907)'))) / (select extract(epoch from '2026-06-21 15:38:59'::timestamp) - extract(epoch from '2026-06-21 15:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728514 -2.85277)'), GeomFromEWKT('SRID=4674;POINT (-39.728605 -2.852907)'))) / (select extract(epoch from '2026-06-21 15:38:59'::timestamp) - extract(epoch from '2026-06-21 15:38: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'), 46821, 'SRID=4674;POINT (-39.728683 -2.853021)', '2026-06-21 15:39:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728605 -2.852907)'), GeomFromEWKT('SRID=4674;POINT (-39.728683 -2.853021)'))) / (select extract(epoch from '2026-06-21 15:39:05'::timestamp) - extract(epoch from '2026-06-21 15:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728605 -2.852907)'), GeomFromEWKT('SRID=4674;POINT (-39.728683 -2.853021)'))) / (select extract(epoch from '2026-06-21 15:39:05'::timestamp) - extract(epoch from '2026-06-21 15:38: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'), 46821, 'SRID=4674;POINT (-39.728748 -2.853106)', '2026-06-21 15:39:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728683 -2.853021)'), GeomFromEWKT('SRID=4674;POINT (-39.728748 -2.853106)'))) / (select extract(epoch from '2026-06-21 15:39:10'::timestamp) - extract(epoch from '2026-06-21 15:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728683 -2.853021)'), GeomFromEWKT('SRID=4674;POINT (-39.728748 -2.853106)'))) / (select extract(epoch from '2026-06-21 15:39:10'::timestamp) - extract(epoch from '2026-06-21 15:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.728817 -2.853203)', '2026-06-21 15:39:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728748 -2.853106)'), GeomFromEWKT('SRID=4674;POINT (-39.728817 -2.853203)'))) / (select extract(epoch from '2026-06-21 15:39:15'::timestamp) - extract(epoch from '2026-06-21 15:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728748 -2.853106)'), GeomFromEWKT('SRID=4674;POINT (-39.728817 -2.853203)'))) / (select extract(epoch from '2026-06-21 15:39:15'::timestamp) - extract(epoch from '2026-06-21 15:39: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'), 46821, 'SRID=4674;POINT (-39.72889 -2.853341)', '2026-06-21 15:39:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728817 -2.853203)'), GeomFromEWKT('SRID=4674;POINT (-39.72889 -2.853341)'))) / (select extract(epoch from '2026-06-21 15:39:22'::timestamp) - extract(epoch from '2026-06-21 15:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728817 -2.853203)'), GeomFromEWKT('SRID=4674;POINT (-39.72889 -2.853341)'))) / (select extract(epoch from '2026-06-21 15:39:22'::timestamp) - extract(epoch from '2026-06-21 15:39: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'), 46821, 'SRID=4674;POINT (-39.728953 -2.853464)', '2026-06-21 15:39:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72889 -2.853341)'), GeomFromEWKT('SRID=4674;POINT (-39.728953 -2.853464)'))) / (select extract(epoch from '2026-06-21 15:39:28'::timestamp) - extract(epoch from '2026-06-21 15:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72889 -2.853341)'), GeomFromEWKT('SRID=4674;POINT (-39.728953 -2.853464)'))) / (select extract(epoch from '2026-06-21 15:39:28'::timestamp) - extract(epoch from '2026-06-21 15:39: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'), 46821, 'SRID=4674;POINT (-39.729041 -2.853567)', '2026-06-21 15:39:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728953 -2.853464)'), GeomFromEWKT('SRID=4674;POINT (-39.729041 -2.853567)'))) / (select extract(epoch from '2026-06-21 15:39:33'::timestamp) - extract(epoch from '2026-06-21 15:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.728953 -2.853464)'), GeomFromEWKT('SRID=4674;POINT (-39.729041 -2.853567)'))) / (select extract(epoch from '2026-06-21 15:39:33'::timestamp) - extract(epoch from '2026-06-21 15:39: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'), 46821, 'SRID=4674;POINT (-39.729107 -2.853663)', '2026-06-21 15:39:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729041 -2.853567)'), GeomFromEWKT('SRID=4674;POINT (-39.729107 -2.853663)'))) / (select extract(epoch from '2026-06-21 15:39:38'::timestamp) - extract(epoch from '2026-06-21 15:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729041 -2.853567)'), GeomFromEWKT('SRID=4674;POINT (-39.729107 -2.853663)'))) / (select extract(epoch from '2026-06-21 15:39:38'::timestamp) - extract(epoch from '2026-06-21 15:39: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'), 46821, 'SRID=4674;POINT (-39.729174 -2.853758)', '2026-06-21 15:39:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729107 -2.853663)'), GeomFromEWKT('SRID=4674;POINT (-39.729174 -2.853758)'))) / (select extract(epoch from '2026-06-21 15:39:43'::timestamp) - extract(epoch from '2026-06-21 15:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729107 -2.853663)'), GeomFromEWKT('SRID=4674;POINT (-39.729174 -2.853758)'))) / (select extract(epoch from '2026-06-21 15:39:43'::timestamp) - extract(epoch from '2026-06-21 15:39: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'), 46821, 'SRID=4674;POINT (-39.729241 -2.853861)', '2026-06-21 15:39:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729174 -2.853758)'), GeomFromEWKT('SRID=4674;POINT (-39.729241 -2.853861)'))) / (select extract(epoch from '2026-06-21 15:39:48'::timestamp) - extract(epoch from '2026-06-21 15:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729174 -2.853758)'), GeomFromEWKT('SRID=4674;POINT (-39.729241 -2.853861)'))) / (select extract(epoch from '2026-06-21 15:39:48'::timestamp) - extract(epoch from '2026-06-21 15:39: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'), 46821, 'SRID=4674;POINT (-39.729309 -2.85396)', '2026-06-21 15:39:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729241 -2.853861)'), GeomFromEWKT('SRID=4674;POINT (-39.729309 -2.85396)'))) / (select extract(epoch from '2026-06-21 15:39:53'::timestamp) - extract(epoch from '2026-06-21 15:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729241 -2.853861)'), GeomFromEWKT('SRID=4674;POINT (-39.729309 -2.85396)'))) / (select extract(epoch from '2026-06-21 15:39:53'::timestamp) - extract(epoch from '2026-06-21 15:39: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'), 46821, 'SRID=4674;POINT (-39.729384 -2.854074)', '2026-06-21 15:39:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729309 -2.85396)'), GeomFromEWKT('SRID=4674;POINT (-39.729384 -2.854074)'))) / (select extract(epoch from '2026-06-21 15:39:59'::timestamp) - extract(epoch from '2026-06-21 15:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729309 -2.85396)'), GeomFromEWKT('SRID=4674;POINT (-39.729384 -2.854074)'))) / (select extract(epoch from '2026-06-21 15:39:59'::timestamp) - extract(epoch from '2026-06-21 15:39: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'), 46821, 'SRID=4674;POINT (-39.729458 -2.85418)', '2026-06-21 15:40:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729384 -2.854074)'), GeomFromEWKT('SRID=4674;POINT (-39.729458 -2.85418)'))) / (select extract(epoch from '2026-06-21 15:40:04'::timestamp) - extract(epoch from '2026-06-21 15:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729384 -2.854074)'), GeomFromEWKT('SRID=4674;POINT (-39.729458 -2.85418)'))) / (select extract(epoch from '2026-06-21 15:40:04'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.729534 -2.85426)', '2026-06-21 15:40:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729458 -2.85418)'), GeomFromEWKT('SRID=4674;POINT (-39.729534 -2.85426)'))) / (select extract(epoch from '2026-06-21 15:40:09'::timestamp) - extract(epoch from '2026-06-21 15:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729458 -2.85418)'), GeomFromEWKT('SRID=4674;POINT (-39.729534 -2.85426)'))) / (select extract(epoch from '2026-06-21 15:40:09'::timestamp) - extract(epoch from '2026-06-21 15:40: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'), 46821, 'SRID=4674;POINT (-39.729549 -2.85428)', '2026-06-21 15:40:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729534 -2.85426)'), GeomFromEWKT('SRID=4674;POINT (-39.729549 -2.85428)'))) / (select extract(epoch from '2026-06-21 15:40:10'::timestamp) - extract(epoch from '2026-06-21 15:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729534 -2.85426)'), GeomFromEWKT('SRID=4674;POINT (-39.729549 -2.85428)'))) / (select extract(epoch from '2026-06-21 15:40:10'::timestamp) - extract(epoch from '2026-06-21 15:40: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'), 46821, 'SRID=4674;POINT (-39.729638 -2.854405)', '2026-06-21 15:40:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729549 -2.85428)'), GeomFromEWKT('SRID=4674;POINT (-39.729638 -2.854405)'))) / (select extract(epoch from '2026-06-21 15:40:17'::timestamp) - extract(epoch from '2026-06-21 15:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729549 -2.85428)'), GeomFromEWKT('SRID=4674;POINT (-39.729638 -2.854405)'))) / (select extract(epoch from '2026-06-21 15:40:17'::timestamp) - extract(epoch from '2026-06-21 15:40: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'), 46821, 'SRID=4674;POINT (-39.729703 -2.854501)', '2026-06-21 15:40:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729638 -2.854405)'), GeomFromEWKT('SRID=4674;POINT (-39.729703 -2.854501)'))) / (select extract(epoch from '2026-06-21 15:40:22'::timestamp) - extract(epoch from '2026-06-21 15:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729638 -2.854405)'), GeomFromEWKT('SRID=4674;POINT (-39.729703 -2.854501)'))) / (select extract(epoch from '2026-06-21 15:40:22'::timestamp) - extract(epoch from '2026-06-21 15:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.72978 -2.854614)', '2026-06-21 15:40:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729703 -2.854501)'), GeomFromEWKT('SRID=4674;POINT (-39.72978 -2.854614)'))) / (select extract(epoch from '2026-06-21 15:40:28'::timestamp) - extract(epoch from '2026-06-21 15:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729703 -2.854501)'), GeomFromEWKT('SRID=4674;POINT (-39.72978 -2.854614)'))) / (select extract(epoch from '2026-06-21 15:40:28'::timestamp) - extract(epoch from '2026-06-21 15:40: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'), 46821, 'SRID=4674;POINT (-39.72986 -2.854729)', '2026-06-21 15:40:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72978 -2.854614)'), GeomFromEWKT('SRID=4674;POINT (-39.72986 -2.854729)'))) / (select extract(epoch from '2026-06-21 15:40:34'::timestamp) - extract(epoch from '2026-06-21 15:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72978 -2.854614)'), GeomFromEWKT('SRID=4674;POINT (-39.72986 -2.854729)'))) / (select extract(epoch from '2026-06-21 15:40:34'::timestamp) - extract(epoch from '2026-06-21 15:40: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'), 46821, 'SRID=4674;POINT (-39.729937 -2.854842)', '2026-06-21 15:40:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72986 -2.854729)'), GeomFromEWKT('SRID=4674;POINT (-39.729937 -2.854842)'))) / (select extract(epoch from '2026-06-21 15:40:40'::timestamp) - extract(epoch from '2026-06-21 15:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.72986 -2.854729)'), GeomFromEWKT('SRID=4674;POINT (-39.729937 -2.854842)'))) / (select extract(epoch from '2026-06-21 15:40:40'::timestamp) - extract(epoch from '2026-06-21 15:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.730074 -2.855)', '2026-06-21 15:40:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729937 -2.854842)'), GeomFromEWKT('SRID=4674;POINT (-39.730074 -2.855)'))) / (select extract(epoch from '2026-06-21 15:40:49'::timestamp) - extract(epoch from '2026-06-21 15:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.729937 -2.854842)'), GeomFromEWKT('SRID=4674;POINT (-39.730074 -2.855)'))) / (select extract(epoch from '2026-06-21 15:40:49'::timestamp) - extract(epoch from '2026-06-21 15:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.730139 -2.855092)', '2026-06-21 15:40:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730074 -2.855)'), GeomFromEWKT('SRID=4674;POINT (-39.730139 -2.855092)'))) / (select extract(epoch from '2026-06-21 15:40:54'::timestamp) - extract(epoch from '2026-06-21 15:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730074 -2.855)'), GeomFromEWKT('SRID=4674;POINT (-39.730139 -2.855092)'))) / (select extract(epoch from '2026-06-21 15:40:54'::timestamp) - extract(epoch from '2026-06-21 15:40: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'), 46821, 'SRID=4674;POINT (-39.730161 -2.85513)', '2026-06-21 15:40:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730139 -2.855092)'), GeomFromEWKT('SRID=4674;POINT (-39.730161 -2.85513)'))) / (select extract(epoch from '2026-06-21 15:40:56'::timestamp) - extract(epoch from '2026-06-21 15:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730139 -2.855092)'), GeomFromEWKT('SRID=4674;POINT (-39.730161 -2.85513)'))) / (select extract(epoch from '2026-06-21 15:40:56'::timestamp) - extract(epoch from '2026-06-21 15:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.73019 -2.855165)', '2026-06-21 15:40:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730161 -2.85513)'), GeomFromEWKT('SRID=4674;POINT (-39.73019 -2.855165)'))) / (select extract(epoch from '2026-06-21 15:40:58'::timestamp) - extract(epoch from '2026-06-21 15:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730161 -2.85513)'), GeomFromEWKT('SRID=4674;POINT (-39.73019 -2.855165)'))) / (select extract(epoch from '2026-06-21 15:40:58'::timestamp) - extract(epoch from '2026-06-21 15:40: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'), 46821, 'SRID=4674;POINT (-39.730272 -2.855265)', '2026-06-21 15:41:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73019 -2.855165)'), GeomFromEWKT('SRID=4674;POINT (-39.730272 -2.855265)'))) / (select extract(epoch from '2026-06-21 15:41:03'::timestamp) - extract(epoch from '2026-06-21 15:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73019 -2.855165)'), GeomFromEWKT('SRID=4674;POINT (-39.730272 -2.855265)'))) / (select extract(epoch from '2026-06-21 15:41:03'::timestamp) - extract(epoch from '2026-06-21 15:40: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'), 46821, 'SRID=4674;POINT (-39.730343 -2.85536)', '2026-06-21 15:41:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730272 -2.855265)'), GeomFromEWKT('SRID=4674;POINT (-39.730343 -2.85536)'))) / (select extract(epoch from '2026-06-21 15:41:08'::timestamp) - extract(epoch from '2026-06-21 15:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730272 -2.855265)'), GeomFromEWKT('SRID=4674;POINT (-39.730343 -2.85536)'))) / (select extract(epoch from '2026-06-21 15:41:08'::timestamp) - extract(epoch from '2026-06-21 15:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.730436 -2.855479)', '2026-06-21 15:41:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730343 -2.85536)'), GeomFromEWKT('SRID=4674;POINT (-39.730436 -2.855479)'))) / (select extract(epoch from '2026-06-21 15:41:14'::timestamp) - extract(epoch from '2026-06-21 15:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730343 -2.85536)'), GeomFromEWKT('SRID=4674;POINT (-39.730436 -2.855479)'))) / (select extract(epoch from '2026-06-21 15:41:14'::timestamp) - extract(epoch from '2026-06-21 15:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.730504 -2.85557)', '2026-06-21 15:41:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730436 -2.855479)'), GeomFromEWKT('SRID=4674;POINT (-39.730504 -2.85557)'))) / (select extract(epoch from '2026-06-21 15:41:19'::timestamp) - extract(epoch from '2026-06-21 15:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730436 -2.855479)'), GeomFromEWKT('SRID=4674;POINT (-39.730504 -2.85557)'))) / (select extract(epoch from '2026-06-21 15:41:19'::timestamp) - extract(epoch from '2026-06-21 15:41: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'), 46821, 'SRID=4674;POINT (-39.730582 -2.855663)', '2026-06-21 15:41:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730504 -2.85557)'), GeomFromEWKT('SRID=4674;POINT (-39.730582 -2.855663)'))) / (select extract(epoch from '2026-06-21 15:41:24'::timestamp) - extract(epoch from '2026-06-21 15:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730504 -2.85557)'), GeomFromEWKT('SRID=4674;POINT (-39.730582 -2.855663)'))) / (select extract(epoch from '2026-06-21 15:41:24'::timestamp) - extract(epoch from '2026-06-21 15:41: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'), 46821, 'SRID=4674;POINT (-39.730678 -2.855788)', '2026-06-21 15:41:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730582 -2.855663)'), GeomFromEWKT('SRID=4674;POINT (-39.730678 -2.855788)'))) / (select extract(epoch from '2026-06-21 15:41:31'::timestamp) - extract(epoch from '2026-06-21 15:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730582 -2.855663)'), GeomFromEWKT('SRID=4674;POINT (-39.730678 -2.855788)'))) / (select extract(epoch from '2026-06-21 15:41:31'::timestamp) - extract(epoch from '2026-06-21 15:41: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'), 46821, 'SRID=4674;POINT (-39.73076 -2.855886)', '2026-06-21 15:41:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730678 -2.855788)'), GeomFromEWKT('SRID=4674;POINT (-39.73076 -2.855886)'))) / (select extract(epoch from '2026-06-21 15:41:37'::timestamp) - extract(epoch from '2026-06-21 15:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730678 -2.855788)'), GeomFromEWKT('SRID=4674;POINT (-39.73076 -2.855886)'))) / (select extract(epoch from '2026-06-21 15:41:37'::timestamp) - extract(epoch from '2026-06-21 15:41: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'), 46821, 'SRID=4674;POINT (-39.730833 -2.855972)', '2026-06-21 15:41:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73076 -2.855886)'), GeomFromEWKT('SRID=4674;POINT (-39.730833 -2.855972)'))) / (select extract(epoch from '2026-06-21 15:41:42'::timestamp) - extract(epoch from '2026-06-21 15:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73076 -2.855886)'), GeomFromEWKT('SRID=4674;POINT (-39.730833 -2.855972)'))) / (select extract(epoch from '2026-06-21 15:41:42'::timestamp) - extract(epoch from '2026-06-21 15:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.730905 -2.856078)', '2026-06-21 15:41:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730833 -2.855972)'), GeomFromEWKT('SRID=4674;POINT (-39.730905 -2.856078)'))) / (select extract(epoch from '2026-06-21 15:41:48'::timestamp) - extract(epoch from '2026-06-21 15:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730833 -2.855972)'), GeomFromEWKT('SRID=4674;POINT (-39.730905 -2.856078)'))) / (select extract(epoch from '2026-06-21 15:41:48'::timestamp) - extract(epoch from '2026-06-21 15:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.730985 -2.856198)', '2026-06-21 15:41:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730905 -2.856078)'), GeomFromEWKT('SRID=4674;POINT (-39.730985 -2.856198)'))) / (select extract(epoch from '2026-06-21 15:41:54'::timestamp) - extract(epoch from '2026-06-21 15:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730905 -2.856078)'), GeomFromEWKT('SRID=4674;POINT (-39.730985 -2.856198)'))) / (select extract(epoch from '2026-06-21 15:41:54'::timestamp) - extract(epoch from '2026-06-21 15:41: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'), 46821, 'SRID=4674;POINT (-39.731048 -2.856297)', '2026-06-21 15:41:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730985 -2.856198)'), GeomFromEWKT('SRID=4674;POINT (-39.731048 -2.856297)'))) / (select extract(epoch from '2026-06-21 15:41:59'::timestamp) - extract(epoch from '2026-06-21 15:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.730985 -2.856198)'), GeomFromEWKT('SRID=4674;POINT (-39.731048 -2.856297)'))) / (select extract(epoch from '2026-06-21 15:41:59'::timestamp) - extract(epoch from '2026-06-21 15:41: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'), 46821, 'SRID=4674;POINT (-39.731146 -2.856408)', '2026-06-21 15:42:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731048 -2.856297)'), GeomFromEWKT('SRID=4674;POINT (-39.731146 -2.856408)'))) / (select extract(epoch from '2026-06-21 15:42:05'::timestamp) - extract(epoch from '2026-06-21 15:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731048 -2.856297)'), GeomFromEWKT('SRID=4674;POINT (-39.731146 -2.856408)'))) / (select extract(epoch from '2026-06-21 15:42:05'::timestamp) - extract(epoch from '2026-06-21 15:41: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'), 46821, 'SRID=4674;POINT (-39.731213 -2.856489)', '2026-06-21 15:42:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731146 -2.856408)'), GeomFromEWKT('SRID=4674;POINT (-39.731213 -2.856489)'))) / (select extract(epoch from '2026-06-21 15:42:10'::timestamp) - extract(epoch from '2026-06-21 15:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731146 -2.856408)'), GeomFromEWKT('SRID=4674;POINT (-39.731213 -2.856489)'))) / (select extract(epoch from '2026-06-21 15:42:10'::timestamp) - extract(epoch from '2026-06-21 15:42: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'), 46821, 'SRID=4674;POINT (-39.731285 -2.85658)', '2026-06-21 15:42:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731213 -2.856489)'), GeomFromEWKT('SRID=4674;POINT (-39.731285 -2.85658)'))) / (select extract(epoch from '2026-06-21 15:42:15'::timestamp) - extract(epoch from '2026-06-21 15:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731213 -2.856489)'), GeomFromEWKT('SRID=4674;POINT (-39.731285 -2.85658)'))) / (select extract(epoch from '2026-06-21 15:42:15'::timestamp) - extract(epoch from '2026-06-21 15:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.731361 -2.85668)', '2026-06-21 15:42:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731285 -2.85658)'), GeomFromEWKT('SRID=4674;POINT (-39.731361 -2.85668)'))) / (select extract(epoch from '2026-06-21 15:42:21'::timestamp) - extract(epoch from '2026-06-21 15:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731285 -2.85658)'), GeomFromEWKT('SRID=4674;POINT (-39.731361 -2.85668)'))) / (select extract(epoch from '2026-06-21 15:42:21'::timestamp) - extract(epoch from '2026-06-21 15:42: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'), 46821, 'SRID=4674;POINT (-39.731424 -2.856771)', '2026-06-21 15:42:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731361 -2.85668)'), GeomFromEWKT('SRID=4674;POINT (-39.731424 -2.856771)'))) / (select extract(epoch from '2026-06-21 15:42:26'::timestamp) - extract(epoch from '2026-06-21 15:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731361 -2.85668)'), GeomFromEWKT('SRID=4674;POINT (-39.731424 -2.856771)'))) / (select extract(epoch from '2026-06-21 15:42:26'::timestamp) - extract(epoch from '2026-06-21 15:42: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'), 46821, 'SRID=4674;POINT (-39.731483 -2.856863)', '2026-06-21 15:42:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731424 -2.856771)'), GeomFromEWKT('SRID=4674;POINT (-39.731483 -2.856863)'))) / (select extract(epoch from '2026-06-21 15:42:31'::timestamp) - extract(epoch from '2026-06-21 15:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731424 -2.856771)'), GeomFromEWKT('SRID=4674;POINT (-39.731483 -2.856863)'))) / (select extract(epoch from '2026-06-21 15:42:31'::timestamp) - extract(epoch from '2026-06-21 15:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.73154 -2.856953)', '2026-06-21 15:42:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731483 -2.856863)'), GeomFromEWKT('SRID=4674;POINT (-39.73154 -2.856953)'))) / (select extract(epoch from '2026-06-21 15:42:36'::timestamp) - extract(epoch from '2026-06-21 15:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731483 -2.856863)'), GeomFromEWKT('SRID=4674;POINT (-39.73154 -2.856953)'))) / (select extract(epoch from '2026-06-21 15:42:36'::timestamp) - extract(epoch from '2026-06-21 15:42: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'), 46821, 'SRID=4674;POINT (-39.731602 -2.857073)', '2026-06-21 15:42:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73154 -2.856953)'), GeomFromEWKT('SRID=4674;POINT (-39.731602 -2.857073)'))) / (select extract(epoch from '2026-06-21 15:42:42'::timestamp) - extract(epoch from '2026-06-21 15:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73154 -2.856953)'), GeomFromEWKT('SRID=4674;POINT (-39.731602 -2.857073)'))) / (select extract(epoch from '2026-06-21 15:42:42'::timestamp) - extract(epoch from '2026-06-21 15:42: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'), 46821, 'SRID=4674;POINT (-39.731653 -2.85715)', '2026-06-21 15:42:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731602 -2.857073)'), GeomFromEWKT('SRID=4674;POINT (-39.731653 -2.85715)'))) / (select extract(epoch from '2026-06-21 15:42:46'::timestamp) - extract(epoch from '2026-06-21 15:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731602 -2.857073)'), GeomFromEWKT('SRID=4674;POINT (-39.731653 -2.85715)'))) / (select extract(epoch from '2026-06-21 15:42:46'::timestamp) - extract(epoch from '2026-06-21 15:42: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'), 46821, 'SRID=4674;POINT (-39.731694 -2.857203)', '2026-06-21 15:42:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731653 -2.85715)'), GeomFromEWKT('SRID=4674;POINT (-39.731694 -2.857203)'))) / (select extract(epoch from '2026-06-21 15:42:49'::timestamp) - extract(epoch from '2026-06-21 15:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731653 -2.85715)'), GeomFromEWKT('SRID=4674;POINT (-39.731694 -2.857203)'))) / (select extract(epoch from '2026-06-21 15:42:49'::timestamp) - extract(epoch from '2026-06-21 15:42:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.731707 -2.857236)', '2026-06-21 15:42:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731694 -2.857203)'), GeomFromEWKT('SRID=4674;POINT (-39.731707 -2.857236)'))) / (select extract(epoch from '2026-06-21 15:42:51'::timestamp) - extract(epoch from '2026-06-21 15:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731694 -2.857203)'), GeomFromEWKT('SRID=4674;POINT (-39.731707 -2.857236)'))) / (select extract(epoch from '2026-06-21 15:42:51'::timestamp) - extract(epoch from '2026-06-21 15:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.731746 -2.857289)', '2026-06-21 15:42:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731707 -2.857236)'), GeomFromEWKT('SRID=4674;POINT (-39.731746 -2.857289)'))) / (select extract(epoch from '2026-06-21 15:42:54'::timestamp) - extract(epoch from '2026-06-21 15:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731707 -2.857236)'), GeomFromEWKT('SRID=4674;POINT (-39.731746 -2.857289)'))) / (select extract(epoch from '2026-06-21 15:42:54'::timestamp) - extract(epoch from '2026-06-21 15:42: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'), 46821, 'SRID=4674;POINT (-39.731766 -2.857327)', '2026-06-21 15:42:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731746 -2.857289)'), GeomFromEWKT('SRID=4674;POINT (-39.731766 -2.857327)'))) / (select extract(epoch from '2026-06-21 15:42:56'::timestamp) - extract(epoch from '2026-06-21 15:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731746 -2.857289)'), GeomFromEWKT('SRID=4674;POINT (-39.731766 -2.857327)'))) / (select extract(epoch from '2026-06-21 15:42:56'::timestamp) - extract(epoch from '2026-06-21 15:42: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'), 46821, 'SRID=4674;POINT (-39.731822 -2.857426)', '2026-06-21 15:43:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731766 -2.857327)'), GeomFromEWKT('SRID=4674;POINT (-39.731822 -2.857426)'))) / (select extract(epoch from '2026-06-21 15:43:01'::timestamp) - extract(epoch from '2026-06-21 15:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731766 -2.857327)'), GeomFromEWKT('SRID=4674;POINT (-39.731822 -2.857426)'))) / (select extract(epoch from '2026-06-21 15:43:01'::timestamp) - extract(epoch from '2026-06-21 15:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.731877 -2.857522)', '2026-06-21 15:43:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731822 -2.857426)'), GeomFromEWKT('SRID=4674;POINT (-39.731877 -2.857522)'))) / (select extract(epoch from '2026-06-21 15:43:06'::timestamp) - extract(epoch from '2026-06-21 15:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731822 -2.857426)'), GeomFromEWKT('SRID=4674;POINT (-39.731877 -2.857522)'))) / (select extract(epoch from '2026-06-21 15:43:06'::timestamp) - extract(epoch from '2026-06-21 15:43: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'), 46821, 'SRID=4674;POINT (-39.731936 -2.857606)', '2026-06-21 15:43:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731877 -2.857522)'), GeomFromEWKT('SRID=4674;POINT (-39.731936 -2.857606)'))) / (select extract(epoch from '2026-06-21 15:43:10'::timestamp) - extract(epoch from '2026-06-21 15:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731877 -2.857522)'), GeomFromEWKT('SRID=4674;POINT (-39.731936 -2.857606)'))) / (select extract(epoch from '2026-06-21 15:43:10'::timestamp) - extract(epoch from '2026-06-21 15:43:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.731979 -2.857686)', '2026-06-21 15:43:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731936 -2.857606)'), GeomFromEWKT('SRID=4674;POINT (-39.731979 -2.857686)'))) / (select extract(epoch from '2026-06-21 15:43:14'::timestamp) - extract(epoch from '2026-06-21 15:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731936 -2.857606)'), GeomFromEWKT('SRID=4674;POINT (-39.731979 -2.857686)'))) / (select extract(epoch from '2026-06-21 15:43:14'::timestamp) - extract(epoch from '2026-06-21 15:43: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'), 46821, 'SRID=4674;POINT (-39.732032 -2.857792)', '2026-06-21 15:43:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731979 -2.857686)'), GeomFromEWKT('SRID=4674;POINT (-39.732032 -2.857792)'))) / (select extract(epoch from '2026-06-21 15:43:19'::timestamp) - extract(epoch from '2026-06-21 15:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.731979 -2.857686)'), GeomFromEWKT('SRID=4674;POINT (-39.732032 -2.857792)'))) / (select extract(epoch from '2026-06-21 15:43:19'::timestamp) - extract(epoch from '2026-06-21 15:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.732144 -2.857928)', '2026-06-21 15:43:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732032 -2.857792)'), GeomFromEWKT('SRID=4674;POINT (-39.732144 -2.857928)'))) / (select extract(epoch from '2026-06-21 15:43:26'::timestamp) - extract(epoch from '2026-06-21 15:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732032 -2.857792)'), GeomFromEWKT('SRID=4674;POINT (-39.732144 -2.857928)'))) / (select extract(epoch from '2026-06-21 15:43:26'::timestamp) - extract(epoch from '2026-06-21 15:43: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'), 46821, 'SRID=4674;POINT (-39.732221 -2.858021)', '2026-06-21 15:43:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732144 -2.857928)'), GeomFromEWKT('SRID=4674;POINT (-39.732221 -2.858021)'))) / (select extract(epoch from '2026-06-21 15:43:31'::timestamp) - extract(epoch from '2026-06-21 15:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732144 -2.857928)'), GeomFromEWKT('SRID=4674;POINT (-39.732221 -2.858021)'))) / (select extract(epoch from '2026-06-21 15:43:31'::timestamp) - extract(epoch from '2026-06-21 15:43: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'), 46821, 'SRID=4674;POINT (-39.7323 -2.858115)', '2026-06-21 15:43:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732221 -2.858021)'), GeomFromEWKT('SRID=4674;POINT (-39.7323 -2.858115)'))) / (select extract(epoch from '2026-06-21 15:43:36'::timestamp) - extract(epoch from '2026-06-21 15:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732221 -2.858021)'), GeomFromEWKT('SRID=4674;POINT (-39.7323 -2.858115)'))) / (select extract(epoch from '2026-06-21 15:43:36'::timestamp) - extract(epoch from '2026-06-21 15:43: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'), 46821, 'SRID=4674;POINT (-39.732391 -2.858209)', '2026-06-21 15:43:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7323 -2.858115)'), GeomFromEWKT('SRID=4674;POINT (-39.732391 -2.858209)'))) / (select extract(epoch from '2026-06-21 15:43:41'::timestamp) - extract(epoch from '2026-06-21 15:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7323 -2.858115)'), GeomFromEWKT('SRID=4674;POINT (-39.732391 -2.858209)'))) / (select extract(epoch from '2026-06-21 15:43:41'::timestamp) - extract(epoch from '2026-06-21 15:43: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'), 46821, 'SRID=4674;POINT (-39.732473 -2.858304)', '2026-06-21 15:43:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732391 -2.858209)'), GeomFromEWKT('SRID=4674;POINT (-39.732473 -2.858304)'))) / (select extract(epoch from '2026-06-21 15:43:46'::timestamp) - extract(epoch from '2026-06-21 15:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732391 -2.858209)'), GeomFromEWKT('SRID=4674;POINT (-39.732473 -2.858304)'))) / (select extract(epoch from '2026-06-21 15:43:46'::timestamp) - extract(epoch from '2026-06-21 15:43: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'), 46821, 'SRID=4674;POINT (-39.732542 -2.858399)', '2026-06-21 15:43:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732473 -2.858304)'), GeomFromEWKT('SRID=4674;POINT (-39.732542 -2.858399)'))) / (select extract(epoch from '2026-06-21 15:43:51'::timestamp) - extract(epoch from '2026-06-21 15:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732473 -2.858304)'), GeomFromEWKT('SRID=4674;POINT (-39.732542 -2.858399)'))) / (select extract(epoch from '2026-06-21 15:43:51'::timestamp) - extract(epoch from '2026-06-21 15:43: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'), 46821, 'SRID=4674;POINT (-39.732631 -2.85851)', '2026-06-21 15:43:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732542 -2.858399)'), GeomFromEWKT('SRID=4674;POINT (-39.732631 -2.85851)'))) / (select extract(epoch from '2026-06-21 15:43:57'::timestamp) - extract(epoch from '2026-06-21 15:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732542 -2.858399)'), GeomFromEWKT('SRID=4674;POINT (-39.732631 -2.85851)'))) / (select extract(epoch from '2026-06-21 15:43:57'::timestamp) - extract(epoch from '2026-06-21 15:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.732712 -2.858632)', '2026-06-21 15:44:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732631 -2.85851)'), GeomFromEWKT('SRID=4674;POINT (-39.732712 -2.858632)'))) / (select extract(epoch from '2026-06-21 15:44:03'::timestamp) - extract(epoch from '2026-06-21 15:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732631 -2.85851)'), GeomFromEWKT('SRID=4674;POINT (-39.732712 -2.858632)'))) / (select extract(epoch from '2026-06-21 15:44:03'::timestamp) - extract(epoch from '2026-06-21 15:43: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'), 46821, 'SRID=4674;POINT (-39.73278 -2.858749)', '2026-06-21 15:44:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732712 -2.858632)'), GeomFromEWKT('SRID=4674;POINT (-39.73278 -2.858749)'))) / (select extract(epoch from '2026-06-21 15:44:09'::timestamp) - extract(epoch from '2026-06-21 15:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732712 -2.858632)'), GeomFromEWKT('SRID=4674;POINT (-39.73278 -2.858749)'))) / (select extract(epoch from '2026-06-21 15:44:09'::timestamp) - extract(epoch from '2026-06-21 15:44: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'), 46821, 'SRID=4674;POINT (-39.732865 -2.858855)', '2026-06-21 15:44:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73278 -2.858749)'), GeomFromEWKT('SRID=4674;POINT (-39.732865 -2.858855)'))) / (select extract(epoch from '2026-06-21 15:44:15'::timestamp) - extract(epoch from '2026-06-21 15:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73278 -2.858749)'), GeomFromEWKT('SRID=4674;POINT (-39.732865 -2.858855)'))) / (select extract(epoch from '2026-06-21 15:44:15'::timestamp) - extract(epoch from '2026-06-21 15:44: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'), 46821, 'SRID=4674;POINT (-39.73295 -2.858969)', '2026-06-21 15:44:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732865 -2.858855)'), GeomFromEWKT('SRID=4674;POINT (-39.73295 -2.858969)'))) / (select extract(epoch from '2026-06-21 15:44:21'::timestamp) - extract(epoch from '2026-06-21 15:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732865 -2.858855)'), GeomFromEWKT('SRID=4674;POINT (-39.73295 -2.858969)'))) / (select extract(epoch from '2026-06-21 15:44:21'::timestamp) - extract(epoch from '2026-06-21 15:44: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'), 46821, 'SRID=4674;POINT (-39.732987 -2.859048)', '2026-06-21 15:44:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73295 -2.858969)'), GeomFromEWKT('SRID=4674;POINT (-39.732987 -2.859048)'))) / (select extract(epoch from '2026-06-21 15:44:25'::timestamp) - extract(epoch from '2026-06-21 15:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73295 -2.858969)'), GeomFromEWKT('SRID=4674;POINT (-39.732987 -2.859048)'))) / (select extract(epoch from '2026-06-21 15:44:25'::timestamp) - extract(epoch from '2026-06-21 15:44: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'), 46821, 'SRID=4674;POINT (-39.733085 -2.859177)', '2026-06-21 15:44:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732987 -2.859048)'), GeomFromEWKT('SRID=4674;POINT (-39.733085 -2.859177)'))) / (select extract(epoch from '2026-06-21 15:44:32'::timestamp) - extract(epoch from '2026-06-21 15:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.732987 -2.859048)'), GeomFromEWKT('SRID=4674;POINT (-39.733085 -2.859177)'))) / (select extract(epoch from '2026-06-21 15:44:32'::timestamp) - extract(epoch from '2026-06-21 15:44: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'), 46821, 'SRID=4674;POINT (-39.733155 -2.859254)', '2026-06-21 15:44:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733085 -2.859177)'), GeomFromEWKT('SRID=4674;POINT (-39.733155 -2.859254)'))) / (select extract(epoch from '2026-06-21 15:44:37'::timestamp) - extract(epoch from '2026-06-21 15:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733085 -2.859177)'), GeomFromEWKT('SRID=4674;POINT (-39.733155 -2.859254)'))) / (select extract(epoch from '2026-06-21 15:44:37'::timestamp) - extract(epoch from '2026-06-21 15:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.733216 -2.859347)', '2026-06-21 15:44:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733155 -2.859254)'), GeomFromEWKT('SRID=4674;POINT (-39.733216 -2.859347)'))) / (select extract(epoch from '2026-06-21 15:44:42'::timestamp) - extract(epoch from '2026-06-21 15:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733155 -2.859254)'), GeomFromEWKT('SRID=4674;POINT (-39.733216 -2.859347)'))) / (select extract(epoch from '2026-06-21 15:44:42'::timestamp) - extract(epoch from '2026-06-21 15:44: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'), 46821, 'SRID=4674;POINT (-39.733298 -2.859479)', '2026-06-21 15:44:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733216 -2.859347)'), GeomFromEWKT('SRID=4674;POINT (-39.733298 -2.859479)'))) / (select extract(epoch from '2026-06-21 15:44:49'::timestamp) - extract(epoch from '2026-06-21 15:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733216 -2.859347)'), GeomFromEWKT('SRID=4674;POINT (-39.733298 -2.859479)'))) / (select extract(epoch from '2026-06-21 15:44:49'::timestamp) - extract(epoch from '2026-06-21 15:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.733308 -2.859498)', '2026-06-21 15:44:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733298 -2.859479)'), GeomFromEWKT('SRID=4674;POINT (-39.733308 -2.859498)'))) / (select extract(epoch from '2026-06-21 15:44:50'::timestamp) - extract(epoch from '2026-06-21 15:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733298 -2.859479)'), GeomFromEWKT('SRID=4674;POINT (-39.733308 -2.859498)'))) / (select extract(epoch from '2026-06-21 15:44:50'::timestamp) - extract(epoch from '2026-06-21 15:44: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'), 46821, 'SRID=4674;POINT (-39.733336 -2.859553)', '2026-06-21 15:44:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733308 -2.859498)'), GeomFromEWKT('SRID=4674;POINT (-39.733336 -2.859553)'))) / (select extract(epoch from '2026-06-21 15:44:53'::timestamp) - extract(epoch from '2026-06-21 15:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733308 -2.859498)'), GeomFromEWKT('SRID=4674;POINT (-39.733336 -2.859553)'))) / (select extract(epoch from '2026-06-21 15:44:53'::timestamp) - extract(epoch from '2026-06-21 15:44: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'), 46821, 'SRID=4674;POINT (-39.733387 -2.859652)', '2026-06-21 15:44:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733336 -2.859553)'), GeomFromEWKT('SRID=4674;POINT (-39.733387 -2.859652)'))) / (select extract(epoch from '2026-06-21 15:44:58'::timestamp) - extract(epoch from '2026-06-21 15:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733336 -2.859553)'), GeomFromEWKT('SRID=4674;POINT (-39.733387 -2.859652)'))) / (select extract(epoch from '2026-06-21 15:44:58'::timestamp) - extract(epoch from '2026-06-21 15:44: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'), 46821, 'SRID=4674;POINT (-39.733451 -2.859743)', '2026-06-21 15:45:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733387 -2.859652)'), GeomFromEWKT('SRID=4674;POINT (-39.733451 -2.859743)'))) / (select extract(epoch from '2026-06-21 15:45:03'::timestamp) - extract(epoch from '2026-06-21 15:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733387 -2.859652)'), GeomFromEWKT('SRID=4674;POINT (-39.733451 -2.859743)'))) / (select extract(epoch from '2026-06-21 15:45:03'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.733489 -2.859778)', '2026-06-21 15:45:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733451 -2.859743)'), GeomFromEWKT('SRID=4674;POINT (-39.733489 -2.859778)'))) / (select extract(epoch from '2026-06-21 15:45:05'::timestamp) - extract(epoch from '2026-06-21 15:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733451 -2.859743)'), GeomFromEWKT('SRID=4674;POINT (-39.733489 -2.859778)'))) / (select extract(epoch from '2026-06-21 15:45:05'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.7335 -2.859795)', '2026-06-21 15:45:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733489 -2.859778)'), GeomFromEWKT('SRID=4674;POINT (-39.7335 -2.859795)'))) / (select extract(epoch from '2026-06-21 15:45:06'::timestamp) - extract(epoch from '2026-06-21 15:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733489 -2.859778)'), GeomFromEWKT('SRID=4674;POINT (-39.7335 -2.859795)'))) / (select extract(epoch from '2026-06-21 15:45:06'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.733545 -2.859846)', '2026-06-21 15:45:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7335 -2.859795)'), GeomFromEWKT('SRID=4674;POINT (-39.733545 -2.859846)'))) / (select extract(epoch from '2026-06-21 15:45:09'::timestamp) - extract(epoch from '2026-06-21 15:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7335 -2.859795)'), GeomFromEWKT('SRID=4674;POINT (-39.733545 -2.859846)'))) / (select extract(epoch from '2026-06-21 15:45:09'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.73358 -2.859915)', '2026-06-21 15:45:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733545 -2.859846)'), GeomFromEWKT('SRID=4674;POINT (-39.73358 -2.859915)'))) / (select extract(epoch from '2026-06-21 15:45:13'::timestamp) - extract(epoch from '2026-06-21 15:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733545 -2.859846)'), GeomFromEWKT('SRID=4674;POINT (-39.73358 -2.859915)'))) / (select extract(epoch from '2026-06-21 15:45:13'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.733655 -2.860047)', '2026-06-21 15:45:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73358 -2.859915)'), GeomFromEWKT('SRID=4674;POINT (-39.733655 -2.860047)'))) / (select extract(epoch from '2026-06-21 15:45:20'::timestamp) - extract(epoch from '2026-06-21 15:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73358 -2.859915)'), GeomFromEWKT('SRID=4674;POINT (-39.733655 -2.860047)'))) / (select extract(epoch from '2026-06-21 15:45:20'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.733681 -2.860082)', '2026-06-21 15:45:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733655 -2.860047)'), GeomFromEWKT('SRID=4674;POINT (-39.733681 -2.860082)'))) / (select extract(epoch from '2026-06-21 15:45:22'::timestamp) - extract(epoch from '2026-06-21 15:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733655 -2.860047)'), GeomFromEWKT('SRID=4674;POINT (-39.733681 -2.860082)'))) / (select extract(epoch from '2026-06-21 15:45:22'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.733716 -2.860133)', '2026-06-21 15:45:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733681 -2.860082)'), GeomFromEWKT('SRID=4674;POINT (-39.733716 -2.860133)'))) / (select extract(epoch from '2026-06-21 15:45:25'::timestamp) - extract(epoch from '2026-06-21 15:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733681 -2.860082)'), GeomFromEWKT('SRID=4674;POINT (-39.733716 -2.860133)'))) / (select extract(epoch from '2026-06-21 15:45:25'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.73378 -2.860218)', '2026-06-21 15:45:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733716 -2.860133)'), GeomFromEWKT('SRID=4674;POINT (-39.73378 -2.860218)'))) / (select extract(epoch from '2026-06-21 15:45:30'::timestamp) - extract(epoch from '2026-06-21 15:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733716 -2.860133)'), GeomFromEWKT('SRID=4674;POINT (-39.73378 -2.860218)'))) / (select extract(epoch from '2026-06-21 15:45:30'::timestamp) - extract(epoch from '2026-06-21 15:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.733801 -2.860271)', '2026-06-21 15:45:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73378 -2.860218)'), GeomFromEWKT('SRID=4674;POINT (-39.733801 -2.860271)'))) / (select extract(epoch from '2026-06-21 15:45:33'::timestamp) - extract(epoch from '2026-06-21 15:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73378 -2.860218)'), GeomFromEWKT('SRID=4674;POINT (-39.733801 -2.860271)'))) / (select extract(epoch from '2026-06-21 15:45:33'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.733825 -2.860306)', '2026-06-21 15:45:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733801 -2.860271)'), GeomFromEWKT('SRID=4674;POINT (-39.733825 -2.860306)'))) / (select extract(epoch from '2026-06-21 15:45:35'::timestamp) - extract(epoch from '2026-06-21 15:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733801 -2.860271)'), GeomFromEWKT('SRID=4674;POINT (-39.733825 -2.860306)'))) / (select extract(epoch from '2026-06-21 15:45:35'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.733859 -2.860366)', '2026-06-21 15:45:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733825 -2.860306)'), GeomFromEWKT('SRID=4674;POINT (-39.733859 -2.860366)'))) / (select extract(epoch from '2026-06-21 15:45:38'::timestamp) - extract(epoch from '2026-06-21 15:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733825 -2.860306)'), GeomFromEWKT('SRID=4674;POINT (-39.733859 -2.860366)'))) / (select extract(epoch from '2026-06-21 15:45:38'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.73388 -2.860386)', '2026-06-21 15:45:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733859 -2.860366)'), GeomFromEWKT('SRID=4674;POINT (-39.73388 -2.860386)'))) / (select extract(epoch from '2026-06-21 15:45:39'::timestamp) - extract(epoch from '2026-06-21 15:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733859 -2.860366)'), GeomFromEWKT('SRID=4674;POINT (-39.73388 -2.860386)'))) / (select extract(epoch from '2026-06-21 15:45:39'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.733931 -2.860482)', '2026-06-21 15:45:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73388 -2.860386)'), GeomFromEWKT('SRID=4674;POINT (-39.733931 -2.860482)'))) / (select extract(epoch from '2026-06-21 15:45:44'::timestamp) - extract(epoch from '2026-06-21 15:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73388 -2.860386)'), GeomFromEWKT('SRID=4674;POINT (-39.733931 -2.860482)'))) / (select extract(epoch from '2026-06-21 15:45:44'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.734015 -2.860588)', '2026-06-21 15:45:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733931 -2.860482)'), GeomFromEWKT('SRID=4674;POINT (-39.734015 -2.860588)'))) / (select extract(epoch from '2026-06-21 15:45:50'::timestamp) - extract(epoch from '2026-06-21 15:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.733931 -2.860482)'), GeomFromEWKT('SRID=4674;POINT (-39.734015 -2.860588)'))) / (select extract(epoch from '2026-06-21 15:45:50'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.734082 -2.860666)', '2026-06-21 15:45:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734015 -2.860588)'), GeomFromEWKT('SRID=4674;POINT (-39.734082 -2.860666)'))) / (select extract(epoch from '2026-06-21 15:45:54'::timestamp) - extract(epoch from '2026-06-21 15:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734015 -2.860588)'), GeomFromEWKT('SRID=4674;POINT (-39.734082 -2.860666)'))) / (select extract(epoch from '2026-06-21 15:45:54'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.734157 -2.860766)', '2026-06-21 15:45:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734082 -2.860666)'), GeomFromEWKT('SRID=4674;POINT (-39.734157 -2.860766)'))) / (select extract(epoch from '2026-06-21 15:45:59'::timestamp) - extract(epoch from '2026-06-21 15:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734082 -2.860666)'), GeomFromEWKT('SRID=4674;POINT (-39.734157 -2.860766)'))) / (select extract(epoch from '2026-06-21 15:45:59'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.734209 -2.860871)', '2026-06-21 15:46:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734157 -2.860766)'), GeomFromEWKT('SRID=4674;POINT (-39.734209 -2.860871)'))) / (select extract(epoch from '2026-06-21 15:46:04'::timestamp) - extract(epoch from '2026-06-21 15:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734157 -2.860766)'), GeomFromEWKT('SRID=4674;POINT (-39.734209 -2.860871)'))) / (select extract(epoch from '2026-06-21 15:46:04'::timestamp) - extract(epoch from '2026-06-21 15:45: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'), 46821, 'SRID=4674;POINT (-39.73428 -2.86102)', '2026-06-21 15:46:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734209 -2.860871)'), GeomFromEWKT('SRID=4674;POINT (-39.73428 -2.86102)'))) / (select extract(epoch from '2026-06-21 15:46:11'::timestamp) - extract(epoch from '2026-06-21 15:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734209 -2.860871)'), GeomFromEWKT('SRID=4674;POINT (-39.73428 -2.86102)'))) / (select extract(epoch from '2026-06-21 15:46:11'::timestamp) - extract(epoch from '2026-06-21 15:46: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'), 46821, 'SRID=4674;POINT (-39.734341 -2.861139)', '2026-06-21 15:46:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73428 -2.86102)'), GeomFromEWKT('SRID=4674;POINT (-39.734341 -2.861139)'))) / (select extract(epoch from '2026-06-21 15:46:17'::timestamp) - extract(epoch from '2026-06-21 15:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73428 -2.86102)'), GeomFromEWKT('SRID=4674;POINT (-39.734341 -2.861139)'))) / (select extract(epoch from '2026-06-21 15:46:17'::timestamp) - extract(epoch from '2026-06-21 15:46: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'), 46821, 'SRID=4674;POINT (-39.73436 -2.861178)', '2026-06-21 15:46:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734341 -2.861139)'), GeomFromEWKT('SRID=4674;POINT (-39.73436 -2.861178)'))) / (select extract(epoch from '2026-06-21 15:46:19'::timestamp) - extract(epoch from '2026-06-21 15:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734341 -2.861139)'), GeomFromEWKT('SRID=4674;POINT (-39.73436 -2.861178)'))) / (select extract(epoch from '2026-06-21 15:46:19'::timestamp) - extract(epoch from '2026-06-21 15:46:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.734406 -2.86124)', '2026-06-21 15:46:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73436 -2.861178)'), GeomFromEWKT('SRID=4674;POINT (-39.734406 -2.86124)'))) / (select extract(epoch from '2026-06-21 15:46:22'::timestamp) - extract(epoch from '2026-06-21 15:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73436 -2.861178)'), GeomFromEWKT('SRID=4674;POINT (-39.734406 -2.86124)'))) / (select extract(epoch from '2026-06-21 15:46:22'::timestamp) - extract(epoch from '2026-06-21 15:46: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'), 46821, 'SRID=4674;POINT (-39.734466 -2.86134)', '2026-06-21 15:46:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734406 -2.86124)'), GeomFromEWKT('SRID=4674;POINT (-39.734466 -2.86134)'))) / (select extract(epoch from '2026-06-21 15:46:27'::timestamp) - extract(epoch from '2026-06-21 15:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734406 -2.86124)'), GeomFromEWKT('SRID=4674;POINT (-39.734466 -2.86134)'))) / (select extract(epoch from '2026-06-21 15:46:27'::timestamp) - extract(epoch from '2026-06-21 15:46: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'), 46821, 'SRID=4674;POINT (-39.734525 -2.861466)', '2026-06-21 15:46:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734466 -2.86134)'), GeomFromEWKT('SRID=4674;POINT (-39.734525 -2.861466)'))) / (select extract(epoch from '2026-06-21 15:46:33'::timestamp) - extract(epoch from '2026-06-21 15:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734466 -2.86134)'), GeomFromEWKT('SRID=4674;POINT (-39.734525 -2.861466)'))) / (select extract(epoch from '2026-06-21 15:46:33'::timestamp) - extract(epoch from '2026-06-21 15:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.734607 -2.861602)', '2026-06-21 15:46:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734525 -2.861466)'), GeomFromEWKT('SRID=4674;POINT (-39.734607 -2.861602)'))) / (select extract(epoch from '2026-06-21 15:46:40'::timestamp) - extract(epoch from '2026-06-21 15:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734525 -2.861466)'), GeomFromEWKT('SRID=4674;POINT (-39.734607 -2.861602)'))) / (select extract(epoch from '2026-06-21 15:46:40'::timestamp) - extract(epoch from '2026-06-21 15:46: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'), 46821, 'SRID=4674;POINT (-39.734661 -2.861666)', '2026-06-21 15:46:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734607 -2.861602)'), GeomFromEWKT('SRID=4674;POINT (-39.734661 -2.861666)'))) / (select extract(epoch from '2026-06-21 15:46:43'::timestamp) - extract(epoch from '2026-06-21 15:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734607 -2.861602)'), GeomFromEWKT('SRID=4674;POINT (-39.734661 -2.861666)'))) / (select extract(epoch from '2026-06-21 15:46:43'::timestamp) - extract(epoch from '2026-06-21 15:46: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'), 46821, 'SRID=4674;POINT (-39.734684 -2.861701)', '2026-06-21 15:46:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734661 -2.861666)'), GeomFromEWKT('SRID=4674;POINT (-39.734684 -2.861701)'))) / (select extract(epoch from '2026-06-21 15:46:45'::timestamp) - extract(epoch from '2026-06-21 15:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734661 -2.861666)'), GeomFromEWKT('SRID=4674;POINT (-39.734684 -2.861701)'))) / (select extract(epoch from '2026-06-21 15:46:45'::timestamp) - extract(epoch from '2026-06-21 15:46: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'), 46821, 'SRID=4674;POINT (-39.734764 -2.861814)', '2026-06-21 15:46:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734684 -2.861701)'), GeomFromEWKT('SRID=4674;POINT (-39.734764 -2.861814)'))) / (select extract(epoch from '2026-06-21 15:46:51'::timestamp) - extract(epoch from '2026-06-21 15:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734684 -2.861701)'), GeomFromEWKT('SRID=4674;POINT (-39.734764 -2.861814)'))) / (select extract(epoch from '2026-06-21 15:46:51'::timestamp) - extract(epoch from '2026-06-21 15:46: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'), 46821, 'SRID=4674;POINT (-39.734847 -2.861942)', '2026-06-21 15:46:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734764 -2.861814)'), GeomFromEWKT('SRID=4674;POINT (-39.734847 -2.861942)'))) / (select extract(epoch from '2026-06-21 15:46:57'::timestamp) - extract(epoch from '2026-06-21 15:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734764 -2.861814)'), GeomFromEWKT('SRID=4674;POINT (-39.734847 -2.861942)'))) / (select extract(epoch from '2026-06-21 15:46:57'::timestamp) - extract(epoch from '2026-06-21 15:46: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'), 46821, 'SRID=4674;POINT (-39.734922 -2.862062)', '2026-06-21 15:47:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734847 -2.861942)'), GeomFromEWKT('SRID=4674;POINT (-39.734922 -2.862062)'))) / (select extract(epoch from '2026-06-21 15:47:03'::timestamp) - extract(epoch from '2026-06-21 15:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734847 -2.861942)'), GeomFromEWKT('SRID=4674;POINT (-39.734922 -2.862062)'))) / (select extract(epoch from '2026-06-21 15:47:03'::timestamp) - extract(epoch from '2026-06-21 15:46: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'), 46821, 'SRID=4674;POINT (-39.734983 -2.86215)', '2026-06-21 15:47:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734922 -2.862062)'), GeomFromEWKT('SRID=4674;POINT (-39.734983 -2.86215)'))) / (select extract(epoch from '2026-06-21 15:47:07'::timestamp) - extract(epoch from '2026-06-21 15:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734922 -2.862062)'), GeomFromEWKT('SRID=4674;POINT (-39.734983 -2.86215)'))) / (select extract(epoch from '2026-06-21 15:47:07'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.734993 -2.862171)', '2026-06-21 15:47:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734983 -2.86215)'), GeomFromEWKT('SRID=4674;POINT (-39.734993 -2.862171)'))) / (select extract(epoch from '2026-06-21 15:47:08'::timestamp) - extract(epoch from '2026-06-21 15:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734983 -2.86215)'), GeomFromEWKT('SRID=4674;POINT (-39.734993 -2.862171)'))) / (select extract(epoch from '2026-06-21 15:47:08'::timestamp) - extract(epoch from '2026-06-21 15:47: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'), 46821, 'SRID=4674;POINT (-39.73502 -2.862206)', '2026-06-21 15:47:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734993 -2.862171)'), GeomFromEWKT('SRID=4674;POINT (-39.73502 -2.862206)'))) / (select extract(epoch from '2026-06-21 15:47:10'::timestamp) - extract(epoch from '2026-06-21 15:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.734993 -2.862171)'), GeomFromEWKT('SRID=4674;POINT (-39.73502 -2.862206)'))) / (select extract(epoch from '2026-06-21 15:47:10'::timestamp) - extract(epoch from '2026-06-21 15:47: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'), 46821, 'SRID=4674;POINT (-39.735053 -2.862248)', '2026-06-21 15:47:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73502 -2.862206)'), GeomFromEWKT('SRID=4674;POINT (-39.735053 -2.862248)'))) / (select extract(epoch from '2026-06-21 15:47:12'::timestamp) - extract(epoch from '2026-06-21 15:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73502 -2.862206)'), GeomFromEWKT('SRID=4674;POINT (-39.735053 -2.862248)'))) / (select extract(epoch from '2026-06-21 15:47:12'::timestamp) - extract(epoch from '2026-06-21 15:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.735157 -2.862372)', '2026-06-21 15:47:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735053 -2.862248)'), GeomFromEWKT('SRID=4674;POINT (-39.735157 -2.862372)'))) / (select extract(epoch from '2026-06-21 15:47:18'::timestamp) - extract(epoch from '2026-06-21 15:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735053 -2.862248)'), GeomFromEWKT('SRID=4674;POINT (-39.735157 -2.862372)'))) / (select extract(epoch from '2026-06-21 15:47:18'::timestamp) - extract(epoch from '2026-06-21 15:47: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'), 46821, 'SRID=4674;POINT (-39.735243 -2.862482)', '2026-06-21 15:47:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735157 -2.862372)'), GeomFromEWKT('SRID=4674;POINT (-39.735243 -2.862482)'))) / (select extract(epoch from '2026-06-21 15:47:24'::timestamp) - extract(epoch from '2026-06-21 15:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735157 -2.862372)'), GeomFromEWKT('SRID=4674;POINT (-39.735243 -2.862482)'))) / (select extract(epoch from '2026-06-21 15:47:24'::timestamp) - extract(epoch from '2026-06-21 15:47: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'), 46821, 'SRID=4674;POINT (-39.735309 -2.862554)', '2026-06-21 15:47:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735243 -2.862482)'), GeomFromEWKT('SRID=4674;POINT (-39.735309 -2.862554)'))) / (select extract(epoch from '2026-06-21 15:47:28'::timestamp) - extract(epoch from '2026-06-21 15:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735243 -2.862482)'), GeomFromEWKT('SRID=4674;POINT (-39.735309 -2.862554)'))) / (select extract(epoch from '2026-06-21 15:47:28'::timestamp) - extract(epoch from '2026-06-21 15:47: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'), 46821, 'SRID=4674;POINT (-39.735322 -2.862572)', '2026-06-21 15:47:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735309 -2.862554)'), GeomFromEWKT('SRID=4674;POINT (-39.735322 -2.862572)'))) / (select extract(epoch from '2026-06-21 15:47:29'::timestamp) - extract(epoch from '2026-06-21 15:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735309 -2.862554)'), GeomFromEWKT('SRID=4674;POINT (-39.735322 -2.862572)'))) / (select extract(epoch from '2026-06-21 15:47:29'::timestamp) - extract(epoch from '2026-06-21 15:47: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'), 46821, 'SRID=4674;POINT (-39.735433 -2.86272)', '2026-06-21 15:47:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735322 -2.862572)'), GeomFromEWKT('SRID=4674;POINT (-39.735433 -2.86272)'))) / (select extract(epoch from '2026-06-21 15:47:37'::timestamp) - extract(epoch from '2026-06-21 15:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735322 -2.862572)'), GeomFromEWKT('SRID=4674;POINT (-39.735433 -2.86272)'))) / (select extract(epoch from '2026-06-21 15:47:37'::timestamp) - extract(epoch from '2026-06-21 15:47: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'), 46821, 'SRID=4674;POINT (-39.735516 -2.862833)', '2026-06-21 15:47:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735433 -2.86272)'), GeomFromEWKT('SRID=4674;POINT (-39.735516 -2.862833)'))) / (select extract(epoch from '2026-06-21 15:47:43'::timestamp) - extract(epoch from '2026-06-21 15:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735433 -2.86272)'), GeomFromEWKT('SRID=4674;POINT (-39.735516 -2.862833)'))) / (select extract(epoch from '2026-06-21 15:47:43'::timestamp) - extract(epoch from '2026-06-21 15:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.735614 -2.862965)', '2026-06-21 15:47:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735516 -2.862833)'), GeomFromEWKT('SRID=4674;POINT (-39.735614 -2.862965)'))) / (select extract(epoch from '2026-06-21 15:47:50'::timestamp) - extract(epoch from '2026-06-21 15:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735516 -2.862833)'), GeomFromEWKT('SRID=4674;POINT (-39.735614 -2.862965)'))) / (select extract(epoch from '2026-06-21 15:47:50'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.735684 -2.863074)', '2026-06-21 15:47:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735614 -2.862965)'), GeomFromEWKT('SRID=4674;POINT (-39.735684 -2.863074)'))) / (select extract(epoch from '2026-06-21 15:47:55'::timestamp) - extract(epoch from '2026-06-21 15:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735614 -2.862965)'), GeomFromEWKT('SRID=4674;POINT (-39.735684 -2.863074)'))) / (select extract(epoch from '2026-06-21 15:47:55'::timestamp) - extract(epoch from '2026-06-21 15:47: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'), 46821, 'SRID=4674;POINT (-39.735754 -2.863169)', '2026-06-21 15:48:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735684 -2.863074)'), GeomFromEWKT('SRID=4674;POINT (-39.735754 -2.863169)'))) / (select extract(epoch from '2026-06-21 15:48:00'::timestamp) - extract(epoch from '2026-06-21 15:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735684 -2.863074)'), GeomFromEWKT('SRID=4674;POINT (-39.735754 -2.863169)'))) / (select extract(epoch from '2026-06-21 15:48:00'::timestamp) - extract(epoch from '2026-06-21 15:47:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.735815 -2.863257)', '2026-06-21 15:48:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735754 -2.863169)'), GeomFromEWKT('SRID=4674;POINT (-39.735815 -2.863257)'))) / (select extract(epoch from '2026-06-21 15:48:05'::timestamp) - extract(epoch from '2026-06-21 15:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735754 -2.863169)'), GeomFromEWKT('SRID=4674;POINT (-39.735815 -2.863257)'))) / (select extract(epoch from '2026-06-21 15:48:05'::timestamp) - extract(epoch from '2026-06-21 15:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.735908 -2.863377)', '2026-06-21 15:48:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735815 -2.863257)'), GeomFromEWKT('SRID=4674;POINT (-39.735908 -2.863377)'))) / (select extract(epoch from '2026-06-21 15:48:11'::timestamp) - extract(epoch from '2026-06-21 15:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735815 -2.863257)'), GeomFromEWKT('SRID=4674;POINT (-39.735908 -2.863377)'))) / (select extract(epoch from '2026-06-21 15:48:11'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46821, 'SRID=4674;POINT (-39.735969 -2.863461)', '2026-06-21 15:48:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735908 -2.863377)'), GeomFromEWKT('SRID=4674;POINT (-39.735969 -2.863461)'))) / (select extract(epoch from '2026-06-21 15:48:16'::timestamp) - extract(epoch from '2026-06-21 15:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735908 -2.863377)'), GeomFromEWKT('SRID=4674;POINT (-39.735969 -2.863461)'))) / (select extract(epoch from '2026-06-21 15:48:16'::timestamp) - extract(epoch from '2026-06-21 15:48:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.736028 -2.863556)', '2026-06-21 15:48:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735969 -2.863461)'), GeomFromEWKT('SRID=4674;POINT (-39.736028 -2.863556)'))) / (select extract(epoch from '2026-06-21 15:48:21'::timestamp) - extract(epoch from '2026-06-21 15:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.735969 -2.863461)'), GeomFromEWKT('SRID=4674;POINT (-39.736028 -2.863556)'))) / (select extract(epoch from '2026-06-21 15:48:21'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46821, 'SRID=4674;POINT (-39.736092 -2.86368)', '2026-06-21 15:48:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736028 -2.863556)'), GeomFromEWKT('SRID=4674;POINT (-39.736092 -2.86368)'))) / (select extract(epoch from '2026-06-21 15:48:27'::timestamp) - extract(epoch from '2026-06-21 15:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736028 -2.863556)'), GeomFromEWKT('SRID=4674;POINT (-39.736092 -2.86368)'))) / (select extract(epoch from '2026-06-21 15:48:27'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46821, 'SRID=4674;POINT (-39.736153 -2.863778)', '2026-06-21 15:48:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736092 -2.86368)'), GeomFromEWKT('SRID=4674;POINT (-39.736153 -2.863778)'))) / (select extract(epoch from '2026-06-21 15:48:32'::timestamp) - extract(epoch from '2026-06-21 15:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736092 -2.86368)'), GeomFromEWKT('SRID=4674;POINT (-39.736153 -2.863778)'))) / (select extract(epoch from '2026-06-21 15:48:32'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46821, 'SRID=4674;POINT (-39.736204 -2.863849)', '2026-06-21 15:48:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736153 -2.863778)'), GeomFromEWKT('SRID=4674;POINT (-39.736204 -2.863849)'))) / (select extract(epoch from '2026-06-21 15:48:36'::timestamp) - extract(epoch from '2026-06-21 15:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736153 -2.863778)'), GeomFromEWKT('SRID=4674;POINT (-39.736204 -2.863849)'))) / (select extract(epoch from '2026-06-21 15:48:36'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46821, 'SRID=4674;POINT (-39.736275 -2.86395)', '2026-06-21 15:48:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736204 -2.863849)'), GeomFromEWKT('SRID=4674;POINT (-39.736275 -2.86395)'))) / (select extract(epoch from '2026-06-21 15:48:41'::timestamp) - extract(epoch from '2026-06-21 15:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736204 -2.863849)'), GeomFromEWKT('SRID=4674;POINT (-39.736275 -2.86395)'))) / (select extract(epoch from '2026-06-21 15:48:41'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46821, 'SRID=4674;POINT (-39.736331 -2.864052)', '2026-06-21 15:48:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736275 -2.86395)'), GeomFromEWKT('SRID=4674;POINT (-39.736331 -2.864052)'))) / (select extract(epoch from '2026-06-21 15:48:46'::timestamp) - extract(epoch from '2026-06-21 15:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736275 -2.86395)'), GeomFromEWKT('SRID=4674;POINT (-39.736331 -2.864052)'))) / (select extract(epoch from '2026-06-21 15:48:46'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46821, 'SRID=4674;POINT (-39.73639 -2.864203)', '2026-06-21 15:48:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736331 -2.864052)'), GeomFromEWKT('SRID=4674;POINT (-39.73639 -2.864203)'))) / (select extract(epoch from '2026-06-21 15:48:53'::timestamp) - extract(epoch from '2026-06-21 15:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736331 -2.864052)'), GeomFromEWKT('SRID=4674;POINT (-39.73639 -2.864203)'))) / (select extract(epoch from '2026-06-21 15:48:53'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46821, 'SRID=4674;POINT (-39.736456 -2.864333)', '2026-06-21 15:48:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73639 -2.864203)'), GeomFromEWKT('SRID=4674;POINT (-39.736456 -2.864333)'))) / (select extract(epoch from '2026-06-21 15:48:59'::timestamp) - extract(epoch from '2026-06-21 15:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73639 -2.864203)'), GeomFromEWKT('SRID=4674;POINT (-39.736456 -2.864333)'))) / (select extract(epoch from '2026-06-21 15:48:59'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46821, 'SRID=4674;POINT (-39.736532 -2.864433)', '2026-06-21 15:49:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736456 -2.864333)'), GeomFromEWKT('SRID=4674;POINT (-39.736532 -2.864433)'))) / (select extract(epoch from '2026-06-21 15:49:04'::timestamp) - extract(epoch from '2026-06-21 15:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736456 -2.864333)'), GeomFromEWKT('SRID=4674;POINT (-39.736532 -2.864433)'))) / (select extract(epoch from '2026-06-21 15:49:04'::timestamp) - extract(epoch from '2026-06-21 15:48: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'), 46821, 'SRID=4674;POINT (-39.736634 -2.864537)', '2026-06-21 15:49:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736532 -2.864433)'), GeomFromEWKT('SRID=4674;POINT (-39.736634 -2.864537)'))) / (select extract(epoch from '2026-06-21 15:49:10'::timestamp) - extract(epoch from '2026-06-21 15:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736532 -2.864433)'), GeomFromEWKT('SRID=4674;POINT (-39.736634 -2.864537)'))) / (select extract(epoch from '2026-06-21 15:49:10'::timestamp) - extract(epoch from '2026-06-21 15:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.736726 -2.86465)', '2026-06-21 15:49:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736634 -2.864537)'), GeomFromEWKT('SRID=4674;POINT (-39.736726 -2.86465)'))) / (select extract(epoch from '2026-06-21 15:49:16'::timestamp) - extract(epoch from '2026-06-21 15:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736634 -2.864537)'), GeomFromEWKT('SRID=4674;POINT (-39.736726 -2.86465)'))) / (select extract(epoch from '2026-06-21 15:49:16'::timestamp) - extract(epoch from '2026-06-21 15:49: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'), 46821, 'SRID=4674;POINT (-39.736748 -2.864691)', '2026-06-21 15:49:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736726 -2.86465)'), GeomFromEWKT('SRID=4674;POINT (-39.736748 -2.864691)'))) / (select extract(epoch from '2026-06-21 15:49:18'::timestamp) - extract(epoch from '2026-06-21 15:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736726 -2.86465)'), GeomFromEWKT('SRID=4674;POINT (-39.736748 -2.864691)'))) / (select extract(epoch from '2026-06-21 15:49:18'::timestamp) - extract(epoch from '2026-06-21 15:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.736772 -2.864728)', '2026-06-21 15:49:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736748 -2.864691)'), GeomFromEWKT('SRID=4674;POINT (-39.736772 -2.864728)'))) / (select extract(epoch from '2026-06-21 15:49:20'::timestamp) - extract(epoch from '2026-06-21 15:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736748 -2.864691)'), GeomFromEWKT('SRID=4674;POINT (-39.736772 -2.864728)'))) / (select extract(epoch from '2026-06-21 15:49:20'::timestamp) - extract(epoch from '2026-06-21 15:49: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'), 46821, 'SRID=4674;POINT (-39.736826 -2.864797)', '2026-06-21 15:49:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736772 -2.864728)'), GeomFromEWKT('SRID=4674;POINT (-39.736826 -2.864797)'))) / (select extract(epoch from '2026-06-21 15:49:24'::timestamp) - extract(epoch from '2026-06-21 15:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736772 -2.864728)'), GeomFromEWKT('SRID=4674;POINT (-39.736826 -2.864797)'))) / (select extract(epoch from '2026-06-21 15:49:24'::timestamp) - extract(epoch from '2026-06-21 15:49: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'), 46821, 'SRID=4674;POINT (-39.736835 -2.864813)', '2026-06-21 15:49:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736826 -2.864797)'), GeomFromEWKT('SRID=4674;POINT (-39.736835 -2.864813)'))) / (select extract(epoch from '2026-06-21 15:49:25'::timestamp) - extract(epoch from '2026-06-21 15:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736826 -2.864797)'), GeomFromEWKT('SRID=4674;POINT (-39.736835 -2.864813)'))) / (select extract(epoch from '2026-06-21 15:49:25'::timestamp) - extract(epoch from '2026-06-21 15:49: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'), 46821, 'SRID=4674;POINT (-39.736909 -2.864894)', '2026-06-21 15:49:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736835 -2.864813)'), GeomFromEWKT('SRID=4674;POINT (-39.736909 -2.864894)'))) / (select extract(epoch from '2026-06-21 15:49:29'::timestamp) - extract(epoch from '2026-06-21 15:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736835 -2.864813)'), GeomFromEWKT('SRID=4674;POINT (-39.736909 -2.864894)'))) / (select extract(epoch from '2026-06-21 15:49:29'::timestamp) - extract(epoch from '2026-06-21 15:49: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'), 46821, 'SRID=4674;POINT (-39.736977 -2.864982)', '2026-06-21 15:49:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736909 -2.864894)'), GeomFromEWKT('SRID=4674;POINT (-39.736977 -2.864982)'))) / (select extract(epoch from '2026-06-21 15:49:34'::timestamp) - extract(epoch from '2026-06-21 15:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736909 -2.864894)'), GeomFromEWKT('SRID=4674;POINT (-39.736977 -2.864982)'))) / (select extract(epoch from '2026-06-21 15:49:34'::timestamp) - extract(epoch from '2026-06-21 15:49: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'), 46821, 'SRID=4674;POINT (-39.737037 -2.865082)', '2026-06-21 15:49:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736977 -2.864982)'), GeomFromEWKT('SRID=4674;POINT (-39.737037 -2.865082)'))) / (select extract(epoch from '2026-06-21 15:49:39'::timestamp) - extract(epoch from '2026-06-21 15:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.736977 -2.864982)'), GeomFromEWKT('SRID=4674;POINT (-39.737037 -2.865082)'))) / (select extract(epoch from '2026-06-21 15:49:39'::timestamp) - extract(epoch from '2026-06-21 15:49: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'), 46821, 'SRID=4674;POINT (-39.737132 -2.865228)', '2026-06-21 15:49:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737037 -2.865082)'), GeomFromEWKT('SRID=4674;POINT (-39.737132 -2.865228)'))) / (select extract(epoch from '2026-06-21 15:49:46'::timestamp) - extract(epoch from '2026-06-21 15:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737037 -2.865082)'), GeomFromEWKT('SRID=4674;POINT (-39.737132 -2.865228)'))) / (select extract(epoch from '2026-06-21 15:49:46'::timestamp) - extract(epoch from '2026-06-21 15:49: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'), 46821, 'SRID=4674;POINT (-39.737197 -2.865336)', '2026-06-21 15:49:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737132 -2.865228)'), GeomFromEWKT('SRID=4674;POINT (-39.737197 -2.865336)'))) / (select extract(epoch from '2026-06-21 15:49:51'::timestamp) - extract(epoch from '2026-06-21 15:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737132 -2.865228)'), GeomFromEWKT('SRID=4674;POINT (-39.737197 -2.865336)'))) / (select extract(epoch from '2026-06-21 15:49:51'::timestamp) - extract(epoch from '2026-06-21 15:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.737259 -2.865438)', '2026-06-21 15:49:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737197 -2.865336)'), GeomFromEWKT('SRID=4674;POINT (-39.737259 -2.865438)'))) / (select extract(epoch from '2026-06-21 15:49:56'::timestamp) - extract(epoch from '2026-06-21 15:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737197 -2.865336)'), GeomFromEWKT('SRID=4674;POINT (-39.737259 -2.865438)'))) / (select extract(epoch from '2026-06-21 15:49:56'::timestamp) - extract(epoch from '2026-06-21 15:49: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'), 46821, 'SRID=4674;POINT (-39.737363 -2.865589)', '2026-06-21 15:50:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737259 -2.865438)'), GeomFromEWKT('SRID=4674;POINT (-39.737363 -2.865589)'))) / (select extract(epoch from '2026-06-21 15:50:03'::timestamp) - extract(epoch from '2026-06-21 15:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737259 -2.865438)'), GeomFromEWKT('SRID=4674;POINT (-39.737363 -2.865589)'))) / (select extract(epoch from '2026-06-21 15:50:03'::timestamp) - extract(epoch from '2026-06-21 15:49: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'), 46821, 'SRID=4674;POINT (-39.737408 -2.86567)', '2026-06-21 15:50:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737363 -2.865589)'), GeomFromEWKT('SRID=4674;POINT (-39.737408 -2.86567)'))) / (select extract(epoch from '2026-06-21 15:50:07'::timestamp) - extract(epoch from '2026-06-21 15:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737363 -2.865589)'), GeomFromEWKT('SRID=4674;POINT (-39.737408 -2.86567)'))) / (select extract(epoch from '2026-06-21 15:50:07'::timestamp) - extract(epoch from '2026-06-21 15:50:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.737484 -2.865792)', '2026-06-21 15:50:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737408 -2.86567)'), GeomFromEWKT('SRID=4674;POINT (-39.737484 -2.865792)'))) / (select extract(epoch from '2026-06-21 15:50:13'::timestamp) - extract(epoch from '2026-06-21 15:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737408 -2.86567)'), GeomFromEWKT('SRID=4674;POINT (-39.737484 -2.865792)'))) / (select extract(epoch from '2026-06-21 15:50:13'::timestamp) - extract(epoch from '2026-06-21 15:50: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'), 46821, 'SRID=4674;POINT (-39.737606 -2.865926)', '2026-06-21 15:50:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737484 -2.865792)'), GeomFromEWKT('SRID=4674;POINT (-39.737606 -2.865926)'))) / (select extract(epoch from '2026-06-21 15:50:20'::timestamp) - extract(epoch from '2026-06-21 15:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737484 -2.865792)'), GeomFromEWKT('SRID=4674;POINT (-39.737606 -2.865926)'))) / (select extract(epoch from '2026-06-21 15:50:20'::timestamp) - extract(epoch from '2026-06-21 15:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.737691 -2.866042)', '2026-06-21 15:50:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737606 -2.865926)'), GeomFromEWKT('SRID=4674;POINT (-39.737691 -2.866042)'))) / (select extract(epoch from '2026-06-21 15:50:26'::timestamp) - extract(epoch from '2026-06-21 15:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737606 -2.865926)'), GeomFromEWKT('SRID=4674;POINT (-39.737691 -2.866042)'))) / (select extract(epoch from '2026-06-21 15:50:26'::timestamp) - extract(epoch from '2026-06-21 15:50: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'), 46821, 'SRID=4674;POINT (-39.737728 -2.866099)', '2026-06-21 15:50:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737691 -2.866042)'), GeomFromEWKT('SRID=4674;POINT (-39.737728 -2.866099)'))) / (select extract(epoch from '2026-06-21 15:50:29'::timestamp) - extract(epoch from '2026-06-21 15:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737691 -2.866042)'), GeomFromEWKT('SRID=4674;POINT (-39.737728 -2.866099)'))) / (select extract(epoch from '2026-06-21 15:50:29'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.737736 -2.866117)', '2026-06-21 15:50:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737728 -2.866099)'), GeomFromEWKT('SRID=4674;POINT (-39.737736 -2.866117)'))) / (select extract(epoch from '2026-06-21 15:50:30'::timestamp) - extract(epoch from '2026-06-21 15:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737728 -2.866099)'), GeomFromEWKT('SRID=4674;POINT (-39.737736 -2.866117)'))) / (select extract(epoch from '2026-06-21 15:50:30'::timestamp) - extract(epoch from '2026-06-21 15:50: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'), 46821, 'SRID=4674;POINT (-39.737796 -2.866206)', '2026-06-21 15:50:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737736 -2.866117)'), GeomFromEWKT('SRID=4674;POINT (-39.737796 -2.866206)'))) / (select extract(epoch from '2026-06-21 15:50:34'::timestamp) - extract(epoch from '2026-06-21 15:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737736 -2.866117)'), GeomFromEWKT('SRID=4674;POINT (-39.737796 -2.866206)'))) / (select extract(epoch from '2026-06-21 15:50:34'::timestamp) - extract(epoch from '2026-06-21 15:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.737805 -2.866244)', '2026-06-21 15:50:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737796 -2.866206)'), GeomFromEWKT('SRID=4674;POINT (-39.737805 -2.866244)'))) / (select extract(epoch from '2026-06-21 15:50:36'::timestamp) - extract(epoch from '2026-06-21 15:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737796 -2.866206)'), GeomFromEWKT('SRID=4674;POINT (-39.737805 -2.866244)'))) / (select extract(epoch from '2026-06-21 15:50:36'::timestamp) - extract(epoch from '2026-06-21 15:50: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'), 46821, 'SRID=4674;POINT (-39.737833 -2.866284)', '2026-06-21 15:50:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737805 -2.866244)'), GeomFromEWKT('SRID=4674;POINT (-39.737833 -2.866284)'))) / (select extract(epoch from '2026-06-21 15:50:38'::timestamp) - extract(epoch from '2026-06-21 15:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737805 -2.866244)'), GeomFromEWKT('SRID=4674;POINT (-39.737833 -2.866284)'))) / (select extract(epoch from '2026-06-21 15:50:38'::timestamp) - extract(epoch from '2026-06-21 15:50: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'), 46821, 'SRID=4674;POINT (-39.737899 -2.866408)', '2026-06-21 15:50:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737833 -2.866284)'), GeomFromEWKT('SRID=4674;POINT (-39.737899 -2.866408)'))) / (select extract(epoch from '2026-06-21 15:50:44'::timestamp) - extract(epoch from '2026-06-21 15:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737833 -2.866284)'), GeomFromEWKT('SRID=4674;POINT (-39.737899 -2.866408)'))) / (select extract(epoch from '2026-06-21 15:50:44'::timestamp) - extract(epoch from '2026-06-21 15:50: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'), 46821, 'SRID=4674;POINT (-39.737966 -2.866507)', '2026-06-21 15:50:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737899 -2.866408)'), GeomFromEWKT('SRID=4674;POINT (-39.737966 -2.866507)'))) / (select extract(epoch from '2026-06-21 15:50:49'::timestamp) - extract(epoch from '2026-06-21 15:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737899 -2.866408)'), GeomFromEWKT('SRID=4674;POINT (-39.737966 -2.866507)'))) / (select extract(epoch from '2026-06-21 15:50:49'::timestamp) - extract(epoch from '2026-06-21 15:50:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.738052 -2.866635)', '2026-06-21 15:50:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737966 -2.866507)'), GeomFromEWKT('SRID=4674;POINT (-39.738052 -2.866635)'))) / (select extract(epoch from '2026-06-21 15:50:55'::timestamp) - extract(epoch from '2026-06-21 15:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.737966 -2.866507)'), GeomFromEWKT('SRID=4674;POINT (-39.738052 -2.866635)'))) / (select extract(epoch from '2026-06-21 15:50:55'::timestamp) - extract(epoch from '2026-06-21 15:50: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'), 46821, 'SRID=4674;POINT (-39.738138 -2.866753)', '2026-06-21 15:51:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738052 -2.866635)'), GeomFromEWKT('SRID=4674;POINT (-39.738138 -2.866753)'))) / (select extract(epoch from '2026-06-21 15:51:01'::timestamp) - extract(epoch from '2026-06-21 15:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738052 -2.866635)'), GeomFromEWKT('SRID=4674;POINT (-39.738138 -2.866753)'))) / (select extract(epoch from '2026-06-21 15:51:01'::timestamp) - extract(epoch from '2026-06-21 15:50: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'), 46821, 'SRID=4674;POINT (-39.738227 -2.866888)', '2026-06-21 15:51:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738138 -2.866753)'), GeomFromEWKT('SRID=4674;POINT (-39.738227 -2.866888)'))) / (select extract(epoch from '2026-06-21 15:51:08'::timestamp) - extract(epoch from '2026-06-21 15:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738138 -2.866753)'), GeomFromEWKT('SRID=4674;POINT (-39.738227 -2.866888)'))) / (select extract(epoch from '2026-06-21 15:51:08'::timestamp) - extract(epoch from '2026-06-21 15:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.738304 -2.86701)', '2026-06-21 15:51:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738227 -2.866888)'), GeomFromEWKT('SRID=4674;POINT (-39.738304 -2.86701)'))) / (select extract(epoch from '2026-06-21 15:51:14'::timestamp) - extract(epoch from '2026-06-21 15:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738227 -2.866888)'), GeomFromEWKT('SRID=4674;POINT (-39.738304 -2.86701)'))) / (select extract(epoch from '2026-06-21 15:51:14'::timestamp) - extract(epoch from '2026-06-21 15:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.738372 -2.86713)', '2026-06-21 15:51:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738304 -2.86701)'), GeomFromEWKT('SRID=4674;POINT (-39.738372 -2.86713)'))) / (select extract(epoch from '2026-06-21 15:51:20'::timestamp) - extract(epoch from '2026-06-21 15:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738304 -2.86701)'), GeomFromEWKT('SRID=4674;POINT (-39.738372 -2.86713)'))) / (select extract(epoch from '2026-06-21 15:51:20'::timestamp) - extract(epoch from '2026-06-21 15:51: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'), 46821, 'SRID=4674;POINT (-39.738453 -2.867276)', '2026-06-21 15:51:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738372 -2.86713)'), GeomFromEWKT('SRID=4674;POINT (-39.738453 -2.867276)'))) / (select extract(epoch from '2026-06-21 15:51:27'::timestamp) - extract(epoch from '2026-06-21 15:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738372 -2.86713)'), GeomFromEWKT('SRID=4674;POINT (-39.738453 -2.867276)'))) / (select extract(epoch from '2026-06-21 15:51:27'::timestamp) - extract(epoch from '2026-06-21 15:51: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'), 46821, 'SRID=4674;POINT (-39.73853 -2.867412)', '2026-06-21 15:51:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738453 -2.867276)'), GeomFromEWKT('SRID=4674;POINT (-39.73853 -2.867412)'))) / (select extract(epoch from '2026-06-21 15:51:33'::timestamp) - extract(epoch from '2026-06-21 15:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738453 -2.867276)'), GeomFromEWKT('SRID=4674;POINT (-39.73853 -2.867412)'))) / (select extract(epoch from '2026-06-21 15:51:33'::timestamp) - extract(epoch from '2026-06-21 15:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.738608 -2.867532)', '2026-06-21 15:51:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73853 -2.867412)'), GeomFromEWKT('SRID=4674;POINT (-39.738608 -2.867532)'))) / (select extract(epoch from '2026-06-21 15:51:39'::timestamp) - extract(epoch from '2026-06-21 15:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73853 -2.867412)'), GeomFromEWKT('SRID=4674;POINT (-39.738608 -2.867532)'))) / (select extract(epoch from '2026-06-21 15:51:39'::timestamp) - extract(epoch from '2026-06-21 15:51: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'), 46821, 'SRID=4674;POINT (-39.738697 -2.867646)', '2026-06-21 15:51:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738608 -2.867532)'), GeomFromEWKT('SRID=4674;POINT (-39.738697 -2.867646)'))) / (select extract(epoch from '2026-06-21 15:51:45'::timestamp) - extract(epoch from '2026-06-21 15:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738608 -2.867532)'), GeomFromEWKT('SRID=4674;POINT (-39.738697 -2.867646)'))) / (select extract(epoch from '2026-06-21 15:51:45'::timestamp) - extract(epoch from '2026-06-21 15:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.738737 -2.867706)', '2026-06-21 15:51:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738697 -2.867646)'), GeomFromEWKT('SRID=4674;POINT (-39.738737 -2.867706)'))) / (select extract(epoch from '2026-06-21 15:51:48'::timestamp) - extract(epoch from '2026-06-21 15:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738697 -2.867646)'), GeomFromEWKT('SRID=4674;POINT (-39.738737 -2.867706)'))) / (select extract(epoch from '2026-06-21 15:51:48'::timestamp) - extract(epoch from '2026-06-21 15:51: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'), 46821, 'SRID=4674;POINT (-39.738756 -2.867725)', '2026-06-21 15:51:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738737 -2.867706)'), GeomFromEWKT('SRID=4674;POINT (-39.738756 -2.867725)'))) / (select extract(epoch from '2026-06-21 15:51:49'::timestamp) - extract(epoch from '2026-06-21 15:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738737 -2.867706)'), GeomFromEWKT('SRID=4674;POINT (-39.738756 -2.867725)'))) / (select extract(epoch from '2026-06-21 15:51:49'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.738796 -2.867796)', '2026-06-21 15:51:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738756 -2.867725)'), GeomFromEWKT('SRID=4674;POINT (-39.738796 -2.867796)'))) / (select extract(epoch from '2026-06-21 15:51:53'::timestamp) - extract(epoch from '2026-06-21 15:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738756 -2.867725)'), GeomFromEWKT('SRID=4674;POINT (-39.738796 -2.867796)'))) / (select extract(epoch from '2026-06-21 15:51:53'::timestamp) - extract(epoch from '2026-06-21 15:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.73884 -2.867848)', '2026-06-21 15:51:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738796 -2.867796)'), GeomFromEWKT('SRID=4674;POINT (-39.73884 -2.867848)'))) / (select extract(epoch from '2026-06-21 15:51:56'::timestamp) - extract(epoch from '2026-06-21 15:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738796 -2.867796)'), GeomFromEWKT('SRID=4674;POINT (-39.73884 -2.867848)'))) / (select extract(epoch from '2026-06-21 15:51:56'::timestamp) - extract(epoch from '2026-06-21 15:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.738848 -2.867865)', '2026-06-21 15:51:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73884 -2.867848)'), GeomFromEWKT('SRID=4674;POINT (-39.738848 -2.867865)'))) / (select extract(epoch from '2026-06-21 15:51:57'::timestamp) - extract(epoch from '2026-06-21 15:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73884 -2.867848)'), GeomFromEWKT('SRID=4674;POINT (-39.738848 -2.867865)'))) / (select extract(epoch from '2026-06-21 15:51:57'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.738904 -2.867966)', '2026-06-21 15:52:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738848 -2.867865)'), GeomFromEWKT('SRID=4674;POINT (-39.738904 -2.867966)'))) / (select extract(epoch from '2026-06-21 15:52:02'::timestamp) - extract(epoch from '2026-06-21 15:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738848 -2.867865)'), GeomFromEWKT('SRID=4674;POINT (-39.738904 -2.867966)'))) / (select extract(epoch from '2026-06-21 15:52:02'::timestamp) - extract(epoch from '2026-06-21 15:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.738965 -2.868062)', '2026-06-21 15:52:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738904 -2.867966)'), GeomFromEWKT('SRID=4674;POINT (-39.738965 -2.868062)'))) / (select extract(epoch from '2026-06-21 15:52:07'::timestamp) - extract(epoch from '2026-06-21 15:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738904 -2.867966)'), GeomFromEWKT('SRID=4674;POINT (-39.738965 -2.868062)'))) / (select extract(epoch from '2026-06-21 15:52:07'::timestamp) - extract(epoch from '2026-06-21 15:52: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'), 46821, 'SRID=4674;POINT (-39.738973 -2.868084)', '2026-06-21 15:52:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738965 -2.868062)'), GeomFromEWKT('SRID=4674;POINT (-39.738973 -2.868084)'))) / (select extract(epoch from '2026-06-21 15:52:08'::timestamp) - extract(epoch from '2026-06-21 15:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738965 -2.868062)'), GeomFromEWKT('SRID=4674;POINT (-39.738973 -2.868084)'))) / (select extract(epoch from '2026-06-21 15:52:08'::timestamp) - extract(epoch from '2026-06-21 15:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.739051 -2.868209)', '2026-06-21 15:52:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738973 -2.868084)'), GeomFromEWKT('SRID=4674;POINT (-39.739051 -2.868209)'))) / (select extract(epoch from '2026-06-21 15:52:14'::timestamp) - extract(epoch from '2026-06-21 15:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.738973 -2.868084)'), GeomFromEWKT('SRID=4674;POINT (-39.739051 -2.868209)'))) / (select extract(epoch from '2026-06-21 15:52:14'::timestamp) - extract(epoch from '2026-06-21 15:52:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.739094 -2.868289)', '2026-06-21 15:52:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739051 -2.868209)'), GeomFromEWKT('SRID=4674;POINT (-39.739094 -2.868289)'))) / (select extract(epoch from '2026-06-21 15:52:18'::timestamp) - extract(epoch from '2026-06-21 15:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739051 -2.868209)'), GeomFromEWKT('SRID=4674;POINT (-39.739094 -2.868289)'))) / (select extract(epoch from '2026-06-21 15:52:18'::timestamp) - extract(epoch from '2026-06-21 15:52: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'), 46821, 'SRID=4674;POINT (-39.739123 -2.868343)', '2026-06-21 15:52:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739094 -2.868289)'), GeomFromEWKT('SRID=4674;POINT (-39.739123 -2.868343)'))) / (select extract(epoch from '2026-06-21 15:52:21'::timestamp) - extract(epoch from '2026-06-21 15:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739094 -2.868289)'), GeomFromEWKT('SRID=4674;POINT (-39.739123 -2.868343)'))) / (select extract(epoch from '2026-06-21 15:52:21'::timestamp) - extract(epoch from '2026-06-21 15:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.739138 -2.868363)', '2026-06-21 15:52:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739123 -2.868343)'), GeomFromEWKT('SRID=4674;POINT (-39.739138 -2.868363)'))) / (select extract(epoch from '2026-06-21 15:52:22'::timestamp) - extract(epoch from '2026-06-21 15:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739123 -2.868343)'), GeomFromEWKT('SRID=4674;POINT (-39.739138 -2.868363)'))) / (select extract(epoch from '2026-06-21 15:52:22'::timestamp) - extract(epoch from '2026-06-21 15:52: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'), 46821, 'SRID=4674;POINT (-39.739205 -2.86848)', '2026-06-21 15:52:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739138 -2.868363)'), GeomFromEWKT('SRID=4674;POINT (-39.739205 -2.86848)'))) / (select extract(epoch from '2026-06-21 15:52:28'::timestamp) - extract(epoch from '2026-06-21 15:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739138 -2.868363)'), GeomFromEWKT('SRID=4674;POINT (-39.739205 -2.86848)'))) / (select extract(epoch from '2026-06-21 15:52:28'::timestamp) - extract(epoch from '2026-06-21 15:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.739258 -2.868543)', '2026-06-21 15:52:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739205 -2.86848)'), GeomFromEWKT('SRID=4674;POINT (-39.739258 -2.868543)'))) / (select extract(epoch from '2026-06-21 15:52:31'::timestamp) - extract(epoch from '2026-06-21 15:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739205 -2.86848)'), GeomFromEWKT('SRID=4674;POINT (-39.739258 -2.868543)'))) / (select extract(epoch from '2026-06-21 15:52:31'::timestamp) - extract(epoch from '2026-06-21 15:52: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'), 46821, 'SRID=4674;POINT (-39.739264 -2.868561)', '2026-06-21 15:52:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739258 -2.868543)'), GeomFromEWKT('SRID=4674;POINT (-39.739264 -2.868561)'))) / (select extract(epoch from '2026-06-21 15:52:32'::timestamp) - extract(epoch from '2026-06-21 15:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739258 -2.868543)'), GeomFromEWKT('SRID=4674;POINT (-39.739264 -2.868561)'))) / (select extract(epoch from '2026-06-21 15:52:32'::timestamp) - extract(epoch from '2026-06-21 15:52: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'), 46821, 'SRID=4674;POINT (-39.739324 -2.868652)', '2026-06-21 15:52:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739264 -2.868561)'), GeomFromEWKT('SRID=4674;POINT (-39.739324 -2.868652)'))) / (select extract(epoch from '2026-06-21 15:52:37'::timestamp) - extract(epoch from '2026-06-21 15:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739264 -2.868561)'), GeomFromEWKT('SRID=4674;POINT (-39.739324 -2.868652)'))) / (select extract(epoch from '2026-06-21 15:52:37'::timestamp) - extract(epoch from '2026-06-21 15:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.739386 -2.868733)', '2026-06-21 15:52:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739324 -2.868652)'), GeomFromEWKT('SRID=4674;POINT (-39.739386 -2.868733)'))) / (select extract(epoch from '2026-06-21 15:52:41'::timestamp) - extract(epoch from '2026-06-21 15:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739324 -2.868652)'), GeomFromEWKT('SRID=4674;POINT (-39.739386 -2.868733)'))) / (select extract(epoch from '2026-06-21 15:52:41'::timestamp) - extract(epoch from '2026-06-21 15:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.739478 -2.868862)', '2026-06-21 15:52:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739386 -2.868733)'), GeomFromEWKT('SRID=4674;POINT (-39.739478 -2.868862)'))) / (select extract(epoch from '2026-06-21 15:52:48'::timestamp) - extract(epoch from '2026-06-21 15:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739386 -2.868733)'), GeomFromEWKT('SRID=4674;POINT (-39.739478 -2.868862)'))) / (select extract(epoch from '2026-06-21 15:52:48'::timestamp) - extract(epoch from '2026-06-21 15:52: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'), 46821, 'SRID=4674;POINT (-39.739544 -2.868958)', '2026-06-21 15:52:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739478 -2.868862)'), GeomFromEWKT('SRID=4674;POINT (-39.739544 -2.868958)'))) / (select extract(epoch from '2026-06-21 15:52:53'::timestamp) - extract(epoch from '2026-06-21 15:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739478 -2.868862)'), GeomFromEWKT('SRID=4674;POINT (-39.739544 -2.868958)'))) / (select extract(epoch from '2026-06-21 15:52:53'::timestamp) - extract(epoch from '2026-06-21 15:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.739606 -2.869058)', '2026-06-21 15:52:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739544 -2.868958)'), GeomFromEWKT('SRID=4674;POINT (-39.739606 -2.869058)'))) / (select extract(epoch from '2026-06-21 15:52:58'::timestamp) - extract(epoch from '2026-06-21 15:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739544 -2.868958)'), GeomFromEWKT('SRID=4674;POINT (-39.739606 -2.869058)'))) / (select extract(epoch from '2026-06-21 15:52:58'::timestamp) - extract(epoch from '2026-06-21 15:52: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'), 46821, 'SRID=4674;POINT (-39.739666 -2.869156)', '2026-06-21 15:53:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739606 -2.869058)'), GeomFromEWKT('SRID=4674;POINT (-39.739666 -2.869156)'))) / (select extract(epoch from '2026-06-21 15:53:03'::timestamp) - extract(epoch from '2026-06-21 15:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739606 -2.869058)'), GeomFromEWKT('SRID=4674;POINT (-39.739666 -2.869156)'))) / (select extract(epoch from '2026-06-21 15:53:03'::timestamp) - extract(epoch from '2026-06-21 15:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.73975 -2.86929)', '2026-06-21 15:53:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739666 -2.869156)'), GeomFromEWKT('SRID=4674;POINT (-39.73975 -2.86929)'))) / (select extract(epoch from '2026-06-21 15:53:10'::timestamp) - extract(epoch from '2026-06-21 15:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739666 -2.869156)'), GeomFromEWKT('SRID=4674;POINT (-39.73975 -2.86929)'))) / (select extract(epoch from '2026-06-21 15:53:10'::timestamp) - extract(epoch from '2026-06-21 15:53: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'), 46821, 'SRID=4674;POINT (-39.739848 -2.869457)', '2026-06-21 15:53:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73975 -2.86929)'), GeomFromEWKT('SRID=4674;POINT (-39.739848 -2.869457)'))) / (select extract(epoch from '2026-06-21 15:53:18'::timestamp) - extract(epoch from '2026-06-21 15:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.73975 -2.86929)'), GeomFromEWKT('SRID=4674;POINT (-39.739848 -2.869457)'))) / (select extract(epoch from '2026-06-21 15:53:18'::timestamp) - extract(epoch from '2026-06-21 15:53: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'), 46821, 'SRID=4674;POINT (-39.739901 -2.869568)', '2026-06-21 15:53:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739848 -2.869457)'), GeomFromEWKT('SRID=4674;POINT (-39.739901 -2.869568)'))) / (select extract(epoch from '2026-06-21 15:53:23'::timestamp) - extract(epoch from '2026-06-21 15:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739848 -2.869457)'), GeomFromEWKT('SRID=4674;POINT (-39.739901 -2.869568)'))) / (select extract(epoch from '2026-06-21 15:53:23'::timestamp) - extract(epoch from '2026-06-21 15:53: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'), 46821, 'SRID=4674;POINT (-39.739974 -2.869686)', '2026-06-21 15:53:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739901 -2.869568)'), GeomFromEWKT('SRID=4674;POINT (-39.739974 -2.869686)'))) / (select extract(epoch from '2026-06-21 15:53:29'::timestamp) - extract(epoch from '2026-06-21 15:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739901 -2.869568)'), GeomFromEWKT('SRID=4674;POINT (-39.739974 -2.869686)'))) / (select extract(epoch from '2026-06-21 15:53:29'::timestamp) - extract(epoch from '2026-06-21 15:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.74005 -2.869774)', '2026-06-21 15:53:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739974 -2.869686)'), GeomFromEWKT('SRID=4674;POINT (-39.74005 -2.869774)'))) / (select extract(epoch from '2026-06-21 15:53:34'::timestamp) - extract(epoch from '2026-06-21 15:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.739974 -2.869686)'), GeomFromEWKT('SRID=4674;POINT (-39.74005 -2.869774)'))) / (select extract(epoch from '2026-06-21 15:53:34'::timestamp) - extract(epoch from '2026-06-21 15:53: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'), 46821, 'SRID=4674;POINT (-39.740146 -2.869878)', '2026-06-21 15:53:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74005 -2.869774)'), GeomFromEWKT('SRID=4674;POINT (-39.740146 -2.869878)'))) / (select extract(epoch from '2026-06-21 15:53:40'::timestamp) - extract(epoch from '2026-06-21 15:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74005 -2.869774)'), GeomFromEWKT('SRID=4674;POINT (-39.740146 -2.869878)'))) / (select extract(epoch from '2026-06-21 15:53:40'::timestamp) - extract(epoch from '2026-06-21 15:53:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.740237 -2.870014)', '2026-06-21 15:53:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740146 -2.869878)'), GeomFromEWKT('SRID=4674;POINT (-39.740237 -2.870014)'))) / (select extract(epoch from '2026-06-21 15:53:47'::timestamp) - extract(epoch from '2026-06-21 15:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740146 -2.869878)'), GeomFromEWKT('SRID=4674;POINT (-39.740237 -2.870014)'))) / (select extract(epoch from '2026-06-21 15:53:47'::timestamp) - extract(epoch from '2026-06-21 15:53:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.740318 -2.870125)', '2026-06-21 15:53:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740237 -2.870014)'), GeomFromEWKT('SRID=4674;POINT (-39.740318 -2.870125)'))) / (select extract(epoch from '2026-06-21 15:53:53'::timestamp) - extract(epoch from '2026-06-21 15:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740237 -2.870014)'), GeomFromEWKT('SRID=4674;POINT (-39.740318 -2.870125)'))) / (select extract(epoch from '2026-06-21 15:53:53'::timestamp) - extract(epoch from '2026-06-21 15:53: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'), 46821, 'SRID=4674;POINT (-39.740399 -2.870216)', '2026-06-21 15:53:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740318 -2.870125)'), GeomFromEWKT('SRID=4674;POINT (-39.740399 -2.870216)'))) / (select extract(epoch from '2026-06-21 15:53:58'::timestamp) - extract(epoch from '2026-06-21 15:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740318 -2.870125)'), GeomFromEWKT('SRID=4674;POINT (-39.740399 -2.870216)'))) / (select extract(epoch from '2026-06-21 15:53:58'::timestamp) - extract(epoch from '2026-06-21 15:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.740473 -2.870328)', '2026-06-21 15:54:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740399 -2.870216)'), GeomFromEWKT('SRID=4674;POINT (-39.740473 -2.870328)'))) / (select extract(epoch from '2026-06-21 15:54:04'::timestamp) - extract(epoch from '2026-06-21 15:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740399 -2.870216)'), GeomFromEWKT('SRID=4674;POINT (-39.740473 -2.870328)'))) / (select extract(epoch from '2026-06-21 15:54:04'::timestamp) - extract(epoch from '2026-06-21 15:53: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'), 46821, 'SRID=4674;POINT (-39.740544 -2.870408)', '2026-06-21 15:54:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740473 -2.870328)'), GeomFromEWKT('SRID=4674;POINT (-39.740544 -2.870408)'))) / (select extract(epoch from '2026-06-21 15:54:09'::timestamp) - extract(epoch from '2026-06-21 15:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740473 -2.870328)'), GeomFromEWKT('SRID=4674;POINT (-39.740544 -2.870408)'))) / (select extract(epoch from '2026-06-21 15:54:09'::timestamp) - extract(epoch from '2026-06-21 15:54: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'), 46821, 'SRID=4674;POINT (-39.740619 -2.870503)', '2026-06-21 15:54:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740544 -2.870408)'), GeomFromEWKT('SRID=4674;POINT (-39.740619 -2.870503)'))) / (select extract(epoch from '2026-06-21 15:54:14'::timestamp) - extract(epoch from '2026-06-21 15:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740544 -2.870408)'), GeomFromEWKT('SRID=4674;POINT (-39.740619 -2.870503)'))) / (select extract(epoch from '2026-06-21 15:54:14'::timestamp) - extract(epoch from '2026-06-21 15:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.740641 -2.870535)', '2026-06-21 15:54:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740619 -2.870503)'), GeomFromEWKT('SRID=4674;POINT (-39.740641 -2.870535)'))) / (select extract(epoch from '2026-06-21 15:54:16'::timestamp) - extract(epoch from '2026-06-21 15:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740619 -2.870503)'), GeomFromEWKT('SRID=4674;POINT (-39.740641 -2.870535)'))) / (select extract(epoch from '2026-06-21 15:54:16'::timestamp) - extract(epoch from '2026-06-21 15:54: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'), 46821, 'SRID=4674;POINT (-39.74068 -2.87059)', '2026-06-21 15:54:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740641 -2.870535)'), GeomFromEWKT('SRID=4674;POINT (-39.74068 -2.87059)'))) / (select extract(epoch from '2026-06-21 15:54:19'::timestamp) - extract(epoch from '2026-06-21 15:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740641 -2.870535)'), GeomFromEWKT('SRID=4674;POINT (-39.74068 -2.87059)'))) / (select extract(epoch from '2026-06-21 15:54:19'::timestamp) - extract(epoch from '2026-06-21 15:54: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'), 46821, 'SRID=4674;POINT (-39.740776 -2.870722)', '2026-06-21 15:54:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74068 -2.87059)'), GeomFromEWKT('SRID=4674;POINT (-39.740776 -2.870722)'))) / (select extract(epoch from '2026-06-21 15:54:26'::timestamp) - extract(epoch from '2026-06-21 15:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74068 -2.87059)'), GeomFromEWKT('SRID=4674;POINT (-39.740776 -2.870722)'))) / (select extract(epoch from '2026-06-21 15:54:26'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.740829 -2.870812)', '2026-06-21 15:54:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740776 -2.870722)'), GeomFromEWKT('SRID=4674;POINT (-39.740829 -2.870812)'))) / (select extract(epoch from '2026-06-21 15:54:31'::timestamp) - extract(epoch from '2026-06-21 15:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740776 -2.870722)'), GeomFromEWKT('SRID=4674;POINT (-39.740829 -2.870812)'))) / (select extract(epoch from '2026-06-21 15:54:31'::timestamp) - extract(epoch from '2026-06-21 15:54: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'), 46821, 'SRID=4674;POINT (-39.740899 -2.870932)', '2026-06-21 15:54:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740829 -2.870812)'), GeomFromEWKT('SRID=4674;POINT (-39.740899 -2.870932)'))) / (select extract(epoch from '2026-06-21 15:54:37'::timestamp) - extract(epoch from '2026-06-21 15:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740829 -2.870812)'), GeomFromEWKT('SRID=4674;POINT (-39.740899 -2.870932)'))) / (select extract(epoch from '2026-06-21 15:54:37'::timestamp) - extract(epoch from '2026-06-21 15:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.740973 -2.871054)', '2026-06-21 15:54:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740899 -2.870932)'), GeomFromEWKT('SRID=4674;POINT (-39.740973 -2.871054)'))) / (select extract(epoch from '2026-06-21 15:54:43'::timestamp) - extract(epoch from '2026-06-21 15:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740899 -2.870932)'), GeomFromEWKT('SRID=4674;POINT (-39.740973 -2.871054)'))) / (select extract(epoch from '2026-06-21 15:54:43'::timestamp) - extract(epoch from '2026-06-21 15:54: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'), 46821, 'SRID=4674;POINT (-39.74107 -2.871176)', '2026-06-21 15:54:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740973 -2.871054)'), GeomFromEWKT('SRID=4674;POINT (-39.74107 -2.871176)'))) / (select extract(epoch from '2026-06-21 15:54:50'::timestamp) - extract(epoch from '2026-06-21 15:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.740973 -2.871054)'), GeomFromEWKT('SRID=4674;POINT (-39.74107 -2.871176)'))) / (select extract(epoch from '2026-06-21 15:54:50'::timestamp) - extract(epoch from '2026-06-21 15:54: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'), 46821, 'SRID=4674;POINT (-39.741162 -2.871282)', '2026-06-21 15:54:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74107 -2.871176)'), GeomFromEWKT('SRID=4674;POINT (-39.741162 -2.871282)'))) / (select extract(epoch from '2026-06-21 15:54:56'::timestamp) - extract(epoch from '2026-06-21 15:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74107 -2.871176)'), GeomFromEWKT('SRID=4674;POINT (-39.741162 -2.871282)'))) / (select extract(epoch from '2026-06-21 15:54:56'::timestamp) - extract(epoch from '2026-06-21 15:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.741218 -2.871373)', '2026-06-21 15:55:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741162 -2.871282)'), GeomFromEWKT('SRID=4674;POINT (-39.741218 -2.871373)'))) / (select extract(epoch from '2026-06-21 15:55:01'::timestamp) - extract(epoch from '2026-06-21 15:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741162 -2.871282)'), GeomFromEWKT('SRID=4674;POINT (-39.741218 -2.871373)'))) / (select extract(epoch from '2026-06-21 15:55:01'::timestamp) - extract(epoch from '2026-06-21 15:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.74127 -2.871444)', '2026-06-21 15:55:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741218 -2.871373)'), GeomFromEWKT('SRID=4674;POINT (-39.74127 -2.871444)'))) / (select extract(epoch from '2026-06-21 15:55:05'::timestamp) - extract(epoch from '2026-06-21 15:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741218 -2.871373)'), GeomFromEWKT('SRID=4674;POINT (-39.74127 -2.871444)'))) / (select extract(epoch from '2026-06-21 15:55:05'::timestamp) - extract(epoch from '2026-06-21 15:55: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'), 46821, 'SRID=4674;POINT (-39.74134 -2.871543)', '2026-06-21 15:55:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74127 -2.871444)'), GeomFromEWKT('SRID=4674;POINT (-39.74134 -2.871543)'))) / (select extract(epoch from '2026-06-21 15:55:10'::timestamp) - extract(epoch from '2026-06-21 15:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74127 -2.871444)'), GeomFromEWKT('SRID=4674;POINT (-39.74134 -2.871543)'))) / (select extract(epoch from '2026-06-21 15:55:10'::timestamp) - extract(epoch from '2026-06-21 15:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.741398 -2.871633)', '2026-06-21 15:55:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74134 -2.871543)'), GeomFromEWKT('SRID=4674;POINT (-39.741398 -2.871633)'))) / (select extract(epoch from '2026-06-21 15:55:15'::timestamp) - extract(epoch from '2026-06-21 15:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74134 -2.871543)'), GeomFromEWKT('SRID=4674;POINT (-39.741398 -2.871633)'))) / (select extract(epoch from '2026-06-21 15:55:15'::timestamp) - extract(epoch from '2026-06-21 15:55: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'), 46821, 'SRID=4674;POINT (-39.741459 -2.871755)', '2026-06-21 15:55:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741398 -2.871633)'), GeomFromEWKT('SRID=4674;POINT (-39.741459 -2.871755)'))) / (select extract(epoch from '2026-06-21 15:55:21'::timestamp) - extract(epoch from '2026-06-21 15:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741398 -2.871633)'), GeomFromEWKT('SRID=4674;POINT (-39.741459 -2.871755)'))) / (select extract(epoch from '2026-06-21 15:55:21'::timestamp) - extract(epoch from '2026-06-21 15:55: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'), 46821, 'SRID=4674;POINT (-39.741519 -2.871873)', '2026-06-21 15:55:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741459 -2.871755)'), GeomFromEWKT('SRID=4674;POINT (-39.741519 -2.871873)'))) / (select extract(epoch from '2026-06-21 15:55:27'::timestamp) - extract(epoch from '2026-06-21 15:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741459 -2.871755)'), GeomFromEWKT('SRID=4674;POINT (-39.741519 -2.871873)'))) / (select extract(epoch from '2026-06-21 15:55:27'::timestamp) - extract(epoch from '2026-06-21 15:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.741609 -2.872016)', '2026-06-21 15:55:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741519 -2.871873)'), GeomFromEWKT('SRID=4674;POINT (-39.741609 -2.872016)'))) / (select extract(epoch from '2026-06-21 15:55:34'::timestamp) - extract(epoch from '2026-06-21 15:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741519 -2.871873)'), GeomFromEWKT('SRID=4674;POINT (-39.741609 -2.872016)'))) / (select extract(epoch from '2026-06-21 15:55:34'::timestamp) - extract(epoch from '2026-06-21 15:55: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'), 46821, 'SRID=4674;POINT (-39.741696 -2.872133)', '2026-06-21 15:55:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741609 -2.872016)'), GeomFromEWKT('SRID=4674;POINT (-39.741696 -2.872133)'))) / (select extract(epoch from '2026-06-21 15:55:40'::timestamp) - extract(epoch from '2026-06-21 15:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741609 -2.872016)'), GeomFromEWKT('SRID=4674;POINT (-39.741696 -2.872133)'))) / (select extract(epoch from '2026-06-21 15:55:40'::timestamp) - extract(epoch from '2026-06-21 15:55: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'), 46821, 'SRID=4674;POINT (-39.741766 -2.87222)', '2026-06-21 15:55:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741696 -2.872133)'), GeomFromEWKT('SRID=4674;POINT (-39.741766 -2.87222)'))) / (select extract(epoch from '2026-06-21 15:55:45'::timestamp) - extract(epoch from '2026-06-21 15:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741696 -2.872133)'), GeomFromEWKT('SRID=4674;POINT (-39.741766 -2.87222)'))) / (select extract(epoch from '2026-06-21 15:55:45'::timestamp) - extract(epoch from '2026-06-21 15:55: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'), 46821, 'SRID=4674;POINT (-39.741861 -2.872312)', '2026-06-21 15:55:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741766 -2.87222)'), GeomFromEWKT('SRID=4674;POINT (-39.741861 -2.872312)'))) / (select extract(epoch from '2026-06-21 15:55:51'::timestamp) - extract(epoch from '2026-06-21 15:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741766 -2.87222)'), GeomFromEWKT('SRID=4674;POINT (-39.741861 -2.872312)'))) / (select extract(epoch from '2026-06-21 15:55:51'::timestamp) - extract(epoch from '2026-06-21 15:55: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'), 46821, 'SRID=4674;POINT (-39.741931 -2.872399)', '2026-06-21 15:55:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741861 -2.872312)'), GeomFromEWKT('SRID=4674;POINT (-39.741931 -2.872399)'))) / (select extract(epoch from '2026-06-21 15:55:56'::timestamp) - extract(epoch from '2026-06-21 15:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741861 -2.872312)'), GeomFromEWKT('SRID=4674;POINT (-39.741931 -2.872399)'))) / (select extract(epoch from '2026-06-21 15:55:56'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.741988 -2.872471)', '2026-06-21 15:56:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741931 -2.872399)'), GeomFromEWKT('SRID=4674;POINT (-39.741988 -2.872471)'))) / (select extract(epoch from '2026-06-21 15:56:00'::timestamp) - extract(epoch from '2026-06-21 15:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741931 -2.872399)'), GeomFromEWKT('SRID=4674;POINT (-39.741988 -2.872471)'))) / (select extract(epoch from '2026-06-21 15:56:00'::timestamp) - extract(epoch from '2026-06-21 15:55: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'), 46821, 'SRID=4674;POINT (-39.74207 -2.872589)', '2026-06-21 15:56:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741988 -2.872471)'), GeomFromEWKT('SRID=4674;POINT (-39.74207 -2.872589)'))) / (select extract(epoch from '2026-06-21 15:56:07'::timestamp) - extract(epoch from '2026-06-21 15:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.741988 -2.872471)'), GeomFromEWKT('SRID=4674;POINT (-39.74207 -2.872589)'))) / (select extract(epoch from '2026-06-21 15:56:07'::timestamp) - extract(epoch from '2026-06-21 15:56: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'), 46821, 'SRID=4674;POINT (-39.742122 -2.872663)', '2026-06-21 15:56:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74207 -2.872589)'), GeomFromEWKT('SRID=4674;POINT (-39.742122 -2.872663)'))) / (select extract(epoch from '2026-06-21 15:56:11'::timestamp) - extract(epoch from '2026-06-21 15:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74207 -2.872589)'), GeomFromEWKT('SRID=4674;POINT (-39.742122 -2.872663)'))) / (select extract(epoch from '2026-06-21 15:56:11'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.742194 -2.872772)', '2026-06-21 15:56:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742122 -2.872663)'), GeomFromEWKT('SRID=4674;POINT (-39.742194 -2.872772)'))) / (select extract(epoch from '2026-06-21 15:56:17'::timestamp) - extract(epoch from '2026-06-21 15:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742122 -2.872663)'), GeomFromEWKT('SRID=4674;POINT (-39.742194 -2.872772)'))) / (select extract(epoch from '2026-06-21 15:56:17'::timestamp) - extract(epoch from '2026-06-21 15:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.74226 -2.872868)', '2026-06-21 15:56:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742194 -2.872772)'), GeomFromEWKT('SRID=4674;POINT (-39.74226 -2.872868)'))) / (select extract(epoch from '2026-06-21 15:56:22'::timestamp) - extract(epoch from '2026-06-21 15:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742194 -2.872772)'), GeomFromEWKT('SRID=4674;POINT (-39.74226 -2.872868)'))) / (select extract(epoch from '2026-06-21 15:56:22'::timestamp) - extract(epoch from '2026-06-21 15:56: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'), 46821, 'SRID=4674;POINT (-39.742274 -2.872906)', '2026-06-21 15:56:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74226 -2.872868)'), GeomFromEWKT('SRID=4674;POINT (-39.742274 -2.872906)'))) / (select extract(epoch from '2026-06-21 15:56:24'::timestamp) - extract(epoch from '2026-06-21 15:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74226 -2.872868)'), GeomFromEWKT('SRID=4674;POINT (-39.742274 -2.872906)'))) / (select extract(epoch from '2026-06-21 15:56:24'::timestamp) - extract(epoch from '2026-06-21 15:56: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'), 46821, 'SRID=4674;POINT (-39.742304 -2.872952)', '2026-06-21 15:56:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742274 -2.872906)'), GeomFromEWKT('SRID=4674;POINT (-39.742304 -2.872952)'))) / (select extract(epoch from '2026-06-21 15:56:26'::timestamp) - extract(epoch from '2026-06-21 15:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742274 -2.872906)'), GeomFromEWKT('SRID=4674;POINT (-39.742304 -2.872952)'))) / (select extract(epoch from '2026-06-21 15:56:26'::timestamp) - extract(epoch from '2026-06-21 15:56: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'), 46821, 'SRID=4674;POINT (-39.742373 -2.873051)', '2026-06-21 15:56:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742304 -2.872952)'), GeomFromEWKT('SRID=4674;POINT (-39.742373 -2.873051)'))) / (select extract(epoch from '2026-06-21 15:56:31'::timestamp) - extract(epoch from '2026-06-21 15:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742304 -2.872952)'), GeomFromEWKT('SRID=4674;POINT (-39.742373 -2.873051)'))) / (select extract(epoch from '2026-06-21 15:56:31'::timestamp) - extract(epoch from '2026-06-21 15:56: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'), 46821, 'SRID=4674;POINT (-39.742444 -2.873138)', '2026-06-21 15:56:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742373 -2.873051)'), GeomFromEWKT('SRID=4674;POINT (-39.742444 -2.873138)'))) / (select extract(epoch from '2026-06-21 15:56:36'::timestamp) - extract(epoch from '2026-06-21 15:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742373 -2.873051)'), GeomFromEWKT('SRID=4674;POINT (-39.742444 -2.873138)'))) / (select extract(epoch from '2026-06-21 15:56:36'::timestamp) - extract(epoch from '2026-06-21 15:56: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'), 46821, 'SRID=4674;POINT (-39.742545 -2.873257)', '2026-06-21 15:56:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742444 -2.873138)'), GeomFromEWKT('SRID=4674;POINT (-39.742545 -2.873257)'))) / (select extract(epoch from '2026-06-21 15:56:43'::timestamp) - extract(epoch from '2026-06-21 15:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742444 -2.873138)'), GeomFromEWKT('SRID=4674;POINT (-39.742545 -2.873257)'))) / (select extract(epoch from '2026-06-21 15:56:43'::timestamp) - extract(epoch from '2026-06-21 15:56: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'), 46821, 'SRID=4674;POINT (-39.742615 -2.873346)', '2026-06-21 15:56:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742545 -2.873257)'), GeomFromEWKT('SRID=4674;POINT (-39.742615 -2.873346)'))) / (select extract(epoch from '2026-06-21 15:56:48'::timestamp) - extract(epoch from '2026-06-21 15:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742545 -2.873257)'), GeomFromEWKT('SRID=4674;POINT (-39.742615 -2.873346)'))) / (select extract(epoch from '2026-06-21 15:56:48'::timestamp) - extract(epoch from '2026-06-21 15:56: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'), 46821, 'SRID=4674;POINT (-39.742647 -2.873381)', '2026-06-21 15:56:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742615 -2.873346)'), GeomFromEWKT('SRID=4674;POINT (-39.742647 -2.873381)'))) / (select extract(epoch from '2026-06-21 15:56:50'::timestamp) - extract(epoch from '2026-06-21 15:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742615 -2.873346)'), GeomFromEWKT('SRID=4674;POINT (-39.742647 -2.873381)'))) / (select extract(epoch from '2026-06-21 15:56:50'::timestamp) - extract(epoch from '2026-06-21 15:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.742681 -2.873433)', '2026-06-21 15:56:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742647 -2.873381)'), GeomFromEWKT('SRID=4674;POINT (-39.742681 -2.873433)'))) / (select extract(epoch from '2026-06-21 15:56:53'::timestamp) - extract(epoch from '2026-06-21 15:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742647 -2.873381)'), GeomFromEWKT('SRID=4674;POINT (-39.742681 -2.873433)'))) / (select extract(epoch from '2026-06-21 15:56:53'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.742781 -2.873558)', '2026-06-21 15:57:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742681 -2.873433)'), GeomFromEWKT('SRID=4674;POINT (-39.742781 -2.873558)'))) / (select extract(epoch from '2026-06-21 15:57:00'::timestamp) - extract(epoch from '2026-06-21 15:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742681 -2.873433)'), GeomFromEWKT('SRID=4674;POINT (-39.742781 -2.873558)'))) / (select extract(epoch from '2026-06-21 15:57:00'::timestamp) - extract(epoch from '2026-06-21 15:56:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.742867 -2.873677)', '2026-06-21 15:57:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742781 -2.873558)'), GeomFromEWKT('SRID=4674;POINT (-39.742867 -2.873677)'))) / (select extract(epoch from '2026-06-21 15:57:06'::timestamp) - extract(epoch from '2026-06-21 15:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742781 -2.873558)'), GeomFromEWKT('SRID=4674;POINT (-39.742867 -2.873677)'))) / (select extract(epoch from '2026-06-21 15:57:06'::timestamp) - extract(epoch from '2026-06-21 15:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.742939 -2.873774)', '2026-06-21 15:57:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742867 -2.873677)'), GeomFromEWKT('SRID=4674;POINT (-39.742939 -2.873774)'))) / (select extract(epoch from '2026-06-21 15:57:11'::timestamp) - extract(epoch from '2026-06-21 15:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742867 -2.873677)'), GeomFromEWKT('SRID=4674;POINT (-39.742939 -2.873774)'))) / (select extract(epoch from '2026-06-21 15:57:11'::timestamp) - extract(epoch from '2026-06-21 15:57: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'), 46821, 'SRID=4674;POINT (-39.743015 -2.873872)', '2026-06-21 15:57:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742939 -2.873774)'), GeomFromEWKT('SRID=4674;POINT (-39.743015 -2.873872)'))) / (select extract(epoch from '2026-06-21 15:57:16'::timestamp) - extract(epoch from '2026-06-21 15:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.742939 -2.873774)'), GeomFromEWKT('SRID=4674;POINT (-39.743015 -2.873872)'))) / (select extract(epoch from '2026-06-21 15:57:16'::timestamp) - extract(epoch from '2026-06-21 15:57: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'), 46821, 'SRID=4674;POINT (-39.743102 -2.873977)', '2026-06-21 15:57:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743015 -2.873872)'), GeomFromEWKT('SRID=4674;POINT (-39.743102 -2.873977)'))) / (select extract(epoch from '2026-06-21 15:57:22'::timestamp) - extract(epoch from '2026-06-21 15:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743015 -2.873872)'), GeomFromEWKT('SRID=4674;POINT (-39.743102 -2.873977)'))) / (select extract(epoch from '2026-06-21 15:57:22'::timestamp) - extract(epoch from '2026-06-21 15:57: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'), 46821, 'SRID=4674;POINT (-39.743197 -2.874091)', '2026-06-21 15:57:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743102 -2.873977)'), GeomFromEWKT('SRID=4674;POINT (-39.743197 -2.874091)'))) / (select extract(epoch from '2026-06-21 15:57:28'::timestamp) - extract(epoch from '2026-06-21 15:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743102 -2.873977)'), GeomFromEWKT('SRID=4674;POINT (-39.743197 -2.874091)'))) / (select extract(epoch from '2026-06-21 15:57:28'::timestamp) - extract(epoch from '2026-06-21 15:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.743274 -2.874188)', '2026-06-21 15:57:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743197 -2.874091)'), GeomFromEWKT('SRID=4674;POINT (-39.743274 -2.874188)'))) / (select extract(epoch from '2026-06-21 15:57:34'::timestamp) - extract(epoch from '2026-06-21 15:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743197 -2.874091)'), GeomFromEWKT('SRID=4674;POINT (-39.743274 -2.874188)'))) / (select extract(epoch from '2026-06-21 15:57:34'::timestamp) - extract(epoch from '2026-06-21 15:57: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'), 46821, 'SRID=4674;POINT (-39.743343 -2.874283)', '2026-06-21 15:57:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743274 -2.874188)'), GeomFromEWKT('SRID=4674;POINT (-39.743343 -2.874283)'))) / (select extract(epoch from '2026-06-21 15:57:39'::timestamp) - extract(epoch from '2026-06-21 15:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743274 -2.874188)'), GeomFromEWKT('SRID=4674;POINT (-39.743343 -2.874283)'))) / (select extract(epoch from '2026-06-21 15:57:39'::timestamp) - extract(epoch from '2026-06-21 15:57: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'), 46821, 'SRID=4674;POINT (-39.743414 -2.874362)', '2026-06-21 15:57:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743343 -2.874283)'), GeomFromEWKT('SRID=4674;POINT (-39.743414 -2.874362)'))) / (select extract(epoch from '2026-06-21 15:57:44'::timestamp) - extract(epoch from '2026-06-21 15:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743343 -2.874283)'), GeomFromEWKT('SRID=4674;POINT (-39.743414 -2.874362)'))) / (select extract(epoch from '2026-06-21 15:57:44'::timestamp) - extract(epoch from '2026-06-21 15:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.743484 -2.87445)', '2026-06-21 15:57:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743414 -2.874362)'), GeomFromEWKT('SRID=4674;POINT (-39.743484 -2.87445)'))) / (select extract(epoch from '2026-06-21 15:57:49'::timestamp) - extract(epoch from '2026-06-21 15:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743414 -2.874362)'), GeomFromEWKT('SRID=4674;POINT (-39.743484 -2.87445)'))) / (select extract(epoch from '2026-06-21 15:57:49'::timestamp) - extract(epoch from '2026-06-21 15:57: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'), 46821, 'SRID=4674;POINT (-39.743554 -2.874558)', '2026-06-21 15:57:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743484 -2.87445)'), GeomFromEWKT('SRID=4674;POINT (-39.743554 -2.874558)'))) / (select extract(epoch from '2026-06-21 15:57:55'::timestamp) - extract(epoch from '2026-06-21 15:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743484 -2.87445)'), GeomFromEWKT('SRID=4674;POINT (-39.743554 -2.874558)'))) / (select extract(epoch from '2026-06-21 15:57:55'::timestamp) - extract(epoch from '2026-06-21 15:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.743614 -2.874678)', '2026-06-21 15:58:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743554 -2.874558)'), GeomFromEWKT('SRID=4674;POINT (-39.743614 -2.874678)'))) / (select extract(epoch from '2026-06-21 15:58:01'::timestamp) - extract(epoch from '2026-06-21 15:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743554 -2.874558)'), GeomFromEWKT('SRID=4674;POINT (-39.743614 -2.874678)'))) / (select extract(epoch from '2026-06-21 15:58:01'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.743631 -2.874697)', '2026-06-21 15:58:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743614 -2.874678)'), GeomFromEWKT('SRID=4674;POINT (-39.743631 -2.874697)'))) / (select extract(epoch from '2026-06-21 15:58:02'::timestamp) - extract(epoch from '2026-06-21 15:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743614 -2.874678)'), GeomFromEWKT('SRID=4674;POINT (-39.743631 -2.874697)'))) / (select extract(epoch from '2026-06-21 15:58:02'::timestamp) - extract(epoch from '2026-06-21 15:58:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.743641 -2.874717)', '2026-06-21 15:58:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743631 -2.874697)'), GeomFromEWKT('SRID=4674;POINT (-39.743641 -2.874717)'))) / (select extract(epoch from '2026-06-21 15:58:03'::timestamp) - extract(epoch from '2026-06-21 15:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743631 -2.874697)'), GeomFromEWKT('SRID=4674;POINT (-39.743641 -2.874717)'))) / (select extract(epoch from '2026-06-21 15:58:03'::timestamp) - extract(epoch from '2026-06-21 15:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.743673 -2.874774)', '2026-06-21 15:58:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743641 -2.874717)'), GeomFromEWKT('SRID=4674;POINT (-39.743673 -2.874774)'))) / (select extract(epoch from '2026-06-21 15:58:06'::timestamp) - extract(epoch from '2026-06-21 15:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743641 -2.874717)'), GeomFromEWKT('SRID=4674;POINT (-39.743673 -2.874774)'))) / (select extract(epoch from '2026-06-21 15:58:06'::timestamp) - extract(epoch from '2026-06-21 15:58: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'), 46821, 'SRID=4674;POINT (-39.74377 -2.874919)', '2026-06-21 15:58:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743673 -2.874774)'), GeomFromEWKT('SRID=4674;POINT (-39.74377 -2.874919)'))) / (select extract(epoch from '2026-06-21 15:58:13'::timestamp) - extract(epoch from '2026-06-21 15:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743673 -2.874774)'), GeomFromEWKT('SRID=4674;POINT (-39.74377 -2.874919)'))) / (select extract(epoch from '2026-06-21 15:58:13'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.743828 -2.875041)', '2026-06-21 15:58:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74377 -2.874919)'), GeomFromEWKT('SRID=4674;POINT (-39.743828 -2.875041)'))) / (select extract(epoch from '2026-06-21 15:58:19'::timestamp) - extract(epoch from '2026-06-21 15:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74377 -2.874919)'), GeomFromEWKT('SRID=4674;POINT (-39.743828 -2.875041)'))) / (select extract(epoch from '2026-06-21 15:58:19'::timestamp) - extract(epoch from '2026-06-21 15:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.743905 -2.875138)', '2026-06-21 15:58:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743828 -2.875041)'), GeomFromEWKT('SRID=4674;POINT (-39.743905 -2.875138)'))) / (select extract(epoch from '2026-06-21 15:58:24'::timestamp) - extract(epoch from '2026-06-21 15:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743828 -2.875041)'), GeomFromEWKT('SRID=4674;POINT (-39.743905 -2.875138)'))) / (select extract(epoch from '2026-06-21 15:58:24'::timestamp) - extract(epoch from '2026-06-21 15:58: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'), 46821, 'SRID=4674;POINT (-39.74398 -2.875231)', '2026-06-21 15:58:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743905 -2.875138)'), GeomFromEWKT('SRID=4674;POINT (-39.74398 -2.875231)'))) / (select extract(epoch from '2026-06-21 15:58:29'::timestamp) - extract(epoch from '2026-06-21 15:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.743905 -2.875138)'), GeomFromEWKT('SRID=4674;POINT (-39.74398 -2.875231)'))) / (select extract(epoch from '2026-06-21 15:58:29'::timestamp) - extract(epoch from '2026-06-21 15:58:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.744042 -2.875322)', '2026-06-21 15:58:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74398 -2.875231)'), GeomFromEWKT('SRID=4674;POINT (-39.744042 -2.875322)'))) / (select extract(epoch from '2026-06-21 15:58:34'::timestamp) - extract(epoch from '2026-06-21 15:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74398 -2.875231)'), GeomFromEWKT('SRID=4674;POINT (-39.744042 -2.875322)'))) / (select extract(epoch from '2026-06-21 15:58:34'::timestamp) - extract(epoch from '2026-06-21 15:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.744115 -2.875408)', '2026-06-21 15:58:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744042 -2.875322)'), GeomFromEWKT('SRID=4674;POINT (-39.744115 -2.875408)'))) / (select extract(epoch from '2026-06-21 15:58:39'::timestamp) - extract(epoch from '2026-06-21 15:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744042 -2.875322)'), GeomFromEWKT('SRID=4674;POINT (-39.744115 -2.875408)'))) / (select extract(epoch from '2026-06-21 15:58:39'::timestamp) - extract(epoch from '2026-06-21 15:58: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'), 46821, 'SRID=4674;POINT (-39.744202 -2.875493)', '2026-06-21 15:58:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744115 -2.875408)'), GeomFromEWKT('SRID=4674;POINT (-39.744202 -2.875493)'))) / (select extract(epoch from '2026-06-21 15:58:45'::timestamp) - extract(epoch from '2026-06-21 15:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744115 -2.875408)'), GeomFromEWKT('SRID=4674;POINT (-39.744202 -2.875493)'))) / (select extract(epoch from '2026-06-21 15:58:45'::timestamp) - extract(epoch from '2026-06-21 15:58: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'), 46821, 'SRID=4674;POINT (-39.744244 -2.875538)', '2026-06-21 15:58:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744202 -2.875493)'), GeomFromEWKT('SRID=4674;POINT (-39.744244 -2.875538)'))) / (select extract(epoch from '2026-06-21 15:58:48'::timestamp) - extract(epoch from '2026-06-21 15:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744202 -2.875493)'), GeomFromEWKT('SRID=4674;POINT (-39.744244 -2.875538)'))) / (select extract(epoch from '2026-06-21 15:58:48'::timestamp) - extract(epoch from '2026-06-21 15:58:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.744264 -2.875567)', '2026-06-21 15:58:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744244 -2.875538)'), GeomFromEWKT('SRID=4674;POINT (-39.744264 -2.875567)'))) / (select extract(epoch from '2026-06-21 15:58:50'::timestamp) - extract(epoch from '2026-06-21 15:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744244 -2.875538)'), GeomFromEWKT('SRID=4674;POINT (-39.744264 -2.875567)'))) / (select extract(epoch from '2026-06-21 15:58:50'::timestamp) - extract(epoch from '2026-06-21 15:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.744327 -2.87566)', '2026-06-21 15:58:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744264 -2.875567)'), GeomFromEWKT('SRID=4674;POINT (-39.744327 -2.87566)'))) / (select extract(epoch from '2026-06-21 15:58:55'::timestamp) - extract(epoch from '2026-06-21 15:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744264 -2.875567)'), GeomFromEWKT('SRID=4674;POINT (-39.744327 -2.87566)'))) / (select extract(epoch from '2026-06-21 15:58:55'::timestamp) - extract(epoch from '2026-06-21 15:58: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'), 46821, 'SRID=4674;POINT (-39.744385 -2.87575)', '2026-06-21 15:59:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744327 -2.87566)'), GeomFromEWKT('SRID=4674;POINT (-39.744385 -2.87575)'))) / (select extract(epoch from '2026-06-21 15:59:00'::timestamp) - extract(epoch from '2026-06-21 15:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744327 -2.87566)'), GeomFromEWKT('SRID=4674;POINT (-39.744385 -2.87575)'))) / (select extract(epoch from '2026-06-21 15:59:00'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.744449 -2.87586)', '2026-06-21 15:59:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744385 -2.87575)'), GeomFromEWKT('SRID=4674;POINT (-39.744449 -2.87586)'))) / (select extract(epoch from '2026-06-21 15:59:05'::timestamp) - extract(epoch from '2026-06-21 15:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744385 -2.87575)'), GeomFromEWKT('SRID=4674;POINT (-39.744449 -2.87586)'))) / (select extract(epoch from '2026-06-21 15:59:05'::timestamp) - extract(epoch from '2026-06-21 15:59: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'), 46821, 'SRID=4674;POINT (-39.744532 -2.875981)', '2026-06-21 15:59:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744449 -2.87586)'), GeomFromEWKT('SRID=4674;POINT (-39.744532 -2.875981)'))) / (select extract(epoch from '2026-06-21 15:59:11'::timestamp) - extract(epoch from '2026-06-21 15:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744449 -2.87586)'), GeomFromEWKT('SRID=4674;POINT (-39.744532 -2.875981)'))) / (select extract(epoch from '2026-06-21 15:59:11'::timestamp) - extract(epoch from '2026-06-21 15:59: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'), 46821, 'SRID=4674;POINT (-39.744575 -2.876056)', '2026-06-21 15:59:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744532 -2.875981)'), GeomFromEWKT('SRID=4674;POINT (-39.744575 -2.876056)'))) / (select extract(epoch from '2026-06-21 15:59:15'::timestamp) - extract(epoch from '2026-06-21 15:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744532 -2.875981)'), GeomFromEWKT('SRID=4674;POINT (-39.744575 -2.876056)'))) / (select extract(epoch from '2026-06-21 15:59:15'::timestamp) - extract(epoch from '2026-06-21 15:59: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'), 46821, 'SRID=4674;POINT (-39.744641 -2.876162)', '2026-06-21 15:59:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744575 -2.876056)'), GeomFromEWKT('SRID=4674;POINT (-39.744641 -2.876162)'))) / (select extract(epoch from '2026-06-21 15:59:20'::timestamp) - extract(epoch from '2026-06-21 15:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744575 -2.876056)'), GeomFromEWKT('SRID=4674;POINT (-39.744641 -2.876162)'))) / (select extract(epoch from '2026-06-21 15:59:20'::timestamp) - extract(epoch from '2026-06-21 15:59: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'), 46821, 'SRID=4674;POINT (-39.744716 -2.876261)', '2026-06-21 15:59:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744641 -2.876162)'), GeomFromEWKT('SRID=4674;POINT (-39.744716 -2.876261)'))) / (select extract(epoch from '2026-06-21 15:59:25'::timestamp) - extract(epoch from '2026-06-21 15:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744641 -2.876162)'), GeomFromEWKT('SRID=4674;POINT (-39.744716 -2.876261)'))) / (select extract(epoch from '2026-06-21 15:59:25'::timestamp) - extract(epoch from '2026-06-21 15:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.744801 -2.876372)', '2026-06-21 15:59:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744716 -2.876261)'), GeomFromEWKT('SRID=4674;POINT (-39.744801 -2.876372)'))) / (select extract(epoch from '2026-06-21 15:59:31'::timestamp) - extract(epoch from '2026-06-21 15:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744716 -2.876261)'), GeomFromEWKT('SRID=4674;POINT (-39.744801 -2.876372)'))) / (select extract(epoch from '2026-06-21 15:59:31'::timestamp) - extract(epoch from '2026-06-21 15:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.744869 -2.876467)', '2026-06-21 15:59:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744801 -2.876372)'), GeomFromEWKT('SRID=4674;POINT (-39.744869 -2.876467)'))) / (select extract(epoch from '2026-06-21 15:59:36'::timestamp) - extract(epoch from '2026-06-21 15:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744801 -2.876372)'), GeomFromEWKT('SRID=4674;POINT (-39.744869 -2.876467)'))) / (select extract(epoch from '2026-06-21 15:59:36'::timestamp) - extract(epoch from '2026-06-21 15:59: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'), 46821, 'SRID=4674;POINT (-39.744941 -2.876567)', '2026-06-21 15:59:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744869 -2.876467)'), GeomFromEWKT('SRID=4674;POINT (-39.744941 -2.876567)'))) / (select extract(epoch from '2026-06-21 15:59:41'::timestamp) - extract(epoch from '2026-06-21 15:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744869 -2.876467)'), GeomFromEWKT('SRID=4674;POINT (-39.744941 -2.876567)'))) / (select extract(epoch from '2026-06-21 15:59:41'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.745007 -2.876672)', '2026-06-21 15:59:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744941 -2.876567)'), GeomFromEWKT('SRID=4674;POINT (-39.745007 -2.876672)'))) / (select extract(epoch from '2026-06-21 15:59:46'::timestamp) - extract(epoch from '2026-06-21 15:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.744941 -2.876567)'), GeomFromEWKT('SRID=4674;POINT (-39.745007 -2.876672)'))) / (select extract(epoch from '2026-06-21 15:59:46'::timestamp) - extract(epoch from '2026-06-21 15:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.745087 -2.876806)', '2026-06-21 15:59:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745007 -2.876672)'), GeomFromEWKT('SRID=4674;POINT (-39.745087 -2.876806)'))) / (select extract(epoch from '2026-06-21 15:59:53'::timestamp) - extract(epoch from '2026-06-21 15:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745007 -2.876672)'), GeomFromEWKT('SRID=4674;POINT (-39.745087 -2.876806)'))) / (select extract(epoch from '2026-06-21 15:59:53'::timestamp) - extract(epoch from '2026-06-21 15:59: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'), 46821, 'SRID=4674;POINT (-39.745146 -2.876906)', '2026-06-21 15:59:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745087 -2.876806)'), GeomFromEWKT('SRID=4674;POINT (-39.745146 -2.876906)'))) / (select extract(epoch from '2026-06-21 15:59:58'::timestamp) - extract(epoch from '2026-06-21 15:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745087 -2.876806)'), GeomFromEWKT('SRID=4674;POINT (-39.745146 -2.876906)'))) / (select extract(epoch from '2026-06-21 15:59:58'::timestamp) - extract(epoch from '2026-06-21 15:59: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'), 46821, 'SRID=4674;POINT (-39.745231 -2.877047)', '2026-06-21 16:00:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745146 -2.876906)'), GeomFromEWKT('SRID=4674;POINT (-39.745231 -2.877047)'))) / (select extract(epoch from '2026-06-21 16:00:05'::timestamp) - extract(epoch from '2026-06-21 15:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745146 -2.876906)'), GeomFromEWKT('SRID=4674;POINT (-39.745231 -2.877047)'))) / (select extract(epoch from '2026-06-21 16:00:05'::timestamp) - extract(epoch from '2026-06-21 15: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'), 46821, 'SRID=4674;POINT (-39.745327 -2.877193)', '2026-06-21 16:00:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745231 -2.877047)'), GeomFromEWKT('SRID=4674;POINT (-39.745327 -2.877193)'))) / (select extract(epoch from '2026-06-21 16:00:12'::timestamp) - extract(epoch from '2026-06-21 16:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745231 -2.877047)'), GeomFromEWKT('SRID=4674;POINT (-39.745327 -2.877193)'))) / (select extract(epoch from '2026-06-21 16:00:12'::timestamp) - extract(epoch from '2026-06-21 16:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.745388 -2.877291)', '2026-06-21 16:00:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745327 -2.877193)'), GeomFromEWKT('SRID=4674;POINT (-39.745388 -2.877291)'))) / (select extract(epoch from '2026-06-21 16:00:17'::timestamp) - extract(epoch from '2026-06-21 16:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745327 -2.877193)'), GeomFromEWKT('SRID=4674;POINT (-39.745388 -2.877291)'))) / (select extract(epoch from '2026-06-21 16:00:17'::timestamp) - extract(epoch from '2026-06-21 16:00: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'), 46821, 'SRID=4674;POINT (-39.745449 -2.877388)', '2026-06-21 16:00:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745388 -2.877291)'), GeomFromEWKT('SRID=4674;POINT (-39.745449 -2.877388)'))) / (select extract(epoch from '2026-06-21 16:00:22'::timestamp) - extract(epoch from '2026-06-21 16:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745388 -2.877291)'), GeomFromEWKT('SRID=4674;POINT (-39.745449 -2.877388)'))) / (select extract(epoch from '2026-06-21 16:00:22'::timestamp) - extract(epoch from '2026-06-21 16:00:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.745506 -2.877496)', '2026-06-21 16:00:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745449 -2.877388)'), GeomFromEWKT('SRID=4674;POINT (-39.745506 -2.877496)'))) / (select extract(epoch from '2026-06-21 16:00:27'::timestamp) - extract(epoch from '2026-06-21 16:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745449 -2.877388)'), GeomFromEWKT('SRID=4674;POINT (-39.745506 -2.877496)'))) / (select extract(epoch from '2026-06-21 16:00:27'::timestamp) - extract(epoch from '2026-06-21 16:00: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'), 46821, 'SRID=4674;POINT (-39.745573 -2.877613)', '2026-06-21 16:00:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745506 -2.877496)'), GeomFromEWKT('SRID=4674;POINT (-39.745573 -2.877613)'))) / (select extract(epoch from '2026-06-21 16:00:32'::timestamp) - extract(epoch from '2026-06-21 16:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745506 -2.877496)'), GeomFromEWKT('SRID=4674;POINT (-39.745573 -2.877613)'))) / (select extract(epoch from '2026-06-21 16:00:32'::timestamp) - extract(epoch from '2026-06-21 16:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.745603 -2.877676)', '2026-06-21 16:00:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745573 -2.877613)'), GeomFromEWKT('SRID=4674;POINT (-39.745603 -2.877676)'))) / (select extract(epoch from '2026-06-21 16:00:35'::timestamp) - extract(epoch from '2026-06-21 16:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745573 -2.877613)'), GeomFromEWKT('SRID=4674;POINT (-39.745603 -2.877676)'))) / (select extract(epoch from '2026-06-21 16:00:35'::timestamp) - extract(epoch from '2026-06-21 16:00: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'), 46821, 'SRID=4674;POINT (-39.745632 -2.877723)', '2026-06-21 16:00:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745603 -2.877676)'), GeomFromEWKT('SRID=4674;POINT (-39.745632 -2.877723)'))) / (select extract(epoch from '2026-06-21 16:00:37'::timestamp) - extract(epoch from '2026-06-21 16:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745603 -2.877676)'), GeomFromEWKT('SRID=4674;POINT (-39.745632 -2.877723)'))) / (select extract(epoch from '2026-06-21 16:00:37'::timestamp) - extract(epoch from '2026-06-21 16:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.745666 -2.877808)', '2026-06-21 16:00:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745632 -2.877723)'), GeomFromEWKT('SRID=4674;POINT (-39.745666 -2.877808)'))) / (select extract(epoch from '2026-06-21 16:00:41'::timestamp) - extract(epoch from '2026-06-21 16:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745632 -2.877723)'), GeomFromEWKT('SRID=4674;POINT (-39.745666 -2.877808)'))) / (select extract(epoch from '2026-06-21 16:00:41'::timestamp) - extract(epoch from '2026-06-21 16:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.745731 -2.87794)', '2026-06-21 16:00:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745666 -2.877808)'), GeomFromEWKT('SRID=4674;POINT (-39.745731 -2.87794)'))) / (select extract(epoch from '2026-06-21 16:00:47'::timestamp) - extract(epoch from '2026-06-21 16:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745666 -2.877808)'), GeomFromEWKT('SRID=4674;POINT (-39.745731 -2.87794)'))) / (select extract(epoch from '2026-06-21 16:00:47'::timestamp) - extract(epoch from '2026-06-21 16:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.745823 -2.878065)', '2026-06-21 16:00:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745731 -2.87794)'), GeomFromEWKT('SRID=4674;POINT (-39.745823 -2.878065)'))) / (select extract(epoch from '2026-06-21 16:00:53'::timestamp) - extract(epoch from '2026-06-21 16:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745731 -2.87794)'), GeomFromEWKT('SRID=4674;POINT (-39.745823 -2.878065)'))) / (select extract(epoch from '2026-06-21 16:00:53'::timestamp) - extract(epoch from '2026-06-21 16:00: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'), 46821, 'SRID=4674;POINT (-39.745878 -2.878176)', '2026-06-21 16:00:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745823 -2.878065)'), GeomFromEWKT('SRID=4674;POINT (-39.745878 -2.878176)'))) / (select extract(epoch from '2026-06-21 16:00:58'::timestamp) - extract(epoch from '2026-06-21 16:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745823 -2.878065)'), GeomFromEWKT('SRID=4674;POINT (-39.745878 -2.878176)'))) / (select extract(epoch from '2026-06-21 16:00:58'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.745932 -2.878285)', '2026-06-21 16:01:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745878 -2.878176)'), GeomFromEWKT('SRID=4674;POINT (-39.745932 -2.878285)'))) / (select extract(epoch from '2026-06-21 16:01:03'::timestamp) - extract(epoch from '2026-06-21 16:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745878 -2.878176)'), GeomFromEWKT('SRID=4674;POINT (-39.745932 -2.878285)'))) / (select extract(epoch from '2026-06-21 16:01:03'::timestamp) - extract(epoch from '2026-06-21 16:00: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'), 46821, 'SRID=4674;POINT (-39.746013 -2.87838)', '2026-06-21 16:01:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745932 -2.878285)'), GeomFromEWKT('SRID=4674;POINT (-39.746013 -2.87838)'))) / (select extract(epoch from '2026-06-21 16:01:08'::timestamp) - extract(epoch from '2026-06-21 16:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.745932 -2.878285)'), GeomFromEWKT('SRID=4674;POINT (-39.746013 -2.87838)'))) / (select extract(epoch from '2026-06-21 16:01:08'::timestamp) - extract(epoch from '2026-06-21 16:01:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.746105 -2.878481)', '2026-06-21 16:01:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746013 -2.87838)'), GeomFromEWKT('SRID=4674;POINT (-39.746105 -2.878481)'))) / (select extract(epoch from '2026-06-21 16:01:13'::timestamp) - extract(epoch from '2026-06-21 16:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746013 -2.87838)'), GeomFromEWKT('SRID=4674;POINT (-39.746105 -2.878481)'))) / (select extract(epoch from '2026-06-21 16:01:13'::timestamp) - extract(epoch from '2026-06-21 16:01: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'), 46821, 'SRID=4674;POINT (-39.746191 -2.878592)', '2026-06-21 16:01:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746105 -2.878481)'), GeomFromEWKT('SRID=4674;POINT (-39.746191 -2.878592)'))) / (select extract(epoch from '2026-06-21 16:01:19'::timestamp) - extract(epoch from '2026-06-21 16:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746105 -2.878481)'), GeomFromEWKT('SRID=4674;POINT (-39.746191 -2.878592)'))) / (select extract(epoch from '2026-06-21 16:01:19'::timestamp) - extract(epoch from '2026-06-21 16:01: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'), 46821, 'SRID=4674;POINT (-39.746204 -2.87861)', '2026-06-21 16:01:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746191 -2.878592)'), GeomFromEWKT('SRID=4674;POINT (-39.746204 -2.87861)'))) / (select extract(epoch from '2026-06-21 16:01:20'::timestamp) - extract(epoch from '2026-06-21 16:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746191 -2.878592)'), GeomFromEWKT('SRID=4674;POINT (-39.746204 -2.87861)'))) / (select extract(epoch from '2026-06-21 16:01:20'::timestamp) - extract(epoch from '2026-06-21 16:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.746268 -2.878669)', '2026-06-21 16:01:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746204 -2.87861)'), GeomFromEWKT('SRID=4674;POINT (-39.746268 -2.878669)'))) / (select extract(epoch from '2026-06-21 16:01:23'::timestamp) - extract(epoch from '2026-06-21 16:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746204 -2.87861)'), GeomFromEWKT('SRID=4674;POINT (-39.746268 -2.878669)'))) / (select extract(epoch from '2026-06-21 16:01:23'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.746343 -2.87877)', '2026-06-21 16:01:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746268 -2.878669)'), GeomFromEWKT('SRID=4674;POINT (-39.746343 -2.87877)'))) / (select extract(epoch from '2026-06-21 16:01:28'::timestamp) - extract(epoch from '2026-06-21 16:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746268 -2.878669)'), GeomFromEWKT('SRID=4674;POINT (-39.746343 -2.87877)'))) / (select extract(epoch from '2026-06-21 16:01:28'::timestamp) - extract(epoch from '2026-06-21 16:01: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'), 46821, 'SRID=4674;POINT (-39.746406 -2.878858)', '2026-06-21 16:01:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746343 -2.87877)'), GeomFromEWKT('SRID=4674;POINT (-39.746406 -2.878858)'))) / (select extract(epoch from '2026-06-21 16:01:33'::timestamp) - extract(epoch from '2026-06-21 16:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746343 -2.87877)'), GeomFromEWKT('SRID=4674;POINT (-39.746406 -2.878858)'))) / (select extract(epoch from '2026-06-21 16:01:33'::timestamp) - extract(epoch from '2026-06-21 16:01: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'), 46821, 'SRID=4674;POINT (-39.746501 -2.878973)', '2026-06-21 16:01:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746406 -2.878858)'), GeomFromEWKT('SRID=4674;POINT (-39.746501 -2.878973)'))) / (select extract(epoch from '2026-06-21 16:01:39'::timestamp) - extract(epoch from '2026-06-21 16:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746406 -2.878858)'), GeomFromEWKT('SRID=4674;POINT (-39.746501 -2.878973)'))) / (select extract(epoch from '2026-06-21 16:01:39'::timestamp) - extract(epoch from '2026-06-21 16:01: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'), 46821, 'SRID=4674;POINT (-39.746569 -2.879061)', '2026-06-21 16:01:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746501 -2.878973)'), GeomFromEWKT('SRID=4674;POINT (-39.746569 -2.879061)'))) / (select extract(epoch from '2026-06-21 16:01:44'::timestamp) - extract(epoch from '2026-06-21 16:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746501 -2.878973)'), GeomFromEWKT('SRID=4674;POINT (-39.746569 -2.879061)'))) / (select extract(epoch from '2026-06-21 16:01:44'::timestamp) - extract(epoch from '2026-06-21 16:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.746643 -2.879144)', '2026-06-21 16:01:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746569 -2.879061)'), GeomFromEWKT('SRID=4674;POINT (-39.746643 -2.879144)'))) / (select extract(epoch from '2026-06-21 16:01:49'::timestamp) - extract(epoch from '2026-06-21 16:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746569 -2.879061)'), GeomFromEWKT('SRID=4674;POINT (-39.746643 -2.879144)'))) / (select extract(epoch from '2026-06-21 16:01:49'::timestamp) - extract(epoch from '2026-06-21 16:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.746698 -2.879211)', '2026-06-21 16:01:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746643 -2.879144)'), GeomFromEWKT('SRID=4674;POINT (-39.746698 -2.879211)'))) / (select extract(epoch from '2026-06-21 16:01:53'::timestamp) - extract(epoch from '2026-06-21 16:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746643 -2.879144)'), GeomFromEWKT('SRID=4674;POINT (-39.746698 -2.879211)'))) / (select extract(epoch from '2026-06-21 16:01:53'::timestamp) - extract(epoch from '2026-06-21 16:01: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'), 46821, 'SRID=4674;POINT (-39.746809 -2.879349)', '2026-06-21 16:02:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746698 -2.879211)'), GeomFromEWKT('SRID=4674;POINT (-39.746809 -2.879349)'))) / (select extract(epoch from '2026-06-21 16:02:01'::timestamp) - extract(epoch from '2026-06-21 16:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746698 -2.879211)'), GeomFromEWKT('SRID=4674;POINT (-39.746809 -2.879349)'))) / (select extract(epoch from '2026-06-21 16:02:01'::timestamp) - extract(epoch from '2026-06-21 16:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.746891 -2.879459)', '2026-06-21 16:02:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746809 -2.879349)'), GeomFromEWKT('SRID=4674;POINT (-39.746891 -2.879459)'))) / (select extract(epoch from '2026-06-21 16:02:07'::timestamp) - extract(epoch from '2026-06-21 16:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746809 -2.879349)'), GeomFromEWKT('SRID=4674;POINT (-39.746891 -2.879459)'))) / (select extract(epoch from '2026-06-21 16:02:07'::timestamp) - extract(epoch from '2026-06-21 16:02: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'), 46821, 'SRID=4674;POINT (-39.74695 -2.879528)', '2026-06-21 16:02:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746891 -2.879459)'), GeomFromEWKT('SRID=4674;POINT (-39.74695 -2.879528)'))) / (select extract(epoch from '2026-06-21 16:02:11'::timestamp) - extract(epoch from '2026-06-21 16:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.746891 -2.879459)'), GeomFromEWKT('SRID=4674;POINT (-39.74695 -2.879528)'))) / (select extract(epoch from '2026-06-21 16:02:11'::timestamp) - extract(epoch from '2026-06-21 16:02: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'), 46821, 'SRID=4674;POINT (-39.747013 -2.879615)', '2026-06-21 16:02:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74695 -2.879528)'), GeomFromEWKT('SRID=4674;POINT (-39.747013 -2.879615)'))) / (select extract(epoch from '2026-06-21 16:02:16'::timestamp) - extract(epoch from '2026-06-21 16:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.74695 -2.879528)'), GeomFromEWKT('SRID=4674;POINT (-39.747013 -2.879615)'))) / (select extract(epoch from '2026-06-21 16:02:16'::timestamp) - extract(epoch from '2026-06-21 16:02: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'), 46821, 'SRID=4674;POINT (-39.747092 -2.879704)', '2026-06-21 16:02:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747013 -2.879615)'), GeomFromEWKT('SRID=4674;POINT (-39.747092 -2.879704)'))) / (select extract(epoch from '2026-06-21 16:02:21'::timestamp) - extract(epoch from '2026-06-21 16:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747013 -2.879615)'), GeomFromEWKT('SRID=4674;POINT (-39.747092 -2.879704)'))) / (select extract(epoch from '2026-06-21 16:02:21'::timestamp) - extract(epoch from '2026-06-21 16:02: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'), 46821, 'SRID=4674;POINT (-39.747148 -2.879771)', '2026-06-21 16:02:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747092 -2.879704)'), GeomFromEWKT('SRID=4674;POINT (-39.747148 -2.879771)'))) / (select extract(epoch from '2026-06-21 16:02:25'::timestamp) - extract(epoch from '2026-06-21 16:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747092 -2.879704)'), GeomFromEWKT('SRID=4674;POINT (-39.747148 -2.879771)'))) / (select extract(epoch from '2026-06-21 16:02:25'::timestamp) - extract(epoch from '2026-06-21 16:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.747217 -2.879854)', '2026-06-21 16:02:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747148 -2.879771)'), GeomFromEWKT('SRID=4674;POINT (-39.747217 -2.879854)'))) / (select extract(epoch from '2026-06-21 16:02:30'::timestamp) - extract(epoch from '2026-06-21 16:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747148 -2.879771)'), GeomFromEWKT('SRID=4674;POINT (-39.747217 -2.879854)'))) / (select extract(epoch from '2026-06-21 16:02:30'::timestamp) - extract(epoch from '2026-06-21 16:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.747293 -2.879944)', '2026-06-21 16:02:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747217 -2.879854)'), GeomFromEWKT('SRID=4674;POINT (-39.747293 -2.879944)'))) / (select extract(epoch from '2026-06-21 16:02:35'::timestamp) - extract(epoch from '2026-06-21 16:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747217 -2.879854)'), GeomFromEWKT('SRID=4674;POINT (-39.747293 -2.879944)'))) / (select extract(epoch from '2026-06-21 16:02:35'::timestamp) - extract(epoch from '2026-06-21 16:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.747358 -2.880036)', '2026-06-21 16:02:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747293 -2.879944)'), GeomFromEWKT('SRID=4674;POINT (-39.747358 -2.880036)'))) / (select extract(epoch from '2026-06-21 16:02:40'::timestamp) - extract(epoch from '2026-06-21 16:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747293 -2.879944)'), GeomFromEWKT('SRID=4674;POINT (-39.747358 -2.880036)'))) / (select extract(epoch from '2026-06-21 16:02:40'::timestamp) - extract(epoch from '2026-06-21 16:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.747428 -2.880139)', '2026-06-21 16:02:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747358 -2.880036)'), GeomFromEWKT('SRID=4674;POINT (-39.747428 -2.880139)'))) / (select extract(epoch from '2026-06-21 16:02:45'::timestamp) - extract(epoch from '2026-06-21 16:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747358 -2.880036)'), GeomFromEWKT('SRID=4674;POINT (-39.747428 -2.880139)'))) / (select extract(epoch from '2026-06-21 16:02:45'::timestamp) - extract(epoch from '2026-06-21 16:02: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'), 46821, 'SRID=4674;POINT (-39.747526 -2.880255)', '2026-06-21 16:02:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747428 -2.880139)'), GeomFromEWKT('SRID=4674;POINT (-39.747526 -2.880255)'))) / (select extract(epoch from '2026-06-21 16:02:51'::timestamp) - extract(epoch from '2026-06-21 16:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747428 -2.880139)'), GeomFromEWKT('SRID=4674;POINT (-39.747526 -2.880255)'))) / (select extract(epoch from '2026-06-21 16:02:51'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.747598 -2.88035)', '2026-06-21 16:02:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747526 -2.880255)'), GeomFromEWKT('SRID=4674;POINT (-39.747598 -2.88035)'))) / (select extract(epoch from '2026-06-21 16:02:56'::timestamp) - extract(epoch from '2026-06-21 16:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747526 -2.880255)'), GeomFromEWKT('SRID=4674;POINT (-39.747598 -2.88035)'))) / (select extract(epoch from '2026-06-21 16:02:56'::timestamp) - extract(epoch from '2026-06-21 16:02: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'), 46821, 'SRID=4674;POINT (-39.747675 -2.880438)', '2026-06-21 16:03:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747598 -2.88035)'), GeomFromEWKT('SRID=4674;POINT (-39.747675 -2.880438)'))) / (select extract(epoch from '2026-06-21 16:03:01'::timestamp) - extract(epoch from '2026-06-21 16:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747598 -2.88035)'), GeomFromEWKT('SRID=4674;POINT (-39.747675 -2.880438)'))) / (select extract(epoch from '2026-06-21 16:03:01'::timestamp) - extract(epoch from '2026-06-21 16:02: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'), 46821, 'SRID=4674;POINT (-39.747749 -2.880522)', '2026-06-21 16:03:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747675 -2.880438)'), GeomFromEWKT('SRID=4674;POINT (-39.747749 -2.880522)'))) / (select extract(epoch from '2026-06-21 16:03:06'::timestamp) - extract(epoch from '2026-06-21 16:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747675 -2.880438)'), GeomFromEWKT('SRID=4674;POINT (-39.747749 -2.880522)'))) / (select extract(epoch from '2026-06-21 16:03:06'::timestamp) - extract(epoch from '2026-06-21 16:03: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'), 46821, 'SRID=4674;POINT (-39.747832 -2.880632)', '2026-06-21 16:03:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747749 -2.880522)'), GeomFromEWKT('SRID=4674;POINT (-39.747832 -2.880632)'))) / (select extract(epoch from '2026-06-21 16:03:11'::timestamp) - extract(epoch from '2026-06-21 16:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747749 -2.880522)'), GeomFromEWKT('SRID=4674;POINT (-39.747832 -2.880632)'))) / (select extract(epoch from '2026-06-21 16:03:11'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.747924 -2.880743)', '2026-06-21 16:03:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747832 -2.880632)'), GeomFromEWKT('SRID=4674;POINT (-39.747924 -2.880743)'))) / (select extract(epoch from '2026-06-21 16:03:17'::timestamp) - extract(epoch from '2026-06-21 16:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747832 -2.880632)'), GeomFromEWKT('SRID=4674;POINT (-39.747924 -2.880743)'))) / (select extract(epoch from '2026-06-21 16:03:17'::timestamp) - extract(epoch from '2026-06-21 16:03: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'), 46821, 'SRID=4674;POINT (-39.747999 -2.880836)', '2026-06-21 16:03:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747924 -2.880743)'), GeomFromEWKT('SRID=4674;POINT (-39.747999 -2.880836)'))) / (select extract(epoch from '2026-06-21 16:03:22'::timestamp) - extract(epoch from '2026-06-21 16:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747924 -2.880743)'), GeomFromEWKT('SRID=4674;POINT (-39.747999 -2.880836)'))) / (select extract(epoch from '2026-06-21 16:03:22'::timestamp) - extract(epoch from '2026-06-21 16:03: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'), 46821, 'SRID=4674;POINT (-39.748097 -2.880979)', '2026-06-21 16:03:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747999 -2.880836)'), GeomFromEWKT('SRID=4674;POINT (-39.748097 -2.880979)'))) / (select extract(epoch from '2026-06-21 16:03:29'::timestamp) - extract(epoch from '2026-06-21 16:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.747999 -2.880836)'), GeomFromEWKT('SRID=4674;POINT (-39.748097 -2.880979)'))) / (select extract(epoch from '2026-06-21 16:03:29'::timestamp) - extract(epoch from '2026-06-21 16:03: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'), 46821, 'SRID=4674;POINT (-39.748194 -2.881114)', '2026-06-21 16:03:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748097 -2.880979)'), GeomFromEWKT('SRID=4674;POINT (-39.748194 -2.881114)'))) / (select extract(epoch from '2026-06-21 16:03:36'::timestamp) - extract(epoch from '2026-06-21 16:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748097 -2.880979)'), GeomFromEWKT('SRID=4674;POINT (-39.748194 -2.881114)'))) / (select extract(epoch from '2026-06-21 16:03:36'::timestamp) - extract(epoch from '2026-06-21 16:03: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'), 46821, 'SRID=4674;POINT (-39.748313 -2.881207)', '2026-06-21 16:03:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748194 -2.881114)'), GeomFromEWKT('SRID=4674;POINT (-39.748313 -2.881207)'))) / (select extract(epoch from '2026-06-21 16:03:42'::timestamp) - extract(epoch from '2026-06-21 16:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748194 -2.881114)'), GeomFromEWKT('SRID=4674;POINT (-39.748313 -2.881207)'))) / (select extract(epoch from '2026-06-21 16:03:42'::timestamp) - extract(epoch from '2026-06-21 16:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.748401 -2.881292)', '2026-06-21 16:03:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748313 -2.881207)'), GeomFromEWKT('SRID=4674;POINT (-39.748401 -2.881292)'))) / (select extract(epoch from '2026-06-21 16:03:47'::timestamp) - extract(epoch from '2026-06-21 16:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748313 -2.881207)'), GeomFromEWKT('SRID=4674;POINT (-39.748401 -2.881292)'))) / (select extract(epoch from '2026-06-21 16:03:47'::timestamp) - extract(epoch from '2026-06-21 16:03: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'), 46821, 'SRID=4674;POINT (-39.748474 -2.881381)', '2026-06-21 16:03:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748401 -2.881292)'), GeomFromEWKT('SRID=4674;POINT (-39.748474 -2.881381)'))) / (select extract(epoch from '2026-06-21 16:03:52'::timestamp) - extract(epoch from '2026-06-21 16:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748401 -2.881292)'), GeomFromEWKT('SRID=4674;POINT (-39.748474 -2.881381)'))) / (select extract(epoch from '2026-06-21 16:03:52'::timestamp) - extract(epoch from '2026-06-21 16:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.748554 -2.881495)', '2026-06-21 16:03:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748474 -2.881381)'), GeomFromEWKT('SRID=4674;POINT (-39.748554 -2.881495)'))) / (select extract(epoch from '2026-06-21 16:03:58'::timestamp) - extract(epoch from '2026-06-21 16:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748474 -2.881381)'), GeomFromEWKT('SRID=4674;POINT (-39.748554 -2.881495)'))) / (select extract(epoch from '2026-06-21 16:03:58'::timestamp) - extract(epoch from '2026-06-21 16:03: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'), 46821, 'SRID=4674;POINT (-39.748638 -2.881609)', '2026-06-21 16:04:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748554 -2.881495)'), GeomFromEWKT('SRID=4674;POINT (-39.748638 -2.881609)'))) / (select extract(epoch from '2026-06-21 16:04:04'::timestamp) - extract(epoch from '2026-06-21 16:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748554 -2.881495)'), GeomFromEWKT('SRID=4674;POINT (-39.748638 -2.881609)'))) / (select extract(epoch from '2026-06-21 16:04:04'::timestamp) - extract(epoch from '2026-06-21 16:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.748707 -2.881713)', '2026-06-21 16:04:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748638 -2.881609)'), GeomFromEWKT('SRID=4674;POINT (-39.748707 -2.881713)'))) / (select extract(epoch from '2026-06-21 16:04:09'::timestamp) - extract(epoch from '2026-06-21 16:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748638 -2.881609)'), GeomFromEWKT('SRID=4674;POINT (-39.748707 -2.881713)'))) / (select extract(epoch from '2026-06-21 16:04:09'::timestamp) - extract(epoch from '2026-06-21 16:04: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'), 46821, 'SRID=4674;POINT (-39.748756 -2.881787)', '2026-06-21 16:04:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748707 -2.881713)'), GeomFromEWKT('SRID=4674;POINT (-39.748756 -2.881787)'))) / (select extract(epoch from '2026-06-21 16:04:13'::timestamp) - extract(epoch from '2026-06-21 16:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748707 -2.881713)'), GeomFromEWKT('SRID=4674;POINT (-39.748756 -2.881787)'))) / (select extract(epoch from '2026-06-21 16:04:13'::timestamp) - extract(epoch from '2026-06-21 16:04: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'), 46821, 'SRID=4674;POINT (-39.748782 -2.881819)', '2026-06-21 16:04:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748756 -2.881787)'), GeomFromEWKT('SRID=4674;POINT (-39.748782 -2.881819)'))) / (select extract(epoch from '2026-06-21 16:04:15'::timestamp) - extract(epoch from '2026-06-21 16:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748756 -2.881787)'), GeomFromEWKT('SRID=4674;POINT (-39.748782 -2.881819)'))) / (select extract(epoch from '2026-06-21 16:04:15'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.748859 -2.881915)', '2026-06-21 16:04:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748782 -2.881819)'), GeomFromEWKT('SRID=4674;POINT (-39.748859 -2.881915)'))) / (select extract(epoch from '2026-06-21 16:04:20'::timestamp) - extract(epoch from '2026-06-21 16:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748782 -2.881819)'), GeomFromEWKT('SRID=4674;POINT (-39.748859 -2.881915)'))) / (select extract(epoch from '2026-06-21 16:04:20'::timestamp) - extract(epoch from '2026-06-21 16:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.748936 -2.882019)', '2026-06-21 16:04:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748859 -2.881915)'), GeomFromEWKT('SRID=4674;POINT (-39.748936 -2.882019)'))) / (select extract(epoch from '2026-06-21 16:04:26'::timestamp) - extract(epoch from '2026-06-21 16:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748859 -2.881915)'), GeomFromEWKT('SRID=4674;POINT (-39.748936 -2.882019)'))) / (select extract(epoch from '2026-06-21 16:04:26'::timestamp) - extract(epoch from '2026-06-21 16:04: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'), 46821, 'SRID=4674;POINT (-39.749022 -2.882144)', '2026-06-21 16:04:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748936 -2.882019)'), GeomFromEWKT('SRID=4674;POINT (-39.749022 -2.882144)'))) / (select extract(epoch from '2026-06-21 16:04:33'::timestamp) - extract(epoch from '2026-06-21 16:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.748936 -2.882019)'), GeomFromEWKT('SRID=4674;POINT (-39.749022 -2.882144)'))) / (select extract(epoch from '2026-06-21 16:04:33'::timestamp) - extract(epoch from '2026-06-21 16: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'), 46821, 'SRID=4674;POINT (-39.749092 -2.882269)', '2026-06-21 16:04:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749022 -2.882144)'), GeomFromEWKT('SRID=4674;POINT (-39.749092 -2.882269)'))) / (select extract(epoch from '2026-06-21 16:04:39'::timestamp) - extract(epoch from '2026-06-21 16:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749022 -2.882144)'), GeomFromEWKT('SRID=4674;POINT (-39.749092 -2.882269)'))) / (select extract(epoch from '2026-06-21 16:04:39'::timestamp) - extract(epoch from '2026-06-21 16:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.749155 -2.882368)', '2026-06-21 16:04:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749092 -2.882269)'), GeomFromEWKT('SRID=4674;POINT (-39.749155 -2.882368)'))) / (select extract(epoch from '2026-06-21 16:04:44'::timestamp) - extract(epoch from '2026-06-21 16:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749092 -2.882269)'), GeomFromEWKT('SRID=4674;POINT (-39.749155 -2.882368)'))) / (select extract(epoch from '2026-06-21 16:04:44'::timestamp) - extract(epoch from '2026-06-21 16:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.749209 -2.882452)', '2026-06-21 16:04:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749155 -2.882368)'), GeomFromEWKT('SRID=4674;POINT (-39.749209 -2.882452)'))) / (select extract(epoch from '2026-06-21 16:04:48'::timestamp) - extract(epoch from '2026-06-21 16:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749155 -2.882368)'), GeomFromEWKT('SRID=4674;POINT (-39.749209 -2.882452)'))) / (select extract(epoch from '2026-06-21 16:04:48'::timestamp) - extract(epoch from '2026-06-21 16:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.749273 -2.882529)', '2026-06-21 16:04:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749209 -2.882452)'), GeomFromEWKT('SRID=4674;POINT (-39.749273 -2.882529)'))) / (select extract(epoch from '2026-06-21 16:04:52'::timestamp) - extract(epoch from '2026-06-21 16:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749209 -2.882452)'), GeomFromEWKT('SRID=4674;POINT (-39.749273 -2.882529)'))) / (select extract(epoch from '2026-06-21 16:04:52'::timestamp) - extract(epoch from '2026-06-21 16:04: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'), 46821, 'SRID=4674;POINT (-39.749383 -2.882655)', '2026-06-21 16:04:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749273 -2.882529)'), GeomFromEWKT('SRID=4674;POINT (-39.749383 -2.882655)'))) / (select extract(epoch from '2026-06-21 16:04:59'::timestamp) - extract(epoch from '2026-06-21 16:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.749273 -2.882529)'), GeomFromEWKT('SRID=4674;POINT (-39.749383 -2.882655)'))) / (select extract(epoch from '2026-06-21 16:04:59'::timestamp) - extract(epoch from '2026-06-21 16:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
